2 * FILE : contrib/gizmos/gizmos.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 initgizmosc
55 #define SWIG_name "gizmosc"
58 #include <wx/gizmos/dynamicsash.h>
59 #include <wx/gizmos/editlbox.h>
60 #include <wx/gizmos/splittree.h>
61 #include <wx/gizmos/ledctrl.h>
63 #include <wx/listctrl.h>
64 #include <wx/treectrl.h>
65 #include <wx/imaglist.h>
66 #include "treelistctrl.h"
70 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyTuple_Check(target
)) {
82 target
= PyTuple_New(1);
83 PyTuple_SetItem(target
, 0, o2
);
86 PyTuple_SetItem(o3
, 0, o
);
89 target
= PySequence_Concat(o2
, o3
);
96 // Put some wx default wxChar* values into wxStrings.
97 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
98 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
99 static const wxString
wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
100 static const wxString
wxPyEmptyString(wxT(""));
102 typedef wxTreeCtrl wxPyTreeCtrl
;
104 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
107 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
108 const wxPoint
& pos
= wxDefaultPosition
,
109 const wxSize
& size
= wxDefaultSize
,
111 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
114 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
116 wxPyBeginBlockThreads();
117 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
118 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
119 PyObject
* idobj
= wxPyConstructObject((void*)&id
, wxT("wxTreeItemId"), FALSE
);
120 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), FALSE
);
121 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
126 wxPyEndBlockThreads();
128 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
133 // C++ version of Python aware control
134 class wxPyTreeListCtrl
: public wxTreeListCtrl
{
135 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl
);
137 wxPyTreeListCtrl() : wxTreeListCtrl() {}
138 wxPyTreeListCtrl(wxWindow
*parent
, wxWindowID id
,
142 const wxValidator
&validator
,
143 const wxString
& name
) :
144 wxTreeListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
146 int OnCompareItems(const wxTreeItemId
& item1
,
147 const wxTreeItemId
& item2
) {
150 wxPyBeginBlockThreads();
151 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
152 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), 0);
153 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), 0);
154 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
158 wxPyEndBlockThreads();
160 rval
= wxTreeListCtrl::OnCompareItems(item1
, item2
);
166 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl
, wxTreeListCtrl
)
169 static const long longzero
= 0;
173 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
174 wxDynamicSashSplitEvent
*src
;
175 wxCommandEvent
*dest
;
176 src
= (wxDynamicSashSplitEvent
*) ptr
;
177 dest
= (wxCommandEvent
*) src
;
178 return (void *) dest
;
181 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
182 wxDynamicSashSplitEvent
*src
;
184 src
= (wxDynamicSashSplitEvent
*) ptr
;
185 dest
= (wxEvent
*) src
;
186 return (void *) dest
;
189 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
190 wxDynamicSashSplitEvent
*src
;
192 src
= (wxDynamicSashSplitEvent
*) ptr
;
193 dest
= (wxObject
*) src
;
194 return (void *) dest
;
197 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
198 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 wxDynamicSashSplitEvent
* _result
;
202 PyObject
* _argo0
= 0;
203 char *_kwnames
[] = { "target", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
220 wxPyEndAllowThreads(__tstate
);
221 if (PyErr_Occurred()) return NULL
;
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashSplitEvent_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
227 _resultobj
= Py_None
;
232 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr
) {
233 wxDynamicSashUnifyEvent
*src
;
234 wxCommandEvent
*dest
;
235 src
= (wxDynamicSashUnifyEvent
*) ptr
;
236 dest
= (wxCommandEvent
*) src
;
237 return (void *) dest
;
240 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr
) {
241 wxDynamicSashUnifyEvent
*src
;
243 src
= (wxDynamicSashUnifyEvent
*) ptr
;
244 dest
= (wxEvent
*) src
;
245 return (void *) dest
;
248 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr
) {
249 wxDynamicSashUnifyEvent
*src
;
251 src
= (wxDynamicSashUnifyEvent
*) ptr
;
252 dest
= (wxObject
*) src
;
253 return (void *) dest
;
256 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
257 static PyObject
*_wrap_new_wxDynamicSashUnifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxDynamicSashUnifyEvent
* _result
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "target", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashUnifyEvent",_kwnames
,&_argo0
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
277 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
279 wxPyEndAllowThreads(__tstate
);
280 if (PyErr_Occurred()) return NULL
;
282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashUnifyEvent_p");
283 _resultobj
= Py_BuildValue("s",_ptemp
);
286 _resultobj
= Py_None
;
291 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr
) {
292 wxDynamicSashWindow
*src
;
294 src
= (wxDynamicSashWindow
*) ptr
;
295 dest
= (wxWindow
*) src
;
296 return (void *) dest
;
299 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr
) {
300 wxDynamicSashWindow
*src
;
302 src
= (wxDynamicSashWindow
*) ptr
;
303 dest
= (wxEvtHandler
*) src
;
304 return (void *) dest
;
307 static void *SwigwxDynamicSashWindowTowxObject(void *ptr
) {
308 wxDynamicSashWindow
*src
;
310 src
= (wxDynamicSashWindow
*) ptr
;
311 dest
= (wxObject
*) src
;
312 return (void *) dest
;
315 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
316 static PyObject
*_wrap_new_wxDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
318 wxDynamicSashWindow
* _result
;
321 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
322 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
323 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
324 wxString
* _arg5
= (wxString
*) &wxPyDynamicSashNameStr
;
325 PyObject
* _argo0
= 0;
327 PyObject
* _obj2
= 0;
329 PyObject
* _obj3
= 0;
330 PyObject
* _obj5
= 0;
331 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
347 if (! wxPoint_helper(_obj2
, &_arg2
))
353 if (! wxSize_helper(_obj3
, &_arg3
))
358 _arg5
= wxString_in_helper(_obj5
);
363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
364 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
366 wxPyEndAllowThreads(__tstate
);
367 if (PyErr_Occurred()) return NULL
;
369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
370 _resultobj
= Py_BuildValue("s",_ptemp
);
373 _resultobj
= Py_None
;
382 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
383 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
385 wxDynamicSashWindow
* _result
;
386 char *_kwnames
[] = { NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
394 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
400 _resultobj
= Py_BuildValue("s",_ptemp
);
403 _resultobj
= Py_None
;
408 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
409 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
412 wxDynamicSashWindow
* _arg0
;
415 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
416 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
417 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
418 wxString
* _arg6
= (wxString
*) &wxPyDynamicSashNameStr
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _argo1
= 0;
422 PyObject
* _obj3
= 0;
424 PyObject
* _obj4
= 0;
425 PyObject
* _obj6
= 0;
426 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
448 if (! wxPoint_helper(_obj3
, &_arg3
))
454 if (! wxSize_helper(_obj4
, &_arg4
))
459 _arg6
= wxString_in_helper(_obj6
);
464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
465 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
467 wxPyEndAllowThreads(__tstate
);
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
478 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
480 wxScrollBar
* _result
;
481 wxDynamicSashWindow
* _arg0
;
483 PyObject
* _argo0
= 0;
484 PyObject
* _argo1
= 0;
485 char *_kwnames
[] = { "self","child", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
513 _resultobj
= Py_BuildValue("s",_ptemp
);
516 _resultobj
= Py_None
;
521 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
522 static PyObject
*_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
524 wxScrollBar
* _result
;
525 wxDynamicSashWindow
* _arg0
;
527 PyObject
* _argo0
= 0;
528 PyObject
* _argo1
= 0;
529 char *_kwnames
[] = { "self","child", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames
,&_argo0
,&_argo1
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
551 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
553 wxPyEndAllowThreads(__tstate
);
554 if (PyErr_Occurred()) return NULL
;
556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
557 _resultobj
= Py_BuildValue("s",_ptemp
);
560 _resultobj
= Py_None
;
565 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
566 wxEditableListBox
*src
;
568 src
= (wxEditableListBox
*) ptr
;
569 dest
= (wxPanel
*) src
;
570 return (void *) dest
;
573 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
574 wxEditableListBox
*src
;
576 src
= (wxEditableListBox
*) ptr
;
577 dest
= (wxWindow
*) src
;
578 return (void *) dest
;
581 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
582 wxEditableListBox
*src
;
584 src
= (wxEditableListBox
*) ptr
;
585 dest
= (wxEvtHandler
*) src
;
586 return (void *) dest
;
589 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
590 wxEditableListBox
*src
;
592 src
= (wxEditableListBox
*) ptr
;
593 dest
= (wxObject
*) src
;
594 return (void *) dest
;
597 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
598 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxEditableListBox
* _result
;
604 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
605 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
606 long _arg5
= (long ) (wxEL_ALLOW_NEW
)|(wxEL_ALLOW_EDIT
)|(wxEL_ALLOW_DELETE
);
607 wxString
* _arg6
= (wxString
*) &wxPyEditableListBoxNameStr
;
608 PyObject
* _argo0
= 0;
609 PyObject
* _obj2
= 0;
611 PyObject
* _obj3
= 0;
613 PyObject
* _obj4
= 0;
614 PyObject
* _obj6
= 0;
615 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
629 _arg2
= wxString_in_helper(_obj2
);
636 if (! wxPoint_helper(_obj3
, &_arg3
))
642 if (! wxSize_helper(_obj4
, &_arg4
))
647 _arg6
= wxString_in_helper(_obj6
);
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
659 _resultobj
= Py_BuildValue("s",_ptemp
);
662 _resultobj
= Py_None
;
675 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
676 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
678 wxEditableListBox
* _arg0
;
679 wxArrayString
* _arg1
;
680 PyObject
* _argo0
= 0;
681 PyObject
* _obj1
= 0;
682 char *_kwnames
[] = { "self","strings", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
695 if (! PySequence_Check(_obj1
)) {
696 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
699 _arg1
= new wxArrayString
;
700 int i
, len
=PySequence_Length(_obj1
);
701 for (i
=0; i
<len
; i
++) {
702 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
704 PyObject
* str
= PyObject_Unicode(item
);
706 PyObject
* str
= PyObject_Str(item
);
708 _arg1
->Add(Py2wxString(str
));
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) return NULL
;
719 } Py_INCREF(Py_None
);
720 _resultobj
= Py_None
;
728 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
729 wxArrayString strings
;
730 self
->GetStrings(strings
);
731 return wxArrayString2PyList_helper(strings
);
733 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 wxEditableListBox
* _arg0
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
752 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
754 wxPyEndAllowThreads(__tstate
);
755 if (PyErr_Occurred()) return NULL
;
757 _resultobj
= _result
;
762 #define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
763 static PyObject
*_wrap_wxEditableListBox_GetListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
765 wxListCtrl
* _result
;
766 wxEditableListBox
* _arg0
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetListCtrl",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetListCtrl. Expected _wxEditableListBox_p.");
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 _result
= (wxListCtrl
*)wxEditableListBox_GetListCtrl(_arg0
);
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) return NULL
;
786 }{ _resultobj
= wxPyMake_wxObject(_result
); }
790 #define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
791 static PyObject
*_wrap_wxEditableListBox_GetDelButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
793 wxBitmapButton
* _result
;
794 wxEditableListBox
* _arg0
;
795 PyObject
* _argo0
= 0;
796 char *_kwnames
[] = { "self", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDelButton",_kwnames
,&_argo0
))
802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDelButton. Expected _wxEditableListBox_p.");
809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
810 _result
= (wxBitmapButton
*)wxEditableListBox_GetDelButton(_arg0
);
812 wxPyEndAllowThreads(__tstate
);
813 if (PyErr_Occurred()) return NULL
;
814 }{ _resultobj
= wxPyMake_wxObject(_result
); }
818 #define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
819 static PyObject
*_wrap_wxEditableListBox_GetNewButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
821 wxBitmapButton
* _result
;
822 wxEditableListBox
* _arg0
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetNewButton",_kwnames
,&_argo0
))
830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetNewButton. Expected _wxEditableListBox_p.");
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 _result
= (wxBitmapButton
*)wxEditableListBox_GetNewButton(_arg0
);
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) return NULL
;
842 }{ _resultobj
= wxPyMake_wxObject(_result
); }
846 #define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
847 static PyObject
*_wrap_wxEditableListBox_GetUpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxBitmapButton
* _result
;
850 wxEditableListBox
* _arg0
;
851 PyObject
* _argo0
= 0;
852 char *_kwnames
[] = { "self", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetUpButton",_kwnames
,&_argo0
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetUpButton. Expected _wxEditableListBox_p.");
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 _result
= (wxBitmapButton
*)wxEditableListBox_GetUpButton(_arg0
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 }{ _resultobj
= wxPyMake_wxObject(_result
); }
874 #define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
875 static PyObject
*_wrap_wxEditableListBox_GetDownButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
877 wxBitmapButton
* _result
;
878 wxEditableListBox
* _arg0
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDownButton",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDownButton. Expected _wxEditableListBox_p.");
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 _result
= (wxBitmapButton
*)wxEditableListBox_GetDownButton(_arg0
);
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) return NULL
;
898 }{ _resultobj
= wxPyMake_wxObject(_result
); }
902 #define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
903 static PyObject
*_wrap_wxEditableListBox_GetEditButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
905 wxBitmapButton
* _result
;
906 wxEditableListBox
* _arg0
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetEditButton",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetEditButton. Expected _wxEditableListBox_p.");
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (wxBitmapButton
*)wxEditableListBox_GetEditButton(_arg0
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 }{ _resultobj
= wxPyMake_wxObject(_result
); }
930 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
931 wxRemotelyScrolledTreeCtrl
*src
;
933 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
934 dest
= (wxPyTreeCtrl
*) src
;
935 return (void *) dest
;
938 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
939 wxRemotelyScrolledTreeCtrl
*src
;
941 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
942 dest
= (wxControl
*) src
;
943 return (void *) dest
;
946 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
947 wxRemotelyScrolledTreeCtrl
*src
;
949 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
950 dest
= (wxWindow
*) src
;
951 return (void *) dest
;
954 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
955 wxRemotelyScrolledTreeCtrl
*src
;
957 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
958 dest
= (wxEvtHandler
*) src
;
959 return (void *) dest
;
962 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
963 wxRemotelyScrolledTreeCtrl
*src
;
965 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
966 dest
= (wxObject
*) src
;
967 return (void *) dest
;
970 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
971 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
973 wxRemotelyScrolledTreeCtrl
* _result
;
976 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
977 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
978 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
979 PyObject
* _argo0
= 0;
981 PyObject
* _obj2
= 0;
983 PyObject
* _obj3
= 0;
984 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
1000 if (! wxPoint_helper(_obj2
, &_arg2
))
1006 if (! wxSize_helper(_obj3
, &_arg3
))
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) return NULL
;
1016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1017 _resultobj
= Py_BuildValue("s",_ptemp
);
1020 _resultobj
= Py_None
;
1025 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
1026 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxRemotelyScrolledTreeCtrl
* _arg0
;
1029 PyObject
* _argo0
= 0;
1030 char *_kwnames
[] = { "self", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1054 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1056 wxRemotelyScrolledTreeCtrl
* _arg0
;
1057 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1082 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1084 wxScrolledWindow
* _result
;
1085 wxRemotelyScrolledTreeCtrl
* _arg0
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
1108 _resultobj
= Py_BuildValue("s",_ptemp
);
1111 _resultobj
= Py_None
;
1116 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1117 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1119 wxRemotelyScrolledTreeCtrl
* _arg0
;
1122 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) return NULL
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1146 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1147 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1149 wxRemotelyScrolledTreeCtrl
* _arg0
;
1151 PyObject
* _argo0
= 0;
1152 PyObject
* _argo1
= 0;
1153 char *_kwnames
[] = { "self","companion", NULL
};
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
1159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) return NULL
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1184 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxRemotelyScrolledTreeCtrl
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) return NULL
;
1207 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1211 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
1212 wxPyTreeCompanionWindow
*src
;
1214 src
= (wxPyTreeCompanionWindow
*) ptr
;
1215 dest
= (wxWindow
*) src
;
1216 return (void *) dest
;
1219 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
1220 wxPyTreeCompanionWindow
*src
;
1222 src
= (wxPyTreeCompanionWindow
*) ptr
;
1223 dest
= (wxEvtHandler
*) src
;
1224 return (void *) dest
;
1227 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
1228 wxPyTreeCompanionWindow
*src
;
1230 src
= (wxPyTreeCompanionWindow
*) ptr
;
1231 dest
= (wxObject
*) src
;
1232 return (void *) dest
;
1235 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1236 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1238 wxPyTreeCompanionWindow
* _result
;
1240 wxWindowID _arg1
= (wxWindowID
) -1;
1241 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1242 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1243 long _arg4
= (long ) 0;
1244 PyObject
* _argo0
= 0;
1246 PyObject
* _obj2
= 0;
1248 PyObject
* _obj3
= 0;
1249 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1265 if (! wxPoint_helper(_obj2
, &_arg2
))
1271 if (! wxSize_helper(_obj3
, &_arg3
))
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) return NULL
;
1281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1282 _resultobj
= Py_BuildValue("s",_ptemp
);
1285 _resultobj
= Py_None
;
1290 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1291 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1293 wxPyTreeCompanionWindow
* _arg0
;
1296 PyObject
* _argo0
= 0;
1297 PyObject
* _obj1
= 0;
1298 PyObject
* _obj2
= 0;
1299 char *_kwnames
[] = { "self","self","_class", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) return NULL
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1329 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1331 wxRemotelyScrolledTreeCtrl
* _result
;
1332 wxPyTreeCompanionWindow
* _arg0
;
1333 PyObject
* _argo0
= 0;
1334 char *_kwnames
[] = { "self", NULL
};
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) return NULL
;
1354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 _resultobj
= Py_None
;
1363 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1364 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPyTreeCompanionWindow
* _arg0
;
1367 wxRemotelyScrolledTreeCtrl
* _arg1
;
1368 PyObject
* _argo0
= 0;
1369 PyObject
* _argo1
= 0;
1370 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } Py_INCREF(Py_None
);
1396 _resultobj
= Py_None
;
1400 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1401 wxThinSplitterWindow
*src
;
1402 wxSplitterWindow
*dest
;
1403 src
= (wxThinSplitterWindow
*) ptr
;
1404 dest
= (wxSplitterWindow
*) src
;
1405 return (void *) dest
;
1408 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1409 wxThinSplitterWindow
*src
;
1411 src
= (wxThinSplitterWindow
*) ptr
;
1412 dest
= (wxWindow
*) src
;
1413 return (void *) dest
;
1416 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1417 wxThinSplitterWindow
*src
;
1419 src
= (wxThinSplitterWindow
*) ptr
;
1420 dest
= (wxEvtHandler
*) src
;
1421 return (void *) dest
;
1424 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1425 wxThinSplitterWindow
*src
;
1427 src
= (wxThinSplitterWindow
*) ptr
;
1428 dest
= (wxObject
*) src
;
1429 return (void *) dest
;
1432 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1433 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1435 wxThinSplitterWindow
* _result
;
1437 wxWindowID _arg1
= (wxWindowID
) -1;
1438 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1439 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1440 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1441 PyObject
* _argo0
= 0;
1443 PyObject
* _obj2
= 0;
1445 PyObject
* _obj3
= 0;
1446 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1462 if (! wxPoint_helper(_obj2
, &_arg2
))
1468 if (! wxSize_helper(_obj3
, &_arg3
))
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1479 _resultobj
= Py_BuildValue("s",_ptemp
);
1482 _resultobj
= Py_None
;
1487 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1488 wxSplitterScrolledWindow
*src
;
1489 wxScrolledWindow
*dest
;
1490 src
= (wxSplitterScrolledWindow
*) ptr
;
1491 dest
= (wxScrolledWindow
*) src
;
1492 return (void *) dest
;
1495 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1496 wxSplitterScrolledWindow
*src
;
1498 src
= (wxSplitterScrolledWindow
*) ptr
;
1499 dest
= (wxPanel
*) src
;
1500 return (void *) dest
;
1503 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1504 wxSplitterScrolledWindow
*src
;
1506 src
= (wxSplitterScrolledWindow
*) ptr
;
1507 dest
= (wxWindow
*) src
;
1508 return (void *) dest
;
1511 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1512 wxSplitterScrolledWindow
*src
;
1514 src
= (wxSplitterScrolledWindow
*) ptr
;
1515 dest
= (wxEvtHandler
*) src
;
1516 return (void *) dest
;
1519 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1520 wxSplitterScrolledWindow
*src
;
1522 src
= (wxSplitterScrolledWindow
*) ptr
;
1523 dest
= (wxObject
*) src
;
1524 return (void *) dest
;
1527 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1528 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxSplitterScrolledWindow
* _result
;
1532 wxWindowID _arg1
= (wxWindowID
) -1;
1533 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1534 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1535 long _arg4
= (long ) 0;
1536 PyObject
* _argo0
= 0;
1538 PyObject
* _obj2
= 0;
1540 PyObject
* _obj3
= 0;
1541 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1557 if (! wxPoint_helper(_obj2
, &_arg2
))
1563 if (! wxSize_helper(_obj3
, &_arg3
))
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1577 _resultobj
= Py_None
;
1582 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1583 wxLEDNumberCtrl
*src
;
1585 src
= (wxLEDNumberCtrl
*) ptr
;
1586 dest
= (wxControl
*) src
;
1587 return (void *) dest
;
1590 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1591 wxLEDNumberCtrl
*src
;
1593 src
= (wxLEDNumberCtrl
*) ptr
;
1594 dest
= (wxWindow
*) src
;
1595 return (void *) dest
;
1598 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1599 wxLEDNumberCtrl
*src
;
1601 src
= (wxLEDNumberCtrl
*) ptr
;
1602 dest
= (wxEvtHandler
*) src
;
1603 return (void *) dest
;
1606 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1607 wxLEDNumberCtrl
*src
;
1609 src
= (wxLEDNumberCtrl
*) ptr
;
1610 dest
= (wxObject
*) src
;
1611 return (void *) dest
;
1614 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1615 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxLEDNumberCtrl
* _result
;
1619 wxWindowID _arg1
= (wxWindowID
) -1;
1620 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1621 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1622 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1623 PyObject
* _argo0
= 0;
1625 PyObject
* _obj2
= 0;
1627 PyObject
* _obj3
= 0;
1628 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1644 if (! wxPoint_helper(_obj2
, &_arg2
))
1650 if (! wxSize_helper(_obj3
, &_arg3
))
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1661 _resultobj
= Py_BuildValue("s",_ptemp
);
1664 _resultobj
= Py_None
;
1669 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1670 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxLEDNumberCtrl
* _result
;
1673 char *_kwnames
[] = { NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1687 _resultobj
= Py_BuildValue("s",_ptemp
);
1690 _resultobj
= Py_None
;
1695 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1696 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1699 wxLEDNumberCtrl
* _arg0
;
1701 wxWindowID _arg2
= (wxWindowID
) -1;
1702 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1703 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1704 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _argo1
= 0;
1708 PyObject
* _obj3
= 0;
1710 PyObject
* _obj4
= 0;
1711 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1733 if (! wxPoint_helper(_obj3
, &_arg3
))
1739 if (! wxSize_helper(_obj4
, &_arg4
))
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) return NULL
;
1748 } _resultobj
= Py_BuildValue("i",_result
);
1752 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1753 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1755 wxLEDValueAlign _result
;
1756 wxLEDNumberCtrl
* _arg0
;
1757 PyObject
* _argo0
= 0;
1758 char *_kwnames
[] = { "self", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) return NULL
;
1776 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1781 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 wxLEDNumberCtrl
* _arg0
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1804 } _resultobj
= Py_BuildValue("i",_result
);
1808 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1809 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1812 wxLEDNumberCtrl
* _arg0
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1829 _result
= (wxString
*) &_result_ref
;
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1835 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1837 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1843 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1844 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 wxLEDNumberCtrl
* _arg0
;
1847 wxLEDValueAlign _arg1
;
1848 bool _arg2
= (bool ) true;
1849 PyObject
* _argo0
= 0;
1850 int tempbool2
= (int) true;
1851 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1863 _arg2
= (bool ) tempbool2
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1876 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxLEDNumberCtrl
* _arg0
;
1880 bool _arg2
= (bool ) true;
1881 PyObject
* _argo0
= 0;
1883 int tempbool2
= (int) true;
1884 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1896 _arg1
= (bool ) tempbool1
;
1897 _arg2
= (bool ) tempbool2
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) return NULL
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1910 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxLEDNumberCtrl
* _arg0
;
1914 bool _arg2
= (bool ) true;
1915 PyObject
* _argo0
= 0;
1916 PyObject
* _obj1
= 0;
1917 int tempbool2
= (int) true;
1918 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1931 _arg1
= wxString_in_helper(_obj1
);
1935 _arg2
= (bool ) tempbool2
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) return NULL
;
1942 } Py_INCREF(Py_None
);
1943 _resultobj
= Py_None
;
1951 static void *SwigwxTreeListColumnInfoTowxObject(void *ptr
) {
1952 wxTreeListColumnInfo
*src
;
1954 src
= (wxTreeListColumnInfo
*) ptr
;
1955 dest
= (wxObject
*) src
;
1956 return (void *) dest
;
1959 #define new_wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1960 static PyObject
*_wrap_new_wxTreeListColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1962 wxTreeListColumnInfo
* _result
;
1963 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1964 int _arg1
= (int ) -1;
1965 size_t _arg2
= (size_t ) 100;
1966 wxTreeListColumnAlign _arg3
= (wxTreeListColumnAlign
) (wxTL_ALIGN_LEFT
);
1967 PyObject
* _obj0
= 0;
1968 char *_kwnames
[] = { "text","image","width","alignment", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oiii:new_wxTreeListColumnInfo",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1976 _arg0
= wxString_in_helper(_obj0
);
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 _result
= (wxTreeListColumnInfo
*)new_wxTreeListColumnInfo(*_arg0
,_arg1
,_arg2
,_arg3
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) return NULL
;
1987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeListColumnInfo_p");
1988 _resultobj
= Py_BuildValue("s",_ptemp
);
1991 _resultobj
= Py_None
;
2000 #define wxTreeListColumnInfo_GetAlignment(_swigobj) (_swigobj->GetAlignment())
2001 static PyObject
*_wrap_wxTreeListColumnInfo_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2003 wxTreeListColumnAlign _result
;
2004 wxTreeListColumnInfo
* _arg0
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListColumnInfo_GetAlignment",_kwnames
,&_argo0
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_GetAlignment. Expected _wxTreeListColumnInfo_p.");
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 _result
= (wxTreeListColumnAlign
)wxTreeListColumnInfo_GetAlignment(_arg0
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) return NULL
;
2024 } _resultobj
= Py_BuildValue("i",_result
);
2028 #define wxTreeListColumnInfo_GetText(_swigobj) (_swigobj->GetText())
2029 static PyObject
*_wrap_wxTreeListColumnInfo_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 wxTreeListColumnInfo
* _arg0
;
2033 PyObject
* _argo0
= 0;
2034 char *_kwnames
[] = { "self", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListColumnInfo_GetText",_kwnames
,&_argo0
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_GetText. Expected _wxTreeListColumnInfo_p.");
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 _result
= new wxString (wxTreeListColumnInfo_GetText(_arg0
));
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2054 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2056 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2065 #define wxTreeListColumnInfo_GetImage(_swigobj) (_swigobj->GetImage())
2066 static PyObject
*_wrap_wxTreeListColumnInfo_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2069 wxTreeListColumnInfo
* _arg0
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListColumnInfo_GetImage",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_GetImage. Expected _wxTreeListColumnInfo_p.");
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 _result
= (int )wxTreeListColumnInfo_GetImage(_arg0
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) return NULL
;
2089 } _resultobj
= Py_BuildValue("i",_result
);
2093 #define wxTreeListColumnInfo_GetSelectedImage(_swigobj) (_swigobj->GetSelectedImage())
2094 static PyObject
*_wrap_wxTreeListColumnInfo_GetSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2097 wxTreeListColumnInfo
* _arg0
;
2098 PyObject
* _argo0
= 0;
2099 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListColumnInfo_GetSelectedImage",_kwnames
,&_argo0
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_GetSelectedImage. Expected _wxTreeListColumnInfo_p.");
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 _result
= (int )wxTreeListColumnInfo_GetSelectedImage(_arg0
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) return NULL
;
2117 } _resultobj
= Py_BuildValue("i",_result
);
2121 #define wxTreeListColumnInfo_GetWidth(_swigobj) (_swigobj->GetWidth())
2122 static PyObject
*_wrap_wxTreeListColumnInfo_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2125 wxTreeListColumnInfo
* _arg0
;
2126 PyObject
* _argo0
= 0;
2127 char *_kwnames
[] = { "self", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListColumnInfo_GetWidth",_kwnames
,&_argo0
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_GetWidth. Expected _wxTreeListColumnInfo_p.");
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 _result
= (size_t )wxTreeListColumnInfo_GetWidth(_arg0
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) return NULL
;
2145 } _resultobj
= Py_BuildValue("i",_result
);
2149 #define wxTreeListColumnInfo_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
2150 static PyObject
*_wrap_wxTreeListColumnInfo_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2152 wxTreeListColumnInfo
* _arg0
;
2153 wxTreeListColumnAlign _arg1
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self","alignment", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListColumnInfo_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_SetAlignment. Expected _wxTreeListColumnInfo_p.");
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxTreeListColumnInfo_SetAlignment(_arg0
,_arg1
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) return NULL
;
2173 } Py_INCREF(Py_None
);
2174 _resultobj
= Py_None
;
2178 #define wxTreeListColumnInfo_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2179 static PyObject
*_wrap_wxTreeListColumnInfo_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2181 wxTreeListColumnInfo
* _arg0
;
2183 PyObject
* _argo0
= 0;
2184 PyObject
* _obj1
= 0;
2185 char *_kwnames
[] = { "self","text", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListColumnInfo_SetText",_kwnames
,&_argo0
,&_obj1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_SetText. Expected _wxTreeListColumnInfo_p.");
2198 _arg1
= wxString_in_helper(_obj1
);
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxTreeListColumnInfo_SetText(_arg0
,*_arg1
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) return NULL
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2217 #define wxTreeListColumnInfo_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
2218 static PyObject
*_wrap_wxTreeListColumnInfo_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2220 wxTreeListColumnInfo
* _arg0
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self","image", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListColumnInfo_SetImage",_kwnames
,&_argo0
,&_arg1
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_SetImage. Expected _wxTreeListColumnInfo_p.");
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 wxTreeListColumnInfo_SetImage(_arg0
,_arg1
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) return NULL
;
2241 } Py_INCREF(Py_None
);
2242 _resultobj
= Py_None
;
2246 #define wxTreeListColumnInfo_SetSelectedImage(_swigobj,_swigarg0) (_swigobj->SetSelectedImage(_swigarg0))
2247 static PyObject
*_wrap_wxTreeListColumnInfo_SetSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxTreeListColumnInfo
* _arg0
;
2251 PyObject
* _argo0
= 0;
2252 char *_kwnames
[] = { "self","image", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListColumnInfo_SetSelectedImage",_kwnames
,&_argo0
,&_arg1
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_SetSelectedImage. Expected _wxTreeListColumnInfo_p.");
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 wxTreeListColumnInfo_SetSelectedImage(_arg0
,_arg1
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) return NULL
;
2270 } Py_INCREF(Py_None
);
2271 _resultobj
= Py_None
;
2275 #define wxTreeListColumnInfo_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2276 static PyObject
*_wrap_wxTreeListColumnInfo_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxTreeListColumnInfo
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self","with", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListColumnInfo_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeListColumnInfo_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListColumnInfo_SetWidth. Expected _wxTreeListColumnInfo_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 wxTreeListColumnInfo_SetWidth(_arg0
,_arg1
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } Py_INCREF(Py_None
);
2300 _resultobj
= Py_None
;
2304 static void *SwigwxPyTreeListCtrlTowxControl(void *ptr
) {
2305 wxPyTreeListCtrl
*src
;
2307 src
= (wxPyTreeListCtrl
*) ptr
;
2308 dest
= (wxControl
*) src
;
2309 return (void *) dest
;
2312 static void *SwigwxPyTreeListCtrlTowxWindow(void *ptr
) {
2313 wxPyTreeListCtrl
*src
;
2315 src
= (wxPyTreeListCtrl
*) ptr
;
2316 dest
= (wxWindow
*) src
;
2317 return (void *) dest
;
2320 static void *SwigwxPyTreeListCtrlTowxEvtHandler(void *ptr
) {
2321 wxPyTreeListCtrl
*src
;
2323 src
= (wxPyTreeListCtrl
*) ptr
;
2324 dest
= (wxEvtHandler
*) src
;
2325 return (void *) dest
;
2328 static void *SwigwxPyTreeListCtrlTowxObject(void *ptr
) {
2329 wxPyTreeListCtrl
*src
;
2331 src
= (wxPyTreeListCtrl
*) ptr
;
2332 dest
= (wxObject
*) src
;
2333 return (void *) dest
;
2336 #define new_wxTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2337 static PyObject
*_wrap_new_wxTreeListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2339 wxPyTreeListCtrl
* _result
;
2341 wxWindowID _arg1
= (wxWindowID
) -1;
2342 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2343 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2344 long _arg4
= (long ) wxTR_DEFAULT_STYLE
;
2345 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2346 wxString
* _arg6
= (wxString
*) &wxPyTreeListCtrlNameStr
;
2347 PyObject
* _argo0
= 0;
2349 PyObject
* _obj2
= 0;
2351 PyObject
* _obj3
= 0;
2352 PyObject
* _argo5
= 0;
2353 PyObject
* _obj6
= 0;
2354 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeListCtrl. Expected _wxWindow_p.");
2370 if (! wxPoint_helper(_obj2
, &_arg2
))
2376 if (! wxSize_helper(_obj3
, &_arg3
))
2380 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeListCtrl. Expected _wxValidator_p.");
2387 _arg6
= wxString_in_helper(_obj6
);
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 _result
= (wxPyTreeListCtrl
*)new_wxTreeListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) return NULL
;
2398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeListCtrl_p");
2399 _resultobj
= Py_BuildValue("s",_ptemp
);
2402 _resultobj
= Py_None
;
2411 #define new_wxPreTreeListCtrl() (new wxPyTreeListCtrl())
2412 static PyObject
*_wrap_new_wxPreTreeListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2414 wxPyTreeListCtrl
* _result
;
2415 char *_kwnames
[] = { NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeListCtrl",_kwnames
))
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 _result
= (wxPyTreeListCtrl
*)new_wxPreTreeListCtrl();
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeListCtrl_p");
2429 _resultobj
= Py_BuildValue("s",_ptemp
);
2432 _resultobj
= Py_None
;
2437 #define wxTreeListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2438 static PyObject
*_wrap_wxTreeListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2441 wxPyTreeListCtrl
* _arg0
;
2443 wxWindowID _arg2
= (wxWindowID
) -1;
2444 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2445 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2446 long _arg5
= (long ) wxTR_DEFAULT_STYLE
;
2447 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2448 wxString
* _arg7
= (wxString
*) &wxPyTreeListCtrlNameStr
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _argo1
= 0;
2452 PyObject
* _obj3
= 0;
2454 PyObject
* _obj4
= 0;
2455 PyObject
* _argo6
= 0;
2456 PyObject
* _obj7
= 0;
2457 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Create. Expected _wxPyTreeListCtrl_p.");
2470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Create. Expected _wxWindow_p.");
2479 if (! wxPoint_helper(_obj3
, &_arg3
))
2485 if (! wxSize_helper(_obj4
, &_arg4
))
2489 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeListCtrl_Create. Expected _wxValidator_p.");
2496 _arg7
= wxString_in_helper(_obj7
);
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 _result
= (bool )wxTreeListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } _resultobj
= Py_BuildValue("i",_result
);
2514 #define wxTreeListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2515 static PyObject
*_wrap_wxTreeListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2517 wxPyTreeListCtrl
* _arg0
;
2520 PyObject
* _argo0
= 0;
2521 PyObject
* _obj1
= 0;
2522 PyObject
* _obj2
= 0;
2523 char *_kwnames
[] = { "self","self","_class", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl__setCallbackInfo. Expected _wxPyTreeListCtrl_p.");
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 wxTreeListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) return NULL
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2552 #define wxTreeListCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2553 static PyObject
*_wrap_wxTreeListCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxPyTreeListCtrl
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetCount",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetCount. Expected _wxPyTreeListCtrl_p.");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= (size_t )wxTreeListCtrl_GetCount(_arg0
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxTreeListCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2581 static PyObject
*_wrap_wxTreeListCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2583 unsigned int _result
;
2584 wxPyTreeListCtrl
* _arg0
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetIndent",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetIndent. Expected _wxPyTreeListCtrl_p.");
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 _result
= (unsigned int )wxTreeListCtrl_GetIndent(_arg0
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxTreeListCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2609 static PyObject
*_wrap_wxTreeListCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2611 wxPyTreeListCtrl
* _arg0
;
2613 PyObject
* _argo0
= 0;
2614 char *_kwnames
[] = { "self","indent", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetIndent. Expected _wxPyTreeListCtrl_p.");
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 wxTreeListCtrl_SetIndent(_arg0
,_arg1
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) return NULL
;
2632 } Py_INCREF(Py_None
);
2633 _resultobj
= Py_None
;
2637 #define wxTreeListCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
2638 static PyObject
*_wrap_wxTreeListCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2640 unsigned int _result
;
2641 wxPyTreeListCtrl
* _arg0
;
2642 PyObject
* _argo0
= 0;
2643 char *_kwnames
[] = { "self", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetSpacing",_kwnames
,&_argo0
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetSpacing. Expected _wxPyTreeListCtrl_p.");
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 _result
= (unsigned int )wxTreeListCtrl_GetSpacing(_arg0
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) return NULL
;
2661 } _resultobj
= Py_BuildValue("i",_result
);
2665 #define wxTreeListCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
2666 static PyObject
*_wrap_wxTreeListCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxPyTreeListCtrl
* _arg0
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self","spacing", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetSpacing. Expected _wxPyTreeListCtrl_p.");
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 wxTreeListCtrl_SetSpacing(_arg0
,_arg1
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2689 } Py_INCREF(Py_None
);
2690 _resultobj
= Py_None
;
2694 #define wxTreeListCtrl_GetLineSpacing(_swigobj) (_swigobj->GetLineSpacing())
2695 static PyObject
*_wrap_wxTreeListCtrl_GetLineSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2697 unsigned int _result
;
2698 wxPyTreeListCtrl
* _arg0
;
2699 PyObject
* _argo0
= 0;
2700 char *_kwnames
[] = { "self", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetLineSpacing",_kwnames
,&_argo0
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetLineSpacing. Expected _wxPyTreeListCtrl_p.");
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 _result
= (unsigned int )wxTreeListCtrl_GetLineSpacing(_arg0
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) return NULL
;
2718 } _resultobj
= Py_BuildValue("i",_result
);
2722 #define wxTreeListCtrl_SetLineSpacing(_swigobj,_swigarg0) (_swigobj->SetLineSpacing(_swigarg0))
2723 static PyObject
*_wrap_wxTreeListCtrl_SetLineSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2725 wxPyTreeListCtrl
* _arg0
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self","spacing", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_SetLineSpacing",_kwnames
,&_argo0
,&_arg1
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetLineSpacing. Expected _wxPyTreeListCtrl_p.");
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 wxTreeListCtrl_SetLineSpacing(_arg0
,_arg1
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) return NULL
;
2746 } Py_INCREF(Py_None
);
2747 _resultobj
= Py_None
;
2751 #define wxTreeListCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2752 static PyObject
*_wrap_wxTreeListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2754 wxImageList
* _result
;
2755 wxPyTreeListCtrl
* _arg0
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetImageList",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetImageList. Expected _wxPyTreeListCtrl_p.");
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 _result
= (wxImageList
*)wxTreeListCtrl_GetImageList(_arg0
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) return NULL
;
2775 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2779 #define wxTreeListCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2780 static PyObject
*_wrap_wxTreeListCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2782 wxImageList
* _result
;
2783 wxPyTreeListCtrl
* _arg0
;
2784 PyObject
* _argo0
= 0;
2785 char *_kwnames
[] = { "self", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetStateImageList",_kwnames
,&_argo0
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetStateImageList. Expected _wxPyTreeListCtrl_p.");
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 _result
= (wxImageList
*)wxTreeListCtrl_GetStateImageList(_arg0
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) return NULL
;
2803 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2807 #define wxTreeListCtrl_GetButtonsImageList(_swigobj) (_swigobj->GetButtonsImageList())
2808 static PyObject
*_wrap_wxTreeListCtrl_GetButtonsImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2810 wxImageList
* _result
;
2811 wxPyTreeListCtrl
* _arg0
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetButtonsImageList",_kwnames
,&_argo0
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetButtonsImageList. Expected _wxPyTreeListCtrl_p.");
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 _result
= (wxImageList
*)wxTreeListCtrl_GetButtonsImageList(_arg0
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) return NULL
;
2831 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2835 #define wxTreeListCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2836 static PyObject
*_wrap_wxTreeListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2838 wxPyTreeListCtrl
* _arg0
;
2839 wxImageList
* _arg1
;
2840 PyObject
* _argo0
= 0;
2841 PyObject
* _argo1
= 0;
2842 char *_kwnames
[] = { "self","imageList", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetImageList. Expected _wxPyTreeListCtrl_p.");
2855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetImageList. Expected _wxImageList_p.");
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 wxTreeListCtrl_SetImageList(_arg0
,_arg1
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2867 } Py_INCREF(Py_None
);
2868 _resultobj
= Py_None
;
2872 #define wxTreeListCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2873 static PyObject
*_wrap_wxTreeListCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2875 wxPyTreeListCtrl
* _arg0
;
2876 wxImageList
* _arg1
;
2877 PyObject
* _argo0
= 0;
2878 PyObject
* _argo1
= 0;
2879 char *_kwnames
[] = { "self","imageList", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetStateImageList. Expected _wxPyTreeListCtrl_p.");
2892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetStateImageList. Expected _wxImageList_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 wxTreeListCtrl_SetStateImageList(_arg0
,_arg1
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxTreeListCtrl_SetButtonsImageList(_swigobj,_swigarg0) (_swigobj->SetButtonsImageList(_swigarg0))
2910 static PyObject
*_wrap_wxTreeListCtrl_SetButtonsImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2912 wxPyTreeListCtrl
* _arg0
;
2913 wxImageList
* _arg1
;
2914 PyObject
* _argo0
= 0;
2915 PyObject
* _argo1
= 0;
2916 char *_kwnames
[] = { "self","imageList", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_SetButtonsImageList",_kwnames
,&_argo0
,&_argo1
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetButtonsImageList. Expected _wxPyTreeListCtrl_p.");
2929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetButtonsImageList. Expected _wxImageList_p.");
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 wxTreeListCtrl_SetButtonsImageList(_arg0
,_arg1
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) return NULL
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxTreeListCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
2947 static PyObject
*_wrap_wxTreeListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2949 wxPyTreeListCtrl
* _arg0
;
2950 wxImageList
* _arg1
;
2951 PyObject
* _argo0
= 0;
2952 PyObject
* _argo1
= 0;
2953 char *_kwnames
[] = { "self","imageList", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AssignImageList. Expected _wxPyTreeListCtrl_p.");
2966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_AssignImageList. Expected _wxImageList_p.");
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxTreeListCtrl_AssignImageList(_arg0
,_arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } Py_INCREF(Py_None
);
2979 _resultobj
= Py_None
;
2983 #define wxTreeListCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
2984 static PyObject
*_wrap_wxTreeListCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2986 wxPyTreeListCtrl
* _arg0
;
2987 wxImageList
* _arg1
;
2988 PyObject
* _argo0
= 0;
2989 PyObject
* _argo1
= 0;
2990 char *_kwnames
[] = { "self","imageList", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AssignStateImageList. Expected _wxPyTreeListCtrl_p.");
3003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_AssignStateImageList. Expected _wxImageList_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxTreeListCtrl_AssignStateImageList(_arg0
,_arg1
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxTreeListCtrl_AssignButtonsImageList(_swigobj,_swigarg0) (_swigobj->AssignButtonsImageList(_swigarg0))
3021 static PyObject
*_wrap_wxTreeListCtrl_AssignButtonsImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3023 wxPyTreeListCtrl
* _arg0
;
3024 wxImageList
* _arg1
;
3025 PyObject
* _argo0
= 0;
3026 PyObject
* _argo1
= 0;
3027 char *_kwnames
[] = { "self","imageList", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_AssignButtonsImageList",_kwnames
,&_argo0
,&_argo1
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AssignButtonsImageList. Expected _wxPyTreeListCtrl_p.");
3040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_AssignButtonsImageList. Expected _wxImageList_p.");
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 wxTreeListCtrl_AssignButtonsImageList(_arg0
,_arg1
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) return NULL
;
3052 } Py_INCREF(Py_None
);
3053 _resultobj
= Py_None
;
3057 #define wxTreeListCtrl_AddColumn(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
3058 static PyObject
*_wrap_wxTreeListCtrl_AddColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3060 wxPyTreeListCtrl
* _arg0
;
3062 PyObject
* _argo0
= 0;
3063 PyObject
* _obj1
= 0;
3064 char *_kwnames
[] = { "self","text", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_AddColumn",_kwnames
,&_argo0
,&_obj1
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AddColumn. Expected _wxPyTreeListCtrl_p.");
3077 _arg1
= wxString_in_helper(_obj1
);
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxTreeListCtrl_AddColumn(_arg0
,*_arg1
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) return NULL
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3096 #define wxTreeListCtrl_AddColumnInfo(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
3097 static PyObject
*_wrap_wxTreeListCtrl_AddColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxPyTreeListCtrl
* _arg0
;
3100 wxTreeListColumnInfo
* _arg1
;
3101 PyObject
* _argo0
= 0;
3102 PyObject
* _argo1
= 0;
3103 char *_kwnames
[] = { "self","col", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_AddColumnInfo",_kwnames
,&_argo0
,&_argo1
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AddColumnInfo. Expected _wxPyTreeListCtrl_p.");
3116 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeListColumnInfo_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_AddColumnInfo. Expected _wxTreeListColumnInfo_p.");
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxTreeListCtrl_AddColumnInfo(_arg0
,*_arg1
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) return NULL
;
3127 } Py_INCREF(Py_None
);
3128 _resultobj
= Py_None
;
3132 #define wxTreeListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3133 static PyObject
*_wrap_wxTreeListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxPyTreeListCtrl
* _arg0
;
3138 PyObject
* _argo0
= 0;
3139 PyObject
* _obj2
= 0;
3140 char *_kwnames
[] = { "self","before","text", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxTreeListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_InsertColumn. Expected _wxPyTreeListCtrl_p.");
3153 _arg2
= wxString_in_helper(_obj2
);
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 wxTreeListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3172 #define wxTreeListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3173 static PyObject
*_wrap_wxTreeListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3175 wxPyTreeListCtrl
* _arg0
;
3177 wxTreeListColumnInfo
* _arg2
;
3178 PyObject
* _argo0
= 0;
3179 PyObject
* _argo2
= 0;
3180 char *_kwnames
[] = { "self","before","col", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxTreeListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_InsertColumnInfo. Expected _wxPyTreeListCtrl_p.");
3193 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeListColumnInfo_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeListCtrl_InsertColumnInfo. Expected _wxTreeListColumnInfo_p.");
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxTreeListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) return NULL
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxTreeListCtrl_RemoveColumn(_swigobj,_swigarg0) (_swigobj->RemoveColumn(_swigarg0))
3210 static PyObject
*_wrap_wxTreeListCtrl_RemoveColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3212 wxPyTreeListCtrl
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self","column", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_RemoveColumn",_kwnames
,&_argo0
,&_arg1
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_RemoveColumn. Expected _wxPyTreeListCtrl_p.");
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 wxTreeListCtrl_RemoveColumn(_arg0
,_arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) return NULL
;
3233 } Py_INCREF(Py_None
);
3234 _resultobj
= Py_None
;
3238 #define wxTreeListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3239 static PyObject
*_wrap_wxTreeListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3242 wxPyTreeListCtrl
* _arg0
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumnCount. Expected _wxPyTreeListCtrl_p.");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 _result
= (size_t )wxTreeListCtrl_GetColumnCount(_arg0
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxTreeListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3267 static PyObject
*_wrap_wxTreeListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3269 wxPyTreeListCtrl
* _arg0
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "self","column","width", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTreeListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetColumnWidth. Expected _wxPyTreeListCtrl_p.");
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 wxTreeListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3296 #define wxTreeListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3297 static PyObject
*_wrap_wxTreeListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3300 wxPyTreeListCtrl
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self","column", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumnWidth. Expected _wxPyTreeListCtrl_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (int )wxTreeListCtrl_GetColumnWidth(_arg0
,_arg1
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3321 } _resultobj
= Py_BuildValue("i",_result
);
3325 #define wxTreeListCtrl_SetMainColumn(_swigobj,_swigarg0) (_swigobj->SetMainColumn(_swigarg0))
3326 static PyObject
*_wrap_wxTreeListCtrl_SetMainColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3328 wxPyTreeListCtrl
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self","column", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_SetMainColumn",_kwnames
,&_argo0
,&_arg1
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetMainColumn. Expected _wxPyTreeListCtrl_p.");
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 wxTreeListCtrl_SetMainColumn(_arg0
,_arg1
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) return NULL
;
3349 } Py_INCREF(Py_None
);
3350 _resultobj
= Py_None
;
3354 #define wxTreeListCtrl_GetMainColumn(_swigobj) (_swigobj->GetMainColumn())
3355 static PyObject
*_wrap_wxTreeListCtrl_GetMainColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
* _resultobj
;
3358 wxPyTreeListCtrl
* _arg0
;
3359 PyObject
* _argo0
= 0;
3360 char *_kwnames
[] = { "self", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetMainColumn",_kwnames
,&_argo0
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetMainColumn. Expected _wxPyTreeListCtrl_p.");
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 _result
= (size_t )wxTreeListCtrl_GetMainColumn(_arg0
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) return NULL
;
3378 } _resultobj
= Py_BuildValue("i",_result
);
3382 #define wxTreeListCtrl_SetColumnText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnText(_swigarg0,_swigarg1))
3383 static PyObject
*_wrap_wxTreeListCtrl_SetColumnText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3385 wxPyTreeListCtrl
* _arg0
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _obj2
= 0;
3390 char *_kwnames
[] = { "self","column","text", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxTreeListCtrl_SetColumnText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetColumnText. Expected _wxPyTreeListCtrl_p.");
3403 _arg2
= wxString_in_helper(_obj2
);
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 wxTreeListCtrl_SetColumnText(_arg0
,_arg1
,*_arg2
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) return NULL
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3422 #define wxTreeListCtrl_GetColumnText(_swigobj,_swigarg0) (_swigobj->GetColumnText(_swigarg0))
3423 static PyObject
*_wrap_wxTreeListCtrl_GetColumnText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3426 wxPyTreeListCtrl
* _arg0
;
3428 PyObject
* _argo0
= 0;
3429 char *_kwnames
[] = { "self","column", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_GetColumnText",_kwnames
,&_argo0
,&_arg1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumnText. Expected _wxPyTreeListCtrl_p.");
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 _result
= new wxString (wxTreeListCtrl_GetColumnText(_arg0
,_arg1
));
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) return NULL
;
3449 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3451 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3460 #define wxTreeListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3461 static PyObject
*_wrap_wxTreeListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
* _resultobj
;
3463 wxPyTreeListCtrl
* _arg0
;
3465 wxTreeListColumnInfo
* _arg2
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo2
= 0;
3468 char *_kwnames
[] = { "self","column","info", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxTreeListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetColumn. Expected _wxPyTreeListCtrl_p.");
3481 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeListColumnInfo_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeListCtrl_SetColumn. Expected _wxTreeListColumnInfo_p.");
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 wxTreeListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 #define wxTreeListCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3498 static PyObject
*_wrap_wxTreeListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxTreeListColumnInfo
* _result
;
3501 wxPyTreeListCtrl
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","column", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumn. Expected _wxPyTreeListCtrl_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxTreeListColumnInfo
& _result_ref
= wxTreeListCtrl_GetColumn(_arg0
,_arg1
);
3520 _result
= (wxTreeListColumnInfo
*) &_result_ref
;
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) return NULL
;
3525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeListColumnInfo_p");
3526 _resultobj
= Py_BuildValue("s",_ptemp
);
3529 _resultobj
= Py_None
;
3534 #define wxTreeListCtrl_SetColumnAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnAlignment(_swigarg0,_swigarg1))
3535 static PyObject
*_wrap_wxTreeListCtrl_SetColumnAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3537 wxPyTreeListCtrl
* _arg0
;
3539 wxTreeListColumnAlign _arg2
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self","column","align", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTreeListCtrl_SetColumnAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetColumnAlignment. Expected _wxPyTreeListCtrl_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 wxTreeListCtrl_SetColumnAlignment(_arg0
,_arg1
,_arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } Py_INCREF(Py_None
);
3560 _resultobj
= Py_None
;
3564 #define wxTreeListCtrl_GetColumnAlignment(_swigobj,_swigarg0) (_swigobj->GetColumnAlignment(_swigarg0))
3565 static PyObject
*_wrap_wxTreeListCtrl_GetColumnAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxTreeListColumnAlign _result
;
3568 wxPyTreeListCtrl
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self","column", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_GetColumnAlignment",_kwnames
,&_argo0
,&_arg1
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumnAlignment. Expected _wxPyTreeListCtrl_p.");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 _result
= (wxTreeListColumnAlign
)wxTreeListCtrl_GetColumnAlignment(_arg0
,_arg1
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3589 } _resultobj
= Py_BuildValue("i",_result
);
3593 #define wxTreeListCtrl_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
3594 static PyObject
*_wrap_wxTreeListCtrl_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3596 wxPyTreeListCtrl
* _arg0
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self","column","image", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTreeListCtrl_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetColumnImage. Expected _wxPyTreeListCtrl_p.");
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 wxTreeListCtrl_SetColumnImage(_arg0
,_arg1
,_arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) return NULL
;
3618 } Py_INCREF(Py_None
);
3619 _resultobj
= Py_None
;
3623 #define wxTreeListCtrl_GetColumnImage(_swigobj,_swigarg0) (_swigobj->GetColumnImage(_swigarg0))
3624 static PyObject
*_wrap_wxTreeListCtrl_GetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3627 wxPyTreeListCtrl
* _arg0
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self","column", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeListCtrl_GetColumnImage",_kwnames
,&_argo0
,&_arg1
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetColumnImage. Expected _wxPyTreeListCtrl_p.");
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 _result
= (int )wxTreeListCtrl_GetColumnImage(_arg0
,_arg1
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) return NULL
;
3648 } _resultobj
= Py_BuildValue("i",_result
);
3652 static wxString
wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,int column
) {
3653 if (column
< 0) column
= self
->GetMainColumn();
3654 return self
->GetItemText(item
, column
);
3656 static PyObject
*_wrap_wxTreeListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3659 wxPyTreeListCtrl
* _arg0
;
3660 wxTreeItemId
* _arg1
;
3661 int _arg2
= (int ) -1;
3662 PyObject
* _argo0
= 0;
3663 PyObject
* _argo1
= 0;
3664 char *_kwnames
[] = { "self","item","column", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeListCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemText. Expected _wxPyTreeListCtrl_p.");
3677 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemText. Expected _wxTreeItemId_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= new wxString (wxPyTreeListCtrl_GetItemText(_arg0
,*_arg1
,_arg2
));
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3690 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3692 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3701 static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,int column
,wxTreeItemIcon which
) {
3702 if (column
< 0) column
= self
->GetMainColumn();
3703 return self
->GetItemImage(item
, column
, which
);
3705 static PyObject
*_wrap_wxTreeListCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3708 wxPyTreeListCtrl
* _arg0
;
3709 wxTreeItemId
* _arg1
;
3710 int _arg2
= (int ) -1;
3711 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
3712 PyObject
* _argo0
= 0;
3713 PyObject
* _argo1
= 0;
3714 char *_kwnames
[] = { "self","item","column","which", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxTreeListCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemImage. Expected _wxPyTreeListCtrl_p.");
3727 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 _result
= (int )wxPyTreeListCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } _resultobj
= Py_BuildValue("i",_result
);
3742 static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,const wxString
& text
,int column
) {
3743 if (column
< 0) column
= self
->GetMainColumn();
3744 self
->SetItemText(item
, column
, text
);
3746 static PyObject
*_wrap_wxTreeListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxPyTreeListCtrl
* _arg0
;
3749 wxTreeItemId
* _arg1
;
3751 int _arg3
= (int ) -1;
3752 PyObject
* _argo0
= 0;
3753 PyObject
* _argo1
= 0;
3754 PyObject
* _obj2
= 0;
3755 char *_kwnames
[] = { "self","item","text","column", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxTreeListCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemText. Expected _wxPyTreeListCtrl_p.");
3768 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemText. Expected _wxTreeItemId_p.");
3774 _arg2
= wxString_in_helper(_obj2
);
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxPyTreeListCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
,_arg3
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) return NULL
;
3784 } Py_INCREF(Py_None
);
3785 _resultobj
= Py_None
;
3793 static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,int image
,int column
,wxTreeItemIcon which
) {
3794 if (column
< 0) column
= self
->GetMainColumn();
3795 self
->SetItemImage(item
, column
, image
, which
);
3797 static PyObject
*_wrap_wxTreeListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3799 wxPyTreeListCtrl
* _arg0
;
3800 wxTreeItemId
* _arg1
;
3802 int _arg3
= (int ) -1;
3803 wxTreeItemIcon _arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
3804 PyObject
* _argo0
= 0;
3805 PyObject
* _argo1
= 0;
3806 char *_kwnames
[] = { "self","item","image","column","which", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|ii:wxTreeListCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemImage. Expected _wxPyTreeListCtrl_p.");
3819 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 wxPyTreeListCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) return NULL
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 static wxPyTreeItemData
* wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
) {
3836 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3838 data
= new wxPyTreeItemData();
3839 data
->SetId(item
); // set the id
3840 self
->SetItemData(item
, data
);
3844 static PyObject
*_wrap_wxTreeListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3846 wxPyTreeItemData
* _result
;
3847 wxPyTreeListCtrl
* _arg0
;
3848 wxTreeItemId
* _arg1
;
3849 PyObject
* _argo0
= 0;
3850 PyObject
* _argo1
= 0;
3851 char *_kwnames
[] = { "self","item", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemData. Expected _wxPyTreeListCtrl_p.");
3865 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemData. Expected _wxTreeItemId_p.");
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 _result
= (wxPyTreeItemData
*)wxPyTreeListCtrl_GetItemData(_arg0
,*_arg1
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) return NULL
;
3877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3878 _resultobj
= Py_BuildValue("s",_ptemp
);
3881 _resultobj
= Py_None
;
3886 static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3887 data
->SetId(item
); // set the id
3888 self
->SetItemData(item
, data
);
3890 static PyObject
*_wrap_wxTreeListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3892 wxPyTreeListCtrl
* _arg0
;
3893 wxTreeItemId
* _arg1
;
3894 wxPyTreeItemData
* _arg2
;
3895 PyObject
* _argo0
= 0;
3896 PyObject
* _argo1
= 0;
3897 PyObject
* _argo2
= 0;
3898 char *_kwnames
[] = { "self","item","data", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemData. Expected _wxPyTreeListCtrl_p.");
3911 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemData. Expected _wxTreeItemId_p.");
3917 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeListCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxPyTreeListCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 static PyObject
* wxPyTreeListCtrl_GetPyData(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
) {
3935 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3937 data
= new wxPyTreeItemData();
3938 data
->SetId(item
); // set the id
3939 self
->SetItemData(item
, data
);
3941 return data
->GetData();
3943 static PyObject
*_wrap_wxTreeListCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3946 wxPyTreeListCtrl
* _arg0
;
3947 wxTreeItemId
* _arg1
;
3948 PyObject
* _argo0
= 0;
3949 PyObject
* _argo1
= 0;
3950 char *_kwnames
[] = { "self","item", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetPyData. Expected _wxPyTreeListCtrl_p.");
3963 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetPyData. Expected _wxTreeItemId_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 _result
= (PyObject
*)wxPyTreeListCtrl_GetPyData(_arg0
,*_arg1
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3975 _resultobj
= _result
;
3980 static void wxPyTreeListCtrl_SetPyData(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3981 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3983 data
= new wxPyTreeItemData(obj
);
3984 data
->SetId(item
); // set the id
3985 self
->SetItemData(item
, data
);
3989 static PyObject
*_wrap_wxTreeListCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxPyTreeListCtrl
* _arg0
;
3992 wxTreeItemId
* _arg1
;
3994 PyObject
* _argo0
= 0;
3995 PyObject
* _argo1
= 0;
3996 PyObject
* _obj2
= 0;
3997 char *_kwnames
[] = { "self","item","obj", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetPyData. Expected _wxPyTreeListCtrl_p.");
4010 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetPyData. Expected _wxTreeItemId_p.");
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxPyTreeListCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4024 } Py_INCREF(Py_None
);
4025 _resultobj
= Py_None
;
4029 #define wxTreeListCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
4030 static PyObject
*_wrap_wxTreeListCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4032 wxPyTreeListCtrl
* _arg0
;
4033 wxTreeItemId
* _arg1
;
4034 bool _arg2
= (bool ) TRUE
;
4035 PyObject
* _argo0
= 0;
4036 PyObject
* _argo1
= 0;
4037 int tempbool2
= (int) TRUE
;
4038 char *_kwnames
[] = { "self","item","has", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeListCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemHasChildren. Expected _wxPyTreeListCtrl_p.");
4051 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
4056 _arg2
= (bool ) tempbool2
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 wxTreeListCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) return NULL
;
4063 } Py_INCREF(Py_None
);
4064 _resultobj
= Py_None
;
4068 #define wxTreeListCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4069 static PyObject
*_wrap_wxTreeListCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4071 wxPyTreeListCtrl
* _arg0
;
4072 wxTreeItemId
* _arg1
;
4073 bool _arg2
= (bool ) TRUE
;
4074 PyObject
* _argo0
= 0;
4075 PyObject
* _argo1
= 0;
4076 int tempbool2
= (int) TRUE
;
4077 char *_kwnames
[] = { "self","item","bold", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeListCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemBold. Expected _wxPyTreeListCtrl_p.");
4090 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4095 _arg2
= (bool ) tempbool2
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 wxTreeListCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) return NULL
;
4102 } Py_INCREF(Py_None
);
4103 _resultobj
= Py_None
;
4107 #define wxTreeListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4108 static PyObject
*_wrap_wxTreeListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4110 wxPyTreeListCtrl
* _arg0
;
4111 wxTreeItemId
* _arg1
;
4113 PyObject
* _argo0
= 0;
4114 PyObject
* _argo1
= 0;
4116 PyObject
* _obj2
= 0;
4117 char *_kwnames
[] = { "self","item","col", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemTextColour. Expected _wxPyTreeListCtrl_p.");
4130 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
4137 if (! wxColour_helper(_obj2
, &_arg2
))
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxTreeListCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxTreeListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4152 static PyObject
*_wrap_wxTreeListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4154 wxPyTreeListCtrl
* _arg0
;
4155 wxTreeItemId
* _arg1
;
4157 PyObject
* _argo0
= 0;
4158 PyObject
* _argo1
= 0;
4160 PyObject
* _obj2
= 0;
4161 char *_kwnames
[] = { "self","item","col", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemBackgroundColour. Expected _wxPyTreeListCtrl_p.");
4174 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
4181 if (! wxColour_helper(_obj2
, &_arg2
))
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxTreeListCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4195 #define wxTreeListCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
4196 static PyObject
*_wrap_wxTreeListCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4198 wxPyTreeListCtrl
* _arg0
;
4199 wxTreeItemId
* _arg1
;
4201 PyObject
* _argo0
= 0;
4202 PyObject
* _argo1
= 0;
4203 PyObject
* _argo2
= 0;
4204 char *_kwnames
[] = { "self","item","font", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemFont. Expected _wxPyTreeListCtrl_p.");
4217 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemFont. Expected _wxTreeItemId_p.");
4223 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeListCtrl_SetItemFont. Expected _wxFont_p.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxTreeListCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 #define wxTreeListCtrl_GetItemBold(_swigobj,_swigarg0) (_swigobj->GetItemBold(_swigarg0))
4240 static PyObject
*_wrap_wxTreeListCtrl_GetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4243 wxPyTreeListCtrl
* _arg0
;
4244 wxTreeItemId
* _arg1
;
4245 PyObject
* _argo0
= 0;
4246 PyObject
* _argo1
= 0;
4247 char *_kwnames
[] = { "self","item", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemBold",_kwnames
,&_argo0
,&_argo1
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemBold. Expected _wxPyTreeListCtrl_p.");
4260 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemBold. Expected _wxTreeItemId_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 _result
= (bool )wxTreeListCtrl_GetItemBold(_arg0
,*_arg1
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } _resultobj
= Py_BuildValue("i",_result
);
4275 #define wxTreeListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4276 static PyObject
*_wrap_wxTreeListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 wxPyTreeListCtrl
* _arg0
;
4280 wxTreeItemId
* _arg1
;
4281 PyObject
* _argo0
= 0;
4282 PyObject
* _argo1
= 0;
4283 char *_kwnames
[] = { "self","item", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_argo1
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemTextColour. Expected _wxPyTreeListCtrl_p.");
4297 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 _result
= new wxColour (wxTreeListCtrl_GetItemTextColour(_arg0
,*_arg1
));
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4309 _resultobj
= Py_BuildValue("s",_ptemp
);
4313 #define wxTreeListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4314 static PyObject
*_wrap_wxTreeListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4317 wxPyTreeListCtrl
* _arg0
;
4318 wxTreeItemId
* _arg1
;
4319 PyObject
* _argo0
= 0;
4320 PyObject
* _argo1
= 0;
4321 char *_kwnames
[] = { "self","item", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemBackgroundColour. Expected _wxPyTreeListCtrl_p.");
4335 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 _result
= new wxColour (wxTreeListCtrl_GetItemBackgroundColour(_arg0
,*_arg1
));
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4347 _resultobj
= Py_BuildValue("s",_ptemp
);
4351 #define wxTreeListCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
4352 static PyObject
*_wrap_wxTreeListCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 wxPyTreeListCtrl
* _arg0
;
4356 wxTreeItemId
* _arg1
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _argo1
= 0;
4359 char *_kwnames
[] = { "self","item", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemFont",_kwnames
,&_argo0
,&_argo1
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemFont. Expected _wxPyTreeListCtrl_p.");
4373 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemFont. Expected _wxTreeItemId_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 _result
= new wxFont (wxTreeListCtrl_GetItemFont(_arg0
,*_arg1
));
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
4385 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 #define wxTreeListCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4390 static PyObject
*_wrap_wxTreeListCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 wxPyTreeListCtrl
* _arg0
;
4394 wxTreeItemId
* _arg1
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","item", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_IsVisible. Expected _wxPyTreeListCtrl_p.");
4410 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_IsVisible. Expected _wxTreeItemId_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (bool )wxTreeListCtrl_IsVisible(_arg0
,*_arg1
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } _resultobj
= Py_BuildValue("i",_result
);
4425 #define wxTreeListCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4426 static PyObject
*_wrap_wxTreeListCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4429 wxPyTreeListCtrl
* _arg0
;
4430 wxTreeItemId
* _arg1
;
4431 PyObject
* _argo0
= 0;
4432 PyObject
* _argo1
= 0;
4433 char *_kwnames
[] = { "self","item", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_ItemHasChildren. Expected _wxPyTreeListCtrl_p.");
4446 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 _result
= (bool )wxTreeListCtrl_ItemHasChildren(_arg0
,*_arg1
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) return NULL
;
4457 } _resultobj
= Py_BuildValue("i",_result
);
4461 #define wxTreeListCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4462 static PyObject
*_wrap_wxTreeListCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4465 wxPyTreeListCtrl
* _arg0
;
4466 wxTreeItemId
* _arg1
;
4467 PyObject
* _argo0
= 0;
4468 PyObject
* _argo1
= 0;
4469 char *_kwnames
[] = { "self","item", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_IsExpanded. Expected _wxPyTreeListCtrl_p.");
4482 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 _result
= (bool )wxTreeListCtrl_IsExpanded(_arg0
,*_arg1
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) return NULL
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4497 #define wxTreeListCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4498 static PyObject
*_wrap_wxTreeListCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4501 wxPyTreeListCtrl
* _arg0
;
4502 wxTreeItemId
* _arg1
;
4503 PyObject
* _argo0
= 0;
4504 PyObject
* _argo1
= 0;
4505 char *_kwnames
[] = { "self","item", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_IsSelected. Expected _wxPyTreeListCtrl_p.");
4518 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_IsSelected. Expected _wxTreeItemId_p.");
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 _result
= (bool )wxTreeListCtrl_IsSelected(_arg0
,*_arg1
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) return NULL
;
4529 } _resultobj
= Py_BuildValue("i",_result
);
4533 #define wxTreeListCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4534 static PyObject
*_wrap_wxTreeListCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4537 wxPyTreeListCtrl
* _arg0
;
4538 wxTreeItemId
* _arg1
;
4539 PyObject
* _argo0
= 0;
4540 PyObject
* _argo1
= 0;
4541 char *_kwnames
[] = { "self","item", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_IsBold. Expected _wxPyTreeListCtrl_p.");
4554 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_IsBold. Expected _wxTreeItemId_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 _result
= (bool )wxTreeListCtrl_IsBold(_arg0
,*_arg1
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } _resultobj
= Py_BuildValue("i",_result
);
4569 #define wxTreeListCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4570 static PyObject
*_wrap_wxTreeListCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
* _resultobj
;
4573 wxPyTreeListCtrl
* _arg0
;
4574 wxTreeItemId
* _arg1
;
4575 bool _arg2
= (bool ) TRUE
;
4576 PyObject
* _argo0
= 0;
4577 PyObject
* _argo1
= 0;
4578 int tempbool2
= (int) TRUE
;
4579 char *_kwnames
[] = { "self","item","recursively", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeListCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetChildrenCount. Expected _wxPyTreeListCtrl_p.");
4592 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4597 _arg2
= (bool ) tempbool2
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 _result
= (size_t )wxTreeListCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4604 } _resultobj
= Py_BuildValue("i",_result
);
4608 #define wxTreeListCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4609 static PyObject
*_wrap_wxTreeListCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 wxTreeItemId
* _result
;
4612 wxPyTreeListCtrl
* _arg0
;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetRootItem",_kwnames
,&_argo0
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetRootItem. Expected _wxPyTreeListCtrl_p.");
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 _result
= new wxTreeItemId (wxTreeListCtrl_GetRootItem(_arg0
));
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4634 _resultobj
= Py_BuildValue("s",_ptemp
);
4638 #define wxTreeListCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4639 static PyObject
*_wrap_wxTreeListCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4641 wxTreeItemId
* _result
;
4642 wxPyTreeListCtrl
* _arg0
;
4643 PyObject
* _argo0
= 0;
4644 char *_kwnames
[] = { "self", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetSelection",_kwnames
,&_argo0
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetSelection. Expected _wxPyTreeListCtrl_p.");
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 _result
= new wxTreeItemId (wxTreeListCtrl_GetSelection(_arg0
));
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4664 _resultobj
= Py_BuildValue("s",_ptemp
);
4668 static PyObject
* wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl
*self
) {
4669 wxPyBeginBlockThreads();
4670 PyObject
* rval
= PyList_New(0);
4671 wxArrayTreeItemIds array
;
4673 num
= self
->GetSelections(array
);
4674 for (x
=0; x
< num
; x
++) {
4675 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
4676 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), TRUE
);
4677 PyList_Append(rval
, item
);
4679 wxPyEndBlockThreads();
4682 static PyObject
*_wrap_wxTreeListCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4685 wxPyTreeListCtrl
* _arg0
;
4686 PyObject
* _argo0
= 0;
4687 char *_kwnames
[] = { "self", NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetSelections",_kwnames
,&_argo0
))
4693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetSelections. Expected _wxPyTreeListCtrl_p.");
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 _result
= (PyObject
*)wxPyTreeListCtrl_GetSelections(_arg0
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) return NULL
;
4706 _resultobj
= _result
;
4711 #define wxTreeListCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4712 static PyObject
*_wrap_wxTreeListCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxTreeItemId
* _result
;
4715 wxPyTreeListCtrl
* _arg0
;
4716 wxTreeItemId
* _arg1
;
4717 PyObject
* _argo0
= 0;
4718 PyObject
* _argo1
= 0;
4719 char *_kwnames
[] = { "self","item", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemParent. Expected _wxPyTreeListCtrl_p.");
4733 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemParent. Expected _wxTreeItemId_p.");
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 _result
= new wxTreeItemId (wxTreeListCtrl_GetItemParent(_arg0
,*_arg1
));
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4744 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4745 _resultobj
= Py_BuildValue("s",_ptemp
);
4749 #define wxTreeListCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4750 static PyObject
*_wrap_wxTreeListCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4752 wxTreeItemId
* _result
;
4753 wxPyTreeListCtrl
* _arg0
;
4754 wxTreeItemId
* _arg1
;
4755 long * _arg2
= (long *) &longzero
;
4756 PyObject
* _argo0
= 0;
4757 PyObject
* _argo1
= 0;
4759 PyObject
* _obj2
= 0;
4760 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeListCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetFirstChild. Expected _wxPyTreeListCtrl_p.");
4774 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4781 temp
= (long) PyInt_AsLong(_obj2
);
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 _result
= new wxTreeItemId (wxTreeListCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) return NULL
;
4790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4794 o
= PyInt_FromLong((long) (*_arg2
));
4795 _resultobj
= t_output_helper(_resultobj
, o
);
4800 #define wxTreeListCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4801 static PyObject
*_wrap_wxTreeListCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4803 wxTreeItemId
* _result
;
4804 wxPyTreeListCtrl
* _arg0
;
4805 wxTreeItemId
* _arg1
;
4807 PyObject
* _argo0
= 0;
4808 PyObject
* _argo1
= 0;
4810 PyObject
* _obj2
= 0;
4811 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeListCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetNextChild. Expected _wxPyTreeListCtrl_p.");
4825 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4831 temp
= (long) PyInt_AsLong(_obj2
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 _result
= new wxTreeItemId (wxTreeListCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4841 _resultobj
= Py_BuildValue("s",_ptemp
);
4844 o
= PyInt_FromLong((long) (*_arg2
));
4845 _resultobj
= t_output_helper(_resultobj
, o
);
4850 #define wxTreeListCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4851 static PyObject
*_wrap_wxTreeListCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 wxTreeItemId
* _result
;
4854 wxPyTreeListCtrl
* _arg0
;
4855 wxTreeItemId
* _arg1
;
4856 PyObject
* _argo0
= 0;
4857 PyObject
* _argo1
= 0;
4858 char *_kwnames
[] = { "self","item", NULL
};
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetLastChild. Expected _wxPyTreeListCtrl_p.");
4872 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 _result
= new wxTreeItemId (wxTreeListCtrl_GetLastChild(_arg0
,*_arg1
));
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) return NULL
;
4883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4884 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 #define wxTreeListCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4889 static PyObject
*_wrap_wxTreeListCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4891 wxTreeItemId
* _result
;
4892 wxPyTreeListCtrl
* _arg0
;
4893 wxTreeItemId
* _arg1
;
4894 PyObject
* _argo0
= 0;
4895 PyObject
* _argo1
= 0;
4896 char *_kwnames
[] = { "self","item", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetNextSibling. Expected _wxPyTreeListCtrl_p.");
4910 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 _result
= new wxTreeItemId (wxTreeListCtrl_GetNextSibling(_arg0
,*_arg1
));
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) return NULL
;
4921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4922 _resultobj
= Py_BuildValue("s",_ptemp
);
4926 #define wxTreeListCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4927 static PyObject
*_wrap_wxTreeListCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxTreeItemId
* _result
;
4930 wxPyTreeListCtrl
* _arg0
;
4931 wxTreeItemId
* _arg1
;
4932 PyObject
* _argo0
= 0;
4933 PyObject
* _argo1
= 0;
4934 char *_kwnames
[] = { "self","item", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetPrevSibling. Expected _wxPyTreeListCtrl_p.");
4948 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 _result
= new wxTreeItemId (wxTreeListCtrl_GetPrevSibling(_arg0
,*_arg1
));
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) return NULL
;
4959 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4960 _resultobj
= Py_BuildValue("s",_ptemp
);
4964 #define wxTreeListCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4965 static PyObject
*_wrap_wxTreeListCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4967 wxTreeItemId
* _result
;
4968 wxPyTreeListCtrl
* _arg0
;
4969 PyObject
* _argo0
= 0;
4970 char *_kwnames
[] = { "self", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetFirstVisibleItem. Expected _wxPyTreeListCtrl_p.");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 _result
= new wxTreeItemId (wxTreeListCtrl_GetFirstVisibleItem(_arg0
));
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4990 _resultobj
= Py_BuildValue("s",_ptemp
);
4994 #define wxTreeListCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4995 static PyObject
*_wrap_wxTreeListCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4997 wxTreeItemId
* _result
;
4998 wxPyTreeListCtrl
* _arg0
;
4999 wxTreeItemId
* _arg1
;
5000 PyObject
* _argo0
= 0;
5001 PyObject
* _argo1
= 0;
5002 char *_kwnames
[] = { "self","item", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetNextVisible. Expected _wxPyTreeListCtrl_p.");
5016 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 _result
= new wxTreeItemId (wxTreeListCtrl_GetNextVisible(_arg0
,*_arg1
));
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5028 _resultobj
= Py_BuildValue("s",_ptemp
);
5032 #define wxTreeListCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
5033 static PyObject
*_wrap_wxTreeListCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5035 wxTreeItemId
* _result
;
5036 wxPyTreeListCtrl
* _arg0
;
5037 wxTreeItemId
* _arg1
;
5038 PyObject
* _argo0
= 0;
5039 PyObject
* _argo1
= 0;
5040 char *_kwnames
[] = { "self","item", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetPrevVisible. Expected _wxPyTreeListCtrl_p.");
5054 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 _result
= new wxTreeItemId (wxTreeListCtrl_GetPrevVisible(_arg0
,*_arg1
));
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5066 _resultobj
= Py_BuildValue("s",_ptemp
);
5070 #define wxTreeListCtrl_GetNext(_swigobj,_swigarg0) (_swigobj->GetNext(_swigarg0))
5071 static PyObject
*_wrap_wxTreeListCtrl_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5073 wxTreeItemId
* _result
;
5074 wxPyTreeListCtrl
* _arg0
;
5075 wxTreeItemId
* _arg1
;
5076 PyObject
* _argo0
= 0;
5077 PyObject
* _argo1
= 0;
5078 char *_kwnames
[] = { "self","item", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetNext",_kwnames
,&_argo0
,&_argo1
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetNext. Expected _wxPyTreeListCtrl_p.");
5092 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetNext. Expected _wxTreeItemId_p.");
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= new wxTreeItemId (wxTreeListCtrl_GetNext(_arg0
,*_arg1
));
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5104 _resultobj
= Py_BuildValue("s",_ptemp
);
5108 #define wxTreeListCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5109 static PyObject
*_wrap_wxTreeListCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5111 wxTreeItemId
* _result
;
5112 wxPyTreeListCtrl
* _arg0
;
5114 int _arg2
= (int ) -1;
5115 int _arg3
= (int ) -1;
5116 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
5117 PyObject
* _argo0
= 0;
5118 PyObject
* _obj1
= 0;
5119 PyObject
* _argo4
= 0;
5120 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeListCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AddRoot. Expected _wxPyTreeListCtrl_p.");
5134 _arg1
= wxString_in_helper(_obj1
);
5139 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeListCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 _result
= new wxTreeItemId (wxTreeListCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) return NULL
;
5151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5152 _resultobj
= Py_BuildValue("s",_ptemp
);
5160 #define wxTreeListCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5161 static PyObject
*_wrap_wxTreeListCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5163 wxTreeItemId
* _result
;
5164 wxPyTreeListCtrl
* _arg0
;
5165 wxTreeItemId
* _arg1
;
5167 int _arg3
= (int ) -1;
5168 int _arg4
= (int ) -1;
5169 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5170 PyObject
* _argo0
= 0;
5171 PyObject
* _argo1
= 0;
5172 PyObject
* _obj2
= 0;
5173 PyObject
* _argo5
= 0;
5174 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeListCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_PrependItem. Expected _wxPyTreeListCtrl_p.");
5188 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_PrependItem. Expected _wxTreeItemId_p.");
5194 _arg2
= wxString_in_helper(_obj2
);
5199 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeListCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 _result
= new wxTreeItemId (wxTreeListCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5211 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5212 _resultobj
= Py_BuildValue("s",_ptemp
);
5220 #define wxTreeListCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5221 static PyObject
*_wrap_wxTreeListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxTreeItemId
* _result
;
5224 wxPyTreeListCtrl
* _arg0
;
5225 wxTreeItemId
* _arg1
;
5226 wxTreeItemId
* _arg2
;
5228 int _arg4
= (int ) -1;
5229 int _arg5
= (int ) -1;
5230 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
5231 PyObject
* _argo0
= 0;
5232 PyObject
* _argo1
= 0;
5233 PyObject
* _argo2
= 0;
5234 PyObject
* _obj3
= 0;
5235 PyObject
* _argo6
= 0;
5236 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_InsertItem. Expected _wxPyTreeListCtrl_p.");
5250 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_InsertItem. Expected _wxTreeItemId_p.");
5256 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeListCtrl_InsertItem. Expected _wxTreeItemId_p.");
5262 _arg3
= wxString_in_helper(_obj3
);
5267 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeListCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= new wxTreeItemId (wxTreeListCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5280 _resultobj
= Py_BuildValue("s",_ptemp
);
5288 #define wxTreeListCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5289 static PyObject
*_wrap_wxTreeListCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
* _resultobj
;
5291 wxTreeItemId
* _result
;
5292 wxPyTreeListCtrl
* _arg0
;
5293 wxTreeItemId
* _arg1
;
5296 int _arg4
= (int ) -1;
5297 int _arg5
= (int ) -1;
5298 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
5299 PyObject
* _argo0
= 0;
5300 PyObject
* _argo1
= 0;
5301 PyObject
* _obj3
= 0;
5302 PyObject
* _argo6
= 0;
5303 char *_kwnames
[] = { "self","parent","index","text","image","selectedImage","data", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeListCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_InsertItemBefore. Expected _wxPyTreeListCtrl_p.");
5317 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
5323 _arg3
= wxString_in_helper(_obj3
);
5328 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeListCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= new wxTreeItemId (wxTreeListCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5341 _resultobj
= Py_BuildValue("s",_ptemp
);
5349 #define wxTreeListCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5350 static PyObject
*_wrap_wxTreeListCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5352 wxTreeItemId
* _result
;
5353 wxPyTreeListCtrl
* _arg0
;
5354 wxTreeItemId
* _arg1
;
5356 int _arg3
= (int ) -1;
5357 int _arg4
= (int ) -1;
5358 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5359 PyObject
* _argo0
= 0;
5360 PyObject
* _argo1
= 0;
5361 PyObject
* _obj2
= 0;
5362 PyObject
* _argo5
= 0;
5363 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeListCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_AppendItem. Expected _wxPyTreeListCtrl_p.");
5377 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_AppendItem. Expected _wxTreeItemId_p.");
5383 _arg2
= wxString_in_helper(_obj2
);
5388 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeListCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 _result
= new wxTreeItemId (wxTreeListCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) return NULL
;
5400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5401 _resultobj
= Py_BuildValue("s",_ptemp
);
5409 #define wxTreeListCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5410 static PyObject
*_wrap_wxTreeListCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5412 wxPyTreeListCtrl
* _arg0
;
5413 wxTreeItemId
* _arg1
;
5414 PyObject
* _argo0
= 0;
5415 PyObject
* _argo1
= 0;
5416 char *_kwnames
[] = { "self","item", NULL
};
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Delete. Expected _wxPyTreeListCtrl_p.");
5429 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Delete. Expected _wxTreeItemId_p.");
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 wxTreeListCtrl_Delete(_arg0
,*_arg1
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) return NULL
;
5440 } Py_INCREF(Py_None
);
5441 _resultobj
= Py_None
;
5445 #define wxTreeListCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5446 static PyObject
*_wrap_wxTreeListCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
* _resultobj
;
5448 wxPyTreeListCtrl
* _arg0
;
5449 wxTreeItemId
* _arg1
;
5450 PyObject
* _argo0
= 0;
5451 PyObject
* _argo1
= 0;
5452 char *_kwnames
[] = { "self","item", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_DeleteChildren. Expected _wxPyTreeListCtrl_p.");
5465 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 wxTreeListCtrl_DeleteChildren(_arg0
,*_arg1
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5481 #define wxTreeListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5482 static PyObject
*_wrap_wxTreeListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5484 wxPyTreeListCtrl
* _arg0
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_DeleteAllItems. Expected _wxPyTreeListCtrl_p.");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 wxTreeListCtrl_DeleteAllItems(_arg0
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5504 } Py_INCREF(Py_None
);
5505 _resultobj
= Py_None
;
5509 #define wxTreeListCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5510 static PyObject
*_wrap_wxTreeListCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5512 wxPyTreeListCtrl
* _arg0
;
5513 wxTreeItemId
* _arg1
;
5514 PyObject
* _argo0
= 0;
5515 PyObject
* _argo1
= 0;
5516 char *_kwnames
[] = { "self","item", NULL
};
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Expand. Expected _wxPyTreeListCtrl_p.");
5529 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Expand. Expected _wxTreeItemId_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 wxTreeListCtrl_Expand(_arg0
,*_arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxTreeListCtrl_ExpandAll(_swigobj,_swigarg0) (_swigobj->ExpandAll(_swigarg0))
5546 static PyObject
*_wrap_wxTreeListCtrl_ExpandAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5548 wxPyTreeListCtrl
* _arg0
;
5549 wxTreeItemId
* _arg1
;
5550 PyObject
* _argo0
= 0;
5551 PyObject
* _argo1
= 0;
5552 char *_kwnames
[] = { "self","item", NULL
};
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_ExpandAll",_kwnames
,&_argo0
,&_argo1
))
5558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_ExpandAll. Expected _wxPyTreeListCtrl_p.");
5565 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_ExpandAll. Expected _wxTreeItemId_p.");
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxTreeListCtrl_ExpandAll(_arg0
,*_arg1
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5576 } Py_INCREF(Py_None
);
5577 _resultobj
= Py_None
;
5581 #define wxTreeListCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5582 static PyObject
*_wrap_wxTreeListCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxPyTreeListCtrl
* _arg0
;
5585 wxTreeItemId
* _arg1
;
5586 PyObject
* _argo0
= 0;
5587 PyObject
* _argo1
= 0;
5588 char *_kwnames
[] = { "self","item", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Collapse. Expected _wxPyTreeListCtrl_p.");
5601 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Collapse. Expected _wxTreeItemId_p.");
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxTreeListCtrl_Collapse(_arg0
,*_arg1
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) return NULL
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5617 #define wxTreeListCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5618 static PyObject
*_wrap_wxTreeListCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxPyTreeListCtrl
* _arg0
;
5621 wxTreeItemId
* _arg1
;
5622 PyObject
* _argo0
= 0;
5623 PyObject
* _argo1
= 0;
5624 char *_kwnames
[] = { "self","item", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_CollapseAndReset. Expected _wxPyTreeListCtrl_p.");
5637 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 wxTreeListCtrl_CollapseAndReset(_arg0
,*_arg1
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) return NULL
;
5648 } Py_INCREF(Py_None
);
5649 _resultobj
= Py_None
;
5653 #define wxTreeListCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5654 static PyObject
*_wrap_wxTreeListCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5656 wxPyTreeListCtrl
* _arg0
;
5657 wxTreeItemId
* _arg1
;
5658 PyObject
* _argo0
= 0;
5659 PyObject
* _argo1
= 0;
5660 char *_kwnames
[] = { "self","item", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Toggle. Expected _wxPyTreeListCtrl_p.");
5673 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Toggle. Expected _wxTreeItemId_p.");
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 wxTreeListCtrl_Toggle(_arg0
,*_arg1
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) return NULL
;
5684 } Py_INCREF(Py_None
);
5685 _resultobj
= Py_None
;
5689 #define wxTreeListCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5690 static PyObject
*_wrap_wxTreeListCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5692 wxPyTreeListCtrl
* _arg0
;
5693 PyObject
* _argo0
= 0;
5694 char *_kwnames
[] = { "self", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_Unselect",_kwnames
,&_argo0
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Unselect. Expected _wxPyTreeListCtrl_p.");
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 wxTreeListCtrl_Unselect(_arg0
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) return NULL
;
5712 } Py_INCREF(Py_None
);
5713 _resultobj
= Py_None
;
5717 #define wxTreeListCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5718 static PyObject
*_wrap_wxTreeListCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5720 wxPyTreeListCtrl
* _arg0
;
5721 PyObject
* _argo0
= 0;
5722 char *_kwnames
[] = { "self", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_UnselectAll",_kwnames
,&_argo0
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_UnselectAll. Expected _wxPyTreeListCtrl_p.");
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 wxTreeListCtrl_UnselectAll(_arg0
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) return NULL
;
5740 } Py_INCREF(Py_None
);
5741 _resultobj
= Py_None
;
5745 #define wxTreeListCtrl_SelectItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SelectItem(_swigarg0,_swigarg1,_swigarg2))
5746 static PyObject
*_wrap_wxTreeListCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5748 wxPyTreeListCtrl
* _arg0
;
5749 wxTreeItemId
* _arg1
;
5750 bool _arg2
= (bool ) TRUE
;
5751 bool _arg3
= (bool ) FALSE
;
5752 PyObject
* _argo0
= 0;
5753 PyObject
* _argo1
= 0;
5754 int tempbool2
= (int) TRUE
;
5755 int tempbool3
= (int) FALSE
;
5756 char *_kwnames
[] = { "self","item","unselect_others","extended_select", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxTreeListCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&tempbool3
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SelectItem. Expected _wxPyTreeListCtrl_p.");
5769 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SelectItem. Expected _wxTreeItemId_p.");
5774 _arg2
= (bool ) tempbool2
;
5775 _arg3
= (bool ) tempbool3
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 wxTreeListCtrl_SelectItem(_arg0
,*_arg1
,_arg2
,_arg3
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } Py_INCREF(Py_None
);
5783 _resultobj
= Py_None
;
5787 #define wxTreeListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5788 static PyObject
*_wrap_wxTreeListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxPyTreeListCtrl
* _arg0
;
5791 wxTreeItemId
* _arg1
;
5792 PyObject
* _argo0
= 0;
5793 PyObject
* _argo1
= 0;
5794 char *_kwnames
[] = { "self","item", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_EnsureVisible. Expected _wxPyTreeListCtrl_p.");
5807 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxTreeListCtrl_EnsureVisible(_arg0
,*_arg1
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } Py_INCREF(Py_None
);
5819 _resultobj
= Py_None
;
5823 #define wxTreeListCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5824 static PyObject
*_wrap_wxTreeListCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5826 wxPyTreeListCtrl
* _arg0
;
5827 wxTreeItemId
* _arg1
;
5828 PyObject
* _argo0
= 0;
5829 PyObject
* _argo1
= 0;
5830 char *_kwnames
[] = { "self","item", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_ScrollTo. Expected _wxPyTreeListCtrl_p.");
5843 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 wxTreeListCtrl_ScrollTo(_arg0
,*_arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5854 } Py_INCREF(Py_None
);
5855 _resultobj
= Py_None
;
5859 #define wxTreeListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
5860 static PyObject
*_wrap_wxTreeListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5862 wxTreeItemId
* _result
;
5863 wxPyTreeListCtrl
* _arg0
;
5869 PyObject
* _argo0
= 0;
5871 PyObject
* _obj1
= 0;
5872 char *_kwnames
[] = { "self","point", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_HitTest. Expected _wxPyTreeListCtrl_p.");
5893 if (! wxPoint_helper(_obj1
, &_arg1
))
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 _result
= new wxTreeItemId (wxTreeListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
,*_arg3
));
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) return NULL
;
5902 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5903 _resultobj
= Py_BuildValue("s",_ptemp
);
5906 o
= PyInt_FromLong((long) (*_arg2
));
5907 _resultobj
= t_output_helper(_resultobj
, o
);
5911 o
= PyInt_FromLong((long) (*_arg3
));
5912 _resultobj
= t_output_helper(_resultobj
, o
);
5917 static PyObject
* wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl
*self
,const wxTreeItemId
& item
,bool textOnly
) {
5919 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
5920 wxPyBeginBlockThreads();
5921 wxRect
* r
= new wxRect(rect
);
5922 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
5923 wxPyEndBlockThreads();
5931 static PyObject
*_wrap_wxTreeListCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5934 wxPyTreeListCtrl
* _arg0
;
5935 wxTreeItemId
* _arg1
;
5936 bool _arg2
= (bool ) FALSE
;
5937 PyObject
* _argo0
= 0;
5938 PyObject
* _argo1
= 0;
5939 int tempbool2
= (int) FALSE
;
5940 char *_kwnames
[] = { "self","item","textOnly", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeListCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetBoundingRect. Expected _wxPyTreeListCtrl_p.");
5953 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
5958 _arg2
= (bool ) tempbool2
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 _result
= (PyObject
*)wxPyTreeListCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) return NULL
;
5966 _resultobj
= _result
;
5971 #define wxTreeListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5972 static PyObject
*_wrap_wxTreeListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5974 wxPyTreeListCtrl
* _arg0
;
5975 wxTreeItemId
* _arg1
;
5976 PyObject
* _argo0
= 0;
5977 PyObject
* _argo1
= 0;
5978 char *_kwnames
[] = { "self","item", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_EditLabel. Expected _wxPyTreeListCtrl_p.");
5991 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_EditLabel. Expected _wxTreeItemId_p.");
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxTreeListCtrl_EditLabel(_arg0
,*_arg1
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } Py_INCREF(Py_None
);
6003 _resultobj
= Py_None
;
6007 #define wxTreeListCtrl_Edit(_swigobj,_swigarg0) (_swigobj->Edit(_swigarg0))
6008 static PyObject
*_wrap_wxTreeListCtrl_Edit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6010 wxPyTreeListCtrl
* _arg0
;
6011 wxTreeItemId
* _arg1
;
6012 PyObject
* _argo0
= 0;
6013 PyObject
* _argo1
= 0;
6014 char *_kwnames
[] = { "self","item", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_Edit",_kwnames
,&_argo0
,&_argo1
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_Edit. Expected _wxPyTreeListCtrl_p.");
6027 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_Edit. Expected _wxTreeItemId_p.");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxTreeListCtrl_Edit(_arg0
,*_arg1
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) return NULL
;
6038 } Py_INCREF(Py_None
);
6039 _resultobj
= Py_None
;
6043 #define wxTreeListCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
6044 static PyObject
*_wrap_wxTreeListCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6046 wxPyTreeListCtrl
* _arg0
;
6047 wxTreeItemId
* _arg1
;
6048 PyObject
* _argo0
= 0;
6049 PyObject
* _argo1
= 0;
6050 char *_kwnames
[] = { "self","item", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SortChildren. Expected _wxPyTreeListCtrl_p.");
6063 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SortChildren. Expected _wxTreeItemId_p.");
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 wxTreeListCtrl_SortChildren(_arg0
,*_arg1
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) return NULL
;
6074 } Py_INCREF(Py_None
);
6075 _resultobj
= Py_None
;
6079 #define wxTreeListCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6080 static PyObject
*_wrap_wxTreeListCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6083 wxPyTreeListCtrl
* _arg0
;
6084 wxTreeItemId
* _arg1
;
6085 PyObject
* _argo0
= 0;
6086 PyObject
* _argo1
= 0;
6087 char *_kwnames
[] = { "self","item", NULL
};
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeListCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetItemSelectedImage. Expected _wxPyTreeListCtrl_p.");
6100 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 _result
= (int )wxTreeListCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) return NULL
;
6111 } _resultobj
= Py_BuildValue("i",_result
);
6115 #define wxTreeListCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
6116 static PyObject
*_wrap_wxTreeListCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6118 wxPyTreeListCtrl
* _arg0
;
6119 wxTreeItemId
* _arg1
;
6121 PyObject
* _argo0
= 0;
6122 PyObject
* _argo1
= 0;
6123 char *_kwnames
[] = { "self","item","image", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeListCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_SetItemSelectedImage. Expected _wxPyTreeListCtrl_p.");
6136 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeListCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 wxTreeListCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 } Py_INCREF(Py_None
);
6148 _resultobj
= Py_None
;
6152 #define wxTreeListCtrl_GetHeaderWindow(_swigobj) (_swigobj->GetHeaderWindow())
6153 static PyObject
*_wrap_wxTreeListCtrl_GetHeaderWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6156 wxPyTreeListCtrl
* _arg0
;
6157 PyObject
* _argo0
= 0;
6158 char *_kwnames
[] = { "self", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetHeaderWindow",_kwnames
,&_argo0
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetHeaderWindow. Expected _wxPyTreeListCtrl_p.");
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 _result
= (wxWindow
*)wxTreeListCtrl_GetHeaderWindow(_arg0
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) return NULL
;
6176 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6180 #define wxTreeListCtrl_GetMainWindow(_swigobj) (_swigobj->GetMainWindow())
6181 static PyObject
*_wrap_wxTreeListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6184 wxPyTreeListCtrl
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeListCtrl_GetMainWindow",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeListCtrl_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeListCtrl_GetMainWindow. Expected _wxPyTreeListCtrl_p.");
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 _result
= (wxWindow
*)wxTreeListCtrl_GetMainWindow(_arg0
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6208 static PyMethodDef gizmoscMethods
[] = {
6209 { "wxTreeListCtrl_GetMainWindow", (PyCFunction
) _wrap_wxTreeListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxTreeListCtrl_GetHeaderWindow", (PyCFunction
) _wrap_wxTreeListCtrl_GetHeaderWindow
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxTreeListCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxTreeListCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxTreeListCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeListCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxTreeListCtrl_Edit", (PyCFunction
) _wrap_wxTreeListCtrl_Edit
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxTreeListCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxTreeListCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeListCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxTreeListCtrl_HitTest", (PyCFunction
) _wrap_wxTreeListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxTreeListCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeListCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxTreeListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxTreeListCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeListCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxTreeListCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeListCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxTreeListCtrl_Unselect", (PyCFunction
) _wrap_wxTreeListCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxTreeListCtrl_Toggle", (PyCFunction
) _wrap_wxTreeListCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxTreeListCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeListCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxTreeListCtrl_Collapse", (PyCFunction
) _wrap_wxTreeListCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxTreeListCtrl_ExpandAll", (PyCFunction
) _wrap_wxTreeListCtrl_ExpandAll
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxTreeListCtrl_Expand", (PyCFunction
) _wrap_wxTreeListCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxTreeListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxTreeListCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeListCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxTreeListCtrl_Delete", (PyCFunction
) _wrap_wxTreeListCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxTreeListCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeListCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxTreeListCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeListCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxTreeListCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxTreeListCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeListCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxTreeListCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeListCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxTreeListCtrl_GetNext", (PyCFunction
) _wrap_wxTreeListCtrl_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxTreeListCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeListCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxTreeListCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeListCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxTreeListCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeListCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxTreeListCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeListCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxTreeListCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeListCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxTreeListCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeListCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxTreeListCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeListCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxTreeListCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeListCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxTreeListCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxTreeListCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeListCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxTreeListCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeListCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxTreeListCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeListCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxTreeListCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeListCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxTreeListCtrl_IsBold", (PyCFunction
) _wrap_wxTreeListCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxTreeListCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeListCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxTreeListCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeListCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxTreeListCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeListCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxTreeListCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeListCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxTreeListCtrl_GetItemFont", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxTreeListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxTreeListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxTreeListCtrl_GetItemBold", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxTreeListCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxTreeListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxTreeListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxTreeListCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "wxTreeListCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxTreeListCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeListCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxTreeListCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeListCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxTreeListCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxTreeListCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxTreeListCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxTreeListCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxTreeListCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxTreeListCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxTreeListCtrl_GetColumnImage", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxTreeListCtrl_SetColumnImage", (PyCFunction
) _wrap_wxTreeListCtrl_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxTreeListCtrl_GetColumnAlignment", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxTreeListCtrl_SetColumnAlignment", (PyCFunction
) _wrap_wxTreeListCtrl_SetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxTreeListCtrl_GetColumn", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxTreeListCtrl_SetColumn", (PyCFunction
) _wrap_wxTreeListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxTreeListCtrl_GetColumnText", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumnText
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxTreeListCtrl_SetColumnText", (PyCFunction
) _wrap_wxTreeListCtrl_SetColumnText
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxTreeListCtrl_GetMainColumn", (PyCFunction
) _wrap_wxTreeListCtrl_GetMainColumn
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxTreeListCtrl_SetMainColumn", (PyCFunction
) _wrap_wxTreeListCtrl_SetMainColumn
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxTreeListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxTreeListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxTreeListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxTreeListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxTreeListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxTreeListCtrl_RemoveColumn", (PyCFunction
) _wrap_wxTreeListCtrl_RemoveColumn
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxTreeListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxTreeListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxTreeListCtrl_InsertColumn", (PyCFunction
) _wrap_wxTreeListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxTreeListCtrl_AddColumnInfo", (PyCFunction
) _wrap_wxTreeListCtrl_AddColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxTreeListCtrl_AddColumn", (PyCFunction
) _wrap_wxTreeListCtrl_AddColumn
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxTreeListCtrl_AssignButtonsImageList", (PyCFunction
) _wrap_wxTreeListCtrl_AssignButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxTreeListCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeListCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxTreeListCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxTreeListCtrl_SetButtonsImageList", (PyCFunction
) _wrap_wxTreeListCtrl_SetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxTreeListCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeListCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxTreeListCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxTreeListCtrl_GetButtonsImageList", (PyCFunction
) _wrap_wxTreeListCtrl_GetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxTreeListCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeListCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxTreeListCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxTreeListCtrl_SetLineSpacing", (PyCFunction
) _wrap_wxTreeListCtrl_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxTreeListCtrl_GetLineSpacing", (PyCFunction
) _wrap_wxTreeListCtrl_GetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxTreeListCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeListCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxTreeListCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeListCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxTreeListCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeListCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxTreeListCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeListCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxTreeListCtrl_GetCount", (PyCFunction
) _wrap_wxTreeListCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxTreeListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxTreeListCtrl_Create", (PyCFunction
) _wrap_wxTreeListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "new_wxPreTreeListCtrl", (PyCFunction
) _wrap_new_wxPreTreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "new_wxTreeListCtrl", (PyCFunction
) _wrap_new_wxTreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxTreeListColumnInfo_SetWidth", (PyCFunction
) _wrap_wxTreeListColumnInfo_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxTreeListColumnInfo_SetSelectedImage", (PyCFunction
) _wrap_wxTreeListColumnInfo_SetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxTreeListColumnInfo_SetImage", (PyCFunction
) _wrap_wxTreeListColumnInfo_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "wxTreeListColumnInfo_SetText", (PyCFunction
) _wrap_wxTreeListColumnInfo_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxTreeListColumnInfo_SetAlignment", (PyCFunction
) _wrap_wxTreeListColumnInfo_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxTreeListColumnInfo_GetWidth", (PyCFunction
) _wrap_wxTreeListColumnInfo_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxTreeListColumnInfo_GetSelectedImage", (PyCFunction
) _wrap_wxTreeListColumnInfo_GetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxTreeListColumnInfo_GetImage", (PyCFunction
) _wrap_wxTreeListColumnInfo_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxTreeListColumnInfo_GetText", (PyCFunction
) _wrap_wxTreeListColumnInfo_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxTreeListColumnInfo_GetAlignment", (PyCFunction
) _wrap_wxTreeListColumnInfo_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "new_wxTreeListColumnInfo", (PyCFunction
) _wrap_new_wxTreeListColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxEditableListBox_GetEditButton", (PyCFunction
) _wrap_wxEditableListBox_GetEditButton
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "wxEditableListBox_GetDownButton", (PyCFunction
) _wrap_wxEditableListBox_GetDownButton
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxEditableListBox_GetUpButton", (PyCFunction
) _wrap_wxEditableListBox_GetUpButton
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxEditableListBox_GetNewButton", (PyCFunction
) _wrap_wxEditableListBox_GetNewButton
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxEditableListBox_GetDelButton", (PyCFunction
) _wrap_wxEditableListBox_GetDelButton
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "wxEditableListBox_GetListCtrl", (PyCFunction
) _wrap_wxEditableListBox_GetListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
6365 * This table is used by the pointer type-checker
6367 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6368 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
6369 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
6370 { "_signed_long","_long",0},
6371 { "_wxPrintQuality","_wxCoord",0},
6372 { "_wxPrintQuality","_int",0},
6373 { "_wxPrintQuality","_signed_int",0},
6374 { "_wxPrintQuality","_unsigned_int",0},
6375 { "_wxPrintQuality","_wxWindowID",0},
6376 { "_wxPrintQuality","_uint",0},
6377 { "_wxPrintQuality","_EBool",0},
6378 { "_wxPrintQuality","_size_t",0},
6379 { "_wxPrintQuality","_time_t",0},
6380 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
6381 { "_byte","_unsigned_char",0},
6382 { "_long","_unsigned_long",0},
6383 { "_long","_signed_long",0},
6384 { "_size_t","_wxCoord",0},
6385 { "_size_t","_wxPrintQuality",0},
6386 { "_size_t","_time_t",0},
6387 { "_size_t","_unsigned_int",0},
6388 { "_size_t","_int",0},
6389 { "_size_t","_wxWindowID",0},
6390 { "_size_t","_uint",0},
6391 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
6392 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
6393 { "_uint","_wxCoord",0},
6394 { "_uint","_wxPrintQuality",0},
6395 { "_uint","_time_t",0},
6396 { "_uint","_size_t",0},
6397 { "_uint","_unsigned_int",0},
6398 { "_uint","_int",0},
6399 { "_uint","_wxWindowID",0},
6400 { "_wxChar","_char",0},
6401 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
6402 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
6403 { "_char","_wxChar",0},
6404 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6405 { "_EBool","_wxCoord",0},
6406 { "_EBool","_wxPrintQuality",0},
6407 { "_EBool","_signed_int",0},
6408 { "_EBool","_int",0},
6409 { "_EBool","_wxWindowID",0},
6410 { "_unsigned_long","_long",0},
6411 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6412 { "_signed_int","_wxCoord",0},
6413 { "_signed_int","_wxPrintQuality",0},
6414 { "_signed_int","_EBool",0},
6415 { "_signed_int","_wxWindowID",0},
6416 { "_signed_int","_int",0},
6417 { "_WXTYPE","_wxDateTime_t",0},
6418 { "_WXTYPE","_short",0},
6419 { "_WXTYPE","_signed_short",0},
6420 { "_WXTYPE","_unsigned_short",0},
6421 { "_unsigned_short","_wxDateTime_t",0},
6422 { "_unsigned_short","_WXTYPE",0},
6423 { "_unsigned_short","_short",0},
6424 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
6425 { "_wxObject","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxObject
},
6426 { "_wxObject","_wxTreeListColumnInfo",SwigwxTreeListColumnInfoTowxObject
},
6427 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
6428 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
6429 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
6430 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
6431 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
6432 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
6433 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
6434 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
6435 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
6436 { "_signed_short","_WXTYPE",0},
6437 { "_signed_short","_short",0},
6438 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
6439 { "_unsigned_char","_byte",0},
6440 { "_wxControl","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxControl
},
6441 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
6442 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
6443 { "_unsigned_int","_wxCoord",0},
6444 { "_unsigned_int","_wxPrintQuality",0},
6445 { "_unsigned_int","_time_t",0},
6446 { "_unsigned_int","_size_t",0},
6447 { "_unsigned_int","_uint",0},
6448 { "_unsigned_int","_wxWindowID",0},
6449 { "_unsigned_int","_int",0},
6450 { "_short","_wxDateTime_t",0},
6451 { "_short","_WXTYPE",0},
6452 { "_short","_unsigned_short",0},
6453 { "_short","_signed_short",0},
6454 { "_wxWindowID","_wxCoord",0},
6455 { "_wxWindowID","_wxPrintQuality",0},
6456 { "_wxWindowID","_time_t",0},
6457 { "_wxWindowID","_size_t",0},
6458 { "_wxWindowID","_EBool",0},
6459 { "_wxWindowID","_uint",0},
6460 { "_wxWindowID","_int",0},
6461 { "_wxWindowID","_signed_int",0},
6462 { "_wxWindowID","_unsigned_int",0},
6463 { "_int","_wxCoord",0},
6464 { "_int","_wxPrintQuality",0},
6465 { "_int","_time_t",0},
6466 { "_int","_size_t",0},
6467 { "_int","_EBool",0},
6468 { "_int","_uint",0},
6469 { "_int","_wxWindowID",0},
6470 { "_int","_unsigned_int",0},
6471 { "_int","_signed_int",0},
6472 { "_wxDateTime_t","_unsigned_short",0},
6473 { "_wxDateTime_t","_short",0},
6474 { "_wxDateTime_t","_WXTYPE",0},
6475 { "_time_t","_wxCoord",0},
6476 { "_time_t","_wxPrintQuality",0},
6477 { "_time_t","_unsigned_int",0},
6478 { "_time_t","_int",0},
6479 { "_time_t","_wxWindowID",0},
6480 { "_time_t","_uint",0},
6481 { "_time_t","_size_t",0},
6482 { "_wxCoord","_int",0},
6483 { "_wxCoord","_signed_int",0},
6484 { "_wxCoord","_unsigned_int",0},
6485 { "_wxCoord","_wxWindowID",0},
6486 { "_wxCoord","_uint",0},
6487 { "_wxCoord","_EBool",0},
6488 { "_wxCoord","_size_t",0},
6489 { "_wxCoord","_time_t",0},
6490 { "_wxCoord","_wxPrintQuality",0},
6491 { "_wxEvtHandler","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxEvtHandler
},
6492 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
6493 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
6494 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
6495 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
6496 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
6497 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
6498 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
6499 { "_wxWindow","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxWindow
},
6500 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
6501 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
6502 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
6503 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
6504 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
6505 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
6506 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
6509 static PyObject
*SWIG_globals
;
6513 SWIGEXPORT(void) initgizmosc() {
6515 SWIG_globals
= SWIG_newvarlink();
6516 m
= Py_InitModule("gizmosc", gizmoscMethods
);
6517 d
= PyModule_GetDict(m
);
6518 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
6519 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
6520 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
6521 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
6522 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
6523 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
6524 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
6525 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
6526 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
6527 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
6528 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
6529 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
6530 PyDict_SetItemString(d
,"wxTL_ALIGN_LEFT", PyInt_FromLong((long) wxTL_ALIGN_LEFT
));
6531 PyDict_SetItemString(d
,"wxTL_ALIGN_RIGHT", PyInt_FromLong((long) wxTL_ALIGN_RIGHT
));
6532 PyDict_SetItemString(d
,"wxTL_ALIGN_CENTER", PyInt_FromLong((long) wxTL_ALIGN_CENTER
));
6533 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMCOLUMN", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMCOLUMN
));
6536 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
6537 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
6540 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6541 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);