]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/gizmos/gizmos.cpp
User the version number in the dir name of the private wxWindows install.
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.cpp
... / ...
CommitLineData
1/*
2 * FILE : contrib/gizmos/gizmos.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include "Python.h"
23
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
29# define SWIGEXPORT(a) __declspec(dllexport) a
30# else
31# if defined(__BORLANDC__)
32# define SWIGEXPORT(a) a _export
33# else
34# define SWIGEXPORT(a) a
35# endif
36# endif
37#else
38# define SWIGEXPORT(a) a
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
53#define SWIG_init initgizmosc
54
55#define SWIG_name "gizmosc"
56
57#include "wxPython.h"
58#include <wx/gizmos/dynamicsash.h>
59#include <wx/gizmos/editlbox.h>
60#include <wx/gizmos/splittree.h>
61#include <wx/gizmos/ledctrl.h>
62
63#include <wx/listctrl.h>
64#include <wx/treectrl.h>
65#include <wx/imaglist.h>
66#include "treelistctrl.h"
67#include "pytree.h"
68
69
70static PyObject* t_output_helper(PyObject* target, PyObject* o) {
71 PyObject* o2;
72 PyObject* o3;
73
74 if (!target) {
75 target = o;
76 } else if (target == Py_None) {
77 Py_DECREF(Py_None);
78 target = o;
79 } else {
80 if (!PyTuple_Check(target)) {
81 o2 = target;
82 target = PyTuple_New(1);
83 PyTuple_SetItem(target, 0, o2);
84 }
85 o3 = PyTuple_New(1);
86 PyTuple_SetItem(o3, 0, o);
87
88 o2 = target;
89 target = PySequence_Concat(o2, o3);
90 Py_DECREF(o2);
91 Py_DECREF(o3);
92 }
93 return target;
94}
95
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(""));
101
102 typedef wxTreeCtrl wxPyTreeCtrl;
103
104class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
105{
106public:
107 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
108 const wxPoint& pos = wxDefaultPosition,
109 const wxSize& size = wxDefaultSize,
110 long style = 0)
111 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
112
113
114 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
115 bool found;
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));
122 Py_DECREF(dcobj);
123 Py_DECREF(idobj);
124 Py_DECREF(recobj);
125 }
126 wxPyEndBlockThreads();
127 if (! found)
128 wxTreeCompanionWindow::DrawItem(dc, id, rect);
129 }
130
131 PYPRIVATE;
132};
133 // C++ version of Python aware control
134class wxPyTreeListCtrl : public wxTreeListCtrl {
135 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
136public:
137 wxPyTreeListCtrl() : wxTreeListCtrl() {}
138 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
139 const wxPoint& pos,
140 const wxSize& size,
141 long style,
142 const wxValidator &validator,
143 const wxString& name) :
144 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
145
146 int OnCompareItems(const wxTreeItemId& item1,
147 const wxTreeItemId& item2) {
148 int rval = 0;
149 bool found;
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));
155 Py_DECREF(o1);
156 Py_DECREF(o2);
157 }
158 wxPyEndBlockThreads();
159 if (! found)
160 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
161 return rval;
162 }
163 PYPRIVATE;
164};
165
166IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
167
168
169 static const long longzero = 0;
170#ifdef __cplusplus
171extern "C" {
172#endif
173static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr) {
174 wxDynamicSashSplitEvent *src;
175 wxCommandEvent *dest;
176 src = (wxDynamicSashSplitEvent *) ptr;
177 dest = (wxCommandEvent *) src;
178 return (void *) dest;
179}
180
181static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr) {
182 wxDynamicSashSplitEvent *src;
183 wxEvent *dest;
184 src = (wxDynamicSashSplitEvent *) ptr;
185 dest = (wxEvent *) src;
186 return (void *) dest;
187}
188
189static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr) {
190 wxDynamicSashSplitEvent *src;
191 wxObject *dest;
192 src = (wxDynamicSashSplitEvent *) ptr;
193 dest = (wxObject *) src;
194 return (void *) dest;
195}
196
197#define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
198static PyObject *_wrap_new_wxDynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
199 PyObject * _resultobj;
200 wxDynamicSashSplitEvent * _result;
201 wxObject * _arg0;
202 PyObject * _argo0 = 0;
203 char *_kwnames[] = { "target", NULL };
204 char _ptemp[128];
205
206 self = self;
207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashSplitEvent",_kwnames,&_argo0))
208 return NULL;
209 if (_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.");
213 return NULL;
214 }
215 }
216{
217 PyThreadState* __tstate = wxPyBeginAllowThreads();
218 _result = (wxDynamicSashSplitEvent *)new_wxDynamicSashSplitEvent(_arg0);
219
220 wxPyEndAllowThreads(__tstate);
221 if (PyErr_Occurred()) return NULL;
222} if (_result) {
223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashSplitEvent_p");
224 _resultobj = Py_BuildValue("s",_ptemp);
225 } else {
226 Py_INCREF(Py_None);
227 _resultobj = Py_None;
228 }
229 return _resultobj;
230}
231
232static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr) {
233 wxDynamicSashUnifyEvent *src;
234 wxCommandEvent *dest;
235 src = (wxDynamicSashUnifyEvent *) ptr;
236 dest = (wxCommandEvent *) src;
237 return (void *) dest;
238}
239
240static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr) {
241 wxDynamicSashUnifyEvent *src;
242 wxEvent *dest;
243 src = (wxDynamicSashUnifyEvent *) ptr;
244 dest = (wxEvent *) src;
245 return (void *) dest;
246}
247
248static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr) {
249 wxDynamicSashUnifyEvent *src;
250 wxObject *dest;
251 src = (wxDynamicSashUnifyEvent *) ptr;
252 dest = (wxObject *) src;
253 return (void *) dest;
254}
255
256#define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
257static PyObject *_wrap_new_wxDynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
258 PyObject * _resultobj;
259 wxDynamicSashUnifyEvent * _result;
260 wxObject * _arg0;
261 PyObject * _argo0 = 0;
262 char *_kwnames[] = { "target", NULL };
263 char _ptemp[128];
264
265 self = self;
266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashUnifyEvent",_kwnames,&_argo0))
267 return NULL;
268 if (_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.");
272 return NULL;
273 }
274 }
275{
276 PyThreadState* __tstate = wxPyBeginAllowThreads();
277 _result = (wxDynamicSashUnifyEvent *)new_wxDynamicSashUnifyEvent(_arg0);
278
279 wxPyEndAllowThreads(__tstate);
280 if (PyErr_Occurred()) return NULL;
281} if (_result) {
282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashUnifyEvent_p");
283 _resultobj = Py_BuildValue("s",_ptemp);
284 } else {
285 Py_INCREF(Py_None);
286 _resultobj = Py_None;
287 }
288 return _resultobj;
289}
290
291static void *SwigwxDynamicSashWindowTowxWindow(void *ptr) {
292 wxDynamicSashWindow *src;
293 wxWindow *dest;
294 src = (wxDynamicSashWindow *) ptr;
295 dest = (wxWindow *) src;
296 return (void *) dest;
297}
298
299static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr) {
300 wxDynamicSashWindow *src;
301 wxEvtHandler *dest;
302 src = (wxDynamicSashWindow *) ptr;
303 dest = (wxEvtHandler *) src;
304 return (void *) dest;
305}
306
307static void *SwigwxDynamicSashWindowTowxObject(void *ptr) {
308 wxDynamicSashWindow *src;
309 wxObject *dest;
310 src = (wxDynamicSashWindow *) ptr;
311 dest = (wxObject *) src;
312 return (void *) dest;
313}
314
315#define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
316static PyObject *_wrap_new_wxDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
317 PyObject * _resultobj;
318 wxDynamicSashWindow * _result;
319 wxWindow * _arg0;
320 wxWindowID _arg1;
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;
326 wxPoint temp;
327 PyObject * _obj2 = 0;
328 wxSize temp0;
329 PyObject * _obj3 = 0;
330 PyObject * _obj5 = 0;
331 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
332 char _ptemp[128];
333
334 self = self;
335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxDynamicSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
336 return NULL;
337 if (_argo0) {
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.");
341 return NULL;
342 }
343 }
344 if (_obj2)
345{
346 _arg2 = &temp;
347 if (! wxPoint_helper(_obj2, &_arg2))
348 return NULL;
349}
350 if (_obj3)
351{
352 _arg3 = &temp0;
353 if (! wxSize_helper(_obj3, &_arg3))
354 return NULL;
355}
356 if (_obj5)
357{
358 _arg5 = wxString_in_helper(_obj5);
359 if (_arg5 == NULL)
360 return NULL;
361}
362{
363 PyThreadState* __tstate = wxPyBeginAllowThreads();
364 _result = (wxDynamicSashWindow *)new_wxDynamicSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
365
366 wxPyEndAllowThreads(__tstate);
367 if (PyErr_Occurred()) return NULL;
368} if (_result) {
369 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
370 _resultobj = Py_BuildValue("s",_ptemp);
371 } else {
372 Py_INCREF(Py_None);
373 _resultobj = Py_None;
374 }
375{
376 if (_obj5)
377 delete _arg5;
378}
379 return _resultobj;
380}
381
382#define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
383static PyObject *_wrap_new_wxPreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxDynamicSashWindow * _result;
386 char *_kwnames[] = { NULL };
387 char _ptemp[128];
388
389 self = self;
390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDynamicSashWindow",_kwnames))
391 return NULL;
392{
393 PyThreadState* __tstate = wxPyBeginAllowThreads();
394 _result = (wxDynamicSashWindow *)new_wxPreDynamicSashWindow();
395
396 wxPyEndAllowThreads(__tstate);
397 if (PyErr_Occurred()) return NULL;
398} if (_result) {
399 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
400 _resultobj = Py_BuildValue("s",_ptemp);
401 } else {
402 Py_INCREF(Py_None);
403 _resultobj = Py_None;
404 }
405 return _resultobj;
406}
407
408#define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
409static PyObject *_wrap_wxDynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
410 PyObject * _resultobj;
411 bool _result;
412 wxDynamicSashWindow * _arg0;
413 wxWindow * _arg1;
414 wxWindowID _arg2;
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;
421 wxPoint temp;
422 PyObject * _obj3 = 0;
423 wxSize temp0;
424 PyObject * _obj4 = 0;
425 PyObject * _obj6 = 0;
426 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxDynamicSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
430 return NULL;
431 if (_argo0) {
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.");
435 return NULL;
436 }
437 }
438 if (_argo1) {
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.");
442 return NULL;
443 }
444 }
445 if (_obj3)
446{
447 _arg3 = &temp;
448 if (! wxPoint_helper(_obj3, &_arg3))
449 return NULL;
450}
451 if (_obj4)
452{
453 _arg4 = &temp0;
454 if (! wxSize_helper(_obj4, &_arg4))
455 return NULL;
456}
457 if (_obj6)
458{
459 _arg6 = wxString_in_helper(_obj6);
460 if (_arg6 == NULL)
461 return NULL;
462}
463{
464 PyThreadState* __tstate = wxPyBeginAllowThreads();
465 _result = (bool )wxDynamicSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
466
467 wxPyEndAllowThreads(__tstate);
468 if (PyErr_Occurred()) return NULL;
469} _resultobj = Py_BuildValue("i",_result);
470{
471 if (_obj6)
472 delete _arg6;
473}
474 return _resultobj;
475}
476
477#define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
478static PyObject *_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
479 PyObject * _resultobj;
480 wxScrollBar * _result;
481 wxDynamicSashWindow * _arg0;
482 wxWindow * _arg1;
483 PyObject * _argo0 = 0;
484 PyObject * _argo1 = 0;
485 char *_kwnames[] = { "self","child", NULL };
486 char _ptemp[128];
487
488 self = self;
489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames,&_argo0,&_argo1))
490 return NULL;
491 if (_argo0) {
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.");
495 return NULL;
496 }
497 }
498 if (_argo1) {
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.");
502 return NULL;
503 }
504 }
505{
506 PyThreadState* __tstate = wxPyBeginAllowThreads();
507 _result = (wxScrollBar *)wxDynamicSashWindow_GetHScrollBar(_arg0,_arg1);
508
509 wxPyEndAllowThreads(__tstate);
510 if (PyErr_Occurred()) return NULL;
511} if (_result) {
512 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
513 _resultobj = Py_BuildValue("s",_ptemp);
514 } else {
515 Py_INCREF(Py_None);
516 _resultobj = Py_None;
517 }
518 return _resultobj;
519}
520
521#define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
522static PyObject *_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
523 PyObject * _resultobj;
524 wxScrollBar * _result;
525 wxDynamicSashWindow * _arg0;
526 wxWindow * _arg1;
527 PyObject * _argo0 = 0;
528 PyObject * _argo1 = 0;
529 char *_kwnames[] = { "self","child", NULL };
530 char _ptemp[128];
531
532 self = self;
533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames,&_argo0,&_argo1))
534 return NULL;
535 if (_argo0) {
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.");
539 return NULL;
540 }
541 }
542 if (_argo1) {
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.");
546 return NULL;
547 }
548 }
549{
550 PyThreadState* __tstate = wxPyBeginAllowThreads();
551 _result = (wxScrollBar *)wxDynamicSashWindow_GetVScrollBar(_arg0,_arg1);
552
553 wxPyEndAllowThreads(__tstate);
554 if (PyErr_Occurred()) return NULL;
555} if (_result) {
556 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
557 _resultobj = Py_BuildValue("s",_ptemp);
558 } else {
559 Py_INCREF(Py_None);
560 _resultobj = Py_None;
561 }
562 return _resultobj;
563}
564
565static void *SwigwxEditableListBoxTowxPanel(void *ptr) {
566 wxEditableListBox *src;
567 wxPanel *dest;
568 src = (wxEditableListBox *) ptr;
569 dest = (wxPanel *) src;
570 return (void *) dest;
571}
572
573static void *SwigwxEditableListBoxTowxWindow(void *ptr) {
574 wxEditableListBox *src;
575 wxWindow *dest;
576 src = (wxEditableListBox *) ptr;
577 dest = (wxWindow *) src;
578 return (void *) dest;
579}
580
581static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr) {
582 wxEditableListBox *src;
583 wxEvtHandler *dest;
584 src = (wxEditableListBox *) ptr;
585 dest = (wxEvtHandler *) src;
586 return (void *) dest;
587}
588
589static void *SwigwxEditableListBoxTowxObject(void *ptr) {
590 wxEditableListBox *src;
591 wxObject *dest;
592 src = (wxEditableListBox *) ptr;
593 dest = (wxObject *) src;
594 return (void *) dest;
595}
596
597#define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
598static PyObject *_wrap_new_wxEditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
599 PyObject * _resultobj;
600 wxEditableListBox * _result;
601 wxWindow * _arg0;
602 wxWindowID _arg1;
603 wxString * _arg2;
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;
610 wxPoint temp;
611 PyObject * _obj3 = 0;
612 wxSize temp0;
613 PyObject * _obj4 = 0;
614 PyObject * _obj6 = 0;
615 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
616 char _ptemp[128];
617
618 self = self;
619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxEditableListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
620 return NULL;
621 if (_argo0) {
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.");
625 return NULL;
626 }
627 }
628{
629 _arg2 = wxString_in_helper(_obj2);
630 if (_arg2 == NULL)
631 return NULL;
632}
633 if (_obj3)
634{
635 _arg3 = &temp;
636 if (! wxPoint_helper(_obj3, &_arg3))
637 return NULL;
638}
639 if (_obj4)
640{
641 _arg4 = &temp0;
642 if (! wxSize_helper(_obj4, &_arg4))
643 return NULL;
644}
645 if (_obj6)
646{
647 _arg6 = wxString_in_helper(_obj6);
648 if (_arg6 == NULL)
649 return NULL;
650}
651{
652 PyThreadState* __tstate = wxPyBeginAllowThreads();
653 _result = (wxEditableListBox *)new_wxEditableListBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
654
655 wxPyEndAllowThreads(__tstate);
656 if (PyErr_Occurred()) return NULL;
657} if (_result) {
658 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEditableListBox_p");
659 _resultobj = Py_BuildValue("s",_ptemp);
660 } else {
661 Py_INCREF(Py_None);
662 _resultobj = Py_None;
663 }
664{
665 if (_obj2)
666 delete _arg2;
667}
668{
669 if (_obj6)
670 delete _arg6;
671}
672 return _resultobj;
673}
674
675#define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
676static 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 };
683
684 self = self;
685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEditableListBox_SetStrings",_kwnames,&_argo0,&_obj1))
686 return NULL;
687 if (_argo0) {
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.");
691 return NULL;
692 }
693 }
694{
695 if (! PySequence_Check(_obj1)) {
696 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
697 return NULL;
698 }
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);
703#if wxUSE_UNICODE
704 PyObject* str = PyObject_Unicode(item);
705#else
706 PyObject* str = PyObject_Str(item);
707#endif
708 _arg1->Add(Py2wxString(str));
709 Py_DECREF(item);
710 Py_DECREF(str);
711 }
712}
713{
714 PyThreadState* __tstate = wxPyBeginAllowThreads();
715 wxEditableListBox_SetStrings(_arg0,*_arg1);
716
717 wxPyEndAllowThreads(__tstate);
718 if (PyErr_Occurred()) return NULL;
719} Py_INCREF(Py_None);
720 _resultobj = Py_None;
721{
722 if (_obj1)
723 delete _arg1;
724}
725 return _resultobj;
726}
727
728static PyObject * wxEditableListBox_GetStrings(wxEditableListBox *self) {
729 wxArrayString strings;
730 self->GetStrings(strings);
731 return wxArrayString2PyList_helper(strings);
732 }
733static PyObject *_wrap_wxEditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
734 PyObject * _resultobj;
735 PyObject * _result;
736 wxEditableListBox * _arg0;
737 PyObject * _argo0 = 0;
738 char *_kwnames[] = { "self", NULL };
739
740 self = self;
741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetStrings",_kwnames,&_argo0))
742 return NULL;
743 if (_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.");
747 return NULL;
748 }
749 }
750{
751 PyThreadState* __tstate = wxPyBeginAllowThreads();
752 _result = (PyObject *)wxEditableListBox_GetStrings(_arg0);
753
754 wxPyEndAllowThreads(__tstate);
755 if (PyErr_Occurred()) return NULL;
756}{
757 _resultobj = _result;
758}
759 return _resultobj;
760}
761
762#define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
763static 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 };
769
770 self = self;
771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetListCtrl",_kwnames,&_argo0))
772 return NULL;
773 if (_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.");
777 return NULL;
778 }
779 }
780{
781 PyThreadState* __tstate = wxPyBeginAllowThreads();
782 _result = (wxListCtrl *)wxEditableListBox_GetListCtrl(_arg0);
783
784 wxPyEndAllowThreads(__tstate);
785 if (PyErr_Occurred()) return NULL;
786}{ _resultobj = wxPyMake_wxObject(_result); }
787 return _resultobj;
788}
789
790#define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
791static 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 };
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDelButton",_kwnames,&_argo0))
800 return NULL;
801 if (_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.");
805 return NULL;
806 }
807 }
808{
809 PyThreadState* __tstate = wxPyBeginAllowThreads();
810 _result = (wxBitmapButton *)wxEditableListBox_GetDelButton(_arg0);
811
812 wxPyEndAllowThreads(__tstate);
813 if (PyErr_Occurred()) return NULL;
814}{ _resultobj = wxPyMake_wxObject(_result); }
815 return _resultobj;
816}
817
818#define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
819static 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 };
825
826 self = self;
827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetNewButton",_kwnames,&_argo0))
828 return NULL;
829 if (_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.");
833 return NULL;
834 }
835 }
836{
837 PyThreadState* __tstate = wxPyBeginAllowThreads();
838 _result = (wxBitmapButton *)wxEditableListBox_GetNewButton(_arg0);
839
840 wxPyEndAllowThreads(__tstate);
841 if (PyErr_Occurred()) return NULL;
842}{ _resultobj = wxPyMake_wxObject(_result); }
843 return _resultobj;
844}
845
846#define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
847static 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 };
853
854 self = self;
855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetUpButton",_kwnames,&_argo0))
856 return NULL;
857 if (_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.");
861 return NULL;
862 }
863 }
864{
865 PyThreadState* __tstate = wxPyBeginAllowThreads();
866 _result = (wxBitmapButton *)wxEditableListBox_GetUpButton(_arg0);
867
868 wxPyEndAllowThreads(__tstate);
869 if (PyErr_Occurred()) return NULL;
870}{ _resultobj = wxPyMake_wxObject(_result); }
871 return _resultobj;
872}
873
874#define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
875static 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 };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDownButton",_kwnames,&_argo0))
884 return NULL;
885 if (_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.");
889 return NULL;
890 }
891 }
892{
893 PyThreadState* __tstate = wxPyBeginAllowThreads();
894 _result = (wxBitmapButton *)wxEditableListBox_GetDownButton(_arg0);
895
896 wxPyEndAllowThreads(__tstate);
897 if (PyErr_Occurred()) return NULL;
898}{ _resultobj = wxPyMake_wxObject(_result); }
899 return _resultobj;
900}
901
902#define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
903static 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 };
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetEditButton",_kwnames,&_argo0))
912 return NULL;
913 if (_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.");
917 return NULL;
918 }
919 }
920{
921 PyThreadState* __tstate = wxPyBeginAllowThreads();
922 _result = (wxBitmapButton *)wxEditableListBox_GetEditButton(_arg0);
923
924 wxPyEndAllowThreads(__tstate);
925 if (PyErr_Occurred()) return NULL;
926}{ _resultobj = wxPyMake_wxObject(_result); }
927 return _resultobj;
928}
929
930static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr) {
931 wxRemotelyScrolledTreeCtrl *src;
932 wxPyTreeCtrl *dest;
933 src = (wxRemotelyScrolledTreeCtrl *) ptr;
934 dest = (wxPyTreeCtrl *) src;
935 return (void *) dest;
936}
937
938static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr) {
939 wxRemotelyScrolledTreeCtrl *src;
940 wxControl *dest;
941 src = (wxRemotelyScrolledTreeCtrl *) ptr;
942 dest = (wxControl *) src;
943 return (void *) dest;
944}
945
946static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr) {
947 wxRemotelyScrolledTreeCtrl *src;
948 wxWindow *dest;
949 src = (wxRemotelyScrolledTreeCtrl *) ptr;
950 dest = (wxWindow *) src;
951 return (void *) dest;
952}
953
954static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr) {
955 wxRemotelyScrolledTreeCtrl *src;
956 wxEvtHandler *dest;
957 src = (wxRemotelyScrolledTreeCtrl *) ptr;
958 dest = (wxEvtHandler *) src;
959 return (void *) dest;
960}
961
962static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr) {
963 wxRemotelyScrolledTreeCtrl *src;
964 wxObject *dest;
965 src = (wxRemotelyScrolledTreeCtrl *) ptr;
966 dest = (wxObject *) src;
967 return (void *) dest;
968}
969
970#define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
971static PyObject *_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
972 PyObject * _resultobj;
973 wxRemotelyScrolledTreeCtrl * _result;
974 wxWindow * _arg0;
975 wxWindowID _arg1;
976 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
977 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
978 long _arg4 = (long ) wxTR_HAS_BUTTONS;
979 PyObject * _argo0 = 0;
980 wxPoint temp;
981 PyObject * _obj2 = 0;
982 wxSize temp0;
983 PyObject * _obj3 = 0;
984 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
985 char _ptemp[128];
986
987 self = self;
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
989 return NULL;
990 if (_argo0) {
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.");
994 return NULL;
995 }
996 }
997 if (_obj2)
998{
999 _arg2 = &temp;
1000 if (! wxPoint_helper(_obj2, &_arg2))
1001 return NULL;
1002}
1003 if (_obj3)
1004{
1005 _arg3 = &temp0;
1006 if (! wxSize_helper(_obj3, &_arg3))
1007 return NULL;
1008}
1009{
1010 PyThreadState* __tstate = wxPyBeginAllowThreads();
1011 _result = (wxRemotelyScrolledTreeCtrl *)new_wxRemotelyScrolledTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1012
1013 wxPyEndAllowThreads(__tstate);
1014 if (PyErr_Occurred()) return NULL;
1015} if (_result) {
1016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1017 _resultobj = Py_BuildValue("s",_ptemp);
1018 } else {
1019 Py_INCREF(Py_None);
1020 _resultobj = Py_None;
1021 }
1022 return _resultobj;
1023}
1024
1025#define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
1026static 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 };
1031
1032 self = self;
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames,&_argo0))
1034 return NULL;
1035 if (_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.");
1039 return NULL;
1040 }
1041 }
1042{
1043 PyThreadState* __tstate = wxPyBeginAllowThreads();
1044 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0);
1045
1046 wxPyEndAllowThreads(__tstate);
1047 if (PyErr_Occurred()) return NULL;
1048} Py_INCREF(Py_None);
1049 _resultobj = Py_None;
1050 return _resultobj;
1051}
1052
1053#define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1054static 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 };
1059
1060 self = self;
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames,&_argo0))
1062 return NULL;
1063 if (_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.");
1067 return NULL;
1068 }
1069 }
1070{
1071 PyThreadState* __tstate = wxPyBeginAllowThreads();
1072 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0);
1073
1074 wxPyEndAllowThreads(__tstate);
1075 if (PyErr_Occurred()) return NULL;
1076} Py_INCREF(Py_None);
1077 _resultobj = Py_None;
1078 return _resultobj;
1079}
1080
1081#define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1082static 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 };
1088 char _ptemp[128];
1089
1090 self = self;
1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames,&_argo0))
1092 return NULL;
1093 if (_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.");
1097 return NULL;
1098 }
1099 }
1100{
1101 PyThreadState* __tstate = wxPyBeginAllowThreads();
1102 _result = (wxScrolledWindow *)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0);
1103
1104 wxPyEndAllowThreads(__tstate);
1105 if (PyErr_Occurred()) return NULL;
1106} if (_result) {
1107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
1108 _resultobj = Py_BuildValue("s",_ptemp);
1109 } else {
1110 Py_INCREF(Py_None);
1111 _resultobj = Py_None;
1112 }
1113 return _resultobj;
1114}
1115
1116#define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1117static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1118 PyObject * _resultobj;
1119 wxRemotelyScrolledTreeCtrl * _arg0;
1120 int _arg1;
1121 int _arg2;
1122 PyObject * _argo0 = 0;
1123 char *_kwnames[] = { "self","posHoriz","posVert", NULL };
1124
1125 self = self;
1126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1,&_arg2))
1127 return NULL;
1128 if (_argo0) {
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.");
1132 return NULL;
1133 }
1134 }
1135{
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0,_arg1,_arg2);
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) return NULL;
1141} Py_INCREF(Py_None);
1142 _resultobj = Py_None;
1143 return _resultobj;
1144}
1145
1146#define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1147static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject * _resultobj;
1149 wxRemotelyScrolledTreeCtrl * _arg0;
1150 wxWindow * _arg1;
1151 PyObject * _argo0 = 0;
1152 PyObject * _argo1 = 0;
1153 char *_kwnames[] = { "self","companion", NULL };
1154
1155 self = self;
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames,&_argo0,&_argo1))
1157 return NULL;
1158 if (_argo0) {
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.");
1162 return NULL;
1163 }
1164 }
1165 if (_argo1) {
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.");
1169 return NULL;
1170 }
1171 }
1172{
1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
1174 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0,_arg1);
1175
1176 wxPyEndAllowThreads(__tstate);
1177 if (PyErr_Occurred()) return NULL;
1178} Py_INCREF(Py_None);
1179 _resultobj = Py_None;
1180 return _resultobj;
1181}
1182
1183#define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1184static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 wxWindow * _result;
1187 wxRemotelyScrolledTreeCtrl * _arg0;
1188 PyObject * _argo0 = 0;
1189 char *_kwnames[] = { "self", NULL };
1190
1191 self = self;
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames,&_argo0))
1193 return NULL;
1194 if (_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.");
1198 return NULL;
1199 }
1200 }
1201{
1202 PyThreadState* __tstate = wxPyBeginAllowThreads();
1203 _result = (wxWindow *)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0);
1204
1205 wxPyEndAllowThreads(__tstate);
1206 if (PyErr_Occurred()) return NULL;
1207}{ _resultobj = wxPyMake_wxObject(_result); }
1208 return _resultobj;
1209}
1210
1211static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr) {
1212 wxPyTreeCompanionWindow *src;
1213 wxWindow *dest;
1214 src = (wxPyTreeCompanionWindow *) ptr;
1215 dest = (wxWindow *) src;
1216 return (void *) dest;
1217}
1218
1219static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr) {
1220 wxPyTreeCompanionWindow *src;
1221 wxEvtHandler *dest;
1222 src = (wxPyTreeCompanionWindow *) ptr;
1223 dest = (wxEvtHandler *) src;
1224 return (void *) dest;
1225}
1226
1227static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr) {
1228 wxPyTreeCompanionWindow *src;
1229 wxObject *dest;
1230 src = (wxPyTreeCompanionWindow *) ptr;
1231 dest = (wxObject *) src;
1232 return (void *) dest;
1233}
1234
1235#define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1236static PyObject *_wrap_new_wxTreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxPyTreeCompanionWindow * _result;
1239 wxWindow * _arg0;
1240 wxWindowID _arg1 = (wxWindowID ) -1;
1241 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1242 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1243 long _arg4 = (long ) 0;
1244 PyObject * _argo0 = 0;
1245 wxPoint temp;
1246 PyObject * _obj2 = 0;
1247 wxSize temp0;
1248 PyObject * _obj3 = 0;
1249 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1250 char _ptemp[128];
1251
1252 self = self;
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxTreeCompanionWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1254 return NULL;
1255 if (_argo0) {
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.");
1259 return NULL;
1260 }
1261 }
1262 if (_obj2)
1263{
1264 _arg2 = &temp;
1265 if (! wxPoint_helper(_obj2, &_arg2))
1266 return NULL;
1267}
1268 if (_obj3)
1269{
1270 _arg3 = &temp0;
1271 if (! wxSize_helper(_obj3, &_arg3))
1272 return NULL;
1273}
1274{
1275 PyThreadState* __tstate = wxPyBeginAllowThreads();
1276 _result = (wxPyTreeCompanionWindow *)new_wxTreeCompanionWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1277
1278 wxPyEndAllowThreads(__tstate);
1279 if (PyErr_Occurred()) return NULL;
1280} if (_result) {
1281 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCompanionWindow_p");
1282 _resultobj = Py_BuildValue("s",_ptemp);
1283 } else {
1284 Py_INCREF(Py_None);
1285 _resultobj = Py_None;
1286 }
1287 return _resultobj;
1288}
1289
1290#define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1291static PyObject *_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject * _resultobj;
1293 wxPyTreeCompanionWindow * _arg0;
1294 PyObject * _arg1;
1295 PyObject * _arg2;
1296 PyObject * _argo0 = 0;
1297 PyObject * _obj1 = 0;
1298 PyObject * _obj2 = 0;
1299 char *_kwnames[] = { "self","self","_class", NULL };
1300
1301 self = self;
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1303 return NULL;
1304 if (_argo0) {
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.");
1308 return NULL;
1309 }
1310 }
1311{
1312 _arg1 = _obj1;
1313}
1314{
1315 _arg2 = _obj2;
1316}
1317{
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 wxTreeCompanionWindow__setCallbackInfo(_arg0,_arg1,_arg2);
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) return NULL;
1323} Py_INCREF(Py_None);
1324 _resultobj = Py_None;
1325 return _resultobj;
1326}
1327
1328#define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1329static 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 };
1335 char _ptemp[128];
1336
1337 self = self;
1338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames,&_argo0))
1339 return NULL;
1340 if (_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.");
1344 return NULL;
1345 }
1346 }
1347{
1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
1349 _result = (wxRemotelyScrolledTreeCtrl *)wxTreeCompanionWindow_GetTreeCtrl(_arg0);
1350
1351 wxPyEndAllowThreads(__tstate);
1352 if (PyErr_Occurred()) return NULL;
1353} if (_result) {
1354 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1355 _resultobj = Py_BuildValue("s",_ptemp);
1356 } else {
1357 Py_INCREF(Py_None);
1358 _resultobj = Py_None;
1359 }
1360 return _resultobj;
1361}
1362
1363#define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1364static 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 };
1371
1372 self = self;
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames,&_argo0,&_argo1))
1374 return NULL;
1375 if (_argo0) {
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.");
1379 return NULL;
1380 }
1381 }
1382 if (_argo1) {
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.");
1386 return NULL;
1387 }
1388 }
1389{
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 wxTreeCompanionWindow_SetTreeCtrl(_arg0,_arg1);
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) return NULL;
1395} Py_INCREF(Py_None);
1396 _resultobj = Py_None;
1397 return _resultobj;
1398}
1399
1400static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr) {
1401 wxThinSplitterWindow *src;
1402 wxSplitterWindow *dest;
1403 src = (wxThinSplitterWindow *) ptr;
1404 dest = (wxSplitterWindow *) src;
1405 return (void *) dest;
1406}
1407
1408static void *SwigwxThinSplitterWindowTowxWindow(void *ptr) {
1409 wxThinSplitterWindow *src;
1410 wxWindow *dest;
1411 src = (wxThinSplitterWindow *) ptr;
1412 dest = (wxWindow *) src;
1413 return (void *) dest;
1414}
1415
1416static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr) {
1417 wxThinSplitterWindow *src;
1418 wxEvtHandler *dest;
1419 src = (wxThinSplitterWindow *) ptr;
1420 dest = (wxEvtHandler *) src;
1421 return (void *) dest;
1422}
1423
1424static void *SwigwxThinSplitterWindowTowxObject(void *ptr) {
1425 wxThinSplitterWindow *src;
1426 wxObject *dest;
1427 src = (wxThinSplitterWindow *) ptr;
1428 dest = (wxObject *) src;
1429 return (void *) dest;
1430}
1431
1432#define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1433static PyObject *_wrap_new_wxThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject * _resultobj;
1435 wxThinSplitterWindow * _result;
1436 wxWindow * _arg0;
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;
1442 wxPoint temp;
1443 PyObject * _obj2 = 0;
1444 wxSize temp0;
1445 PyObject * _obj3 = 0;
1446 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1447 char _ptemp[128];
1448
1449 self = self;
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxThinSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1451 return NULL;
1452 if (_argo0) {
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.");
1456 return NULL;
1457 }
1458 }
1459 if (_obj2)
1460{
1461 _arg2 = &temp;
1462 if (! wxPoint_helper(_obj2, &_arg2))
1463 return NULL;
1464}
1465 if (_obj3)
1466{
1467 _arg3 = &temp0;
1468 if (! wxSize_helper(_obj3, &_arg3))
1469 return NULL;
1470}
1471{
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 _result = (wxThinSplitterWindow *)new_wxThinSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) return NULL;
1477} if (_result) {
1478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxThinSplitterWindow_p");
1479 _resultobj = Py_BuildValue("s",_ptemp);
1480 } else {
1481 Py_INCREF(Py_None);
1482 _resultobj = Py_None;
1483 }
1484 return _resultobj;
1485}
1486
1487static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr) {
1488 wxSplitterScrolledWindow *src;
1489 wxScrolledWindow *dest;
1490 src = (wxSplitterScrolledWindow *) ptr;
1491 dest = (wxScrolledWindow *) src;
1492 return (void *) dest;
1493}
1494
1495static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr) {
1496 wxSplitterScrolledWindow *src;
1497 wxPanel *dest;
1498 src = (wxSplitterScrolledWindow *) ptr;
1499 dest = (wxPanel *) src;
1500 return (void *) dest;
1501}
1502
1503static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr) {
1504 wxSplitterScrolledWindow *src;
1505 wxWindow *dest;
1506 src = (wxSplitterScrolledWindow *) ptr;
1507 dest = (wxWindow *) src;
1508 return (void *) dest;
1509}
1510
1511static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr) {
1512 wxSplitterScrolledWindow *src;
1513 wxEvtHandler *dest;
1514 src = (wxSplitterScrolledWindow *) ptr;
1515 dest = (wxEvtHandler *) src;
1516 return (void *) dest;
1517}
1518
1519static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr) {
1520 wxSplitterScrolledWindow *src;
1521 wxObject *dest;
1522 src = (wxSplitterScrolledWindow *) ptr;
1523 dest = (wxObject *) src;
1524 return (void *) dest;
1525}
1526
1527#define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1528static PyObject *_wrap_new_wxSplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject * _resultobj;
1530 wxSplitterScrolledWindow * _result;
1531 wxWindow * _arg0;
1532 wxWindowID _arg1 = (wxWindowID ) -1;
1533 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1534 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1535 long _arg4 = (long ) 0;
1536 PyObject * _argo0 = 0;
1537 wxPoint temp;
1538 PyObject * _obj2 = 0;
1539 wxSize temp0;
1540 PyObject * _obj3 = 0;
1541 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1542 char _ptemp[128];
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1546 return NULL;
1547 if (_argo0) {
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.");
1551 return NULL;
1552 }
1553 }
1554 if (_obj2)
1555{
1556 _arg2 = &temp;
1557 if (! wxPoint_helper(_obj2, &_arg2))
1558 return NULL;
1559}
1560 if (_obj3)
1561{
1562 _arg3 = &temp0;
1563 if (! wxSize_helper(_obj3, &_arg3))
1564 return NULL;
1565}
1566{
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
1568 _result = (wxSplitterScrolledWindow *)new_wxSplitterScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) return NULL;
1572} if (_result) {
1573 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterScrolledWindow_p");
1574 _resultobj = Py_BuildValue("s",_ptemp);
1575 } else {
1576 Py_INCREF(Py_None);
1577 _resultobj = Py_None;
1578 }
1579 return _resultobj;
1580}
1581
1582static void *SwigwxLEDNumberCtrlTowxControl(void *ptr) {
1583 wxLEDNumberCtrl *src;
1584 wxControl *dest;
1585 src = (wxLEDNumberCtrl *) ptr;
1586 dest = (wxControl *) src;
1587 return (void *) dest;
1588}
1589
1590static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr) {
1591 wxLEDNumberCtrl *src;
1592 wxWindow *dest;
1593 src = (wxLEDNumberCtrl *) ptr;
1594 dest = (wxWindow *) src;
1595 return (void *) dest;
1596}
1597
1598static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr) {
1599 wxLEDNumberCtrl *src;
1600 wxEvtHandler *dest;
1601 src = (wxLEDNumberCtrl *) ptr;
1602 dest = (wxEvtHandler *) src;
1603 return (void *) dest;
1604}
1605
1606static void *SwigwxLEDNumberCtrlTowxObject(void *ptr) {
1607 wxLEDNumberCtrl *src;
1608 wxObject *dest;
1609 src = (wxLEDNumberCtrl *) ptr;
1610 dest = (wxObject *) src;
1611 return (void *) dest;
1612}
1613
1614#define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1615static PyObject *_wrap_new_wxLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject * _resultobj;
1617 wxLEDNumberCtrl * _result;
1618 wxWindow * _arg0;
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;
1624 wxPoint temp;
1625 PyObject * _obj2 = 0;
1626 wxSize temp0;
1627 PyObject * _obj3 = 0;
1628 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1629 char _ptemp[128];
1630
1631 self = self;
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxLEDNumberCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1633 return NULL;
1634 if (_argo0) {
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.");
1638 return NULL;
1639 }
1640 }
1641 if (_obj2)
1642{
1643 _arg2 = &temp;
1644 if (! wxPoint_helper(_obj2, &_arg2))
1645 return NULL;
1646}
1647 if (_obj3)
1648{
1649 _arg3 = &temp0;
1650 if (! wxSize_helper(_obj3, &_arg3))
1651 return NULL;
1652}
1653{
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 _result = (wxLEDNumberCtrl *)new_wxLEDNumberCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) return NULL;
1659} if (_result) {
1660 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLEDNumberCtrl_p");
1661 _resultobj = Py_BuildValue("s",_ptemp);
1662 } else {
1663 Py_INCREF(Py_None);
1664 _resultobj = Py_None;
1665 }
1666 return _resultobj;
1667}
1668
1669#define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1670static PyObject *_wrap_new_wxPreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject * _resultobj;
1672 wxLEDNumberCtrl * _result;
1673 char *_kwnames[] = { NULL };
1674 char _ptemp[128];
1675
1676 self = self;
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreLEDNumberCtrl",_kwnames))
1678 return NULL;
1679{
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 _result = (wxLEDNumberCtrl *)new_wxPreLEDNumberCtrl();
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) return NULL;
1685} if (_result) {
1686 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLEDNumberCtrl_p");
1687 _resultobj = Py_BuildValue("s",_ptemp);
1688 } else {
1689 Py_INCREF(Py_None);
1690 _resultobj = Py_None;
1691 }
1692 return _resultobj;
1693}
1694
1695#define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1696static PyObject *_wrap_wxLEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject * _resultobj;
1698 bool _result;
1699 wxLEDNumberCtrl * _arg0;
1700 wxWindow * _arg1;
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;
1707 wxPoint temp;
1708 PyObject * _obj3 = 0;
1709 wxSize temp0;
1710 PyObject * _obj4 = 0;
1711 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
1712
1713 self = self;
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
1715 return NULL;
1716 if (_argo0) {
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.");
1720 return NULL;
1721 }
1722 }
1723 if (_argo1) {
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.");
1727 return NULL;
1728 }
1729 }
1730 if (_obj3)
1731{
1732 _arg3 = &temp;
1733 if (! wxPoint_helper(_obj3, &_arg3))
1734 return NULL;
1735}
1736 if (_obj4)
1737{
1738 _arg4 = &temp0;
1739 if (! wxSize_helper(_obj4, &_arg4))
1740 return NULL;
1741}
1742{
1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
1744 _result = (bool )wxLEDNumberCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) return NULL;
1748} _resultobj = Py_BuildValue("i",_result);
1749 return _resultobj;
1750}
1751
1752#define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1753static 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 };
1759
1760 self = self;
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetAlignment",_kwnames,&_argo0))
1762 return NULL;
1763 if (_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.");
1767 return NULL;
1768 }
1769 }
1770{
1771 PyThreadState* __tstate = wxPyBeginAllowThreads();
1772 _result = (wxLEDValueAlign )wxLEDNumberCtrl_GetAlignment(_arg0);
1773
1774 wxPyEndAllowThreads(__tstate);
1775 if (PyErr_Occurred()) return NULL;
1776} _resultobj = Py_BuildValue("i",_result);
1777 return _resultobj;
1778}
1779
1780#define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1781static PyObject *_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject * _resultobj;
1783 bool _result;
1784 wxLEDNumberCtrl * _arg0;
1785 PyObject * _argo0 = 0;
1786 char *_kwnames[] = { "self", NULL };
1787
1788 self = self;
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames,&_argo0))
1790 return NULL;
1791 if (_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.");
1795 return NULL;
1796 }
1797 }
1798{
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 _result = (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0);
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) return NULL;
1804} _resultobj = Py_BuildValue("i",_result);
1805 return _resultobj;
1806}
1807
1808#define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1809static PyObject *_wrap_wxLEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject * _resultobj;
1811 wxString * _result;
1812 wxLEDNumberCtrl * _arg0;
1813 PyObject * _argo0 = 0;
1814 char *_kwnames[] = { "self", NULL };
1815
1816 self = self;
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetValue",_kwnames,&_argo0))
1818 return NULL;
1819 if (_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.");
1823 return NULL;
1824 }
1825 }
1826{
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 const wxString & _result_ref = wxLEDNumberCtrl_GetValue(_arg0);
1829 _result = (wxString *) &_result_ref;
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) return NULL;
1833}{
1834#if wxUSE_UNICODE
1835 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
1836#else
1837 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1838#endif
1839}
1840 return _resultobj;
1841}
1842
1843#define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1844static 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 };
1852
1853 self = self;
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames,&_argo0,&_arg1,&tempbool2))
1855 return NULL;
1856 if (_argo0) {
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.");
1860 return NULL;
1861 }
1862 }
1863 _arg2 = (bool ) tempbool2;
1864{
1865 PyThreadState* __tstate = wxPyBeginAllowThreads();
1866 wxLEDNumberCtrl_SetAlignment(_arg0,_arg1,_arg2);
1867
1868 wxPyEndAllowThreads(__tstate);
1869 if (PyErr_Occurred()) return NULL;
1870} Py_INCREF(Py_None);
1871 _resultobj = Py_None;
1872 return _resultobj;
1873}
1874
1875#define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1876static PyObject *_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject * _resultobj;
1878 wxLEDNumberCtrl * _arg0;
1879 bool _arg1;
1880 bool _arg2 = (bool ) true;
1881 PyObject * _argo0 = 0;
1882 int tempbool1;
1883 int tempbool2 = (int) true;
1884 char *_kwnames[] = { "self","DrawFaded","Redraw", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames,&_argo0,&tempbool1,&tempbool2))
1888 return NULL;
1889 if (_argo0) {
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.");
1893 return NULL;
1894 }
1895 }
1896 _arg1 = (bool ) tempbool1;
1897 _arg2 = (bool ) tempbool2;
1898{
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 wxLEDNumberCtrl_SetDrawFaded(_arg0,_arg1,_arg2);
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) return NULL;
1904} Py_INCREF(Py_None);
1905 _resultobj = Py_None;
1906 return _resultobj;
1907}
1908
1909#define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1910static PyObject *_wrap_wxLEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject * _resultobj;
1912 wxLEDNumberCtrl * _arg0;
1913 wxString * _arg1;
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 };
1919
1920 self = self;
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames,&_argo0,&_obj1,&tempbool2))
1922 return NULL;
1923 if (_argo0) {
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.");
1927 return NULL;
1928 }
1929 }
1930{
1931 _arg1 = wxString_in_helper(_obj1);
1932 if (_arg1 == NULL)
1933 return NULL;
1934}
1935 _arg2 = (bool ) tempbool2;
1936{
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 wxLEDNumberCtrl_SetValue(_arg0,*_arg1,_arg2);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) return NULL;
1942} Py_INCREF(Py_None);
1943 _resultobj = Py_None;
1944{
1945 if (_obj1)
1946 delete _arg1;
1947}
1948 return _resultobj;
1949}
1950
1951static void *SwigwxTreeListColumnInfoTowxObject(void *ptr) {
1952 wxTreeListColumnInfo *src;
1953 wxObject *dest;
1954 src = (wxTreeListColumnInfo *) ptr;
1955 dest = (wxObject *) src;
1956 return (void *) dest;
1957}
1958
1959#define new_wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1960static 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 };
1969 char _ptemp[128];
1970
1971 self = self;
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oiii:new_wxTreeListColumnInfo",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
1973 return NULL;
1974 if (_obj0)
1975{
1976 _arg0 = wxString_in_helper(_obj0);
1977 if (_arg0 == NULL)
1978 return NULL;
1979}
1980{
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 _result = (wxTreeListColumnInfo *)new_wxTreeListColumnInfo(*_arg0,_arg1,_arg2,_arg3);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) return NULL;
1986} if (_result) {
1987 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeListColumnInfo_p");
1988 _resultobj = Py_BuildValue("s",_ptemp);
1989 } else {
1990 Py_INCREF(Py_None);
1991 _resultobj = Py_None;
1992 }
1993{
1994 if (_obj0)
1995 delete _arg0;
1996}
1997 return _resultobj;
1998}
1999
2000#define wxTreeListColumnInfo_GetAlignment(_swigobj) (_swigobj->GetAlignment())
2001static 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 };
2007
2008 self = self;
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetAlignment",_kwnames,&_argo0))
2010 return NULL;
2011 if (_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.");
2015 return NULL;
2016 }
2017 }
2018{
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 _result = (wxTreeListColumnAlign )wxTreeListColumnInfo_GetAlignment(_arg0);
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) return NULL;
2024} _resultobj = Py_BuildValue("i",_result);
2025 return _resultobj;
2026}
2027
2028#define wxTreeListColumnInfo_GetText(_swigobj) (_swigobj->GetText())
2029static PyObject *_wrap_wxTreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject * _resultobj;
2031 wxString * _result;
2032 wxTreeListColumnInfo * _arg0;
2033 PyObject * _argo0 = 0;
2034 char *_kwnames[] = { "self", NULL };
2035
2036 self = self;
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetText",_kwnames,&_argo0))
2038 return NULL;
2039 if (_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.");
2043 return NULL;
2044 }
2045 }
2046{
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 _result = new wxString (wxTreeListColumnInfo_GetText(_arg0));
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) return NULL;
2052}{
2053#if wxUSE_UNICODE
2054 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2055#else
2056 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2057#endif
2058}
2059{
2060 delete _result;
2061}
2062 return _resultobj;
2063}
2064
2065#define wxTreeListColumnInfo_GetImage(_swigobj) (_swigobj->GetImage())
2066static PyObject *_wrap_wxTreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject * _resultobj;
2068 int _result;
2069 wxTreeListColumnInfo * _arg0;
2070 PyObject * _argo0 = 0;
2071 char *_kwnames[] = { "self", NULL };
2072
2073 self = self;
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetImage",_kwnames,&_argo0))
2075 return NULL;
2076 if (_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.");
2080 return NULL;
2081 }
2082 }
2083{
2084 PyThreadState* __tstate = wxPyBeginAllowThreads();
2085 _result = (int )wxTreeListColumnInfo_GetImage(_arg0);
2086
2087 wxPyEndAllowThreads(__tstate);
2088 if (PyErr_Occurred()) return NULL;
2089} _resultobj = Py_BuildValue("i",_result);
2090 return _resultobj;
2091}
2092
2093#define wxTreeListColumnInfo_GetSelectedImage(_swigobj) (_swigobj->GetSelectedImage())
2094static PyObject *_wrap_wxTreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject * _resultobj;
2096 int _result;
2097 wxTreeListColumnInfo * _arg0;
2098 PyObject * _argo0 = 0;
2099 char *_kwnames[] = { "self", NULL };
2100
2101 self = self;
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetSelectedImage",_kwnames,&_argo0))
2103 return NULL;
2104 if (_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.");
2108 return NULL;
2109 }
2110 }
2111{
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 _result = (int )wxTreeListColumnInfo_GetSelectedImage(_arg0);
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) return NULL;
2117} _resultobj = Py_BuildValue("i",_result);
2118 return _resultobj;
2119}
2120
2121#define wxTreeListColumnInfo_GetWidth(_swigobj) (_swigobj->GetWidth())
2122static PyObject *_wrap_wxTreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject * _resultobj;
2124 size_t _result;
2125 wxTreeListColumnInfo * _arg0;
2126 PyObject * _argo0 = 0;
2127 char *_kwnames[] = { "self", NULL };
2128
2129 self = self;
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetWidth",_kwnames,&_argo0))
2131 return NULL;
2132 if (_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.");
2136 return NULL;
2137 }
2138 }
2139{
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 _result = (size_t )wxTreeListColumnInfo_GetWidth(_arg0);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) return NULL;
2145} _resultobj = Py_BuildValue("i",_result);
2146 return _resultobj;
2147}
2148
2149#define wxTreeListColumnInfo_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
2150static 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 };
2156
2157 self = self;
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetAlignment",_kwnames,&_argo0,&_arg1))
2159 return NULL;
2160 if (_argo0) {
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.");
2164 return NULL;
2165 }
2166 }
2167{
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 wxTreeListColumnInfo_SetAlignment(_arg0,_arg1);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) return NULL;
2173} Py_INCREF(Py_None);
2174 _resultobj = Py_None;
2175 return _resultobj;
2176}
2177
2178#define wxTreeListColumnInfo_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2179static PyObject *_wrap_wxTreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject * _resultobj;
2181 wxTreeListColumnInfo * _arg0;
2182 wxString * _arg1;
2183 PyObject * _argo0 = 0;
2184 PyObject * _obj1 = 0;
2185 char *_kwnames[] = { "self","text", NULL };
2186
2187 self = self;
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListColumnInfo_SetText",_kwnames,&_argo0,&_obj1))
2189 return NULL;
2190 if (_argo0) {
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.");
2194 return NULL;
2195 }
2196 }
2197{
2198 _arg1 = wxString_in_helper(_obj1);
2199 if (_arg1 == NULL)
2200 return NULL;
2201}
2202{
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 wxTreeListColumnInfo_SetText(_arg0,*_arg1);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) return NULL;
2208} Py_INCREF(Py_None);
2209 _resultobj = Py_None;
2210{
2211 if (_obj1)
2212 delete _arg1;
2213}
2214 return _resultobj;
2215}
2216
2217#define wxTreeListColumnInfo_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
2218static PyObject *_wrap_wxTreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject * _resultobj;
2220 wxTreeListColumnInfo * _arg0;
2221 int _arg1;
2222 PyObject * _argo0 = 0;
2223 char *_kwnames[] = { "self","image", NULL };
2224
2225 self = self;
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetImage",_kwnames,&_argo0,&_arg1))
2227 return NULL;
2228 if (_argo0) {
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.");
2232 return NULL;
2233 }
2234 }
2235{
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 wxTreeListColumnInfo_SetImage(_arg0,_arg1);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) return NULL;
2241} Py_INCREF(Py_None);
2242 _resultobj = Py_None;
2243 return _resultobj;
2244}
2245
2246#define wxTreeListColumnInfo_SetSelectedImage(_swigobj,_swigarg0) (_swigobj->SetSelectedImage(_swigarg0))
2247static PyObject *_wrap_wxTreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxTreeListColumnInfo * _arg0;
2250 int _arg1;
2251 PyObject * _argo0 = 0;
2252 char *_kwnames[] = { "self","image", NULL };
2253
2254 self = self;
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetSelectedImage",_kwnames,&_argo0,&_arg1))
2256 return NULL;
2257 if (_argo0) {
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.");
2261 return NULL;
2262 }
2263 }
2264{
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 wxTreeListColumnInfo_SetSelectedImage(_arg0,_arg1);
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) return NULL;
2270} Py_INCREF(Py_None);
2271 _resultobj = Py_None;
2272 return _resultobj;
2273}
2274
2275#define wxTreeListColumnInfo_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2276static PyObject *_wrap_wxTreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxTreeListColumnInfo * _arg0;
2279 size_t _arg1;
2280 PyObject * _argo0 = 0;
2281 char *_kwnames[] = { "self","with", NULL };
2282
2283 self = self;
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetWidth",_kwnames,&_argo0,&_arg1))
2285 return NULL;
2286 if (_argo0) {
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.");
2290 return NULL;
2291 }
2292 }
2293{
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 wxTreeListColumnInfo_SetWidth(_arg0,_arg1);
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) return NULL;
2299} Py_INCREF(Py_None);
2300 _resultobj = Py_None;
2301 return _resultobj;
2302}
2303
2304static void *SwigwxPyTreeListCtrlTowxControl(void *ptr) {
2305 wxPyTreeListCtrl *src;
2306 wxControl *dest;
2307 src = (wxPyTreeListCtrl *) ptr;
2308 dest = (wxControl *) src;
2309 return (void *) dest;
2310}
2311
2312static void *SwigwxPyTreeListCtrlTowxWindow(void *ptr) {
2313 wxPyTreeListCtrl *src;
2314 wxWindow *dest;
2315 src = (wxPyTreeListCtrl *) ptr;
2316 dest = (wxWindow *) src;
2317 return (void *) dest;
2318}
2319
2320static void *SwigwxPyTreeListCtrlTowxEvtHandler(void *ptr) {
2321 wxPyTreeListCtrl *src;
2322 wxEvtHandler *dest;
2323 src = (wxPyTreeListCtrl *) ptr;
2324 dest = (wxEvtHandler *) src;
2325 return (void *) dest;
2326}
2327
2328static void *SwigwxPyTreeListCtrlTowxObject(void *ptr) {
2329 wxPyTreeListCtrl *src;
2330 wxObject *dest;
2331 src = (wxPyTreeListCtrl *) ptr;
2332 dest = (wxObject *) src;
2333 return (void *) dest;
2334}
2335
2336#define new_wxTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2337static PyObject *_wrap_new_wxTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject * _resultobj;
2339 wxPyTreeListCtrl * _result;
2340 wxWindow * _arg0;
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;
2348 wxPoint temp;
2349 PyObject * _obj2 = 0;
2350 wxSize temp0;
2351 PyObject * _obj3 = 0;
2352 PyObject * _argo5 = 0;
2353 PyObject * _obj6 = 0;
2354 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
2355 char _ptemp[128];
2356
2357 self = self;
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
2359 return NULL;
2360 if (_argo0) {
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.");
2364 return NULL;
2365 }
2366 }
2367 if (_obj2)
2368{
2369 _arg2 = &temp;
2370 if (! wxPoint_helper(_obj2, &_arg2))
2371 return NULL;
2372}
2373 if (_obj3)
2374{
2375 _arg3 = &temp0;
2376 if (! wxSize_helper(_obj3, &_arg3))
2377 return NULL;
2378}
2379 if (_argo5) {
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.");
2382 return NULL;
2383 }
2384 }
2385 if (_obj6)
2386{
2387 _arg6 = wxString_in_helper(_obj6);
2388 if (_arg6 == NULL)
2389 return NULL;
2390}
2391{
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 _result = (wxPyTreeListCtrl *)new_wxTreeListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) return NULL;
2397} if (_result) {
2398 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeListCtrl_p");
2399 _resultobj = Py_BuildValue("s",_ptemp);
2400 } else {
2401 Py_INCREF(Py_None);
2402 _resultobj = Py_None;
2403 }
2404{
2405 if (_obj6)
2406 delete _arg6;
2407}
2408 return _resultobj;
2409}
2410
2411#define new_wxPreTreeListCtrl() (new wxPyTreeListCtrl())
2412static PyObject *_wrap_new_wxPreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject * _resultobj;
2414 wxPyTreeListCtrl * _result;
2415 char *_kwnames[] = { NULL };
2416 char _ptemp[128];
2417
2418 self = self;
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeListCtrl",_kwnames))
2420 return NULL;
2421{
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 _result = (wxPyTreeListCtrl *)new_wxPreTreeListCtrl();
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) return NULL;
2427} if (_result) {
2428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeListCtrl_p");
2429 _resultobj = Py_BuildValue("s",_ptemp);
2430 } else {
2431 Py_INCREF(Py_None);
2432 _resultobj = Py_None;
2433 }
2434 return _resultobj;
2435}
2436
2437#define wxTreeListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2438static PyObject *_wrap_wxTreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 bool _result;
2441 wxPyTreeListCtrl * _arg0;
2442 wxWindow * _arg1;
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;
2451 wxPoint temp;
2452 PyObject * _obj3 = 0;
2453 wxSize temp0;
2454 PyObject * _obj4 = 0;
2455 PyObject * _argo6 = 0;
2456 PyObject * _obj7 = 0;
2457 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
2458
2459 self = self;
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
2461 return NULL;
2462 if (_argo0) {
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.");
2466 return NULL;
2467 }
2468 }
2469 if (_argo1) {
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.");
2473 return NULL;
2474 }
2475 }
2476 if (_obj3)
2477{
2478 _arg3 = &temp;
2479 if (! wxPoint_helper(_obj3, &_arg3))
2480 return NULL;
2481}
2482 if (_obj4)
2483{
2484 _arg4 = &temp0;
2485 if (! wxSize_helper(_obj4, &_arg4))
2486 return NULL;
2487}
2488 if (_argo6) {
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.");
2491 return NULL;
2492 }
2493 }
2494 if (_obj7)
2495{
2496 _arg7 = wxString_in_helper(_obj7);
2497 if (_arg7 == NULL)
2498 return NULL;
2499}
2500{
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 _result = (bool )wxTreeListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) return NULL;
2506} _resultobj = Py_BuildValue("i",_result);
2507{
2508 if (_obj7)
2509 delete _arg7;
2510}
2511 return _resultobj;
2512}
2513
2514#define wxTreeListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2515static PyObject *_wrap_wxTreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject * _resultobj;
2517 wxPyTreeListCtrl * _arg0;
2518 PyObject * _arg1;
2519 PyObject * _arg2;
2520 PyObject * _argo0 = 0;
2521 PyObject * _obj1 = 0;
2522 PyObject * _obj2 = 0;
2523 char *_kwnames[] = { "self","self","_class", NULL };
2524
2525 self = self;
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2527 return NULL;
2528 if (_argo0) {
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.");
2532 return NULL;
2533 }
2534 }
2535{
2536 _arg1 = _obj1;
2537}
2538{
2539 _arg2 = _obj2;
2540}
2541{
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 wxTreeListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) return NULL;
2547} Py_INCREF(Py_None);
2548 _resultobj = Py_None;
2549 return _resultobj;
2550}
2551
2552#define wxTreeListCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2553static PyObject *_wrap_wxTreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject * _resultobj;
2555 size_t _result;
2556 wxPyTreeListCtrl * _arg0;
2557 PyObject * _argo0 = 0;
2558 char *_kwnames[] = { "self", NULL };
2559
2560 self = self;
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetCount",_kwnames,&_argo0))
2562 return NULL;
2563 if (_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.");
2567 return NULL;
2568 }
2569 }
2570{
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 _result = (size_t )wxTreeListCtrl_GetCount(_arg0);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) return NULL;
2576} _resultobj = Py_BuildValue("i",_result);
2577 return _resultobj;
2578}
2579
2580#define wxTreeListCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2581static 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 };
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetIndent",_kwnames,&_argo0))
2590 return NULL;
2591 if (_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.");
2595 return NULL;
2596 }
2597 }
2598{
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 _result = (unsigned int )wxTreeListCtrl_GetIndent(_arg0);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) return NULL;
2604} _resultobj = Py_BuildValue("i",_result);
2605 return _resultobj;
2606}
2607
2608#define wxTreeListCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2609static PyObject *_wrap_wxTreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject * _resultobj;
2611 wxPyTreeListCtrl * _arg0;
2612 unsigned int _arg1;
2613 PyObject * _argo0 = 0;
2614 char *_kwnames[] = { "self","indent", NULL };
2615
2616 self = self;
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
2618 return NULL;
2619 if (_argo0) {
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.");
2623 return NULL;
2624 }
2625 }
2626{
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 wxTreeListCtrl_SetIndent(_arg0,_arg1);
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) return NULL;
2632} Py_INCREF(Py_None);
2633 _resultobj = Py_None;
2634 return _resultobj;
2635}
2636
2637#define wxTreeListCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
2638static 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 };
2644
2645 self = self;
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSpacing",_kwnames,&_argo0))
2647 return NULL;
2648 if (_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.");
2652 return NULL;
2653 }
2654 }
2655{
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 _result = (unsigned int )wxTreeListCtrl_GetSpacing(_arg0);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) return NULL;
2661} _resultobj = Py_BuildValue("i",_result);
2662 return _resultobj;
2663}
2664
2665#define wxTreeListCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
2666static PyObject *_wrap_wxTreeListCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject * _resultobj;
2668 wxPyTreeListCtrl * _arg0;
2669 unsigned int _arg1;
2670 PyObject * _argo0 = 0;
2671 char *_kwnames[] = { "self","spacing", NULL };
2672
2673 self = self;
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
2675 return NULL;
2676 if (_argo0) {
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.");
2680 return NULL;
2681 }
2682 }
2683{
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
2685 wxTreeListCtrl_SetSpacing(_arg0,_arg1);
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) return NULL;
2689} Py_INCREF(Py_None);
2690 _resultobj = Py_None;
2691 return _resultobj;
2692}
2693
2694#define wxTreeListCtrl_GetLineSpacing(_swigobj) (_swigobj->GetLineSpacing())
2695static 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 };
2701
2702 self = self;
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetLineSpacing",_kwnames,&_argo0))
2704 return NULL;
2705 if (_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.");
2709 return NULL;
2710 }
2711 }
2712{
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 _result = (unsigned int )wxTreeListCtrl_GetLineSpacing(_arg0);
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) return NULL;
2718} _resultobj = Py_BuildValue("i",_result);
2719 return _resultobj;
2720}
2721
2722#define wxTreeListCtrl_SetLineSpacing(_swigobj,_swigarg0) (_swigobj->SetLineSpacing(_swigarg0))
2723static PyObject *_wrap_wxTreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject * _resultobj;
2725 wxPyTreeListCtrl * _arg0;
2726 unsigned int _arg1;
2727 PyObject * _argo0 = 0;
2728 char *_kwnames[] = { "self","spacing", NULL };
2729
2730 self = self;
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetLineSpacing",_kwnames,&_argo0,&_arg1))
2732 return NULL;
2733 if (_argo0) {
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.");
2737 return NULL;
2738 }
2739 }
2740{
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 wxTreeListCtrl_SetLineSpacing(_arg0,_arg1);
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) return NULL;
2746} Py_INCREF(Py_None);
2747 _resultobj = Py_None;
2748 return _resultobj;
2749}
2750
2751#define wxTreeListCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2752static 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 };
2758
2759 self = self;
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetImageList",_kwnames,&_argo0))
2761 return NULL;
2762 if (_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.");
2766 return NULL;
2767 }
2768 }
2769{
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 _result = (wxImageList *)wxTreeListCtrl_GetImageList(_arg0);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) return NULL;
2775}{ _resultobj = wxPyMake_wxObject(_result); }
2776 return _resultobj;
2777}
2778
2779#define wxTreeListCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2780static 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 };
2786
2787 self = self;
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetStateImageList",_kwnames,&_argo0))
2789 return NULL;
2790 if (_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.");
2794 return NULL;
2795 }
2796 }
2797{
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 _result = (wxImageList *)wxTreeListCtrl_GetStateImageList(_arg0);
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) return NULL;
2803}{ _resultobj = wxPyMake_wxObject(_result); }
2804 return _resultobj;
2805}
2806
2807#define wxTreeListCtrl_GetButtonsImageList(_swigobj) (_swigobj->GetButtonsImageList())
2808static 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 };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetButtonsImageList",_kwnames,&_argo0))
2817 return NULL;
2818 if (_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.");
2822 return NULL;
2823 }
2824 }
2825{
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 _result = (wxImageList *)wxTreeListCtrl_GetButtonsImageList(_arg0);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) return NULL;
2831}{ _resultobj = wxPyMake_wxObject(_result); }
2832 return _resultobj;
2833}
2834
2835#define wxTreeListCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2836static 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 };
2843
2844 self = self;
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
2846 return NULL;
2847 if (_argo0) {
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.");
2851 return NULL;
2852 }
2853 }
2854 if (_argo1) {
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.");
2858 return NULL;
2859 }
2860 }
2861{
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 wxTreeListCtrl_SetImageList(_arg0,_arg1);
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) return NULL;
2867} Py_INCREF(Py_None);
2868 _resultobj = Py_None;
2869 return _resultobj;
2870}
2871
2872#define wxTreeListCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2873static 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 };
2880
2881 self = self;
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
2883 return NULL;
2884 if (_argo0) {
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.");
2888 return NULL;
2889 }
2890 }
2891 if (_argo1) {
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.");
2895 return NULL;
2896 }
2897 }
2898{
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 wxTreeListCtrl_SetStateImageList(_arg0,_arg1);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) return NULL;
2904} Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 return _resultobj;
2907}
2908
2909#define wxTreeListCtrl_SetButtonsImageList(_swigobj,_swigarg0) (_swigobj->SetButtonsImageList(_swigarg0))
2910static 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 };
2917
2918 self = self;
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetButtonsImageList",_kwnames,&_argo0,&_argo1))
2920 return NULL;
2921 if (_argo0) {
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.");
2925 return NULL;
2926 }
2927 }
2928 if (_argo1) {
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.");
2932 return NULL;
2933 }
2934 }
2935{
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 wxTreeListCtrl_SetButtonsImageList(_arg0,_arg1);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) return NULL;
2941} Py_INCREF(Py_None);
2942 _resultobj = Py_None;
2943 return _resultobj;
2944}
2945
2946#define wxTreeListCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
2947static 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 };
2954
2955 self = self;
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
2957 return NULL;
2958 if (_argo0) {
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.");
2962 return NULL;
2963 }
2964 }
2965 if (_argo1) {
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.");
2969 return NULL;
2970 }
2971 }
2972{
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 wxTreeListCtrl_AssignImageList(_arg0,_arg1);
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) return NULL;
2978} Py_INCREF(Py_None);
2979 _resultobj = Py_None;
2980 return _resultobj;
2981}
2982
2983#define wxTreeListCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
2984static 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 };
2991
2992 self = self;
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
2994 return NULL;
2995 if (_argo0) {
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.");
2999 return NULL;
3000 }
3001 }
3002 if (_argo1) {
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.");
3006 return NULL;
3007 }
3008 }
3009{
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 wxTreeListCtrl_AssignStateImageList(_arg0,_arg1);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) return NULL;
3015} Py_INCREF(Py_None);
3016 _resultobj = Py_None;
3017 return _resultobj;
3018}
3019
3020#define wxTreeListCtrl_AssignButtonsImageList(_swigobj,_swigarg0) (_swigobj->AssignButtonsImageList(_swigarg0))
3021static 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 };
3028
3029 self = self;
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignButtonsImageList",_kwnames,&_argo0,&_argo1))
3031 return NULL;
3032 if (_argo0) {
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.");
3036 return NULL;
3037 }
3038 }
3039 if (_argo1) {
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.");
3043 return NULL;
3044 }
3045 }
3046{
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 wxTreeListCtrl_AssignButtonsImageList(_arg0,_arg1);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) return NULL;
3052} Py_INCREF(Py_None);
3053 _resultobj = Py_None;
3054 return _resultobj;
3055}
3056
3057#define wxTreeListCtrl_AddColumn(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
3058static PyObject *_wrap_wxTreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject * _resultobj;
3060 wxPyTreeListCtrl * _arg0;
3061 wxString * _arg1;
3062 PyObject * _argo0 = 0;
3063 PyObject * _obj1 = 0;
3064 char *_kwnames[] = { "self","text", NULL };
3065
3066 self = self;
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AddColumn",_kwnames,&_argo0,&_obj1))
3068 return NULL;
3069 if (_argo0) {
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.");
3073 return NULL;
3074 }
3075 }
3076{
3077 _arg1 = wxString_in_helper(_obj1);
3078 if (_arg1 == NULL)
3079 return NULL;
3080}
3081{
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 wxTreeListCtrl_AddColumn(_arg0,*_arg1);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) return NULL;
3087} Py_INCREF(Py_None);
3088 _resultobj = Py_None;
3089{
3090 if (_obj1)
3091 delete _arg1;
3092}
3093 return _resultobj;
3094}
3095
3096#define wxTreeListCtrl_AddColumnInfo(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
3097static 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 };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AddColumnInfo",_kwnames,&_argo0,&_argo1))
3107 return NULL;
3108 if (_argo0) {
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.");
3112 return NULL;
3113 }
3114 }
3115 if (_argo1) {
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.");
3118 return NULL;
3119 }
3120 }
3121{
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 wxTreeListCtrl_AddColumnInfo(_arg0,*_arg1);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) return NULL;
3127} Py_INCREF(Py_None);
3128 _resultobj = Py_None;
3129 return _resultobj;
3130}
3131
3132#define wxTreeListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3133static PyObject *_wrap_wxTreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject * _resultobj;
3135 wxPyTreeListCtrl * _arg0;
3136 size_t _arg1;
3137 wxString * _arg2;
3138 PyObject * _argo0 = 0;
3139 PyObject * _obj2 = 0;
3140 char *_kwnames[] = { "self","before","text", NULL };
3141
3142 self = self;
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2))
3144 return NULL;
3145 if (_argo0) {
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.");
3149 return NULL;
3150 }
3151 }
3152{
3153 _arg2 = wxString_in_helper(_obj2);
3154 if (_arg2 == NULL)
3155 return NULL;
3156}
3157{
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 wxTreeListCtrl_InsertColumn(_arg0,_arg1,*_arg2);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) return NULL;
3163} Py_INCREF(Py_None);
3164 _resultobj = Py_None;
3165{
3166 if (_obj2)
3167 delete _arg2;
3168}
3169 return _resultobj;
3170}
3171
3172#define wxTreeListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3173static PyObject *_wrap_wxTreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3174 PyObject * _resultobj;
3175 wxPyTreeListCtrl * _arg0;
3176 size_t _arg1;
3177 wxTreeListColumnInfo * _arg2;
3178 PyObject * _argo0 = 0;
3179 PyObject * _argo2 = 0;
3180 char *_kwnames[] = { "self","before","col", NULL };
3181
3182 self = self;
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
3184 return NULL;
3185 if (_argo0) {
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.");
3189 return NULL;
3190 }
3191 }
3192 if (_argo2) {
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.");
3195 return NULL;
3196 }
3197 }
3198{
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 wxTreeListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) return NULL;
3204} Py_INCREF(Py_None);
3205 _resultobj = Py_None;
3206 return _resultobj;
3207}
3208
3209#define wxTreeListCtrl_RemoveColumn(_swigobj,_swigarg0) (_swigobj->RemoveColumn(_swigarg0))
3210static PyObject *_wrap_wxTreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject * _resultobj;
3212 wxPyTreeListCtrl * _arg0;
3213 size_t _arg1;
3214 PyObject * _argo0 = 0;
3215 char *_kwnames[] = { "self","column", NULL };
3216
3217 self = self;
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_RemoveColumn",_kwnames,&_argo0,&_arg1))
3219 return NULL;
3220 if (_argo0) {
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.");
3224 return NULL;
3225 }
3226 }
3227{
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 wxTreeListCtrl_RemoveColumn(_arg0,_arg1);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) return NULL;
3233} Py_INCREF(Py_None);
3234 _resultobj = Py_None;
3235 return _resultobj;
3236}
3237
3238#define wxTreeListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3239static PyObject *_wrap_wxTreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject * _resultobj;
3241 size_t _result;
3242 wxPyTreeListCtrl * _arg0;
3243 PyObject * _argo0 = 0;
3244 char *_kwnames[] = { "self", NULL };
3245
3246 self = self;
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetColumnCount",_kwnames,&_argo0))
3248 return NULL;
3249 if (_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.");
3253 return NULL;
3254 }
3255 }
3256{
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 _result = (size_t )wxTreeListCtrl_GetColumnCount(_arg0);
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) return NULL;
3262} _resultobj = Py_BuildValue("i",_result);
3263 return _resultobj;
3264}
3265
3266#define wxTreeListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3267static PyObject *_wrap_wxTreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject * _resultobj;
3269 wxPyTreeListCtrl * _arg0;
3270 size_t _arg1;
3271 size_t _arg2;
3272 PyObject * _argo0 = 0;
3273 char *_kwnames[] = { "self","column","width", NULL };
3274
3275 self = self;
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
3277 return NULL;
3278 if (_argo0) {
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.");
3282 return NULL;
3283 }
3284 }
3285{
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 wxTreeListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) return NULL;
3291} Py_INCREF(Py_None);
3292 _resultobj = Py_None;
3293 return _resultobj;
3294}
3295
3296#define wxTreeListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3297static PyObject *_wrap_wxTreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject * _resultobj;
3299 int _result;
3300 wxPyTreeListCtrl * _arg0;
3301 size_t _arg1;
3302 PyObject * _argo0 = 0;
3303 char *_kwnames[] = { "self","column", NULL };
3304
3305 self = self;
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
3307 return NULL;
3308 if (_argo0) {
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.");
3312 return NULL;
3313 }
3314 }
3315{
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 _result = (int )wxTreeListCtrl_GetColumnWidth(_arg0,_arg1);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) return NULL;
3321} _resultobj = Py_BuildValue("i",_result);
3322 return _resultobj;
3323}
3324
3325#define wxTreeListCtrl_SetMainColumn(_swigobj,_swigarg0) (_swigobj->SetMainColumn(_swigarg0))
3326static PyObject *_wrap_wxTreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject * _resultobj;
3328 wxPyTreeListCtrl * _arg0;
3329 size_t _arg1;
3330 PyObject * _argo0 = 0;
3331 char *_kwnames[] = { "self","column", NULL };
3332
3333 self = self;
3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetMainColumn",_kwnames,&_argo0,&_arg1))
3335 return NULL;
3336 if (_argo0) {
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.");
3340 return NULL;
3341 }
3342 }
3343{
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 wxTreeListCtrl_SetMainColumn(_arg0,_arg1);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) return NULL;
3349} Py_INCREF(Py_None);
3350 _resultobj = Py_None;
3351 return _resultobj;
3352}
3353
3354#define wxTreeListCtrl_GetMainColumn(_swigobj) (_swigobj->GetMainColumn())
3355static PyObject *_wrap_wxTreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject * _resultobj;
3357 size_t _result;
3358 wxPyTreeListCtrl * _arg0;
3359 PyObject * _argo0 = 0;
3360 char *_kwnames[] = { "self", NULL };
3361
3362 self = self;
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetMainColumn",_kwnames,&_argo0))
3364 return NULL;
3365 if (_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.");
3369 return NULL;
3370 }
3371 }
3372{
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 _result = (size_t )wxTreeListCtrl_GetMainColumn(_arg0);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) return NULL;
3378} _resultobj = Py_BuildValue("i",_result);
3379 return _resultobj;
3380}
3381
3382#define wxTreeListCtrl_SetColumnText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnText(_swigarg0,_swigarg1))
3383static PyObject *_wrap_wxTreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject * _resultobj;
3385 wxPyTreeListCtrl * _arg0;
3386 size_t _arg1;
3387 wxString * _arg2;
3388 PyObject * _argo0 = 0;
3389 PyObject * _obj2 = 0;
3390 char *_kwnames[] = { "self","column","text", NULL };
3391
3392 self = self;
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_SetColumnText",_kwnames,&_argo0,&_arg1,&_obj2))
3394 return NULL;
3395 if (_argo0) {
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.");
3399 return NULL;
3400 }
3401 }
3402{
3403 _arg2 = wxString_in_helper(_obj2);
3404 if (_arg2 == NULL)
3405 return NULL;
3406}
3407{
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 wxTreeListCtrl_SetColumnText(_arg0,_arg1,*_arg2);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) return NULL;
3413} Py_INCREF(Py_None);
3414 _resultobj = Py_None;
3415{
3416 if (_obj2)
3417 delete _arg2;
3418}
3419 return _resultobj;
3420}
3421
3422#define wxTreeListCtrl_GetColumnText(_swigobj,_swigarg0) (_swigobj->GetColumnText(_swigarg0))
3423static PyObject *_wrap_wxTreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject * _resultobj;
3425 wxString * _result;
3426 wxPyTreeListCtrl * _arg0;
3427 size_t _arg1;
3428 PyObject * _argo0 = 0;
3429 char *_kwnames[] = { "self","column", NULL };
3430
3431 self = self;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnText",_kwnames,&_argo0,&_arg1))
3433 return NULL;
3434 if (_argo0) {
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.");
3438 return NULL;
3439 }
3440 }
3441{
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 _result = new wxString (wxTreeListCtrl_GetColumnText(_arg0,_arg1));
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) return NULL;
3447}{
3448#if wxUSE_UNICODE
3449 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3450#else
3451 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3452#endif
3453}
3454{
3455 delete _result;
3456}
3457 return _resultobj;
3458}
3459
3460#define wxTreeListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3461static PyObject *_wrap_wxTreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject * _resultobj;
3463 wxPyTreeListCtrl * _arg0;
3464 size_t _arg1;
3465 wxTreeListColumnInfo * _arg2;
3466 PyObject * _argo0 = 0;
3467 PyObject * _argo2 = 0;
3468 char *_kwnames[] = { "self","column","info", NULL };
3469
3470 self = self;
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
3472 return NULL;
3473 if (_argo0) {
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.");
3477 return NULL;
3478 }
3479 }
3480 if (_argo2) {
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.");
3483 return NULL;
3484 }
3485 }
3486{
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 wxTreeListCtrl_SetColumn(_arg0,_arg1,*_arg2);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) return NULL;
3492} Py_INCREF(Py_None);
3493 _resultobj = Py_None;
3494 return _resultobj;
3495}
3496
3497#define wxTreeListCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3498static PyObject *_wrap_wxTreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject * _resultobj;
3500 wxTreeListColumnInfo * _result;
3501 wxPyTreeListCtrl * _arg0;
3502 size_t _arg1;
3503 PyObject * _argo0 = 0;
3504 char *_kwnames[] = { "self","column", NULL };
3505 char _ptemp[128];
3506
3507 self = self;
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
3509 return NULL;
3510 if (_argo0) {
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.");
3514 return NULL;
3515 }
3516 }
3517{
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 wxTreeListColumnInfo & _result_ref = wxTreeListCtrl_GetColumn(_arg0,_arg1);
3520 _result = (wxTreeListColumnInfo *) &_result_ref;
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) return NULL;
3524} if (_result) {
3525 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeListColumnInfo_p");
3526 _resultobj = Py_BuildValue("s",_ptemp);
3527 } else {
3528 Py_INCREF(Py_None);
3529 _resultobj = Py_None;
3530 }
3531 return _resultobj;
3532}
3533
3534#define wxTreeListCtrl_SetColumnAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnAlignment(_swigarg0,_swigarg1))
3535static PyObject *_wrap_wxTreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject * _resultobj;
3537 wxPyTreeListCtrl * _arg0;
3538 size_t _arg1;
3539 wxTreeListColumnAlign _arg2;
3540 PyObject * _argo0 = 0;
3541 char *_kwnames[] = { "self","column","align", NULL };
3542
3543 self = self;
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3545 return NULL;
3546 if (_argo0) {
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.");
3550 return NULL;
3551 }
3552 }
3553{
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 wxTreeListCtrl_SetColumnAlignment(_arg0,_arg1,_arg2);
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) return NULL;
3559} Py_INCREF(Py_None);
3560 _resultobj = Py_None;
3561 return _resultobj;
3562}
3563
3564#define wxTreeListCtrl_GetColumnAlignment(_swigobj,_swigarg0) (_swigobj->GetColumnAlignment(_swigarg0))
3565static PyObject *_wrap_wxTreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3566 PyObject * _resultobj;
3567 wxTreeListColumnAlign _result;
3568 wxPyTreeListCtrl * _arg0;
3569 size_t _arg1;
3570 PyObject * _argo0 = 0;
3571 char *_kwnames[] = { "self","column", NULL };
3572
3573 self = self;
3574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnAlignment",_kwnames,&_argo0,&_arg1))
3575 return NULL;
3576 if (_argo0) {
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.");
3580 return NULL;
3581 }
3582 }
3583{
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 _result = (wxTreeListColumnAlign )wxTreeListCtrl_GetColumnAlignment(_arg0,_arg1);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) return NULL;
3589} _resultobj = Py_BuildValue("i",_result);
3590 return _resultobj;
3591}
3592
3593#define wxTreeListCtrl_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
3594static PyObject *_wrap_wxTreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject * _resultobj;
3596 wxPyTreeListCtrl * _arg0;
3597 size_t _arg1;
3598 int _arg2;
3599 PyObject * _argo0 = 0;
3600 char *_kwnames[] = { "self","column","image", NULL };
3601
3602 self = self;
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
3604 return NULL;
3605 if (_argo0) {
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.");
3609 return NULL;
3610 }
3611 }
3612{
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 wxTreeListCtrl_SetColumnImage(_arg0,_arg1,_arg2);
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) return NULL;
3618} Py_INCREF(Py_None);
3619 _resultobj = Py_None;
3620 return _resultobj;
3621}
3622
3623#define wxTreeListCtrl_GetColumnImage(_swigobj,_swigarg0) (_swigobj->GetColumnImage(_swigarg0))
3624static PyObject *_wrap_wxTreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject * _resultobj;
3626 int _result;
3627 wxPyTreeListCtrl * _arg0;
3628 size_t _arg1;
3629 PyObject * _argo0 = 0;
3630 char *_kwnames[] = { "self","column", NULL };
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnImage",_kwnames,&_argo0,&_arg1))
3634 return NULL;
3635 if (_argo0) {
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.");
3639 return NULL;
3640 }
3641 }
3642{
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 _result = (int )wxTreeListCtrl_GetColumnImage(_arg0,_arg1);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) return NULL;
3648} _resultobj = Py_BuildValue("i",_result);
3649 return _resultobj;
3650}
3651
3652static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,const wxTreeItemId & item,int column) {
3653 if (column < 0) column = self->GetMainColumn();
3654 return self->GetItemText(item, column);
3655 }
3656static PyObject *_wrap_wxTreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject * _resultobj;
3658 wxString * _result;
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 };
3665
3666 self = self;
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetItemText",_kwnames,&_argo0,&_argo1,&_arg2))
3668 return NULL;
3669 if (_argo0) {
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.");
3673 return NULL;
3674 }
3675 }
3676 if (_argo1) {
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.");
3679 return NULL;
3680 }
3681 }
3682{
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 _result = new wxString (wxPyTreeListCtrl_GetItemText(_arg0,*_arg1,_arg2));
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) return NULL;
3688}{
3689#if wxUSE_UNICODE
3690 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3691#else
3692 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3693#endif
3694}
3695{
3696 delete _result;
3697}
3698 return _resultobj;
3699}
3700
3701static 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);
3704 }
3705static PyObject *_wrap_wxTreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3706 PyObject * _resultobj;
3707 int _result;
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 };
3715
3716 self = self;
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxTreeListCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3718 return NULL;
3719 if (_argo0) {
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.");
3723 return NULL;
3724 }
3725 }
3726 if (_argo1) {
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.");
3729 return NULL;
3730 }
3731 }
3732{
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 _result = (int )wxPyTreeListCtrl_GetItemImage(_arg0,*_arg1,_arg2,_arg3);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) return NULL;
3738} _resultobj = Py_BuildValue("i",_result);
3739 return _resultobj;
3740}
3741
3742static 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);
3745 }
3746static PyObject *_wrap_wxTreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject * _resultobj;
3748 wxPyTreeListCtrl * _arg0;
3749 wxTreeItemId * _arg1;
3750 wxString * _arg2;
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 };
3756
3757 self = self;
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxTreeListCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
3759 return NULL;
3760 if (_argo0) {
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.");
3764 return NULL;
3765 }
3766 }
3767 if (_argo1) {
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.");
3770 return NULL;
3771 }
3772 }
3773{
3774 _arg2 = wxString_in_helper(_obj2);
3775 if (_arg2 == NULL)
3776 return NULL;
3777}
3778{
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 wxPyTreeListCtrl_SetItemText(_arg0,*_arg1,*_arg2,_arg3);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) return NULL;
3784} Py_INCREF(Py_None);
3785 _resultobj = Py_None;
3786{
3787 if (_obj2)
3788 delete _arg2;
3789}
3790 return _resultobj;
3791}
3792
3793static 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);
3796 }
3797static PyObject *_wrap_wxTreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject * _resultobj;
3799 wxPyTreeListCtrl * _arg0;
3800 wxTreeItemId * _arg1;
3801 int _arg2;
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 };
3807
3808 self = self;
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|ii:wxTreeListCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
3810 return NULL;
3811 if (_argo0) {
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.");
3815 return NULL;
3816 }
3817 }
3818 if (_argo1) {
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.");
3821 return NULL;
3822 }
3823 }
3824{
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 wxPyTreeListCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3,_arg4);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) return NULL;
3830} Py_INCREF(Py_None);
3831 _resultobj = Py_None;
3832 return _resultobj;
3833}
3834
3835static wxPyTreeItemData * wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,const wxTreeItemId & item) {
3836 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3837 if (data == NULL) {
3838 data = new wxPyTreeItemData();
3839 data->SetId(item); // set the id
3840 self->SetItemData(item, data);
3841 }
3842 return data;
3843 }
3844static 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 };
3852 char _ptemp[128];
3853
3854 self = self;
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
3856 return NULL;
3857 if (_argo0) {
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.");
3861 return NULL;
3862 }
3863 }
3864 if (_argo1) {
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.");
3867 return NULL;
3868 }
3869 }
3870{
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 _result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(_arg0,*_arg1);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) return NULL;
3876} if (_result) {
3877 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
3878 _resultobj = Py_BuildValue("s",_ptemp);
3879 } else {
3880 Py_INCREF(Py_None);
3881 _resultobj = Py_None;
3882 }
3883 return _resultobj;
3884}
3885
3886static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
3887 data->SetId(item); // set the id
3888 self->SetItemData(item, data);
3889 }
3890static 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 };
3899
3900 self = self;
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
3902 return NULL;
3903 if (_argo0) {
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.");
3907 return NULL;
3908 }
3909 }
3910 if (_argo1) {
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.");
3913 return NULL;
3914 }
3915 }
3916 if (_argo2) {
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.");
3920 return NULL;
3921 }
3922 }
3923{
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 wxPyTreeListCtrl_SetItemData(_arg0,*_arg1,_arg2);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) return NULL;
3929} Py_INCREF(Py_None);
3930 _resultobj = Py_None;
3931 return _resultobj;
3932}
3933
3934static PyObject * wxPyTreeListCtrl_GetPyData(wxPyTreeListCtrl *self,const wxTreeItemId & item) {
3935 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3936 if (data == NULL) {
3937 data = new wxPyTreeItemData();
3938 data->SetId(item); // set the id
3939 self->SetItemData(item, data);
3940 }
3941 return data->GetData();
3942 }
3943static PyObject *_wrap_wxTreeListCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject * _resultobj;
3945 PyObject * _result;
3946 wxPyTreeListCtrl * _arg0;
3947 wxTreeItemId * _arg1;
3948 PyObject * _argo0 = 0;
3949 PyObject * _argo1 = 0;
3950 char *_kwnames[] = { "self","item", NULL };
3951
3952 self = self;
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
3954 return NULL;
3955 if (_argo0) {
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.");
3959 return NULL;
3960 }
3961 }
3962 if (_argo1) {
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.");
3965 return NULL;
3966 }
3967 }
3968{
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 _result = (PyObject *)wxPyTreeListCtrl_GetPyData(_arg0,*_arg1);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) return NULL;
3974}{
3975 _resultobj = _result;
3976}
3977 return _resultobj;
3978}
3979
3980static void wxPyTreeListCtrl_SetPyData(wxPyTreeListCtrl *self,const wxTreeItemId & item,PyObject * obj) {
3981 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3982 if (data == NULL) {
3983 data = new wxPyTreeItemData(obj);
3984 data->SetId(item); // set the id
3985 self->SetItemData(item, data);
3986 } else
3987 data->SetData(obj);
3988 }
3989static PyObject *_wrap_wxTreeListCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject * _resultobj;
3991 wxPyTreeListCtrl * _arg0;
3992 wxTreeItemId * _arg1;
3993 PyObject * _arg2;
3994 PyObject * _argo0 = 0;
3995 PyObject * _argo1 = 0;
3996 PyObject * _obj2 = 0;
3997 char *_kwnames[] = { "self","item","obj", NULL };
3998
3999 self = self;
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
4001 return NULL;
4002 if (_argo0) {
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.");
4006 return NULL;
4007 }
4008 }
4009 if (_argo1) {
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.");
4012 return NULL;
4013 }
4014 }
4015{
4016 _arg2 = _obj2;
4017}
4018{
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 wxPyTreeListCtrl_SetPyData(_arg0,*_arg1,_arg2);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) return NULL;
4024} Py_INCREF(Py_None);
4025 _resultobj = Py_None;
4026 return _resultobj;
4027}
4028
4029#define wxTreeListCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
4030static 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 };
4039
4040 self = self;
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
4042 return NULL;
4043 if (_argo0) {
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.");
4047 return NULL;
4048 }
4049 }
4050 if (_argo1) {
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.");
4053 return NULL;
4054 }
4055 }
4056 _arg2 = (bool ) tempbool2;
4057{
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 wxTreeListCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) return NULL;
4063} Py_INCREF(Py_None);
4064 _resultobj = Py_None;
4065 return _resultobj;
4066}
4067
4068#define wxTreeListCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4069static 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 };
4078
4079 self = self;
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&tempbool2))
4081 return NULL;
4082 if (_argo0) {
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.");
4086 return NULL;
4087 }
4088 }
4089 if (_argo1) {
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.");
4092 return NULL;
4093 }
4094 }
4095 _arg2 = (bool ) tempbool2;
4096{
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 wxTreeListCtrl_SetItemBold(_arg0,*_arg1,_arg2);
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) return NULL;
4102} Py_INCREF(Py_None);
4103 _resultobj = Py_None;
4104 return _resultobj;
4105}
4106
4107#define wxTreeListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4108static PyObject *_wrap_wxTreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject * _resultobj;
4110 wxPyTreeListCtrl * _arg0;
4111 wxTreeItemId * _arg1;
4112 wxColour * _arg2;
4113 PyObject * _argo0 = 0;
4114 PyObject * _argo1 = 0;
4115 wxColour temp;
4116 PyObject * _obj2 = 0;
4117 char *_kwnames[] = { "self","item","col", NULL };
4118
4119 self = self;
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
4121 return NULL;
4122 if (_argo0) {
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.");
4126 return NULL;
4127 }
4128 }
4129 if (_argo1) {
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.");
4132 return NULL;
4133 }
4134 }
4135{
4136 _arg2 = &temp;
4137 if (! wxColour_helper(_obj2, &_arg2))
4138 return NULL;
4139}
4140{
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 wxTreeListCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) return NULL;
4146} Py_INCREF(Py_None);
4147 _resultobj = Py_None;
4148 return _resultobj;
4149}
4150
4151#define wxTreeListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4152static PyObject *_wrap_wxTreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject * _resultobj;
4154 wxPyTreeListCtrl * _arg0;
4155 wxTreeItemId * _arg1;
4156 wxColour * _arg2;
4157 PyObject * _argo0 = 0;
4158 PyObject * _argo1 = 0;
4159 wxColour temp;
4160 PyObject * _obj2 = 0;
4161 char *_kwnames[] = { "self","item","col", NULL };
4162
4163 self = self;
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
4165 return NULL;
4166 if (_argo0) {
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.");
4170 return NULL;
4171 }
4172 }
4173 if (_argo1) {
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.");
4176 return NULL;
4177 }
4178 }
4179{
4180 _arg2 = &temp;
4181 if (! wxColour_helper(_obj2, &_arg2))
4182 return NULL;
4183}
4184{
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 wxTreeListCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) return NULL;
4190} Py_INCREF(Py_None);
4191 _resultobj = Py_None;
4192 return _resultobj;
4193}
4194
4195#define wxTreeListCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
4196static PyObject *_wrap_wxTreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject * _resultobj;
4198 wxPyTreeListCtrl * _arg0;
4199 wxTreeItemId * _arg1;
4200 wxFont * _arg2;
4201 PyObject * _argo0 = 0;
4202 PyObject * _argo1 = 0;
4203 PyObject * _argo2 = 0;
4204 char *_kwnames[] = { "self","item","font", NULL };
4205
4206 self = self;
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
4208 return NULL;
4209 if (_argo0) {
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.");
4213 return NULL;
4214 }
4215 }
4216 if (_argo1) {
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.");
4219 return NULL;
4220 }
4221 }
4222 if (_argo2) {
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.");
4225 return NULL;
4226 }
4227 }
4228{
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 wxTreeListCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) return NULL;
4234} Py_INCREF(Py_None);
4235 _resultobj = Py_None;
4236 return _resultobj;
4237}
4238
4239#define wxTreeListCtrl_GetItemBold(_swigobj,_swigarg0) (_swigobj->GetItemBold(_swigarg0))
4240static PyObject *_wrap_wxTreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject * _resultobj;
4242 bool _result;
4243 wxPyTreeListCtrl * _arg0;
4244 wxTreeItemId * _arg1;
4245 PyObject * _argo0 = 0;
4246 PyObject * _argo1 = 0;
4247 char *_kwnames[] = { "self","item", NULL };
4248
4249 self = self;
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemBold",_kwnames,&_argo0,&_argo1))
4251 return NULL;
4252 if (_argo0) {
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.");
4256 return NULL;
4257 }
4258 }
4259 if (_argo1) {
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.");
4262 return NULL;
4263 }
4264 }
4265{
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 _result = (bool )wxTreeListCtrl_GetItemBold(_arg0,*_arg1);
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) return NULL;
4271} _resultobj = Py_BuildValue("i",_result);
4272 return _resultobj;
4273}
4274
4275#define wxTreeListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4276static PyObject *_wrap_wxTreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject * _resultobj;
4278 wxColour * _result;
4279 wxPyTreeListCtrl * _arg0;
4280 wxTreeItemId * _arg1;
4281 PyObject * _argo0 = 0;
4282 PyObject * _argo1 = 0;
4283 char *_kwnames[] = { "self","item", NULL };
4284 char _ptemp[128];
4285
4286 self = self;
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemTextColour",_kwnames,&_argo0,&_argo1))
4288 return NULL;
4289 if (_argo0) {
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.");
4293 return NULL;
4294 }
4295 }
4296 if (_argo1) {
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.");
4299 return NULL;
4300 }
4301 }
4302{
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 _result = new wxColour (wxTreeListCtrl_GetItemTextColour(_arg0,*_arg1));
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) return NULL;
4308} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4309 _resultobj = Py_BuildValue("s",_ptemp);
4310 return _resultobj;
4311}
4312
4313#define wxTreeListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4314static PyObject *_wrap_wxTreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4315 PyObject * _resultobj;
4316 wxColour * _result;
4317 wxPyTreeListCtrl * _arg0;
4318 wxTreeItemId * _arg1;
4319 PyObject * _argo0 = 0;
4320 PyObject * _argo1 = 0;
4321 char *_kwnames[] = { "self","item", NULL };
4322 char _ptemp[128];
4323
4324 self = self;
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_argo1))
4326 return NULL;
4327 if (_argo0) {
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.");
4331 return NULL;
4332 }
4333 }
4334 if (_argo1) {
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.");
4337 return NULL;
4338 }
4339 }
4340{
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 _result = new wxColour (wxTreeListCtrl_GetItemBackgroundColour(_arg0,*_arg1));
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) return NULL;
4346} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4347 _resultobj = Py_BuildValue("s",_ptemp);
4348 return _resultobj;
4349}
4350
4351#define wxTreeListCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
4352static PyObject *_wrap_wxTreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4353 PyObject * _resultobj;
4354 wxFont * _result;
4355 wxPyTreeListCtrl * _arg0;
4356 wxTreeItemId * _arg1;
4357 PyObject * _argo0 = 0;
4358 PyObject * _argo1 = 0;
4359 char *_kwnames[] = { "self","item", NULL };
4360 char _ptemp[128];
4361
4362 self = self;
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemFont",_kwnames,&_argo0,&_argo1))
4364 return NULL;
4365 if (_argo0) {
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.");
4369 return NULL;
4370 }
4371 }
4372 if (_argo1) {
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.");
4375 return NULL;
4376 }
4377 }
4378{
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 _result = new wxFont (wxTreeListCtrl_GetItemFont(_arg0,*_arg1));
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) return NULL;
4384} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
4385 _resultobj = Py_BuildValue("s",_ptemp);
4386 return _resultobj;
4387}
4388
4389#define wxTreeListCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4390static PyObject *_wrap_wxTreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject * _resultobj;
4392 bool _result;
4393 wxPyTreeListCtrl * _arg0;
4394 wxTreeItemId * _arg1;
4395 PyObject * _argo0 = 0;
4396 PyObject * _argo1 = 0;
4397 char *_kwnames[] = { "self","item", NULL };
4398
4399 self = self;
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
4401 return NULL;
4402 if (_argo0) {
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.");
4406 return NULL;
4407 }
4408 }
4409 if (_argo1) {
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.");
4412 return NULL;
4413 }
4414 }
4415{
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 _result = (bool )wxTreeListCtrl_IsVisible(_arg0,*_arg1);
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) return NULL;
4421} _resultobj = Py_BuildValue("i",_result);
4422 return _resultobj;
4423}
4424
4425#define wxTreeListCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4426static PyObject *_wrap_wxTreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject * _resultobj;
4428 bool _result;
4429 wxPyTreeListCtrl * _arg0;
4430 wxTreeItemId * _arg1;
4431 PyObject * _argo0 = 0;
4432 PyObject * _argo1 = 0;
4433 char *_kwnames[] = { "self","item", NULL };
4434
4435 self = self;
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
4437 return NULL;
4438 if (_argo0) {
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.");
4442 return NULL;
4443 }
4444 }
4445 if (_argo1) {
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.");
4448 return NULL;
4449 }
4450 }
4451{
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 _result = (bool )wxTreeListCtrl_ItemHasChildren(_arg0,*_arg1);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) return NULL;
4457} _resultobj = Py_BuildValue("i",_result);
4458 return _resultobj;
4459}
4460
4461#define wxTreeListCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4462static PyObject *_wrap_wxTreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject * _resultobj;
4464 bool _result;
4465 wxPyTreeListCtrl * _arg0;
4466 wxTreeItemId * _arg1;
4467 PyObject * _argo0 = 0;
4468 PyObject * _argo1 = 0;
4469 char *_kwnames[] = { "self","item", NULL };
4470
4471 self = self;
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
4473 return NULL;
4474 if (_argo0) {
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.");
4478 return NULL;
4479 }
4480 }
4481 if (_argo1) {
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.");
4484 return NULL;
4485 }
4486 }
4487{
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 _result = (bool )wxTreeListCtrl_IsExpanded(_arg0,*_arg1);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) return NULL;
4493} _resultobj = Py_BuildValue("i",_result);
4494 return _resultobj;
4495}
4496
4497#define wxTreeListCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4498static PyObject *_wrap_wxTreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject * _resultobj;
4500 bool _result;
4501 wxPyTreeListCtrl * _arg0;
4502 wxTreeItemId * _arg1;
4503 PyObject * _argo0 = 0;
4504 PyObject * _argo1 = 0;
4505 char *_kwnames[] = { "self","item", NULL };
4506
4507 self = self;
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
4509 return NULL;
4510 if (_argo0) {
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.");
4514 return NULL;
4515 }
4516 }
4517 if (_argo1) {
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.");
4520 return NULL;
4521 }
4522 }
4523{
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 _result = (bool )wxTreeListCtrl_IsSelected(_arg0,*_arg1);
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) return NULL;
4529} _resultobj = Py_BuildValue("i",_result);
4530 return _resultobj;
4531}
4532
4533#define wxTreeListCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4534static PyObject *_wrap_wxTreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject * _resultobj;
4536 bool _result;
4537 wxPyTreeListCtrl * _arg0;
4538 wxTreeItemId * _arg1;
4539 PyObject * _argo0 = 0;
4540 PyObject * _argo1 = 0;
4541 char *_kwnames[] = { "self","item", NULL };
4542
4543 self = self;
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsBold",_kwnames,&_argo0,&_argo1))
4545 return NULL;
4546 if (_argo0) {
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.");
4550 return NULL;
4551 }
4552 }
4553 if (_argo1) {
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.");
4556 return NULL;
4557 }
4558 }
4559{
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 _result = (bool )wxTreeListCtrl_IsBold(_arg0,*_arg1);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) return NULL;
4565} _resultobj = Py_BuildValue("i",_result);
4566 return _resultobj;
4567}
4568
4569#define wxTreeListCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4570static PyObject *_wrap_wxTreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4571 PyObject * _resultobj;
4572 size_t _result;
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 };
4580
4581 self = self;
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
4583 return NULL;
4584 if (_argo0) {
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.");
4588 return NULL;
4589 }
4590 }
4591 if (_argo1) {
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.");
4594 return NULL;
4595 }
4596 }
4597 _arg2 = (bool ) tempbool2;
4598{
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 _result = (size_t )wxTreeListCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) return NULL;
4604} _resultobj = Py_BuildValue("i",_result);
4605 return _resultobj;
4606}
4607
4608#define wxTreeListCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4609static 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 };
4615 char _ptemp[128];
4616
4617 self = self;
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetRootItem",_kwnames,&_argo0))
4619 return NULL;
4620 if (_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.");
4624 return NULL;
4625 }
4626 }
4627{
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 _result = new wxTreeItemId (wxTreeListCtrl_GetRootItem(_arg0));
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) return NULL;
4633} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4634 _resultobj = Py_BuildValue("s",_ptemp);
4635 return _resultobj;
4636}
4637
4638#define wxTreeListCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4639static 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 };
4645 char _ptemp[128];
4646
4647 self = self;
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSelection",_kwnames,&_argo0))
4649 return NULL;
4650 if (_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.");
4654 return NULL;
4655 }
4656 }
4657{
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 _result = new wxTreeItemId (wxTreeListCtrl_GetSelection(_arg0));
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) return NULL;
4663} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4664 _resultobj = Py_BuildValue("s",_ptemp);
4665 return _resultobj;
4666}
4667
4668static PyObject * wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self) {
4669 wxPyBeginBlockThreads();
4670 PyObject* rval = PyList_New(0);
4671 wxArrayTreeItemIds array;
4672 size_t num, x;
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);
4678 }
4679 wxPyEndBlockThreads();
4680 return rval;
4681 }
4682static PyObject *_wrap_wxTreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject * _resultobj;
4684 PyObject * _result;
4685 wxPyTreeListCtrl * _arg0;
4686 PyObject * _argo0 = 0;
4687 char *_kwnames[] = { "self", NULL };
4688
4689 self = self;
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSelections",_kwnames,&_argo0))
4691 return NULL;
4692 if (_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.");
4696 return NULL;
4697 }
4698 }
4699{
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 _result = (PyObject *)wxPyTreeListCtrl_GetSelections(_arg0);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) return NULL;
4705}{
4706 _resultobj = _result;
4707}
4708 return _resultobj;
4709}
4710
4711#define wxTreeListCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4712static 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 };
4720 char _ptemp[128];
4721
4722 self = self;
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
4724 return NULL;
4725 if (_argo0) {
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.");
4729 return NULL;
4730 }
4731 }
4732 if (_argo1) {
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.");
4735 return NULL;
4736 }
4737 }
4738{
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 _result = new wxTreeItemId (wxTreeListCtrl_GetItemParent(_arg0,*_arg1));
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) return NULL;
4744} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4745 _resultobj = Py_BuildValue("s",_ptemp);
4746 return _resultobj;
4747}
4748
4749#define wxTreeListCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4750static 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;
4758 long temp;
4759 PyObject * _obj2 = 0;
4760 char *_kwnames[] = { "self","item","INOUT", NULL };
4761 char _ptemp[128];
4762
4763 self = self;
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTreeListCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
4765 return NULL;
4766 if (_argo0) {
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.");
4770 return NULL;
4771 }
4772 }
4773 if (_argo1) {
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.");
4776 return NULL;
4777 }
4778 }
4779 if (_obj2)
4780{
4781 temp = (long) PyInt_AsLong(_obj2);
4782 _arg2 = &temp;
4783}
4784{
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 _result = new wxTreeItemId (wxTreeListCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) return NULL;
4790} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4791 _resultobj = Py_BuildValue("s",_ptemp);
4792{
4793 PyObject *o;
4794 o = PyInt_FromLong((long) (*_arg2));
4795 _resultobj = t_output_helper(_resultobj, o);
4796}
4797 return _resultobj;
4798}
4799
4800#define wxTreeListCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4801static PyObject *_wrap_wxTreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject * _resultobj;
4803 wxTreeItemId * _result;
4804 wxPyTreeListCtrl * _arg0;
4805 wxTreeItemId * _arg1;
4806 long * _arg2;
4807 PyObject * _argo0 = 0;
4808 PyObject * _argo1 = 0;
4809 long temp;
4810 PyObject * _obj2 = 0;
4811 char *_kwnames[] = { "self","item","INOUT", NULL };
4812 char _ptemp[128];
4813
4814 self = self;
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
4816 return NULL;
4817 if (_argo0) {
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.");
4821 return NULL;
4822 }
4823 }
4824 if (_argo1) {
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.");
4827 return NULL;
4828 }
4829 }
4830{
4831 temp = (long) PyInt_AsLong(_obj2);
4832 _arg2 = &temp;
4833}
4834{
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 _result = new wxTreeItemId (wxTreeListCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) return NULL;
4840} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4841 _resultobj = Py_BuildValue("s",_ptemp);
4842{
4843 PyObject *o;
4844 o = PyInt_FromLong((long) (*_arg2));
4845 _resultobj = t_output_helper(_resultobj, o);
4846}
4847 return _resultobj;
4848}
4849
4850#define wxTreeListCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4851static 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 };
4859 char _ptemp[128];
4860
4861 self = self;
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
4863 return NULL;
4864 if (_argo0) {
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.");
4868 return NULL;
4869 }
4870 }
4871 if (_argo1) {
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.");
4874 return NULL;
4875 }
4876 }
4877{
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 _result = new wxTreeItemId (wxTreeListCtrl_GetLastChild(_arg0,*_arg1));
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) return NULL;
4883} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4884 _resultobj = Py_BuildValue("s",_ptemp);
4885 return _resultobj;
4886}
4887
4888#define wxTreeListCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4889static 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 };
4897 char _ptemp[128];
4898
4899 self = self;
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
4901 return NULL;
4902 if (_argo0) {
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.");
4906 return NULL;
4907 }
4908 }
4909 if (_argo1) {
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.");
4912 return NULL;
4913 }
4914 }
4915{
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 _result = new wxTreeItemId (wxTreeListCtrl_GetNextSibling(_arg0,*_arg1));
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) return NULL;
4921} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4922 _resultobj = Py_BuildValue("s",_ptemp);
4923 return _resultobj;
4924}
4925
4926#define wxTreeListCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4927static 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 };
4935 char _ptemp[128];
4936
4937 self = self;
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
4939 return NULL;
4940 if (_argo0) {
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.");
4944 return NULL;
4945 }
4946 }
4947 if (_argo1) {
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.");
4950 return NULL;
4951 }
4952 }
4953{
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 _result = new wxTreeItemId (wxTreeListCtrl_GetPrevSibling(_arg0,*_arg1));
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) return NULL;
4959} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4960 _resultobj = Py_BuildValue("s",_ptemp);
4961 return _resultobj;
4962}
4963
4964#define wxTreeListCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4965static 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 };
4971 char _ptemp[128];
4972
4973 self = self;
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
4975 return NULL;
4976 if (_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.");
4980 return NULL;
4981 }
4982 }
4983{
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 _result = new wxTreeItemId (wxTreeListCtrl_GetFirstVisibleItem(_arg0));
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) return NULL;
4989} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4990 _resultobj = Py_BuildValue("s",_ptemp);
4991 return _resultobj;
4992}
4993
4994#define wxTreeListCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4995static 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 };
5003 char _ptemp[128];
5004
5005 self = self;
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
5007 return NULL;
5008 if (_argo0) {
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.");
5012 return NULL;
5013 }
5014 }
5015 if (_argo1) {
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.");
5018 return NULL;
5019 }
5020 }
5021{
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 _result = new wxTreeItemId (wxTreeListCtrl_GetNextVisible(_arg0,*_arg1));
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) return NULL;
5027} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5028 _resultobj = Py_BuildValue("s",_ptemp);
5029 return _resultobj;
5030}
5031
5032#define wxTreeListCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
5033static 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 };
5041 char _ptemp[128];
5042
5043 self = self;
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
5045 return NULL;
5046 if (_argo0) {
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.");
5050 return NULL;
5051 }
5052 }
5053 if (_argo1) {
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.");
5056 return NULL;
5057 }
5058 }
5059{
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 _result = new wxTreeItemId (wxTreeListCtrl_GetPrevVisible(_arg0,*_arg1));
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) return NULL;
5065} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5066 _resultobj = Py_BuildValue("s",_ptemp);
5067 return _resultobj;
5068}
5069
5070#define wxTreeListCtrl_GetNext(_swigobj,_swigarg0) (_swigobj->GetNext(_swigarg0))
5071static 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 };
5079 char _ptemp[128];
5080
5081 self = self;
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNext",_kwnames,&_argo0,&_argo1))
5083 return NULL;
5084 if (_argo0) {
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.");
5088 return NULL;
5089 }
5090 }
5091 if (_argo1) {
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.");
5094 return NULL;
5095 }
5096 }
5097{
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 _result = new wxTreeItemId (wxTreeListCtrl_GetNext(_arg0,*_arg1));
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) return NULL;
5103} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5104 _resultobj = Py_BuildValue("s",_ptemp);
5105 return _resultobj;
5106}
5107
5108#define wxTreeListCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5109static PyObject *_wrap_wxTreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
5110 PyObject * _resultobj;
5111 wxTreeItemId * _result;
5112 wxPyTreeListCtrl * _arg0;
5113 wxString * _arg1;
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 };
5121 char _ptemp[128];
5122
5123 self = self;
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeListCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
5125 return NULL;
5126 if (_argo0) {
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.");
5130 return NULL;
5131 }
5132 }
5133{
5134 _arg1 = wxString_in_helper(_obj1);
5135 if (_arg1 == NULL)
5136 return NULL;
5137}
5138 if (_argo4) {
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.");
5142 return NULL;
5143 }
5144 }
5145{
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 _result = new wxTreeItemId (wxTreeListCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) return NULL;
5151} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5152 _resultobj = Py_BuildValue("s",_ptemp);
5153{
5154 if (_obj1)
5155 delete _arg1;
5156}
5157 return _resultobj;
5158}
5159
5160#define wxTreeListCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5161static PyObject *_wrap_wxTreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject * _resultobj;
5163 wxTreeItemId * _result;
5164 wxPyTreeListCtrl * _arg0;
5165 wxTreeItemId * _arg1;
5166 wxString * _arg2;
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 };
5175 char _ptemp[128];
5176
5177 self = self;
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeListCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
5179 return NULL;
5180 if (_argo0) {
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.");
5184 return NULL;
5185 }
5186 }
5187 if (_argo1) {
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.");
5190 return NULL;
5191 }
5192 }
5193{
5194 _arg2 = wxString_in_helper(_obj2);
5195 if (_arg2 == NULL)
5196 return NULL;
5197}
5198 if (_argo5) {
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.");
5202 return NULL;
5203 }
5204 }
5205{
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 _result = new wxTreeItemId (wxTreeListCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) return NULL;
5211} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5212 _resultobj = Py_BuildValue("s",_ptemp);
5213{
5214 if (_obj2)
5215 delete _arg2;
5216}
5217 return _resultobj;
5218}
5219
5220#define wxTreeListCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5221static 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;
5227 wxString * _arg3;
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 };
5237 char _ptemp[128];
5238
5239 self = self;
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeListCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
5241 return NULL;
5242 if (_argo0) {
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.");
5246 return NULL;
5247 }
5248 }
5249 if (_argo1) {
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.");
5252 return NULL;
5253 }
5254 }
5255 if (_argo2) {
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.");
5258 return NULL;
5259 }
5260 }
5261{
5262 _arg3 = wxString_in_helper(_obj3);
5263 if (_arg3 == NULL)
5264 return NULL;
5265}
5266 if (_argo6) {
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.");
5270 return NULL;
5271 }
5272 }
5273{
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 _result = new wxTreeItemId (wxTreeListCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) return NULL;
5279} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5280 _resultobj = Py_BuildValue("s",_ptemp);
5281{
5282 if (_obj3)
5283 delete _arg3;
5284}
5285 return _resultobj;
5286}
5287
5288#define wxTreeListCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5289static PyObject *_wrap_wxTreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject * _resultobj;
5291 wxTreeItemId * _result;
5292 wxPyTreeListCtrl * _arg0;
5293 wxTreeItemId * _arg1;
5294 size_t _arg2;
5295 wxString * _arg3;
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 };
5304 char _ptemp[128];
5305
5306 self = self;
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeListCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
5308 return NULL;
5309 if (_argo0) {
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.");
5313 return NULL;
5314 }
5315 }
5316 if (_argo1) {
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.");
5319 return NULL;
5320 }
5321 }
5322{
5323 _arg3 = wxString_in_helper(_obj3);
5324 if (_arg3 == NULL)
5325 return NULL;
5326}
5327 if (_argo6) {
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.");
5331 return NULL;
5332 }
5333 }
5334{
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 _result = new wxTreeItemId (wxTreeListCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) return NULL;
5340} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5341 _resultobj = Py_BuildValue("s",_ptemp);
5342{
5343 if (_obj3)
5344 delete _arg3;
5345}
5346 return _resultobj;
5347}
5348
5349#define wxTreeListCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5350static PyObject *_wrap_wxTreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject * _resultobj;
5352 wxTreeItemId * _result;
5353 wxPyTreeListCtrl * _arg0;
5354 wxTreeItemId * _arg1;
5355 wxString * _arg2;
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 };
5364 char _ptemp[128];
5365
5366 self = self;
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeListCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
5368 return NULL;
5369 if (_argo0) {
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.");
5373 return NULL;
5374 }
5375 }
5376 if (_argo1) {
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.");
5379 return NULL;
5380 }
5381 }
5382{
5383 _arg2 = wxString_in_helper(_obj2);
5384 if (_arg2 == NULL)
5385 return NULL;
5386}
5387 if (_argo5) {
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.");
5391 return NULL;
5392 }
5393 }
5394{
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 _result = new wxTreeItemId (wxTreeListCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) return NULL;
5400} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5401 _resultobj = Py_BuildValue("s",_ptemp);
5402{
5403 if (_obj2)
5404 delete _arg2;
5405}
5406 return _resultobj;
5407}
5408
5409#define wxTreeListCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5410static 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 };
5417
5418 self = self;
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Delete",_kwnames,&_argo0,&_argo1))
5420 return NULL;
5421 if (_argo0) {
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.");
5425 return NULL;
5426 }
5427 }
5428 if (_argo1) {
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.");
5431 return NULL;
5432 }
5433 }
5434{
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 wxTreeListCtrl_Delete(_arg0,*_arg1);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) return NULL;
5440} Py_INCREF(Py_None);
5441 _resultobj = Py_None;
5442 return _resultobj;
5443}
5444
5445#define wxTreeListCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5446static 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 };
5453
5454 self = self;
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
5456 return NULL;
5457 if (_argo0) {
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.");
5461 return NULL;
5462 }
5463 }
5464 if (_argo1) {
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.");
5467 return NULL;
5468 }
5469 }
5470{
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 wxTreeListCtrl_DeleteChildren(_arg0,*_arg1);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) return NULL;
5476} Py_INCREF(Py_None);
5477 _resultobj = Py_None;
5478 return _resultobj;
5479}
5480
5481#define wxTreeListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5482static 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 };
5487
5488 self = self;
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_DeleteAllItems",_kwnames,&_argo0))
5490 return NULL;
5491 if (_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.");
5495 return NULL;
5496 }
5497 }
5498{
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 wxTreeListCtrl_DeleteAllItems(_arg0);
5501
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) return NULL;
5504} Py_INCREF(Py_None);
5505 _resultobj = Py_None;
5506 return _resultobj;
5507}
5508
5509#define wxTreeListCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5510static 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 };
5517
5518 self = self;
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Expand",_kwnames,&_argo0,&_argo1))
5520 return NULL;
5521 if (_argo0) {
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.");
5525 return NULL;
5526 }
5527 }
5528 if (_argo1) {
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.");
5531 return NULL;
5532 }
5533 }
5534{
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 wxTreeListCtrl_Expand(_arg0,*_arg1);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) return NULL;
5540} Py_INCREF(Py_None);
5541 _resultobj = Py_None;
5542 return _resultobj;
5543}
5544
5545#define wxTreeListCtrl_ExpandAll(_swigobj,_swigarg0) (_swigobj->ExpandAll(_swigarg0))
5546static 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 };
5553
5554 self = self;
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ExpandAll",_kwnames,&_argo0,&_argo1))
5556 return NULL;
5557 if (_argo0) {
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.");
5561 return NULL;
5562 }
5563 }
5564 if (_argo1) {
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.");
5567 return NULL;
5568 }
5569 }
5570{
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 wxTreeListCtrl_ExpandAll(_arg0,*_arg1);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) return NULL;
5576} Py_INCREF(Py_None);
5577 _resultobj = Py_None;
5578 return _resultobj;
5579}
5580
5581#define wxTreeListCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5582static 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 };
5589
5590 self = self;
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Collapse",_kwnames,&_argo0,&_argo1))
5592 return NULL;
5593 if (_argo0) {
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.");
5597 return NULL;
5598 }
5599 }
5600 if (_argo1) {
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.");
5603 return NULL;
5604 }
5605 }
5606{
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 wxTreeListCtrl_Collapse(_arg0,*_arg1);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) return NULL;
5612} Py_INCREF(Py_None);
5613 _resultobj = Py_None;
5614 return _resultobj;
5615}
5616
5617#define wxTreeListCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5618static 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 };
5625
5626 self = self;
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
5628 return NULL;
5629 if (_argo0) {
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.");
5633 return NULL;
5634 }
5635 }
5636 if (_argo1) {
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.");
5639 return NULL;
5640 }
5641 }
5642{
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 wxTreeListCtrl_CollapseAndReset(_arg0,*_arg1);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) return NULL;
5648} Py_INCREF(Py_None);
5649 _resultobj = Py_None;
5650 return _resultobj;
5651}
5652
5653#define wxTreeListCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5654static 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 };
5661
5662 self = self;
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Toggle",_kwnames,&_argo0,&_argo1))
5664 return NULL;
5665 if (_argo0) {
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.");
5669 return NULL;
5670 }
5671 }
5672 if (_argo1) {
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.");
5675 return NULL;
5676 }
5677 }
5678{
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 wxTreeListCtrl_Toggle(_arg0,*_arg1);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) return NULL;
5684} Py_INCREF(Py_None);
5685 _resultobj = Py_None;
5686 return _resultobj;
5687}
5688
5689#define wxTreeListCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5690static 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 };
5695
5696 self = self;
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_Unselect",_kwnames,&_argo0))
5698 return NULL;
5699 if (_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.");
5703 return NULL;
5704 }
5705 }
5706{
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 wxTreeListCtrl_Unselect(_arg0);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) return NULL;
5712} Py_INCREF(Py_None);
5713 _resultobj = Py_None;
5714 return _resultobj;
5715}
5716
5717#define wxTreeListCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5718static 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 };
5723
5724 self = self;
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_UnselectAll",_kwnames,&_argo0))
5726 return NULL;
5727 if (_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.");
5731 return NULL;
5732 }
5733 }
5734{
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 wxTreeListCtrl_UnselectAll(_arg0);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) return NULL;
5740} Py_INCREF(Py_None);
5741 _resultobj = Py_None;
5742 return _resultobj;
5743}
5744
5745#define wxTreeListCtrl_SelectItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SelectItem(_swigarg0,_swigarg1,_swigarg2))
5746static 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 };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxTreeListCtrl_SelectItem",_kwnames,&_argo0,&_argo1,&tempbool2,&tempbool3))
5760 return NULL;
5761 if (_argo0) {
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.");
5765 return NULL;
5766 }
5767 }
5768 if (_argo1) {
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.");
5771 return NULL;
5772 }
5773 }
5774 _arg2 = (bool ) tempbool2;
5775 _arg3 = (bool ) tempbool3;
5776{
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 wxTreeListCtrl_SelectItem(_arg0,*_arg1,_arg2,_arg3);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) return NULL;
5782} Py_INCREF(Py_None);
5783 _resultobj = Py_None;
5784 return _resultobj;
5785}
5786
5787#define wxTreeListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5788static 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 };
5795
5796 self = self;
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
5798 return NULL;
5799 if (_argo0) {
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.");
5803 return NULL;
5804 }
5805 }
5806 if (_argo1) {
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.");
5809 return NULL;
5810 }
5811 }
5812{
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 wxTreeListCtrl_EnsureVisible(_arg0,*_arg1);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) return NULL;
5818} Py_INCREF(Py_None);
5819 _resultobj = Py_None;
5820 return _resultobj;
5821}
5822
5823#define wxTreeListCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5824static 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 };
5831
5832 self = self;
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
5834 return NULL;
5835 if (_argo0) {
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.");
5839 return NULL;
5840 }
5841 }
5842 if (_argo1) {
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.");
5845 return NULL;
5846 }
5847 }
5848{
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 wxTreeListCtrl_ScrollTo(_arg0,*_arg1);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) return NULL;
5854} Py_INCREF(Py_None);
5855 _resultobj = Py_None;
5856 return _resultobj;
5857}
5858
5859#define wxTreeListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
5860static PyObject *_wrap_wxTreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject * _resultobj;
5862 wxTreeItemId * _result;
5863 wxPyTreeListCtrl * _arg0;
5864 wxPoint * _arg1;
5865 int * _arg2;
5866 int temp;
5867 int * _arg3;
5868 int temp0;
5869 PyObject * _argo0 = 0;
5870 wxPoint temp1;
5871 PyObject * _obj1 = 0;
5872 char *_kwnames[] = { "self","point", NULL };
5873 char _ptemp[128];
5874
5875 self = self;
5876{
5877 _arg2 = &temp;
5878}
5879{
5880 _arg3 = &temp0;
5881}
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
5883 return NULL;
5884 if (_argo0) {
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.");
5888 return NULL;
5889 }
5890 }
5891{
5892 _arg1 = &temp1;
5893 if (! wxPoint_helper(_obj1, &_arg1))
5894 return NULL;
5895}
5896{
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 _result = new wxTreeItemId (wxTreeListCtrl_HitTest(_arg0,*_arg1,*_arg2,*_arg3));
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) return NULL;
5902} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5903 _resultobj = Py_BuildValue("s",_ptemp);
5904{
5905 PyObject *o;
5906 o = PyInt_FromLong((long) (*_arg2));
5907 _resultobj = t_output_helper(_resultobj, o);
5908}
5909{
5910 PyObject *o;
5911 o = PyInt_FromLong((long) (*_arg3));
5912 _resultobj = t_output_helper(_resultobj, o);
5913}
5914 return _resultobj;
5915}
5916
5917static PyObject * wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,const wxTreeItemId & item,bool textOnly) {
5918 wxRect rect;
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();
5924 return val;
5925 }
5926 else {
5927 Py_INCREF(Py_None);
5928 return Py_None;
5929 }
5930 }
5931static PyObject *_wrap_wxTreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5932 PyObject * _resultobj;
5933 PyObject * _result;
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 };
5941
5942 self = self;
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&tempbool2))
5944 return NULL;
5945 if (_argo0) {
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.");
5949 return NULL;
5950 }
5951 }
5952 if (_argo1) {
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.");
5955 return NULL;
5956 }
5957 }
5958 _arg2 = (bool ) tempbool2;
5959{
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 _result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) return NULL;
5965}{
5966 _resultobj = _result;
5967}
5968 return _resultobj;
5969}
5970
5971#define wxTreeListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5972static 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 };
5979
5980 self = self;
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
5982 return NULL;
5983 if (_argo0) {
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.");
5987 return NULL;
5988 }
5989 }
5990 if (_argo1) {
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.");
5993 return NULL;
5994 }
5995 }
5996{
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 wxTreeListCtrl_EditLabel(_arg0,*_arg1);
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) return NULL;
6002} Py_INCREF(Py_None);
6003 _resultobj = Py_None;
6004 return _resultobj;
6005}
6006
6007#define wxTreeListCtrl_Edit(_swigobj,_swigarg0) (_swigobj->Edit(_swigarg0))
6008static 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 };
6015
6016 self = self;
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Edit",_kwnames,&_argo0,&_argo1))
6018 return NULL;
6019 if (_argo0) {
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.");
6023 return NULL;
6024 }
6025 }
6026 if (_argo1) {
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.");
6029 return NULL;
6030 }
6031 }
6032{
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 wxTreeListCtrl_Edit(_arg0,*_arg1);
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) return NULL;
6038} Py_INCREF(Py_None);
6039 _resultobj = Py_None;
6040 return _resultobj;
6041}
6042
6043#define wxTreeListCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
6044static 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 };
6051
6052 self = self;
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
6054 return NULL;
6055 if (_argo0) {
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.");
6059 return NULL;
6060 }
6061 }
6062 if (_argo1) {
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.");
6065 return NULL;
6066 }
6067 }
6068{
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 wxTreeListCtrl_SortChildren(_arg0,*_arg1);
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) return NULL;
6074} Py_INCREF(Py_None);
6075 _resultobj = Py_None;
6076 return _resultobj;
6077}
6078
6079#define wxTreeListCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6080static PyObject *_wrap_wxTreeListCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject * _resultobj;
6082 int _result;
6083 wxPyTreeListCtrl * _arg0;
6084 wxTreeItemId * _arg1;
6085 PyObject * _argo0 = 0;
6086 PyObject * _argo1 = 0;
6087 char *_kwnames[] = { "self","item", NULL };
6088
6089 self = self;
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
6091 return NULL;
6092 if (_argo0) {
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.");
6096 return NULL;
6097 }
6098 }
6099 if (_argo1) {
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.");
6102 return NULL;
6103 }
6104 }
6105{
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 _result = (int )wxTreeListCtrl_GetItemSelectedImage(_arg0,*_arg1);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) return NULL;
6111} _resultobj = Py_BuildValue("i",_result);
6112 return _resultobj;
6113}
6114
6115#define wxTreeListCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
6116static PyObject *_wrap_wxTreeListCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject * _resultobj;
6118 wxPyTreeListCtrl * _arg0;
6119 wxTreeItemId * _arg1;
6120 int _arg2;
6121 PyObject * _argo0 = 0;
6122 PyObject * _argo1 = 0;
6123 char *_kwnames[] = { "self","item","image", NULL };
6124
6125 self = self;
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeListCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
6127 return NULL;
6128 if (_argo0) {
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.");
6132 return NULL;
6133 }
6134 }
6135 if (_argo1) {
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.");
6138 return NULL;
6139 }
6140 }
6141{
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 wxTreeListCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) return NULL;
6147} Py_INCREF(Py_None);
6148 _resultobj = Py_None;
6149 return _resultobj;
6150}
6151
6152#define wxTreeListCtrl_GetHeaderWindow(_swigobj) (_swigobj->GetHeaderWindow())
6153static PyObject *_wrap_wxTreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject * _resultobj;
6155 wxWindow * _result;
6156 wxPyTreeListCtrl * _arg0;
6157 PyObject * _argo0 = 0;
6158 char *_kwnames[] = { "self", NULL };
6159
6160 self = self;
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetHeaderWindow",_kwnames,&_argo0))
6162 return NULL;
6163 if (_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.");
6167 return NULL;
6168 }
6169 }
6170{
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 _result = (wxWindow *)wxTreeListCtrl_GetHeaderWindow(_arg0);
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) return NULL;
6176}{ _resultobj = wxPyMake_wxObject(_result); }
6177 return _resultobj;
6178}
6179
6180#define wxTreeListCtrl_GetMainWindow(_swigobj) (_swigobj->GetMainWindow())
6181static PyObject *_wrap_wxTreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject * _resultobj;
6183 wxWindow * _result;
6184 wxPyTreeListCtrl * _arg0;
6185 PyObject * _argo0 = 0;
6186 char *_kwnames[] = { "self", NULL };
6187
6188 self = self;
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetMainWindow",_kwnames,&_argo0))
6190 return NULL;
6191 if (_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.");
6195 return NULL;
6196 }
6197 }
6198{
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 _result = (wxWindow *)wxTreeListCtrl_GetMainWindow(_arg0);
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) return NULL;
6204}{ _resultobj = wxPyMake_wxObject(_result); }
6205 return _resultobj;
6206}
6207
6208static 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 },
6359 { NULL, NULL }
6360};
6361#ifdef __cplusplus
6362}
6363#endif
6364/*
6365 * This table is used by the pointer type-checker
6366 */
6367static 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},
6507{0,0,0}};
6508
6509static PyObject *SWIG_globals;
6510#ifdef __cplusplus
6511extern "C"
6512#endif
6513SWIGEXPORT(void) initgizmosc() {
6514 PyObject *m, *d;
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));
6534
6535
6536 wxClassInfo::CleanUpClasses();
6537 wxClassInfo::InitializeClasses();
6538
6539 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
6540 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
6541{
6542 int i;
6543 for (i = 0; _swig_mapping[i].n1; i++)
6544 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6545}
6546}