2 * FILE : src/gtk/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcontrols2c
55 #define SWIG_name "controls2c"
61 #include <wx/listctrl.h>
62 #include <wx/treectrl.h>
63 #include <wx/imaglist.h>
64 #include <wx/dirctrl.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
95 DECLARE_DEF_STRING(ListCtrlNameStr
);
97 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
98 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
99 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
101 static const wxString
wxPyEmptyString(wxT(""));
103 static const long longzero
= 0;
104 // C++ Version of a Python aware class
105 class wxPyListCtrl
: public wxListCtrl
{
106 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
108 wxPyListCtrl() : wxListCtrl() {}
109 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
113 const wxValidator
& validator
,
114 const wxString
& name
) :
115 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
117 bool Create(wxWindow
* parent
, wxWindowID id
,
121 const wxValidator
& validator
,
122 const wxString
& name
) {
123 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
126 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
127 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
128 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
133 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
135 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
136 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
137 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
138 // Python aware sorting function for wxPyListCtrl
139 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
141 PyObject
* func
= (PyObject
*)funcPtr
;
142 wxPyBeginBlockThreads();
144 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
145 PyObject
* result
= PyEval_CallObject(func
, args
);
148 retval
= PyInt_AsLong(result
);
152 wxPyEndBlockThreads();
157 class wxPyTreeItemData
: public wxTreeItemData
{
159 wxPyTreeItemData(PyObject
* obj
= NULL
) {
166 ~wxPyTreeItemData() {
167 wxPyBeginBlockThreads();
169 wxPyEndBlockThreads();
172 PyObject
* GetData() {
177 void SetData(PyObject
* obj
) {
178 wxPyBeginBlockThreads();
180 wxPyEndBlockThreads();
187 // C++ version of Python aware wxTreeCtrl
188 class wxPyTreeCtrl
: public wxTreeCtrl
{
189 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
191 wxPyTreeCtrl() : wxTreeCtrl() {}
192 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
196 const wxValidator
& validator
,
197 const wxString
& name
) :
198 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
200 bool Create(wxWindow
*parent
, wxWindowID id
,
204 const wxValidator
& validator
,
205 const wxString
& name
) {
206 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
210 int OnCompareItems(const wxTreeItemId
& item1
,
211 const wxTreeItemId
& item2
) {
214 wxPyBeginBlockThreads();
215 if ((found
= m_myInst
.findCallback("OnCompareItems"))) {
216 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"));
217 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"));
218 rval
= m_myInst
.callCallback(Py_BuildValue("(OO)",o1
,o2
));
222 wxPyEndBlockThreads();
224 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
230 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
235 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
236 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
238 wxListItemAttr
* _result
;
239 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
240 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
241 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
243 PyObject
* _obj0
= 0;
245 PyObject
* _obj1
= 0;
246 PyObject
* _argo2
= 0;
247 char *_kwnames
[] = { "colText","colBack","font", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
256 if (! wxColour_helper(_obj0
, &_arg0
))
262 if (! wxColour_helper(_obj1
, &_arg1
))
266 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
279 _resultobj
= Py_BuildValue("s",_ptemp
);
282 _resultobj
= Py_None
;
287 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
288 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
290 wxListItemAttr
* _arg0
;
292 PyObject
* _argo0
= 0;
294 PyObject
* _obj1
= 0;
295 char *_kwnames
[] = { "self","colText", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
309 if (! wxColour_helper(_obj1
, &_arg1
))
313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
314 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
316 wxPyEndAllowThreads(__tstate
);
317 if (PyErr_Occurred()) return NULL
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
323 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
324 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxListItemAttr
* _arg0
;
328 PyObject
* _argo0
= 0;
330 PyObject
* _obj1
= 0;
331 char *_kwnames
[] = { "self","colBack", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
345 if (! wxColour_helper(_obj1
, &_arg1
))
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
359 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
360 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxListItemAttr
* _arg0
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _argo1
= 0;
366 char *_kwnames
[] = { "self","font", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
379 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 wxListItemAttr_SetFont(_arg0
,*_arg1
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
395 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
396 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxListItemAttr
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
424 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
427 wxListItemAttr
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
452 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
455 wxListItemAttr
* _arg0
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
471 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
473 wxPyEndAllowThreads(__tstate
);
474 if (PyErr_Occurred()) return NULL
;
475 } _resultobj
= Py_BuildValue("i",_result
);
479 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
480 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxListItemAttr
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
505 _resultobj
= Py_BuildValue("s",_ptemp
);
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) return NULL
;
534 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
535 _resultobj
= Py_BuildValue("s",_ptemp
);
539 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
540 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxListItemAttr
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
560 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
562 wxPyEndAllowThreads(__tstate
);
563 if (PyErr_Occurred()) return NULL
;
564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
569 static void *SwigwxListItemTowxObject(void *ptr
) {
572 src
= (wxListItem
*) ptr
;
573 dest
= (wxObject
*) src
;
574 return (void *) dest
;
577 #define new_wxListItem() (new wxListItem())
578 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
580 wxListItem
* _result
;
581 char *_kwnames
[] = { NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
589 _result
= (wxListItem
*)new_wxListItem();
591 wxPyEndAllowThreads(__tstate
);
592 if (PyErr_Occurred()) return NULL
;
594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
595 _resultobj
= Py_BuildValue("s",_ptemp
);
598 _resultobj
= Py_None
;
603 #define delete_wxListItem(_swigobj) (delete _swigobj)
604 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 delete_wxListItem(_arg0
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
632 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 PyObject
* _argo0
= 0;
636 char *_kwnames
[] = { "self", NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
650 wxListItem_Clear(_arg0
);
652 wxPyEndAllowThreads(__tstate
);
653 if (PyErr_Occurred()) return NULL
;
654 } Py_INCREF(Py_None
);
655 _resultobj
= Py_None
;
659 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
660 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxListItem_ClearAttributes(_arg0
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
688 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self","mask", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 wxListItem_SetMask(_arg0
,_arg1
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
717 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self","id", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 wxListItem_SetId(_arg0
,_arg1
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 } Py_INCREF(Py_None
);
741 _resultobj
= Py_None
;
745 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
746 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self","col", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 wxListItem_SetColumn(_arg0
,_arg1
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
775 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self","state", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxListItem_SetState(_arg0
,_arg1
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
804 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self","stateMask", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 wxListItem_SetStateMask(_arg0
,_arg1
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } Py_INCREF(Py_None
);
828 _resultobj
= Py_None
;
832 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
833 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 PyObject
* _obj1
= 0;
839 char *_kwnames
[] = { "self","text", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
852 _arg1
= wxString_in_helper(_obj1
);
857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
858 wxListItem_SetText(_arg0
,*_arg1
);
860 wxPyEndAllowThreads(__tstate
);
861 if (PyErr_Occurred()) return NULL
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
871 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
872 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self","image", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 wxListItem_SetImage(_arg0
,_arg1
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } Py_INCREF(Py_None
);
896 _resultobj
= Py_None
;
900 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
901 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self","data", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 wxListItem_SetData(_arg0
,_arg1
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } Py_INCREF(Py_None
);
925 _resultobj
= Py_None
;
929 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
930 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self","width", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxListItem_SetWidth(_arg0
,_arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
959 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
962 wxListColumnFormat _arg1
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self","align", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 wxListItem_SetAlign(_arg0
,_arg1
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
987 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
988 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
992 PyObject
* _argo0
= 0;
994 PyObject
* _obj1
= 0;
995 char *_kwnames
[] = { "self","colText", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1009 if (! wxColour_helper(_obj1
, &_arg1
))
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 wxListItem_SetTextColour(_arg0
,*_arg1
);
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) return NULL
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1023 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1024 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1028 PyObject
* _argo0
= 0;
1030 PyObject
* _obj1
= 0;
1031 char *_kwnames
[] = { "self","colBack", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1045 if (! wxColour_helper(_obj1
, &_arg1
))
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1060 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1064 PyObject
* _argo0
= 0;
1065 PyObject
* _argo1
= 0;
1066 char *_kwnames
[] = { "self","font", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1079 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 wxListItem_SetFont(_arg0
,*_arg1
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1096 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (long )wxListItem_GetMask(_arg0
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("l",_result
);
1123 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1124 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (long )wxListItem_GetId(_arg0
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } _resultobj
= Py_BuildValue("l",_result
);
1151 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1152 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (int )wxListItem_GetColumn(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } _resultobj
= Py_BuildValue("i",_result
);
1179 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1180 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (long )wxListItem_GetState(_arg0
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1208 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1228 _result
= (wxString
*) &_result_ref
;
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1234 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1236 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1242 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (int )wxListItem_GetImage(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 _result
= (long )wxListItem_GetData(_arg0
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } _resultobj
= Py_BuildValue("l",_result
);
1298 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 _result
= (int )wxListItem_GetWidth(_arg0
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxListColumnFormat _result
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxListItemAttr
* _result
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) return NULL
;
1442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) return NULL
;
1472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1477 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","m_mask", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("l",_result
);
1536 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (long )wxListItem_m_mask_get(_arg0
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self","m_itemId", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) return NULL
;
1589 } _resultobj
= Py_BuildValue("l",_result
);
1593 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("l",_result
);
1621 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","m_col", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (int )wxListItem_m_col_get(_arg0
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","m_state", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("l",_result
);
1707 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (long )wxListItem_m_state_get(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("l",_result
);
1735 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("l",_result
);
1764 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("l",_result
);
1792 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1798 PyObject
* _argo0
= 0;
1799 PyObject
* _obj1
= 0;
1800 char *_kwnames
[] = { "self","m_text", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 _arg1
= wxString_in_helper(_obj1
);
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1825 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1837 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1838 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) return NULL
;
1863 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1865 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1871 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1872 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self","m_image", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1901 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (int )wxListItem_m_image_get(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1929 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self","m_data", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } _resultobj
= Py_BuildValue("l",_result
);
1957 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1958 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 _result
= (long )wxListItem_m_data_get(_arg0
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } _resultobj
= Py_BuildValue("l",_result
);
1985 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1986 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","m_format", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } _resultobj
= Py_BuildValue("i",_result
);
2014 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2015 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= (int )wxListItem_m_format_get(_arg0
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2043 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self","m_width", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2072 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (int )wxListItem_m_width_get(_arg0
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2101 wxNotifyEvent
*dest
;
2102 src
= (wxListEvent
*) ptr
;
2103 dest
= (wxNotifyEvent
*) src
;
2104 return (void *) dest
;
2107 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2109 wxCommandEvent
*dest
;
2110 src
= (wxListEvent
*) ptr
;
2111 dest
= (wxCommandEvent
*) src
;
2112 return (void *) dest
;
2115 static void *SwigwxListEventTowxEvent(void *ptr
) {
2118 src
= (wxListEvent
*) ptr
;
2119 dest
= (wxEvent
*) src
;
2120 return (void *) dest
;
2123 static void *SwigwxListEventTowxObject(void *ptr
) {
2126 src
= (wxListEvent
*) ptr
;
2127 dest
= (wxObject
*) src
;
2128 return (void *) dest
;
2131 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2132 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxListEvent
* _result
;
2135 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2136 int _arg1
= (int ) 0;
2137 char *_kwnames
[] = { "commandType","id", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2151 _resultobj
= Py_BuildValue("s",_ptemp
);
2154 _resultobj
= Py_None
;
2159 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2160 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 wxListEvent
* _arg0
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= (int )wxListEvent_m_code_get(_arg0
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2188 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("l",_result
);
2215 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2216 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("l",_result
);
2243 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2244 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= (int )wxListEvent_m_col_get(_arg0
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2267 } _resultobj
= Py_BuildValue("i",_result
);
2271 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2272 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxListEvent
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 _resultobj
= Py_None
;
2306 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2307 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxListItem
* _result
;
2310 wxListEvent
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2334 #define wxListEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2335 static PyObject
*_wrap_wxListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2338 wxListEvent
* _arg0
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetKeyCode",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetKeyCode. Expected _wxListEvent_p.");
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= (int )wxListEvent_GetKeyCode(_arg0
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2363 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2366 wxListEvent
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (long )wxListEvent_GetIndex(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } _resultobj
= Py_BuildValue("l",_result
);
2390 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2391 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2394 wxListEvent
* _arg0
;
2395 PyObject
* _argo0
= 0;
2396 char *_kwnames
[] = { "self", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 _result
= (int )wxListEvent_GetColumn(_arg0
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } _resultobj
= Py_BuildValue("i",_result
);
2418 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2419 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2422 wxListEvent
* _arg0
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2448 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2449 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2452 wxListEvent
* _arg0
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2469 _result
= (wxString
*) &_result_ref
;
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2475 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2483 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2484 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2487 wxListEvent
* _arg0
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2504 _result
= (wxString
*) &_result_ref
;
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2510 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2518 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2519 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2522 wxListEvent
* _arg0
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 _result
= (int )wxListEvent_GetImage(_arg0
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2547 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2550 wxListEvent
* _arg0
;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 _result
= (long )wxListEvent_GetData(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } _resultobj
= Py_BuildValue("l",_result
);
2574 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2575 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2578 wxListEvent
* _arg0
;
2579 PyObject
* _argo0
= 0;
2580 char *_kwnames
[] = { "self", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 _result
= (long )wxListEvent_GetMask(_arg0
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 } _resultobj
= Py_BuildValue("l",_result
);
2602 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2603 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2605 wxListItem
* _result
;
2606 wxListEvent
* _arg0
;
2607 PyObject
* _argo0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2623 _result
= (wxListItem
*) &_result_ref
;
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2627 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2631 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2632 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2635 wxListEvent
* _arg0
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } _resultobj
= Py_BuildValue("l",_result
);
2659 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2660 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2663 wxListEvent
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } _resultobj
= Py_BuildValue("l",_result
);
2687 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2690 src
= (wxPyListCtrl
*) ptr
;
2691 dest
= (wxControl
*) src
;
2692 return (void *) dest
;
2695 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2698 src
= (wxPyListCtrl
*) ptr
;
2699 dest
= (wxWindow
*) src
;
2700 return (void *) dest
;
2703 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2706 src
= (wxPyListCtrl
*) ptr
;
2707 dest
= (wxEvtHandler
*) src
;
2708 return (void *) dest
;
2711 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2714 src
= (wxPyListCtrl
*) ptr
;
2715 dest
= (wxObject
*) src
;
2716 return (void *) dest
;
2719 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2720 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxPyListCtrl
* _result
;
2724 wxWindowID _arg1
= (wxWindowID
) -1;
2725 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2726 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2727 long _arg4
= (long ) (wxLC_ICON
);
2728 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2729 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2730 PyObject
* _argo0
= 0;
2732 PyObject
* _obj2
= 0;
2734 PyObject
* _obj3
= 0;
2735 PyObject
* _argo5
= 0;
2736 PyObject
* _obj6
= 0;
2737 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2753 if (! wxPoint_helper(_obj2
, &_arg2
))
2759 if (! wxSize_helper(_obj3
, &_arg3
))
2763 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2770 _arg6
= wxString_in_helper(_obj6
);
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2782 _resultobj
= Py_BuildValue("s",_ptemp
);
2785 _resultobj
= Py_None
;
2794 #define new_wxPreListCtrl() (new wxPyListCtrl())
2795 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2797 wxPyListCtrl
* _result
;
2798 char *_kwnames
[] = { NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2812 _resultobj
= Py_BuildValue("s",_ptemp
);
2815 _resultobj
= Py_None
;
2820 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2821 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2824 wxPyListCtrl
* _arg0
;
2826 wxWindowID _arg2
= (wxWindowID
) -1;
2827 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2828 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2829 long _arg5
= (long ) (wxLC_ICON
);
2830 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2831 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2832 PyObject
* _argo0
= 0;
2833 PyObject
* _argo1
= 0;
2835 PyObject
* _obj3
= 0;
2837 PyObject
* _obj4
= 0;
2838 PyObject
* _argo6
= 0;
2839 PyObject
* _obj7
= 0;
2840 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2862 if (! wxPoint_helper(_obj3
, &_arg3
))
2868 if (! wxSize_helper(_obj4
, &_arg4
))
2872 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2879 _arg7
= wxString_in_helper(_obj7
);
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2889 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2898 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxPyListCtrl
* _arg0
;
2903 PyObject
* _argo0
= 0;
2904 PyObject
* _obj1
= 0;
2905 PyObject
* _obj2
= 0;
2906 char *_kwnames
[] = { "self","self","_class", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2936 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2939 wxPyListCtrl
* _arg0
;
2941 PyObject
* _argo0
= 0;
2943 PyObject
* _obj1
= 0;
2944 char *_kwnames
[] = { "self","col", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2958 if (! wxColour_helper(_obj1
, &_arg1
))
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2972 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxPyListCtrl
* _arg0
;
2977 PyObject
* _argo0
= 0;
2979 PyObject
* _obj1
= 0;
2980 char *_kwnames
[] = { "self","col", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
2994 if (! wxColour_helper(_obj1
, &_arg1
))
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3009 item
.SetMask(0xFFFF);
3010 if (self
->GetColumn(col
, item
))
3011 return new wxListItem(item
);
3015 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3017 wxListItem
* _result
;
3018 wxPyListCtrl
* _arg0
;
3020 PyObject
* _argo0
= 0;
3021 char *_kwnames
[] = { "self","col", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3039 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3043 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3044 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3047 wxPyListCtrl
* _arg0
;
3050 PyObject
* _argo0
= 0;
3051 PyObject
* _argo2
= 0;
3052 char *_kwnames
[] = { "self","col","item", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3065 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3081 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 wxPyListCtrl
* _arg0
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","col", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3110 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxPyListCtrl
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","col","width", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3140 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 wxPyListCtrl
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } _resultobj
= Py_BuildValue("i",_result
);
3167 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3168 wxListItem
* info
= new wxListItem
;
3169 info
->m_itemId
= itemId
;
3171 info
->m_mask
= 0xFFFF;
3172 self
->GetItem(*info
);
3175 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxListItem
* _result
;
3178 wxPyListCtrl
* _arg0
;
3180 int _arg2
= (int ) 0;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self","itemId","col", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) return NULL
;
3200 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3204 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3205 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3208 wxPyListCtrl
* _arg0
;
3210 PyObject
* _argo0
= 0;
3211 PyObject
* _argo1
= 0;
3212 char *_kwnames
[] = { "self","info", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3225 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3236 } _resultobj
= Py_BuildValue("i",_result
);
3240 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3241 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3244 wxPyListCtrl
* _arg0
;
3248 int _arg4
= (int ) -1;
3249 PyObject
* _argo0
= 0;
3250 PyObject
* _obj3
= 0;
3251 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3264 _arg3
= wxString_in_helper(_obj3
);
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } _resultobj
= Py_BuildValue("l",_result
);
3282 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3283 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3286 wxPyListCtrl
* _arg0
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3313 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3316 wxPyListCtrl
* _arg0
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) return NULL
;
3339 } _resultobj
= Py_BuildValue("i",_result
);
3343 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3344 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3347 wxPyListCtrl
* _arg0
;
3351 PyObject
* _argo0
= 0;
3352 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) return NULL
;
3370 } _resultobj
= Py_BuildValue("i",_result
);
3374 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3375 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3378 wxPyListCtrl
* _arg0
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self","item", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3401 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3403 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3412 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3413 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3415 wxPyListCtrl
* _arg0
;
3418 PyObject
* _argo0
= 0;
3419 PyObject
* _obj2
= 0;
3420 char *_kwnames
[] = { "self","item","str", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3433 _arg2
= wxString_in_helper(_obj2
);
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) return NULL
;
3443 } Py_INCREF(Py_None
);
3444 _resultobj
= Py_None
;
3452 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3453 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3456 wxPyListCtrl
* _arg0
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "self","item", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) return NULL
;
3477 } _resultobj
= Py_BuildValue("l",_result
);
3481 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3482 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3485 wxPyListCtrl
* _arg0
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self","item","data", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3512 wxPoint
* pos
= new wxPoint
;
3513 self
->GetItemPosition(item
, *pos
);
3516 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3519 wxPyListCtrl
* _arg0
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self","item", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3543 _resultobj
= Py_BuildValue("s",_ptemp
);
3546 _resultobj
= Py_None
;
3551 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3552 wxRect
* rect
= new wxRect
;
3553 self
->GetItemRect(item
, *rect
, code
);
3556 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3559 wxPyListCtrl
* _arg0
;
3561 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3562 PyObject
* _argo0
= 0;
3563 char *_kwnames
[] = { "self","item","code", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) return NULL
;
3583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3584 _resultobj
= Py_BuildValue("s",_ptemp
);
3587 _resultobj
= Py_None
;
3592 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3593 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3596 wxPyListCtrl
* _arg0
;
3599 PyObject
* _argo0
= 0;
3601 PyObject
* _obj2
= 0;
3602 char *_kwnames
[] = { "self","item","pos", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3616 if (! wxPoint_helper(_obj2
, &_arg2
))
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3630 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3633 wxPyListCtrl
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } _resultobj
= Py_BuildValue("i",_result
);
3657 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3658 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3661 wxPyListCtrl
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } _resultobj
= Py_BuildValue("i",_result
);
3685 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3686 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3689 wxPyListCtrl
* _arg0
;
3691 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self","isSmall", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3705 _arg1
= (bool ) tempbool1
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) return NULL
;
3712 } _resultobj
= Py_BuildValue("i",_result
);
3716 #define wxListCtrl_SetItemSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSpacing(_swigarg0,_swigarg1))
3717 static PyObject
*_wrap_wxListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxPyListCtrl
* _arg0
;
3721 bool _arg2
= (bool ) FALSE
;
3722 PyObject
* _argo0
= 0;
3723 int tempbool2
= (int) FALSE
;
3724 char *_kwnames
[] = { "self","spacing","isSmall", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListCtrl_SetItemSpacing",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemSpacing. Expected _wxPyListCtrl_p.");
3736 _arg2
= (bool ) tempbool2
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxListCtrl_SetItemSpacing(_arg0
,_arg1
,_arg2
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3749 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxPyListCtrl
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3777 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxPyListCtrl
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) return NULL
;
3801 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3802 _resultobj
= Py_BuildValue("s",_ptemp
);
3806 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3807 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
* _resultobj
;
3809 wxPyListCtrl
* _arg0
;
3811 PyObject
* _argo0
= 0;
3813 PyObject
* _obj1
= 0;
3814 char *_kwnames
[] = { "self","col", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3828 if (! wxColour_helper(_obj1
, &_arg1
))
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3837 } Py_INCREF(Py_None
);
3838 _resultobj
= Py_None
;
3842 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3843 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3846 wxPyListCtrl
* _arg0
;
3847 PyObject
* _argo0
= 0;
3848 char *_kwnames
[] = { "self", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) return NULL
;
3866 } _resultobj
= Py_BuildValue("l",_result
);
3870 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3871 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3873 wxPyListCtrl
* _arg0
;
3875 bool _arg2
= (bool ) TRUE
;
3876 PyObject
* _argo0
= 0;
3877 int tempbool2
= (int) TRUE
;
3878 char *_kwnames
[] = { "self","style","add", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3890 _arg2
= (bool ) tempbool2
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) return NULL
;
3897 } Py_INCREF(Py_None
);
3898 _resultobj
= Py_None
;
3902 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3903 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3905 wxPyListCtrl
* _arg0
;
3907 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self","style", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) return NULL
;
3926 } Py_INCREF(Py_None
);
3927 _resultobj
= Py_None
;
3931 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3932 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
* _resultobj
;
3935 wxPyListCtrl
* _arg0
;
3937 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3938 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } _resultobj
= Py_BuildValue("l",_result
);
3962 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3963 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3965 wxImageList
* _result
;
3966 wxPyListCtrl
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self","which", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) return NULL
;
3987 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3991 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3992 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3994 wxPyListCtrl
* _arg0
;
3995 wxImageList
* _arg1
;
3997 PyObject
* _argo0
= 0;
3998 PyObject
* _argo1
= 0;
3999 char *_kwnames
[] = { "self","imageList","which", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4024 } Py_INCREF(Py_None
);
4025 _resultobj
= Py_None
;
4029 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4030 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4032 wxPyListCtrl
* _arg0
;
4033 wxImageList
* _arg1
;
4035 PyObject
* _argo0
= 0;
4036 PyObject
* _argo1
= 0;
4037 char *_kwnames
[] = { "self","imageList","which", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) return NULL
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4068 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4071 wxPyListCtrl
* _arg0
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) return NULL
;
4091 } _resultobj
= Py_BuildValue("i",_result
);
4095 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4096 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4098 wxPyListCtrl
* _arg0
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self","item", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) return NULL
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4124 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4125 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxPyListCtrl
* _arg0
;
4130 PyObject
* _argo0
= 0;
4131 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) return NULL
;
4149 } Py_INCREF(Py_None
);
4150 _resultobj
= Py_None
;
4154 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4155 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4158 wxPyListCtrl
* _arg0
;
4159 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4160 PyObject
* _argo0
= 0;
4161 char *_kwnames
[] = { "self","flag", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4184 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4187 wxPyListCtrl
* _arg0
;
4189 PyObject
* _argo0
= 0;
4190 char *_kwnames
[] = { "self","item", NULL
};
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) return NULL
;
4208 } _resultobj
= Py_BuildValue("i",_result
);
4212 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4213 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4216 wxPyListCtrl
* _arg0
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "self", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) return NULL
;
4236 } _resultobj
= Py_BuildValue("i",_result
);
4240 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4241 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4244 wxPyListCtrl
* _arg0
;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self","col", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) return NULL
;
4265 } _resultobj
= Py_BuildValue("i",_result
);
4269 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4270 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4273 wxPyListCtrl
* _arg0
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) return NULL
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4297 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4298 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxPyListCtrl
* _arg0
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxListCtrl_ClearAll(_arg0
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4326 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4328 wxPyListCtrl
* _arg0
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self","item", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 wxListCtrl_EditLabel(_arg0
,_arg1
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4355 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4358 wxPyListCtrl
* _arg0
;
4360 PyObject
* _argo0
= 0;
4361 char *_kwnames
[] = { "self","item", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) return NULL
;
4379 } _resultobj
= Py_BuildValue("i",_result
);
4383 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4384 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4387 wxPyListCtrl
* _arg0
;
4390 bool _arg3
= (bool ) FALSE
;
4391 PyObject
* _argo0
= 0;
4392 PyObject
* _obj2
= 0;
4393 int tempbool3
= (int) FALSE
;
4394 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4407 _arg2
= wxString_in_helper(_obj2
);
4411 _arg3
= (bool ) tempbool3
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) return NULL
;
4418 } _resultobj
= Py_BuildValue("l",_result
);
4426 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4427 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4430 wxPyListCtrl
* _arg0
;
4433 PyObject
* _argo0
= 0;
4434 char *_kwnames
[] = { "self","start","data", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) return NULL
;
4452 } _resultobj
= Py_BuildValue("l",_result
);
4456 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4457 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4460 wxPyListCtrl
* _arg0
;
4464 PyObject
* _argo0
= 0;
4466 PyObject
* _obj2
= 0;
4467 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4481 if (! wxPoint_helper(_obj2
, &_arg2
))
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("l",_result
);
4494 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4495 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 wxPyListCtrl
* _arg0
;
4502 PyObject
* _argo0
= 0;
4504 PyObject
* _obj1
= 0;
4505 char *_kwnames
[] = { "self","point", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4522 if (! wxPoint_helper(_obj1
, &_arg1
))
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4531 } _resultobj
= Py_BuildValue("l",_result
);
4534 o
= PyInt_FromLong((long) (*_arg2
));
4535 _resultobj
= t_output_helper(_resultobj
, o
);
4540 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4541 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxPyListCtrl
* _arg0
;
4546 PyObject
* _argo0
= 0;
4547 PyObject
* _argo1
= 0;
4548 char *_kwnames
[] = { "self","info", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4561 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } _resultobj
= Py_BuildValue("l",_result
);
4576 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4577 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4580 wxPyListCtrl
* _arg0
;
4583 PyObject
* _argo0
= 0;
4584 PyObject
* _obj2
= 0;
4585 char *_kwnames
[] = { "self","index","label", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4598 _arg2
= wxString_in_helper(_obj2
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4608 } _resultobj
= Py_BuildValue("l",_result
);
4616 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4617 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4620 wxPyListCtrl
* _arg0
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } _resultobj
= Py_BuildValue("l",_result
);
4646 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4647 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4650 wxPyListCtrl
* _arg0
;
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _obj2
= 0;
4656 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4669 _arg2
= wxString_in_helper(_obj2
);
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } _resultobj
= Py_BuildValue("l",_result
);
4687 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4688 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4691 wxPyListCtrl
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _argo2
= 0;
4696 char *_kwnames
[] = { "self","col","info", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4709 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } _resultobj
= Py_BuildValue("l",_result
);
4724 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4725 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4728 wxPyListCtrl
* _arg0
;
4731 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4732 int _arg4
= (int ) -1;
4733 PyObject
* _argo0
= 0;
4734 PyObject
* _obj2
= 0;
4735 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4748 _arg2
= wxString_in_helper(_obj2
);
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } _resultobj
= Py_BuildValue("l",_result
);
4766 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4767 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxPyListCtrl
* _arg0
;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self","count", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
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_SetItemCount. Expected _wxPyListCtrl_p.");
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) return NULL
;
4790 } Py_INCREF(Py_None
);
4791 _resultobj
= Py_None
;
4795 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4796 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4799 wxPyListCtrl
* _arg0
;
4802 PyObject
* _argo0
= 0;
4803 char *_kwnames
[] = { "self","dx","dy", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4821 } _resultobj
= Py_BuildValue("i",_result
);
4825 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4826 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4828 wxPyListCtrl
* _arg0
;
4831 PyObject
* _argo0
= 0;
4833 PyObject
* _obj2
= 0;
4834 char *_kwnames
[] = { "self","item","col", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4848 if (! wxColour_helper(_obj2
, &_arg2
))
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) return NULL
;
4857 } Py_INCREF(Py_None
);
4858 _resultobj
= Py_None
;
4862 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4863 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4866 wxPyListCtrl
* _arg0
;
4868 PyObject
* _argo0
= 0;
4869 char *_kwnames
[] = { "self","item", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) return NULL
;
4888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4889 _resultobj
= Py_BuildValue("s",_ptemp
);
4893 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4894 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxPyListCtrl
* _arg0
;
4899 PyObject
* _argo0
= 0;
4901 PyObject
* _obj2
= 0;
4902 char *_kwnames
[] = { "self","item","col", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4916 if (! wxColour_helper(_obj2
, &_arg2
))
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } Py_INCREF(Py_None
);
4926 _resultobj
= Py_None
;
4930 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4931 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4934 wxPyListCtrl
* _arg0
;
4936 PyObject
* _argo0
= 0;
4937 char *_kwnames
[] = { "self","item", NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) return NULL
;
4956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4957 _resultobj
= Py_BuildValue("s",_ptemp
);
4961 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4962 if (!PyCallable_Check(func
))
4964 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4966 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4969 wxPyListCtrl
* _arg0
;
4971 PyObject
* _argo0
= 0;
4972 PyObject
* _obj1
= 0;
4973 char *_kwnames
[] = { "self","func", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) return NULL
;
4994 } _resultobj
= Py_BuildValue("i",_result
);
4998 static wxWindow
* wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
) {
5002 return (wxWindow
*)self
->m_mainWin
;
5005 static PyObject
*_wrap_wxListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
* _resultobj
;
5008 wxPyListCtrl
* _arg0
;
5009 PyObject
* _argo0
= 0;
5010 char *_kwnames
[] = { "self", NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetMainWindow",_kwnames
,&_argo0
))
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_GetMainWindow. Expected _wxPyListCtrl_p.");
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 _result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(_arg0
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5028 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5032 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5035 src
= (wxListView
*) ptr
;
5036 dest
= (wxPyListCtrl
*) src
;
5037 return (void *) dest
;
5040 static void *SwigwxListViewTowxControl(void *ptr
) {
5043 src
= (wxListView
*) ptr
;
5044 dest
= (wxControl
*) src
;
5045 return (void *) dest
;
5048 static void *SwigwxListViewTowxWindow(void *ptr
) {
5051 src
= (wxListView
*) ptr
;
5052 dest
= (wxWindow
*) src
;
5053 return (void *) dest
;
5056 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5059 src
= (wxListView
*) ptr
;
5060 dest
= (wxEvtHandler
*) src
;
5061 return (void *) dest
;
5064 static void *SwigwxListViewTowxObject(void *ptr
) {
5067 src
= (wxListView
*) ptr
;
5068 dest
= (wxObject
*) src
;
5069 return (void *) dest
;
5072 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5073 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 wxListView
* _result
;
5077 wxWindowID _arg1
= (wxWindowID
) -1;
5078 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5079 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5080 long _arg4
= (long ) (wxLC_REPORT
);
5081 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5082 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5083 PyObject
* _argo0
= 0;
5085 PyObject
* _obj2
= 0;
5087 PyObject
* _obj3
= 0;
5088 PyObject
* _argo5
= 0;
5089 PyObject
* _obj6
= 0;
5090 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5106 if (! wxPoint_helper(_obj2
, &_arg2
))
5112 if (! wxSize_helper(_obj3
, &_arg3
))
5116 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5123 _arg6
= wxString_in_helper(_obj6
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5135 _resultobj
= Py_BuildValue("s",_ptemp
);
5138 _resultobj
= Py_None
;
5147 #define new_wxPreListView() (new wxListView())
5148 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5150 wxListView
* _result
;
5151 char *_kwnames
[] = { NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 _result
= (wxListView
*)new_wxPreListView();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) return NULL
;
5164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5165 _resultobj
= Py_BuildValue("s",_ptemp
);
5168 _resultobj
= Py_None
;
5173 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5174 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5179 wxWindowID _arg2
= (wxWindowID
) -1;
5180 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5181 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5182 long _arg5
= (long ) (wxLC_REPORT
);
5183 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5184 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5185 PyObject
* _argo0
= 0;
5186 PyObject
* _argo1
= 0;
5188 PyObject
* _obj3
= 0;
5190 PyObject
* _obj4
= 0;
5191 PyObject
* _argo6
= 0;
5192 PyObject
* _obj7
= 0;
5193 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5215 if (! wxPoint_helper(_obj3
, &_arg3
))
5221 if (! wxSize_helper(_obj4
, &_arg4
))
5225 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5232 _arg7
= wxString_in_helper(_obj7
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) return NULL
;
5242 } _resultobj
= Py_BuildValue("i",_result
);
5250 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5251 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5255 bool _arg2
= (bool ) TRUE
;
5256 PyObject
* _argo0
= 0;
5257 int tempbool2
= (int) TRUE
;
5258 char *_kwnames
[] = { "self","n","on", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5270 _arg2
= (bool ) tempbool2
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxListView_Select(_arg0
,_arg1
,_arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } Py_INCREF(Py_None
);
5278 _resultobj
= Py_None
;
5282 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5283 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
* _resultobj
;
5287 PyObject
* _argo0
= 0;
5288 char *_kwnames
[] = { "self","index", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 wxListView_Focus(_arg0
,_arg1
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) return NULL
;
5306 } Py_INCREF(Py_None
);
5307 _resultobj
= Py_None
;
5311 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5312 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5335 } _resultobj
= Py_BuildValue("l",_result
);
5339 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5340 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self","item", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } _resultobj
= Py_BuildValue("l",_result
);
5368 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5369 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5373 PyObject
* _argo0
= 0;
5374 char *_kwnames
[] = { "self", NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) return NULL
;
5392 } _resultobj
= Py_BuildValue("l",_result
);
5396 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5397 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self","index", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } _resultobj
= Py_BuildValue("i",_result
);
5425 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5426 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self","col","image", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } Py_INCREF(Py_None
);
5451 _resultobj
= Py_None
;
5455 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5456 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
* _resultobj
;
5460 PyObject
* _argo0
= 0;
5461 char *_kwnames
[] = { "self","col", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxListView_ClearColumnImage(_arg0
,_arg1
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5479 } Py_INCREF(Py_None
);
5480 _resultobj
= Py_None
;
5484 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5485 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
* _resultobj
;
5487 wxTreeItemAttr
* _result
;
5488 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5489 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5490 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5492 PyObject
* _obj0
= 0;
5494 PyObject
* _obj1
= 0;
5495 PyObject
* _argo2
= 0;
5496 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5505 if (! wxColour_helper(_obj0
, &_arg0
))
5511 if (! wxColour_helper(_obj1
, &_arg1
))
5515 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) return NULL
;
5527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5528 _resultobj
= Py_BuildValue("s",_ptemp
);
5531 _resultobj
= Py_None
;
5536 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5537 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5539 wxTreeItemAttr
* _arg0
;
5541 PyObject
* _argo0
= 0;
5543 PyObject
* _obj1
= 0;
5544 char *_kwnames
[] = { "self","colText", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5558 if (! wxColour_helper(_obj1
, &_arg1
))
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) return NULL
;
5567 } Py_INCREF(Py_None
);
5568 _resultobj
= Py_None
;
5572 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5573 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5575 wxTreeItemAttr
* _arg0
;
5577 PyObject
* _argo0
= 0;
5579 PyObject
* _obj1
= 0;
5580 char *_kwnames
[] = { "self","colBack", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5594 if (! wxColour_helper(_obj1
, &_arg1
))
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5608 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5609 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5611 wxTreeItemAttr
* _arg0
;
5613 PyObject
* _argo0
= 0;
5614 PyObject
* _argo1
= 0;
5615 char *_kwnames
[] = { "self","font", NULL
};
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5628 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) return NULL
;
5639 } Py_INCREF(Py_None
);
5640 _resultobj
= Py_None
;
5644 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5645 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5648 wxTreeItemAttr
* _arg0
;
5649 PyObject
* _argo0
= 0;
5650 char *_kwnames
[] = { "self", NULL
};
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) return NULL
;
5668 } _resultobj
= Py_BuildValue("i",_result
);
5672 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5673 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5676 wxTreeItemAttr
* _arg0
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } _resultobj
= Py_BuildValue("i",_result
);
5700 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5701 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5704 wxTreeItemAttr
* _arg0
;
5705 PyObject
* _argo0
= 0;
5706 char *_kwnames
[] = { "self", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) return NULL
;
5724 } _resultobj
= Py_BuildValue("i",_result
);
5728 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5729 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5732 wxTreeItemAttr
* _arg0
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5754 _resultobj
= Py_BuildValue("s",_ptemp
);
5758 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5759 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5762 wxTreeItemAttr
* _arg0
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self", NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5784 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5789 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5792 wxTreeItemAttr
* _arg0
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5814 _resultobj
= Py_BuildValue("s",_ptemp
);
5818 #define new_wxTreeItemId() (new wxTreeItemId())
5819 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
* _resultobj
;
5821 wxTreeItemId
* _result
;
5822 char *_kwnames
[] = { NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) return NULL
;
5835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5836 _resultobj
= Py_BuildValue("s",_ptemp
);
5839 _resultobj
= Py_None
;
5844 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5845 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5847 wxTreeItemId
* _arg0
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 delete_wxTreeItemId(_arg0
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) return NULL
;
5867 } Py_INCREF(Py_None
);
5868 _resultobj
= Py_None
;
5872 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5873 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5876 wxTreeItemId
* _arg0
;
5877 PyObject
* _argo0
= 0;
5878 char *_kwnames
[] = { "self", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) return NULL
;
5896 } _resultobj
= Py_BuildValue("i",_result
);
5900 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5901 if (! other
) return -1;
5902 return *self
!= *other
;
5904 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5907 wxTreeItemId
* _arg0
;
5908 wxTreeItemId
* _arg1
;
5909 PyObject
* _argo0
= 0;
5910 PyObject
* _argo1
= 0;
5911 char *_kwnames
[] = { "self","other", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) return NULL
;
5936 } _resultobj
= Py_BuildValue("i",_result
);
5940 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5941 wxPyTreeItemData
*src
;
5943 src
= (wxPyTreeItemData
*) ptr
;
5944 dest
= (wxObject
*) src
;
5945 return (void *) dest
;
5948 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5949 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5951 wxPyTreeItemData
* _result
;
5952 PyObject
* _arg0
= (PyObject
*) NULL
;
5953 PyObject
* _obj0
= 0;
5954 char *_kwnames
[] = { "obj", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5972 _resultobj
= Py_BuildValue("s",_ptemp
);
5975 _resultobj
= Py_None
;
5980 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5981 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5984 wxPyTreeItemData
* _arg0
;
5985 PyObject
* _argo0
= 0;
5986 char *_kwnames
[] = { "self", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) return NULL
;
6005 _resultobj
= _result
;
6010 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6011 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6013 wxPyTreeItemData
* _arg0
;
6015 PyObject
* _argo0
= 0;
6016 PyObject
* _obj1
= 0;
6017 char *_kwnames
[] = { "self","obj", NULL
};
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxTreeItemData_SetData(_arg0
,_arg1
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) return NULL
;
6038 } Py_INCREF(Py_None
);
6039 _resultobj
= Py_None
;
6043 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6044 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6046 wxTreeItemId
* _result
;
6047 wxPyTreeItemData
* _arg0
;
6048 PyObject
* _argo0
= 0;
6049 char *_kwnames
[] = { "self", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6065 _result
= (wxTreeItemId
*) &_result_ref
;
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6074 _resultobj
= Py_None
;
6079 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6080 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxPyTreeItemData
* _arg0
;
6083 wxTreeItemId
* _arg1
;
6084 PyObject
* _argo0
= 0;
6085 PyObject
* _argo1
= 0;
6086 char *_kwnames
[] = { "self","id", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6099 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxTreeItemData_SetId(_arg0
,*_arg1
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } Py_INCREF(Py_None
);
6111 _resultobj
= Py_None
;
6115 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6117 wxNotifyEvent
*dest
;
6118 src
= (wxTreeEvent
*) ptr
;
6119 dest
= (wxNotifyEvent
*) src
;
6120 return (void *) dest
;
6123 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6125 wxCommandEvent
*dest
;
6126 src
= (wxTreeEvent
*) ptr
;
6127 dest
= (wxCommandEvent
*) src
;
6128 return (void *) dest
;
6131 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6134 src
= (wxTreeEvent
*) ptr
;
6135 dest
= (wxEvent
*) src
;
6136 return (void *) dest
;
6139 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6142 src
= (wxTreeEvent
*) ptr
;
6143 dest
= (wxObject
*) src
;
6144 return (void *) dest
;
6147 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6148 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
* _resultobj
;
6150 wxTreeEvent
* _result
;
6151 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6152 int _arg1
= (int ) 0;
6153 char *_kwnames
[] = { "commandType","id", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6167 _resultobj
= Py_BuildValue("s",_ptemp
);
6170 _resultobj
= Py_None
;
6175 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6176 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6178 wxTreeItemId
* _result
;
6179 wxTreeEvent
* _arg0
;
6180 PyObject
* _argo0
= 0;
6181 char *_kwnames
[] = { "self", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) return NULL
;
6200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6201 _resultobj
= Py_BuildValue("s",_ptemp
);
6205 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6206 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
* _resultobj
;
6208 wxTreeItemId
* _result
;
6209 wxTreeEvent
* _arg0
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self", NULL
};
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) return NULL
;
6230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6231 _resultobj
= Py_BuildValue("s",_ptemp
);
6235 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6236 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6239 wxTreeEvent
* _arg0
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) return NULL
;
6260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6261 _resultobj
= Py_BuildValue("s",_ptemp
);
6265 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6266 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6268 wxKeyEvent
* _result
;
6269 wxTreeEvent
* _arg0
;
6270 PyObject
* _argo0
= 0;
6271 char *_kwnames
[] = { "self", NULL
};
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6287 _result
= (wxKeyEvent
*) &_result_ref
;
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) return NULL
;
6292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6293 _resultobj
= Py_BuildValue("s",_ptemp
);
6296 _resultobj
= Py_None
;
6301 #define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6302 static PyObject
*_wrap_wxTreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6305 wxTreeEvent
* _arg0
;
6306 PyObject
* _argo0
= 0;
6307 char *_kwnames
[] = { "self", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyCode",_kwnames
,&_argo0
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 _result
= (int )wxTreeEvent_GetKeyCode(_arg0
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) return NULL
;
6325 } _resultobj
= Py_BuildValue("i",_result
);
6329 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6330 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6333 wxTreeEvent
* _arg0
;
6334 PyObject
* _argo0
= 0;
6335 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6350 _result
= (wxString
*) &_result_ref
;
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) return NULL
;
6356 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6358 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6364 #define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6365 static PyObject
*_wrap_wxTreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6368 wxTreeEvent
* _arg0
;
6369 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_IsEditCancelled",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 _result
= (bool )wxTreeEvent_IsEditCancelled(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6388 } _resultobj
= Py_BuildValue("i",_result
);
6392 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6395 src
= (wxPyTreeCtrl
*) ptr
;
6396 dest
= (wxControl
*) src
;
6397 return (void *) dest
;
6400 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6403 src
= (wxPyTreeCtrl
*) ptr
;
6404 dest
= (wxWindow
*) src
;
6405 return (void *) dest
;
6408 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6411 src
= (wxPyTreeCtrl
*) ptr
;
6412 dest
= (wxEvtHandler
*) src
;
6413 return (void *) dest
;
6416 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6419 src
= (wxPyTreeCtrl
*) ptr
;
6420 dest
= (wxObject
*) src
;
6421 return (void *) dest
;
6424 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6425 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6427 wxPyTreeCtrl
* _result
;
6429 wxWindowID _arg1
= (wxWindowID
) -1;
6430 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6431 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6432 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6433 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6434 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6435 PyObject
* _argo0
= 0;
6437 PyObject
* _obj2
= 0;
6439 PyObject
* _obj3
= 0;
6440 PyObject
* _argo5
= 0;
6441 PyObject
* _obj6
= 0;
6442 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6458 if (! wxPoint_helper(_obj2
, &_arg2
))
6464 if (! wxSize_helper(_obj3
, &_arg3
))
6468 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6475 _arg6
= wxString_in_helper(_obj6
);
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) return NULL
;
6486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6487 _resultobj
= Py_BuildValue("s",_ptemp
);
6490 _resultobj
= Py_None
;
6499 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6500 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6502 wxPyTreeCtrl
* _result
;
6503 char *_kwnames
[] = { NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) return NULL
;
6516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6517 _resultobj
= Py_BuildValue("s",_ptemp
);
6520 _resultobj
= Py_None
;
6525 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6526 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6529 wxPyTreeCtrl
* _arg0
;
6531 wxWindowID _arg2
= (wxWindowID
) -1;
6532 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6533 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6534 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6535 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6536 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6537 PyObject
* _argo0
= 0;
6538 PyObject
* _argo1
= 0;
6540 PyObject
* _obj3
= 0;
6542 PyObject
* _obj4
= 0;
6543 PyObject
* _argo6
= 0;
6544 PyObject
* _obj7
= 0;
6545 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6567 if (! wxPoint_helper(_obj3
, &_arg3
))
6573 if (! wxSize_helper(_obj4
, &_arg4
))
6577 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6584 _arg7
= wxString_in_helper(_obj7
);
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) return NULL
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6602 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6603 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6605 wxPyTreeCtrl
* _arg0
;
6608 PyObject
* _argo0
= 0;
6609 PyObject
* _obj1
= 0;
6610 PyObject
* _obj2
= 0;
6611 char *_kwnames
[] = { "self","self","_class", NULL
};
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) return NULL
;
6635 } Py_INCREF(Py_None
);
6636 _resultobj
= Py_None
;
6640 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6641 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6644 wxPyTreeCtrl
* _arg0
;
6645 PyObject
* _argo0
= 0;
6646 char *_kwnames
[] = { "self", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) return NULL
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6669 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6671 unsigned int _result
;
6672 wxPyTreeCtrl
* _arg0
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) return NULL
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6697 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6699 wxPyTreeCtrl
* _arg0
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self","indent", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6720 } Py_INCREF(Py_None
);
6721 _resultobj
= Py_None
;
6725 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6726 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
* _resultobj
;
6728 wxImageList
* _result
;
6729 wxPyTreeCtrl
* _arg0
;
6730 PyObject
* _argo0
= 0;
6731 char *_kwnames
[] = { "self", NULL
};
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) return NULL
;
6749 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6753 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6754 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6756 wxImageList
* _result
;
6757 wxPyTreeCtrl
* _arg0
;
6758 PyObject
* _argo0
= 0;
6759 char *_kwnames
[] = { "self", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) return NULL
;
6777 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6781 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6782 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6784 wxPyTreeCtrl
* _arg0
;
6785 wxImageList
* _arg1
;
6786 PyObject
* _argo0
= 0;
6787 PyObject
* _argo1
= 0;
6788 char *_kwnames
[] = { "self","imageList", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } Py_INCREF(Py_None
);
6814 _resultobj
= Py_None
;
6818 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6819 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6821 wxPyTreeCtrl
* _arg0
;
6822 wxImageList
* _arg1
;
6823 PyObject
* _argo0
= 0;
6824 PyObject
* _argo1
= 0;
6825 char *_kwnames
[] = { "self","imageList", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6856 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6858 wxPyTreeCtrl
* _arg0
;
6859 wxImageList
* _arg1
;
6860 PyObject
* _argo0
= 0;
6861 PyObject
* _argo1
= 0;
6862 char *_kwnames
[] = { "self","imageList", NULL
};
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } Py_INCREF(Py_None
);
6888 _resultobj
= Py_None
;
6892 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6893 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6895 wxPyTreeCtrl
* _arg0
;
6896 wxImageList
* _arg1
;
6897 PyObject
* _argo0
= 0;
6898 PyObject
* _argo1
= 0;
6899 char *_kwnames
[] = { "self","imageList", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } Py_INCREF(Py_None
);
6925 _resultobj
= Py_None
;
6929 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6930 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6932 unsigned int _result
;
6933 wxPyTreeCtrl
* _arg0
;
6934 PyObject
* _argo0
= 0;
6935 char *_kwnames
[] = { "self", NULL
};
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) return NULL
;
6953 } _resultobj
= Py_BuildValue("i",_result
);
6957 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6958 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6960 wxPyTreeCtrl
* _arg0
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self","spacing", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) return NULL
;
6981 } Py_INCREF(Py_None
);
6982 _resultobj
= Py_None
;
6986 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6987 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6990 wxPyTreeCtrl
* _arg0
;
6991 wxTreeItemId
* _arg1
;
6992 PyObject
* _argo0
= 0;
6993 PyObject
* _argo1
= 0;
6994 char *_kwnames
[] = { "self","item", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7007 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) return NULL
;
7020 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7031 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7032 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7035 wxPyTreeCtrl
* _arg0
;
7036 wxTreeItemId
* _arg1
;
7037 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","item","which", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7053 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } _resultobj
= Py_BuildValue("i",_result
);
7068 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7069 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7072 wxPyTreeCtrl
* _arg0
;
7073 wxTreeItemId
* _arg1
;
7074 PyObject
* _argo0
= 0;
7075 PyObject
* _argo1
= 0;
7076 char *_kwnames
[] = { "self","item", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7089 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7100 } _resultobj
= Py_BuildValue("i",_result
);
7104 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7105 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7107 wxPyTreeCtrl
* _arg0
;
7108 wxTreeItemId
* _arg1
;
7110 PyObject
* _argo0
= 0;
7111 PyObject
* _argo1
= 0;
7112 PyObject
* _obj2
= 0;
7113 char *_kwnames
[] = { "self","item","text", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7126 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7132 _arg2
= wxString_in_helper(_obj2
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) return NULL
;
7142 } Py_INCREF(Py_None
);
7143 _resultobj
= Py_None
;
7151 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7152 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7154 wxPyTreeCtrl
* _arg0
;
7155 wxTreeItemId
* _arg1
;
7157 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7158 PyObject
* _argo0
= 0;
7159 PyObject
* _argo1
= 0;
7160 char *_kwnames
[] = { "self","item","image","which", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7173 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) return NULL
;
7184 } Py_INCREF(Py_None
);
7185 _resultobj
= Py_None
;
7189 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7190 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7192 wxPyTreeCtrl
* _arg0
;
7193 wxTreeItemId
* _arg1
;
7195 PyObject
* _argo0
= 0;
7196 PyObject
* _argo1
= 0;
7197 char *_kwnames
[] = { "self","item","image", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7210 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) return NULL
;
7221 } Py_INCREF(Py_None
);
7222 _resultobj
= Py_None
;
7226 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7227 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7229 wxPyTreeCtrl
* _arg0
;
7230 wxTreeItemId
* _arg1
;
7231 bool _arg2
= (bool ) TRUE
;
7232 PyObject
* _argo0
= 0;
7233 PyObject
* _argo1
= 0;
7234 int tempbool2
= (int) TRUE
;
7235 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7248 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7253 _arg2
= (bool ) tempbool2
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } Py_INCREF(Py_None
);
7261 _resultobj
= Py_None
;
7265 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7266 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7268 data
= new wxPyTreeItemData();
7269 data
->SetId(item
); // set the id
7270 self
->SetItemData(item
, data
);
7274 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7276 wxPyTreeItemData
* _result
;
7277 wxPyTreeCtrl
* _arg0
;
7278 wxTreeItemId
* _arg1
;
7279 PyObject
* _argo0
= 0;
7280 PyObject
* _argo1
= 0;
7281 char *_kwnames
[] = { "self","item", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7295 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7308 _resultobj
= Py_BuildValue("s",_ptemp
);
7311 _resultobj
= Py_None
;
7316 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7317 data
->SetId(item
); // set the id
7318 self
->SetItemData(item
, data
);
7320 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7322 wxPyTreeCtrl
* _arg0
;
7323 wxTreeItemId
* _arg1
;
7324 wxPyTreeItemData
* _arg2
;
7325 PyObject
* _argo0
= 0;
7326 PyObject
* _argo1
= 0;
7327 PyObject
* _argo2
= 0;
7328 char *_kwnames
[] = { "self","item","data", NULL
};
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7341 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7347 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) return NULL
;
7359 } Py_INCREF(Py_None
);
7360 _resultobj
= Py_None
;
7364 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7365 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7367 data
= new wxPyTreeItemData();
7368 data
->SetId(item
); // set the id
7369 self
->SetItemData(item
, data
);
7371 return data
->GetData();
7373 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7376 wxPyTreeCtrl
* _arg0
;
7377 wxTreeItemId
* _arg1
;
7378 PyObject
* _argo0
= 0;
7379 PyObject
* _argo1
= 0;
7380 char *_kwnames
[] = { "self","item", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7393 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7405 _resultobj
= _result
;
7410 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7411 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7413 data
= new wxPyTreeItemData(obj
);
7414 data
->SetId(item
); // set the id
7415 self
->SetItemData(item
, data
);
7419 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7421 wxPyTreeCtrl
* _arg0
;
7422 wxTreeItemId
* _arg1
;
7424 PyObject
* _argo0
= 0;
7425 PyObject
* _argo1
= 0;
7426 PyObject
* _obj2
= 0;
7427 char *_kwnames
[] = { "self","item","obj", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7440 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) return NULL
;
7454 } Py_INCREF(Py_None
);
7455 _resultobj
= Py_None
;
7459 #define wxTreeCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
7460 static PyObject
*_wrap_wxTreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
* _resultobj
;
7463 wxPyTreeCtrl
* _arg0
;
7464 wxTreeItemId
* _arg1
;
7465 PyObject
* _argo0
= 0;
7466 PyObject
* _argo1
= 0;
7467 char *_kwnames
[] = { "self","item", NULL
};
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_argo1
))
7474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemTextColour. Expected _wxPyTreeCtrl_p.");
7481 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 _result
= new wxColour (wxTreeCtrl_GetItemTextColour(_arg0
,*_arg1
));
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) return NULL
;
7492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7493 _resultobj
= Py_BuildValue("s",_ptemp
);
7497 #define wxTreeCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
7498 static PyObject
*_wrap_wxTreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7501 wxPyTreeCtrl
* _arg0
;
7502 wxTreeItemId
* _arg1
;
7503 PyObject
* _argo0
= 0;
7504 PyObject
* _argo1
= 0;
7505 char *_kwnames
[] = { "self","item", NULL
};
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7519 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 _result
= new wxColour (wxTreeCtrl_GetItemBackgroundColour(_arg0
,*_arg1
));
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) return NULL
;
7530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7531 _resultobj
= Py_BuildValue("s",_ptemp
);
7535 #define wxTreeCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
7536 static PyObject
*_wrap_wxTreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7539 wxPyTreeCtrl
* _arg0
;
7540 wxTreeItemId
* _arg1
;
7541 PyObject
* _argo0
= 0;
7542 PyObject
* _argo1
= 0;
7543 char *_kwnames
[] = { "self","item", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemFont",_kwnames
,&_argo0
,&_argo1
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemFont. Expected _wxPyTreeCtrl_p.");
7557 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemFont. Expected _wxTreeItemId_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= new wxFont (wxTreeCtrl_GetItemFont(_arg0
,*_arg1
));
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7569 _resultobj
= Py_BuildValue("s",_ptemp
);
7573 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7574 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7577 wxPyTreeCtrl
* _arg0
;
7578 wxTreeItemId
* _arg1
;
7579 PyObject
* _argo0
= 0;
7580 PyObject
* _argo1
= 0;
7581 char *_kwnames
[] = { "self","item", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7594 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) return NULL
;
7605 } _resultobj
= Py_BuildValue("i",_result
);
7609 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7610 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
* _resultobj
;
7613 wxPyTreeCtrl
* _arg0
;
7614 wxTreeItemId
* _arg1
;
7615 PyObject
* _argo0
= 0;
7616 PyObject
* _argo1
= 0;
7617 char *_kwnames
[] = { "self","item", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7630 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } _resultobj
= Py_BuildValue("i",_result
);
7645 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7646 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
* _resultobj
;
7649 wxPyTreeCtrl
* _arg0
;
7650 wxTreeItemId
* _arg1
;
7651 PyObject
* _argo0
= 0;
7652 PyObject
* _argo1
= 0;
7653 char *_kwnames
[] = { "self","item", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7666 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) return NULL
;
7677 } _resultobj
= Py_BuildValue("i",_result
);
7681 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7682 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
* _resultobj
;
7685 wxPyTreeCtrl
* _arg0
;
7686 wxTreeItemId
* _arg1
;
7687 PyObject
* _argo0
= 0;
7688 PyObject
* _argo1
= 0;
7689 char *_kwnames
[] = { "self","item", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7702 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) return NULL
;
7713 } _resultobj
= Py_BuildValue("i",_result
);
7717 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7718 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7720 wxTreeItemId
* _result
;
7721 wxPyTreeCtrl
* _arg0
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) return NULL
;
7742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7743 _resultobj
= Py_BuildValue("s",_ptemp
);
7747 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7748 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7750 wxTreeItemId
* _result
;
7751 wxPyTreeCtrl
* _arg0
;
7752 PyObject
* _argo0
= 0;
7753 char *_kwnames
[] = { "self", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) return NULL
;
7772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7773 _resultobj
= Py_BuildValue("s",_ptemp
);
7777 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0))
7778 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
* _resultobj
;
7780 wxTreeItemId
* _result
;
7781 wxPyTreeCtrl
* _arg0
;
7782 wxTreeItemId
* _arg1
;
7783 PyObject
* _argo0
= 0;
7784 PyObject
* _argo1
= 0;
7785 char *_kwnames
[] = { "self","item", NULL
};
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7799 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7810 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7811 _resultobj
= Py_BuildValue("s",_ptemp
);
7815 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7816 wxPyBeginBlockThreads();
7817 PyObject
* rval
= PyList_New(0);
7818 wxArrayTreeItemIds array
;
7820 num
= self
->GetSelections(array
);
7821 for (x
=0; x
< num
; x
++) {
7822 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7823 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), TRUE
);
7824 PyList_Append(rval
, item
);
7826 wxPyEndBlockThreads();
7829 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
* _resultobj
;
7832 wxPyTreeCtrl
* _arg0
;
7833 PyObject
* _argo0
= 0;
7834 char *_kwnames
[] = { "self", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) return NULL
;
7853 _resultobj
= _result
;
7858 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7859 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7862 wxPyTreeCtrl
* _arg0
;
7863 wxTreeItemId
* _arg1
;
7864 bool _arg2
= (bool ) TRUE
;
7865 PyObject
* _argo0
= 0;
7866 PyObject
* _argo1
= 0;
7867 int tempbool2
= (int) TRUE
;
7868 char *_kwnames
[] = { "self","item","recursively", NULL
};
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7881 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7886 _arg2
= (bool ) tempbool2
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } _resultobj
= Py_BuildValue("i",_result
);
7897 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7898 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
* _resultobj
;
7900 wxTreeItemId
* _result
;
7901 wxPyTreeCtrl
* _arg0
;
7902 wxTreeItemId
* _arg1
;
7903 long * _arg2
= (long *) &longzero
;
7904 PyObject
* _argo0
= 0;
7905 PyObject
* _argo1
= 0;
7907 PyObject
* _obj2
= 0;
7908 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7922 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7929 temp
= (long) PyInt_AsLong(_obj2
);
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7939 _resultobj
= Py_BuildValue("s",_ptemp
);
7942 o
= PyInt_FromLong((long) (*_arg2
));
7943 _resultobj
= t_output_helper(_resultobj
, o
);
7948 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7949 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7951 wxTreeItemId
* _result
;
7952 wxPyTreeCtrl
* _arg0
;
7953 wxTreeItemId
* _arg1
;
7955 PyObject
* _argo0
= 0;
7956 PyObject
* _argo1
= 0;
7958 PyObject
* _obj2
= 0;
7959 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7973 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7979 temp
= (long) PyInt_AsLong(_obj2
);
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7989 _resultobj
= Py_BuildValue("s",_ptemp
);
7992 o
= PyInt_FromLong((long) (*_arg2
));
7993 _resultobj
= t_output_helper(_resultobj
, o
);
7998 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7999 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8001 wxTreeItemId
* _result
;
8002 wxPyTreeCtrl
* _arg0
;
8003 wxTreeItemId
* _arg1
;
8004 PyObject
* _argo0
= 0;
8005 PyObject
* _argo1
= 0;
8006 char *_kwnames
[] = { "self","item", NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8020 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) return NULL
;
8031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8032 _resultobj
= Py_BuildValue("s",_ptemp
);
8036 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8037 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
* _resultobj
;
8039 wxTreeItemId
* _result
;
8040 wxPyTreeCtrl
* _arg0
;
8041 wxTreeItemId
* _arg1
;
8042 PyObject
* _argo0
= 0;
8043 PyObject
* _argo1
= 0;
8044 char *_kwnames
[] = { "self","item", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8058 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) return NULL
;
8069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8070 _resultobj
= Py_BuildValue("s",_ptemp
);
8074 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8075 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
* _resultobj
;
8077 wxTreeItemId
* _result
;
8078 wxPyTreeCtrl
* _arg0
;
8079 PyObject
* _argo0
= 0;
8080 char *_kwnames
[] = { "self", NULL
};
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) return NULL
;
8099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8100 _resultobj
= Py_BuildValue("s",_ptemp
);
8104 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8105 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8107 wxTreeItemId
* _result
;
8108 wxPyTreeCtrl
* _arg0
;
8109 wxTreeItemId
* _arg1
;
8110 PyObject
* _argo0
= 0;
8111 PyObject
* _argo1
= 0;
8112 char *_kwnames
[] = { "self","item", NULL
};
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8126 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8138 _resultobj
= Py_BuildValue("s",_ptemp
);
8142 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8143 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8145 wxTreeItemId
* _result
;
8146 wxPyTreeCtrl
* _arg0
;
8147 wxTreeItemId
* _arg1
;
8148 PyObject
* _argo0
= 0;
8149 PyObject
* _argo1
= 0;
8150 char *_kwnames
[] = { "self","item", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8164 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) return NULL
;
8175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8176 _resultobj
= Py_BuildValue("s",_ptemp
);
8180 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8181 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
* _resultobj
;
8183 wxTreeItemId
* _result
;
8184 wxPyTreeCtrl
* _arg0
;
8185 wxTreeItemId
* _arg1
;
8186 PyObject
* _argo0
= 0;
8187 PyObject
* _argo1
= 0;
8188 char *_kwnames
[] = { "self","item", NULL
};
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8202 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) return NULL
;
8213 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8214 _resultobj
= Py_BuildValue("s",_ptemp
);
8218 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8219 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
* _resultobj
;
8221 wxTreeItemId
* _result
;
8222 wxPyTreeCtrl
* _arg0
;
8224 int _arg2
= (int ) -1;
8225 int _arg3
= (int ) -1;
8226 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8227 PyObject
* _argo0
= 0;
8228 PyObject
* _obj1
= 0;
8229 PyObject
* _argo4
= 0;
8230 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8244 _arg1
= wxString_in_helper(_obj1
);
8249 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) return NULL
;
8261 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8262 _resultobj
= Py_BuildValue("s",_ptemp
);
8270 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8271 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
* _resultobj
;
8273 wxTreeItemId
* _result
;
8274 wxPyTreeCtrl
* _arg0
;
8275 wxTreeItemId
* _arg1
;
8277 int _arg3
= (int ) -1;
8278 int _arg4
= (int ) -1;
8279 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8280 PyObject
* _argo0
= 0;
8281 PyObject
* _argo1
= 0;
8282 PyObject
* _obj2
= 0;
8283 PyObject
* _argo5
= 0;
8284 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8298 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8304 _arg2
= wxString_in_helper(_obj2
);
8309 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) return NULL
;
8321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8322 _resultobj
= Py_BuildValue("s",_ptemp
);
8330 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8331 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8333 wxTreeItemId
* _result
;
8334 wxPyTreeCtrl
* _arg0
;
8335 wxTreeItemId
* _arg1
;
8336 wxTreeItemId
* _arg2
;
8338 int _arg4
= (int ) -1;
8339 int _arg5
= (int ) -1;
8340 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8341 PyObject
* _argo0
= 0;
8342 PyObject
* _argo1
= 0;
8343 PyObject
* _argo2
= 0;
8344 PyObject
* _obj3
= 0;
8345 PyObject
* _argo6
= 0;
8346 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8360 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8366 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8372 _arg3
= wxString_in_helper(_obj3
);
8377 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8378 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) return NULL
;
8389 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8390 _resultobj
= Py_BuildValue("s",_ptemp
);
8398 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8399 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8401 wxTreeItemId
* _result
;
8402 wxPyTreeCtrl
* _arg0
;
8403 wxTreeItemId
* _arg1
;
8406 int _arg4
= (int ) -1;
8407 int _arg5
= (int ) -1;
8408 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8409 PyObject
* _argo0
= 0;
8410 PyObject
* _argo1
= 0;
8411 PyObject
* _obj3
= 0;
8412 PyObject
* _argo6
= 0;
8413 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8427 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8433 _arg3
= wxString_in_helper(_obj3
);
8438 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8439 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) return NULL
;
8450 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8451 _resultobj
= Py_BuildValue("s",_ptemp
);
8459 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8460 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8462 wxTreeItemId
* _result
;
8463 wxPyTreeCtrl
* _arg0
;
8464 wxTreeItemId
* _arg1
;
8466 int _arg3
= (int ) -1;
8467 int _arg4
= (int ) -1;
8468 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8469 PyObject
* _argo0
= 0;
8470 PyObject
* _argo1
= 0;
8471 PyObject
* _obj2
= 0;
8472 PyObject
* _argo5
= 0;
8473 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8487 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8493 _arg2
= wxString_in_helper(_obj2
);
8498 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8499 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) return NULL
;
8510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8511 _resultobj
= Py_BuildValue("s",_ptemp
);
8519 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8520 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
* _resultobj
;
8522 wxPyTreeCtrl
* _arg0
;
8523 wxTreeItemId
* _arg1
;
8524 PyObject
* _argo0
= 0;
8525 PyObject
* _argo1
= 0;
8526 char *_kwnames
[] = { "self","item", NULL
};
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8539 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8550 } Py_INCREF(Py_None
);
8551 _resultobj
= Py_None
;
8555 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8556 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(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_DeleteChildren",_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_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8575 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) return NULL
;
8586 } Py_INCREF(Py_None
);
8587 _resultobj
= Py_None
;
8591 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8592 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
* _resultobj
;
8594 wxPyTreeCtrl
* _arg0
;
8595 PyObject
* _argo0
= 0;
8596 char *_kwnames
[] = { "self", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 wxTreeCtrl_DeleteAllItems(_arg0
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) return NULL
;
8614 } Py_INCREF(Py_None
);
8615 _resultobj
= Py_None
;
8619 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8620 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
* _resultobj
;
8622 wxPyTreeCtrl
* _arg0
;
8623 wxTreeItemId
* _arg1
;
8624 PyObject
* _argo0
= 0;
8625 PyObject
* _argo1
= 0;
8626 char *_kwnames
[] = { "self","item", NULL
};
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8639 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) return NULL
;
8650 } Py_INCREF(Py_None
);
8651 _resultobj
= Py_None
;
8655 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8656 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
* _resultobj
;
8658 wxPyTreeCtrl
* _arg0
;
8659 wxTreeItemId
* _arg1
;
8660 PyObject
* _argo0
= 0;
8661 PyObject
* _argo1
= 0;
8662 char *_kwnames
[] = { "self","item", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8675 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) return NULL
;
8686 } Py_INCREF(Py_None
);
8687 _resultobj
= Py_None
;
8691 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8692 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8694 wxPyTreeCtrl
* _arg0
;
8695 wxTreeItemId
* _arg1
;
8696 PyObject
* _argo0
= 0;
8697 PyObject
* _argo1
= 0;
8698 char *_kwnames
[] = { "self","item", NULL
};
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8711 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) return NULL
;
8722 } Py_INCREF(Py_None
);
8723 _resultobj
= Py_None
;
8727 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8728 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
* _resultobj
;
8730 wxPyTreeCtrl
* _arg0
;
8731 wxTreeItemId
* _arg1
;
8732 PyObject
* _argo0
= 0;
8733 PyObject
* _argo1
= 0;
8734 char *_kwnames
[] = { "self","item", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8747 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) return NULL
;
8758 } Py_INCREF(Py_None
);
8759 _resultobj
= Py_None
;
8763 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8764 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
* _resultobj
;
8766 wxPyTreeCtrl
* _arg0
;
8767 PyObject
* _argo0
= 0;
8768 char *_kwnames
[] = { "self", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 wxTreeCtrl_Unselect(_arg0
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) return NULL
;
8786 } Py_INCREF(Py_None
);
8787 _resultobj
= Py_None
;
8791 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8792 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8794 wxPyTreeCtrl
* _arg0
;
8795 PyObject
* _argo0
= 0;
8796 char *_kwnames
[] = { "self", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 wxTreeCtrl_UnselectAll(_arg0
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) return NULL
;
8814 } Py_INCREF(Py_None
);
8815 _resultobj
= Py_None
;
8819 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8820 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
* _resultobj
;
8822 wxPyTreeCtrl
* _arg0
;
8823 wxTreeItemId
* _arg1
;
8824 PyObject
* _argo0
= 0;
8825 PyObject
* _argo1
= 0;
8826 char *_kwnames
[] = { "self","item", NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8839 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) return NULL
;
8850 } Py_INCREF(Py_None
);
8851 _resultobj
= Py_None
;
8855 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8856 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
* _resultobj
;
8858 wxPyTreeCtrl
* _arg0
;
8859 wxTreeItemId
* _arg1
;
8860 PyObject
* _argo0
= 0;
8861 PyObject
* _argo1
= 0;
8862 char *_kwnames
[] = { "self","item", NULL
};
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8875 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) return NULL
;
8886 } Py_INCREF(Py_None
);
8887 _resultobj
= Py_None
;
8891 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8892 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
* _resultobj
;
8894 wxPyTreeCtrl
* _arg0
;
8895 wxTreeItemId
* _arg1
;
8896 PyObject
* _argo0
= 0;
8897 PyObject
* _argo1
= 0;
8898 char *_kwnames
[] = { "self","item", NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8911 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8922 } Py_INCREF(Py_None
);
8923 _resultobj
= Py_None
;
8927 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
8928 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
* _resultobj
;
8930 wxTextCtrl
* _result
;
8931 wxPyTreeCtrl
* _arg0
;
8932 PyObject
* _argo0
= 0;
8933 char *_kwnames
[] = { "self", NULL
};
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
8939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) return NULL
;
8951 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8955 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8956 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8958 wxPyTreeCtrl
* _arg0
;
8959 wxTreeItemId
* _arg1
;
8960 PyObject
* _argo0
= 0;
8961 PyObject
* _argo1
= 0;
8962 char *_kwnames
[] = { "self","item", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8975 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } Py_INCREF(Py_None
);
8987 _resultobj
= Py_None
;
8991 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8992 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
* _resultobj
;
8994 wxPyTreeCtrl
* _arg0
;
8995 wxTreeItemId
* _arg1
;
8996 PyObject
* _argo0
= 0;
8997 PyObject
* _argo1
= 0;
8998 char *_kwnames
[] = { "self","item", NULL
};
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9011 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) return NULL
;
9022 } Py_INCREF(Py_None
);
9023 _resultobj
= Py_None
;
9027 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9028 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
* _resultobj
;
9030 wxPyTreeCtrl
* _arg0
;
9031 wxTreeItemId
* _arg1
;
9032 int _arg2
= (int ) TRUE
;
9033 PyObject
* _argo0
= 0;
9034 PyObject
* _argo1
= 0;
9035 char *_kwnames
[] = { "self","item","bold", NULL
};
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9048 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) return NULL
;
9059 } Py_INCREF(Py_None
);
9060 _resultobj
= Py_None
;
9064 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9065 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
* _resultobj
;
9068 wxPyTreeCtrl
* _arg0
;
9069 wxTreeItemId
* _arg1
;
9070 PyObject
* _argo0
= 0;
9071 PyObject
* _argo1
= 0;
9072 char *_kwnames
[] = { "self","item", NULL
};
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9085 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) return NULL
;
9096 } _resultobj
= Py_BuildValue("i",_result
);
9100 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9101 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
* _resultobj
;
9103 wxTreeItemId
* _result
;
9104 wxPyTreeCtrl
* _arg0
;
9108 PyObject
* _argo0
= 0;
9110 PyObject
* _obj1
= 0;
9111 char *_kwnames
[] = { "self","point", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9129 if (! wxPoint_helper(_obj1
, &_arg1
))
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) return NULL
;
9138 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9139 _resultobj
= Py_BuildValue("s",_ptemp
);
9142 o
= PyInt_FromLong((long) (*_arg2
));
9143 _resultobj
= t_output_helper(_resultobj
, o
);
9148 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9149 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
* _resultobj
;
9151 wxPyTreeCtrl
* _arg0
;
9152 wxTreeItemId
* _arg1
;
9154 PyObject
* _argo0
= 0;
9155 PyObject
* _argo1
= 0;
9157 PyObject
* _obj2
= 0;
9158 char *_kwnames
[] = { "self","item","col", NULL
};
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9171 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9178 if (! wxColour_helper(_obj2
, &_arg2
))
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) return NULL
;
9187 } Py_INCREF(Py_None
);
9188 _resultobj
= Py_None
;
9192 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9193 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
* _resultobj
;
9195 wxPyTreeCtrl
* _arg0
;
9196 wxTreeItemId
* _arg1
;
9198 PyObject
* _argo0
= 0;
9199 PyObject
* _argo1
= 0;
9201 PyObject
* _obj2
= 0;
9202 char *_kwnames
[] = { "self","item","col", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9215 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9222 if (! wxColour_helper(_obj2
, &_arg2
))
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) return NULL
;
9231 } Py_INCREF(Py_None
);
9232 _resultobj
= Py_None
;
9236 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9237 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
* _resultobj
;
9239 wxPyTreeCtrl
* _arg0
;
9240 wxTreeItemId
* _arg1
;
9242 PyObject
* _argo0
= 0;
9243 PyObject
* _argo1
= 0;
9244 PyObject
* _argo2
= 0;
9245 char *_kwnames
[] = { "self","item","font", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9258 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9264 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) return NULL
;
9275 } Py_INCREF(Py_None
);
9276 _resultobj
= Py_None
;
9280 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9282 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9283 wxPyBeginBlockThreads();
9284 wxRect
* r
= new wxRect(rect
);
9285 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"));
9286 wxPyEndBlockThreads();
9294 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
* _resultobj
;
9297 wxPyTreeCtrl
* _arg0
;
9298 wxTreeItemId
* _arg1
;
9299 int _arg2
= (int ) FALSE
;
9300 PyObject
* _argo0
= 0;
9301 PyObject
* _argo1
= 0;
9302 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9315 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) return NULL
;
9327 _resultobj
= _result
;
9332 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9335 src
= (wxDirItemData
*) ptr
;
9336 dest
= (wxObject
*) src
;
9337 return (void *) dest
;
9340 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9341 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9343 wxDirItemData
* _result
;
9347 PyObject
* _obj0
= 0;
9348 PyObject
* _obj1
= 0;
9350 char *_kwnames
[] = { "path","name","isDir", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9357 _arg0
= wxString_in_helper(_obj0
);
9362 _arg1
= wxString_in_helper(_obj1
);
9366 _arg2
= (bool ) tempbool2
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) return NULL
;
9374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9375 _resultobj
= Py_BuildValue("s",_ptemp
);
9378 _resultobj
= Py_None
;
9391 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9392 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
* _resultobj
;
9394 wxDirItemData
* _arg0
;
9396 PyObject
* _argo0
= 0;
9397 PyObject
* _obj1
= 0;
9398 char *_kwnames
[] = { "self","path", NULL
};
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9411 _arg1
= wxString_in_helper(_obj1
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) return NULL
;
9421 } Py_INCREF(Py_None
);
9422 _resultobj
= Py_None
;
9430 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9431 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9434 wxDirItemData
* _arg0
;
9436 PyObject
* _argo0
= 0;
9437 PyObject
* _obj1
= 0;
9438 char *_kwnames
[] = { "self","m_path", NULL
};
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9451 _arg1
= wxString_in_helper(_obj1
);
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) return NULL
;
9463 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9475 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9476 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9479 wxDirItemData
* _arg0
;
9480 PyObject
* _argo0
= 0;
9481 char *_kwnames
[] = { "self", NULL
};
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) return NULL
;
9501 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9509 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9510 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
* _resultobj
;
9513 wxDirItemData
* _arg0
;
9515 PyObject
* _argo0
= 0;
9516 PyObject
* _obj1
= 0;
9517 char *_kwnames
[] = { "self","m_name", NULL
};
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9530 _arg1
= wxString_in_helper(_obj1
);
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) return NULL
;
9542 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9554 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9555 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
* _resultobj
;
9558 wxDirItemData
* _arg0
;
9559 PyObject
* _argo0
= 0;
9560 char *_kwnames
[] = { "self", NULL
};
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) return NULL
;
9580 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9588 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9589 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
* _resultobj
;
9592 wxDirItemData
* _arg0
;
9594 PyObject
* _argo0
= 0;
9596 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9608 _arg1
= (bool ) tempbool1
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) return NULL
;
9615 } _resultobj
= Py_BuildValue("i",_result
);
9619 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9620 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
* _resultobj
;
9623 wxDirItemData
* _arg0
;
9624 PyObject
* _argo0
= 0;
9625 char *_kwnames
[] = { "self", NULL
};
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) return NULL
;
9643 } _resultobj
= Py_BuildValue("i",_result
);
9647 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9648 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
* _resultobj
;
9651 wxDirItemData
* _arg0
;
9653 PyObject
* _argo0
= 0;
9655 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9667 _arg1
= (bool ) tempbool1
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) return NULL
;
9674 } _resultobj
= Py_BuildValue("i",_result
);
9678 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9679 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
* _resultobj
;
9682 wxDirItemData
* _arg0
;
9683 PyObject
* _argo0
= 0;
9684 char *_kwnames
[] = { "self", NULL
};
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) return NULL
;
9702 } _resultobj
= Py_BuildValue("i",_result
);
9706 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9707 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
* _resultobj
;
9710 wxDirItemData
* _arg0
;
9712 PyObject
* _argo0
= 0;
9714 char *_kwnames
[] = { "self","m_isDir", NULL
};
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9726 _arg1
= (bool ) tempbool1
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) return NULL
;
9733 } _resultobj
= Py_BuildValue("i",_result
);
9737 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9738 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
* _resultobj
;
9741 wxDirItemData
* _arg0
;
9742 PyObject
* _argo0
= 0;
9743 char *_kwnames
[] = { "self", NULL
};
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) return NULL
;
9761 } _resultobj
= Py_BuildValue("i",_result
);
9765 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9766 wxGenericDirCtrl
*src
;
9768 src
= (wxGenericDirCtrl
*) ptr
;
9769 dest
= (wxControl
*) src
;
9770 return (void *) dest
;
9773 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9774 wxGenericDirCtrl
*src
;
9776 src
= (wxGenericDirCtrl
*) ptr
;
9777 dest
= (wxWindow
*) src
;
9778 return (void *) dest
;
9781 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9782 wxGenericDirCtrl
*src
;
9784 src
= (wxGenericDirCtrl
*) ptr
;
9785 dest
= (wxEvtHandler
*) src
;
9786 return (void *) dest
;
9789 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9790 wxGenericDirCtrl
*src
;
9792 src
= (wxGenericDirCtrl
*) ptr
;
9793 dest
= (wxObject
*) src
;
9794 return (void *) dest
;
9797 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9798 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
* _resultobj
;
9800 wxGenericDirCtrl
* _result
;
9802 wxWindowID _arg1
= (wxWindowID
) -1;
9803 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9804 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9805 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9806 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9807 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9808 int _arg7
= (int ) 0;
9809 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9810 PyObject
* _argo0
= 0;
9811 PyObject
* _obj2
= 0;
9813 PyObject
* _obj3
= 0;
9815 PyObject
* _obj4
= 0;
9816 PyObject
* _obj6
= 0;
9817 PyObject
* _obj8
= 0;
9818 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9833 _arg2
= wxString_in_helper(_obj2
);
9840 if (! wxPoint_helper(_obj3
, &_arg3
))
9846 if (! wxSize_helper(_obj4
, &_arg4
))
9851 _arg6
= wxString_in_helper(_obj6
);
9857 _arg8
= wxString_in_helper(_obj8
);
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) return NULL
;
9868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9869 _resultobj
= Py_BuildValue("s",_ptemp
);
9872 _resultobj
= Py_None
;
9889 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9890 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
* _resultobj
;
9892 wxGenericDirCtrl
* _result
;
9893 char *_kwnames
[] = { NULL
};
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) return NULL
;
9906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9907 _resultobj
= Py_BuildValue("s",_ptemp
);
9910 _resultobj
= Py_None
;
9915 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9916 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
* _resultobj
;
9919 wxGenericDirCtrl
* _arg0
;
9921 wxWindowID _arg2
= (wxWindowID
) -1;
9922 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9923 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9924 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9925 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9926 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9927 int _arg8
= (int ) 0;
9928 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9929 PyObject
* _argo0
= 0;
9930 PyObject
* _argo1
= 0;
9931 PyObject
* _obj3
= 0;
9933 PyObject
* _obj4
= 0;
9935 PyObject
* _obj5
= 0;
9936 PyObject
* _obj7
= 0;
9937 PyObject
* _obj9
= 0;
9938 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9959 _arg3
= wxString_in_helper(_obj3
);
9966 if (! wxPoint_helper(_obj4
, &_arg4
))
9972 if (! wxSize_helper(_obj5
, &_arg5
))
9977 _arg7
= wxString_in_helper(_obj7
);
9983 _arg9
= wxString_in_helper(_obj9
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) return NULL
;
9993 } _resultobj
= Py_BuildValue("i",_result
);
10009 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10010 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
* _resultobj
;
10013 wxGenericDirCtrl
* _arg0
;
10015 PyObject
* _argo0
= 0;
10016 PyObject
* _obj1
= 0;
10017 char *_kwnames
[] = { "self","path", NULL
};
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10030 _arg1
= wxString_in_helper(_obj1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) return NULL
;
10040 } _resultobj
= Py_BuildValue("i",_result
);
10048 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10049 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10051 wxString
* _result
;
10052 wxGenericDirCtrl
* _arg0
;
10053 PyObject
* _argo0
= 0;
10054 char *_kwnames
[] = { "self", NULL
};
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) return NULL
;
10074 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10085 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10086 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
* _resultobj
;
10088 wxGenericDirCtrl
* _arg0
;
10090 PyObject
* _argo0
= 0;
10091 PyObject
* _obj1
= 0;
10092 char *_kwnames
[] = { "self","path", NULL
};
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10105 _arg1
= wxString_in_helper(_obj1
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) return NULL
;
10115 } Py_INCREF(Py_None
);
10116 _resultobj
= Py_None
;
10124 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10125 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
* _resultobj
;
10127 wxString
* _result
;
10128 wxGenericDirCtrl
* _arg0
;
10129 PyObject
* _argo0
= 0;
10130 char *_kwnames
[] = { "self", NULL
};
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) return NULL
;
10150 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10152 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10161 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10162 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
* _resultobj
;
10164 wxString
* _result
;
10165 wxGenericDirCtrl
* _arg0
;
10166 PyObject
* _argo0
= 0;
10167 char *_kwnames
[] = { "self", NULL
};
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) return NULL
;
10187 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10189 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10198 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10199 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
* _resultobj
;
10201 wxGenericDirCtrl
* _arg0
;
10203 PyObject
* _argo0
= 0;
10204 PyObject
* _obj1
= 0;
10205 char *_kwnames
[] = { "self","path", NULL
};
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10218 _arg1
= wxString_in_helper(_obj1
);
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) return NULL
;
10228 } Py_INCREF(Py_None
);
10229 _resultobj
= Py_None
;
10237 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10238 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
* _resultobj
;
10240 wxGenericDirCtrl
* _arg0
;
10242 PyObject
* _argo0
= 0;
10244 char *_kwnames
[] = { "self","show", NULL
};
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10256 _arg1
= (bool ) tempbool1
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) return NULL
;
10263 } Py_INCREF(Py_None
);
10264 _resultobj
= Py_None
;
10268 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10269 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
* _resultobj
;
10272 wxGenericDirCtrl
* _arg0
;
10273 PyObject
* _argo0
= 0;
10274 char *_kwnames
[] = { "self", NULL
};
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) return NULL
;
10292 } _resultobj
= Py_BuildValue("i",_result
);
10296 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10297 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
* _resultobj
;
10299 wxString
* _result
;
10300 wxGenericDirCtrl
* _arg0
;
10301 PyObject
* _argo0
= 0;
10302 char *_kwnames
[] = { "self", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) return NULL
;
10322 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10333 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10334 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
* _resultobj
;
10336 wxGenericDirCtrl
* _arg0
;
10338 PyObject
* _argo0
= 0;
10339 PyObject
* _obj1
= 0;
10340 char *_kwnames
[] = { "self","filter", NULL
};
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10353 _arg1
= wxString_in_helper(_obj1
);
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 } Py_INCREF(Py_None
);
10364 _resultobj
= Py_None
;
10372 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10373 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10376 wxGenericDirCtrl
* _arg0
;
10377 PyObject
* _argo0
= 0;
10378 char *_kwnames
[] = { "self", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) return NULL
;
10396 } _resultobj
= Py_BuildValue("i",_result
);
10400 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10401 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10403 wxGenericDirCtrl
* _arg0
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self","n", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10429 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10430 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
* _resultobj
;
10432 wxTreeItemId
* _result
;
10433 wxGenericDirCtrl
* _arg0
;
10434 PyObject
* _argo0
= 0;
10435 char *_kwnames
[] = { "self", NULL
};
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) return NULL
;
10454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10455 _resultobj
= Py_BuildValue("s",_ptemp
);
10459 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10460 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
* _resultobj
;
10462 wxTreeCtrl
* _result
;
10463 wxGenericDirCtrl
* _arg0
;
10464 PyObject
* _argo0
= 0;
10465 char *_kwnames
[] = { "self", NULL
};
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) return NULL
;
10483 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10487 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10488 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
* _resultobj
;
10490 wxDirFilterListCtrl
* _result
;
10491 wxGenericDirCtrl
* _arg0
;
10492 PyObject
* _argo0
= 0;
10493 char *_kwnames
[] = { "self", NULL
};
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) return NULL
;
10513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10514 _resultobj
= Py_BuildValue("s",_ptemp
);
10516 Py_INCREF(Py_None
);
10517 _resultobj
= Py_None
;
10522 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10523 wxDirFilterListCtrl
*src
;
10525 src
= (wxDirFilterListCtrl
*) ptr
;
10526 dest
= (wxChoice
*) src
;
10527 return (void *) dest
;
10530 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10531 wxDirFilterListCtrl
*src
;
10532 wxControlWithItems
*dest
;
10533 src
= (wxDirFilterListCtrl
*) ptr
;
10534 dest
= (wxControlWithItems
*) src
;
10535 return (void *) dest
;
10538 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10539 wxDirFilterListCtrl
*src
;
10541 src
= (wxDirFilterListCtrl
*) ptr
;
10542 dest
= (wxControl
*) src
;
10543 return (void *) dest
;
10546 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10547 wxDirFilterListCtrl
*src
;
10549 src
= (wxDirFilterListCtrl
*) ptr
;
10550 dest
= (wxWindow
*) src
;
10551 return (void *) dest
;
10554 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10555 wxDirFilterListCtrl
*src
;
10556 wxEvtHandler
*dest
;
10557 src
= (wxDirFilterListCtrl
*) ptr
;
10558 dest
= (wxEvtHandler
*) src
;
10559 return (void *) dest
;
10562 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10563 wxDirFilterListCtrl
*src
;
10565 src
= (wxDirFilterListCtrl
*) ptr
;
10566 dest
= (wxObject
*) src
;
10567 return (void *) dest
;
10570 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10571 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
* _resultobj
;
10573 wxDirFilterListCtrl
* _result
;
10574 wxGenericDirCtrl
* _arg0
;
10575 wxWindowID _arg1
= (wxWindowID
) -1;
10576 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10577 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10578 long _arg4
= (long ) 0;
10579 PyObject
* _argo0
= 0;
10581 PyObject
* _obj2
= 0;
10583 PyObject
* _obj3
= 0;
10584 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10600 if (! wxPoint_helper(_obj2
, &_arg2
))
10606 if (! wxSize_helper(_obj3
, &_arg3
))
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) return NULL
;
10616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10617 _resultobj
= Py_BuildValue("s",_ptemp
);
10619 Py_INCREF(Py_None
);
10620 _resultobj
= Py_None
;
10625 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10626 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
* _resultobj
;
10628 wxDirFilterListCtrl
* _result
;
10629 char *_kwnames
[] = { NULL
};
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) return NULL
;
10642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10643 _resultobj
= Py_BuildValue("s",_ptemp
);
10645 Py_INCREF(Py_None
);
10646 _resultobj
= Py_None
;
10651 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10652 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10655 wxDirFilterListCtrl
* _arg0
;
10656 wxGenericDirCtrl
* _arg1
;
10657 wxWindowID _arg2
= (wxWindowID
) -1;
10658 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10659 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10660 long _arg5
= (long ) 0;
10661 PyObject
* _argo0
= 0;
10662 PyObject
* _argo1
= 0;
10664 PyObject
* _obj3
= 0;
10666 PyObject
* _obj4
= 0;
10667 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10689 if (! wxPoint_helper(_obj3
, &_arg3
))
10695 if (! wxSize_helper(_obj4
, &_arg4
))
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) return NULL
;
10704 } _resultobj
= Py_BuildValue("i",_result
);
10708 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10709 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
* _resultobj
;
10711 wxDirFilterListCtrl
* _arg0
;
10714 PyObject
* _argo0
= 0;
10715 PyObject
* _obj1
= 0;
10716 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10729 _arg1
= wxString_in_helper(_obj1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) return NULL
;
10739 } Py_INCREF(Py_None
);
10740 _resultobj
= Py_None
;
10748 static PyMethodDef controls2cMethods
[] = {
10749 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxTreeCtrl_GetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxTreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxTreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTreeEvent_IsEditCancelled", (PyCFunction
) _wrap_wxTreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTreeEvent_GetKeyCode", (PyCFunction
) _wrap_wxTreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxListCtrl_GetMainWindow", (PyCFunction
) _wrap_wxListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxListCtrl_SetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxListEvent_GetKeyCode", (PyCFunction
) _wrap_wxListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11047 * This table is used by the pointer type-checker
11049 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11050 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11051 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11052 { "_signed_long","_long",0},
11053 { "_wxPrintQuality","_wxCoord",0},
11054 { "_wxPrintQuality","_int",0},
11055 { "_wxPrintQuality","_signed_int",0},
11056 { "_wxPrintQuality","_unsigned_int",0},
11057 { "_wxPrintQuality","_wxWindowID",0},
11058 { "_wxPrintQuality","_uint",0},
11059 { "_wxPrintQuality","_EBool",0},
11060 { "_wxPrintQuality","_size_t",0},
11061 { "_wxPrintQuality","_time_t",0},
11062 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11063 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11064 { "_byte","_unsigned_char",0},
11065 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11066 { "_long","_unsigned_long",0},
11067 { "_long","_signed_long",0},
11068 { "_size_t","_wxCoord",0},
11069 { "_size_t","_wxPrintQuality",0},
11070 { "_size_t","_time_t",0},
11071 { "_size_t","_unsigned_int",0},
11072 { "_size_t","_int",0},
11073 { "_size_t","_wxWindowID",0},
11074 { "_size_t","_uint",0},
11075 { "_uint","_wxCoord",0},
11076 { "_uint","_wxPrintQuality",0},
11077 { "_uint","_time_t",0},
11078 { "_uint","_size_t",0},
11079 { "_uint","_unsigned_int",0},
11080 { "_uint","_int",0},
11081 { "_uint","_wxWindowID",0},
11082 { "_wxChar","_char",0},
11083 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11084 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11085 { "_char","_wxChar",0},
11086 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11087 { "_EBool","_wxCoord",0},
11088 { "_EBool","_wxPrintQuality",0},
11089 { "_EBool","_signed_int",0},
11090 { "_EBool","_int",0},
11091 { "_EBool","_wxWindowID",0},
11092 { "_unsigned_long","_long",0},
11093 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11094 { "_signed_int","_wxCoord",0},
11095 { "_signed_int","_wxPrintQuality",0},
11096 { "_signed_int","_EBool",0},
11097 { "_signed_int","_wxWindowID",0},
11098 { "_signed_int","_int",0},
11099 { "_WXTYPE","_short",0},
11100 { "_WXTYPE","_signed_short",0},
11101 { "_WXTYPE","_unsigned_short",0},
11102 { "_unsigned_short","_WXTYPE",0},
11103 { "_unsigned_short","_short",0},
11104 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11105 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11106 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11107 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11108 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11109 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11110 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11111 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11112 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11113 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11114 { "_signed_short","_WXTYPE",0},
11115 { "_signed_short","_short",0},
11116 { "_unsigned_char","_byte",0},
11117 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11118 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11119 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11120 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11121 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11122 { "_unsigned_int","_wxCoord",0},
11123 { "_unsigned_int","_wxPrintQuality",0},
11124 { "_unsigned_int","_time_t",0},
11125 { "_unsigned_int","_size_t",0},
11126 { "_unsigned_int","_uint",0},
11127 { "_unsigned_int","_wxWindowID",0},
11128 { "_unsigned_int","_int",0},
11129 { "_short","_WXTYPE",0},
11130 { "_short","_unsigned_short",0},
11131 { "_short","_signed_short",0},
11132 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11133 { "_wxWindowID","_wxCoord",0},
11134 { "_wxWindowID","_wxPrintQuality",0},
11135 { "_wxWindowID","_time_t",0},
11136 { "_wxWindowID","_size_t",0},
11137 { "_wxWindowID","_EBool",0},
11138 { "_wxWindowID","_uint",0},
11139 { "_wxWindowID","_int",0},
11140 { "_wxWindowID","_signed_int",0},
11141 { "_wxWindowID","_unsigned_int",0},
11142 { "_int","_wxCoord",0},
11143 { "_int","_wxPrintQuality",0},
11144 { "_int","_time_t",0},
11145 { "_int","_size_t",0},
11146 { "_int","_EBool",0},
11147 { "_int","_uint",0},
11148 { "_int","_wxWindowID",0},
11149 { "_int","_unsigned_int",0},
11150 { "_int","_signed_int",0},
11151 { "_time_t","_wxCoord",0},
11152 { "_time_t","_wxPrintQuality",0},
11153 { "_time_t","_unsigned_int",0},
11154 { "_time_t","_int",0},
11155 { "_time_t","_wxWindowID",0},
11156 { "_time_t","_uint",0},
11157 { "_time_t","_size_t",0},
11158 { "_wxCoord","_int",0},
11159 { "_wxCoord","_signed_int",0},
11160 { "_wxCoord","_unsigned_int",0},
11161 { "_wxCoord","_wxWindowID",0},
11162 { "_wxCoord","_uint",0},
11163 { "_wxCoord","_EBool",0},
11164 { "_wxCoord","_size_t",0},
11165 { "_wxCoord","_time_t",0},
11166 { "_wxCoord","_wxPrintQuality",0},
11167 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11168 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11169 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11170 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11171 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11172 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11173 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11174 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11175 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11176 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11177 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11180 static PyObject
*SWIG_globals
;
11184 SWIGEXPORT(void) initcontrols2c() {
11186 SWIG_globals
= SWIG_newvarlink();
11187 m
= Py_InitModule("controls2c", controls2cMethods
);
11188 d
= PyModule_GetDict(m
);
11189 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11190 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11191 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11192 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11193 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11194 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11195 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11196 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11197 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11198 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11199 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11200 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11201 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11202 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11203 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11204 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11205 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11206 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11207 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11208 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11209 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11210 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11211 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11212 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11213 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11214 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11215 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11216 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11217 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11218 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11219 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11220 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11221 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11222 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11223 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11224 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11225 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11226 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11227 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11228 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11229 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11230 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11231 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11232 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11233 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11234 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11235 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11236 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11237 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11238 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11239 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11240 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11241 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11242 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11243 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11244 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11245 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11246 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11247 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11248 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11249 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11250 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11251 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11252 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11253 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11254 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11255 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11256 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11257 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11258 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11259 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11260 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11261 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11262 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11263 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11264 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11265 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11266 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11267 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11268 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11269 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11270 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11271 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11272 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11273 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11274 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11275 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11276 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11277 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11278 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11279 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11280 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11281 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11282 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11283 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11284 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11285 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11286 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11287 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11288 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11289 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11290 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11291 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11292 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11293 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11294 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11295 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11296 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11297 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11298 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11299 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11300 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11301 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11302 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11303 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11304 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11305 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11306 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11307 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11308 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11309 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11310 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11311 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11312 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11313 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11314 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11315 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11316 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11317 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11318 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11319 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11320 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11321 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11322 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11323 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11324 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11325 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11326 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11327 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11328 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11329 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11330 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11331 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11332 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11333 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11334 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11336 // Map renamed classes back to their common name for OOR
11337 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11338 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11339 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11342 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11343 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);