]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
Fixed a very weird typo
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
44127b65
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
44127b65 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
44127b65
RD
91#endif
92
44127b65
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
44127b65
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
120
121
122#ifdef __cplusplus
123}
124
125#endif
126
0f774bef 127
44127b65
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
44127b65
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
44127b65
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
0f774bef
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 197
44127b65
RD
198
199
200/* Contract support */
201
202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
44127b65
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxEditableListBox swig_types[0]
213#define SWIGTYPE_p_wxObject swig_types[1]
214#define SWIGTYPE_p_wxColour swig_types[2]
215#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
216#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[4]
217#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[5]
218#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[6]
219#define SWIGTYPE_p_wxImageList swig_types[7]
220#define SWIGTYPE_p_wxScrollBar swig_types[8]
221#define SWIGTYPE_p_wxDynamicSashWindow swig_types[9]
222#define SWIGTYPE_p_wxScrolledWindow swig_types[10]
223#define SWIGTYPE_p_wxSplitterWindow swig_types[11]
224#define SWIGTYPE_p_wxWindow swig_types[12]
225#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[13]
226#define SWIGTYPE_p_wxThinSplitterWindow swig_types[14]
227#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[15]
228#define SWIGTYPE_p_wxValidator swig_types[16]
229#define SWIGTYPE_p_wxCommandEvent swig_types[17]
230#define SWIGTYPE_p_wxArrayString swig_types[18]
231#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[19]
232#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[20]
233#define SWIGTYPE_p_wxTreeItemId swig_types[21]
234#define SWIGTYPE_p_wxString swig_types[22]
235#define SWIGTYPE_p_wxEvtHandler swig_types[23]
236#define SWIGTYPE_p_wxFont swig_types[24]
237#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[25]
238#define SWIGTYPE_p_wxControl swig_types[26]
239#define SWIGTYPE_p_wxPanel swig_types[27]
240#define SWIGTYPE_p_wxPyTreeItemData swig_types[28]
241#define SWIGTYPE_p_wxEvent swig_types[29]
242#define SWIGTYPE_p_int swig_types[30]
243static swig_type_info *swig_types[32];
244
245/* -------- TYPES TABLE (END) -------- */
246
247
248/*-----------------------------------------------
249 @(target):= _gizmos.so
250 ------------------------------------------------*/
251#define SWIG_init init_gizmos
252
253#define SWIG_name "_gizmos"
254
255#include "wx/wxPython/wxPython.h"
256#include "wx/wxPython/pyclasses.h"
257
258#include <wx/gizmos/dynamicsash.h>
259#include <wx/gizmos/editlbox.h>
260#include <wx/gizmos/splittree.h>
261#include <wx/gizmos/ledctrl.h>
262
263#include <wx/listctrl.h>
264#include <wx/treectrl.h>
265#include <wx/imaglist.h>
266
267#include "treelistctrl.h"
268#include "wx/wxPython/pytree.h"
269
270
271 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
272 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
273 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
274 static const wxString wxPyEmptyString(wxT(""));
275
276PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
277 wxArrayString strings;
278 self->GetStrings(strings);
279 return wxArrayString2PyList_helper(strings);
280 }
281
282 typedef wxTreeCtrl wxPyTreeCtrl;
283
284
285class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
286{
287public:
288 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
289 const wxPoint& pos = wxDefaultPosition,
290 const wxSize& size = wxDefaultSize,
291 long style = 0)
292 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
293
294
295 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
296 bool found;
297 wxPyBeginBlockThreads();
298 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
299 PyObject* dcobj = wxPyMake_wxObject(&dc);
300 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), False);
301 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), False);
302 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
303 Py_DECREF(dcobj);
304 Py_DECREF(idobj);
305 Py_DECREF(recobj);
306 }
307 wxPyEndBlockThreads();
308 if (! found)
309 wxTreeCompanionWindow::DrawItem(dc, id, rect);
310 }
311
312 PYPRIVATE;
313};
314
315 // C++ version of Python aware control
316class wxPyTreeListCtrl : public wxTreeListCtrl {
317 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
318public:
319 wxPyTreeListCtrl() : wxTreeListCtrl() {}
320 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
321 const wxPoint& pos,
322 const wxSize& size,
323 long style,
324 const wxValidator &validator,
325 const wxString& name) :
326 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
327
328 int OnCompareItems(const wxTreeItemId& item1,
329 const wxTreeItemId& item2) {
330 int rval = 0;
331 bool found;
332 wxPyBeginBlockThreads();
333 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
334 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
335 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
336 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
337 Py_DECREF(o1);
338 Py_DECREF(o2);
339 }
340 wxPyEndBlockThreads();
341 if (! found)
342 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
343 return rval;
344 }
345 PYPRIVATE;
346};
347
348IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
349
350
351wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column){
352 if (column < 0) column = self->GetMainColumn();
353 return self->GetItemText(item, column);
354 }
355int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column,wxTreeItemIcon which){
356 if (column < 0) column = self->GetMainColumn();
357 return self->GetItemImage(item, column, which);
358 }
359void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column){
360 if (column < 0) column = self->GetMainColumn();
361 self->SetItemText(item, column, text);
362 }
363void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column,wxTreeItemIcon which){
364 if (column < 0) column = self->GetMainColumn();
365 self->SetItemImage(item, column, image, which);
366 }
367wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
368 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
369 if (data == NULL) {
370 data = new wxPyTreeItemData();
371 data->SetId(item); // set the id
372 self->SetItemData(item, data);
373 }
374 return data;
375 }
376void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
377 data->SetId(item); // set the id
378 self->SetItemData(item, data);
379 }
380PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
381 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
382 if (data == NULL) {
383 data = new wxPyTreeItemData();
384 data->SetId(item); // set the id
385 self->SetItemData(item, data);
386 }
387 return data->GetData();
388 }
389void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
390 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
391 if (data == NULL) {
392 data = new wxPyTreeItemData(obj);
393 data->SetId(item); // set the id
394 self->SetItemData(item, data);
395 } else
396 data->SetData(obj);
397 }
398PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
399 wxPyBeginBlockThreads();
400 PyObject* rval = PyList_New(0);
401 wxArrayTreeItemIds array;
402 size_t num, x;
403 num = self->GetSelections(array);
404 for (x=0; x < num; x++) {
405 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
406 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
407 PyList_Append(rval, item);
408 }
409 wxPyEndBlockThreads();
410 return rval;
411 }
412PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
413 long cookie = 0;
414 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
415 wxPyBeginBlockThreads();
416 PyObject* tup = PyTuple_New(2);
417 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
418 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
419 wxPyEndBlockThreads();
420 return tup;
421 }
422PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,long cookie){
423 wxTreeItemId ritem = self->GetNextChild(item, cookie);
424 wxPyBeginBlockThreads();
425 PyObject* tup = PyTuple_New(2);
426 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
427 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
428 wxPyEndBlockThreads();
429 return tup;
430 }
431
432static PyObject* t_output_helper(PyObject* target, PyObject* o) {
433 PyObject* o2;
434 PyObject* o3;
435
436 if (!target) {
437 target = o;
438 } else if (target == Py_None) {
439 Py_DECREF(Py_None);
440 target = o;
441 } else {
442 if (!PyTuple_Check(target)) {
443 o2 = target;
444 target = PyTuple_New(1);
445 PyTuple_SetItem(target, 0, o2);
446 }
447 o3 = PyTuple_New(1);
448 PyTuple_SetItem(o3, 0, o);
449
450 o2 = target;
451 target = PySequence_Concat(o2, o3);
452 Py_DECREF(o2);
453 Py_DECREF(o3);
454 }
455 return target;
456}
457
458PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly){
459 wxRect rect;
460 if (self->GetBoundingRect(item, rect, textOnly)) {
461 wxPyBeginBlockThreads();
462 wxRect* r = new wxRect(rect);
463 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
464 wxPyEndBlockThreads();
465 return val;
466 }
467 else {
468 RETURN_NONE();
469 }
470 }
471#ifdef __cplusplus
472extern "C" {
473#endif
474static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
475 PyObject *resultobj;
476 wxObject *arg1 = (wxObject *) 0 ;
477 wxDynamicSashSplitEvent *result;
478 PyObject * obj0 = 0 ;
479 char *kwnames[] = {
480 (char *) "target", NULL
481 };
482
483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
485 {
486 PyThreadState* __tstate = wxPyBeginAllowThreads();
487 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
488
489 wxPyEndAllowThreads(__tstate);
490 if (PyErr_Occurred()) SWIG_fail;
491 }
492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
493 return resultobj;
494 fail:
495 return NULL;
496}
497
498
499static PyObject * DynamicSashSplitEvent_swigregister(PyObject *self, PyObject *args) {
500 PyObject *obj;
501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
502 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
503 Py_INCREF(obj);
504 return Py_BuildValue((char *)"");
505}
506static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
507 PyObject *resultobj;
508 wxObject *arg1 = (wxObject *) 0 ;
509 wxDynamicSashUnifyEvent *result;
510 PyObject * obj0 = 0 ;
511 char *kwnames[] = {
512 (char *) "target", NULL
513 };
514
515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
517 {
518 PyThreadState* __tstate = wxPyBeginAllowThreads();
519 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
520
521 wxPyEndAllowThreads(__tstate);
522 if (PyErr_Occurred()) SWIG_fail;
523 }
524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
525 return resultobj;
526 fail:
527 return NULL;
528}
529
530
531static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *self, PyObject *args) {
532 PyObject *obj;
533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
534 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
535 Py_INCREF(obj);
536 return Py_BuildValue((char *)"");
537}
538static PyObject *_wrap_new_DynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
539 PyObject *resultobj;
540 wxWindow *arg1 = (wxWindow *) 0 ;
541 int arg2 ;
542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
544 wxSize const &arg4_defvalue = wxDefaultSize ;
545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
546 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
547 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
548 wxString *arg6 = (wxString *) &arg6_defvalue ;
549 wxDynamicSashWindow *result;
550 wxPoint temp3 ;
551 wxSize temp4 ;
552 bool temp6 = False ;
553 PyObject * obj0 = 0 ;
554 PyObject * obj2 = 0 ;
555 PyObject * obj3 = 0 ;
556 PyObject * obj5 = 0 ;
557 char *kwnames[] = {
558 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
559 };
560
561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_DynamicSashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
563 if (obj2) {
564 {
565 arg3 = &temp3;
566 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
567 }
568 }
569 if (obj3) {
570 {
571 arg4 = &temp4;
572 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
573 }
574 }
575 if (obj5) {
576 {
577 arg6 = wxString_in_helper(obj5);
578 if (arg6 == NULL) SWIG_fail;
579 temp6 = True;
580 }
581 }
582 {
583 PyThreadState* __tstate = wxPyBeginAllowThreads();
584 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
585
586 wxPyEndAllowThreads(__tstate);
587 if (PyErr_Occurred()) SWIG_fail;
588 }
589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1);
590 {
591 if (temp6)
592 delete arg6;
593 }
594 return resultobj;
595 fail:
596 {
597 if (temp6)
598 delete arg6;
599 }
600 return NULL;
601}
602
603
604static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
605 PyObject *resultobj;
606 wxDynamicSashWindow *result;
607 char *kwnames[] = {
608 NULL
609 };
610
611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
612 {
613 PyThreadState* __tstate = wxPyBeginAllowThreads();
614 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
615
616 wxPyEndAllowThreads(__tstate);
617 if (PyErr_Occurred()) SWIG_fail;
618 }
619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1);
620 return resultobj;
621 fail:
622 return NULL;
623}
624
625
626static PyObject *_wrap_DynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject *resultobj;
628 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
629 wxWindow *arg2 = (wxWindow *) 0 ;
630 int arg3 ;
631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
633 wxSize const &arg5_defvalue = wxDefaultSize ;
634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
635 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
636 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
637 wxString *arg7 = (wxString *) &arg7_defvalue ;
638 bool result;
639 wxPoint temp4 ;
640 wxSize temp5 ;
641 bool temp7 = False ;
642 PyObject * obj0 = 0 ;
643 PyObject * obj1 = 0 ;
644 PyObject * obj3 = 0 ;
645 PyObject * obj4 = 0 ;
646 PyObject * obj6 = 0 ;
647 char *kwnames[] = {
648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
649 };
650
651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
654 if (obj3) {
655 {
656 arg4 = &temp4;
657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
658 }
659 }
660 if (obj4) {
661 {
662 arg5 = &temp5;
663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
664 }
665 }
666 if (obj6) {
667 {
668 arg7 = wxString_in_helper(obj6);
669 if (arg7 == NULL) SWIG_fail;
670 temp7 = True;
671 }
672 }
673 {
674 PyThreadState* __tstate = wxPyBeginAllowThreads();
675 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
676
677 wxPyEndAllowThreads(__tstate);
678 if (PyErr_Occurred()) SWIG_fail;
679 }
680 resultobj = PyInt_FromLong((long)result);
681 {
682 if (temp7)
683 delete arg7;
684 }
685 return resultobj;
686 fail:
687 {
688 if (temp7)
689 delete arg7;
690 }
691 return NULL;
692}
693
694
695static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
696 PyObject *resultobj;
697 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
698 wxWindow *arg2 = (wxWindow *) 0 ;
699 wxScrollBar *result;
700 PyObject * obj0 = 0 ;
701 PyObject * obj1 = 0 ;
702 char *kwnames[] = {
703 (char *) "self",(char *) "child", NULL
704 };
705
706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
709 {
710 PyThreadState* __tstate = wxPyBeginAllowThreads();
711 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
712
713 wxPyEndAllowThreads(__tstate);
714 if (PyErr_Occurred()) SWIG_fail;
715 }
716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0);
717 return resultobj;
718 fail:
719 return NULL;
720}
721
722
723static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
724 PyObject *resultobj;
725 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
726 wxWindow *arg2 = (wxWindow *) 0 ;
727 wxScrollBar *result;
728 PyObject * obj0 = 0 ;
729 PyObject * obj1 = 0 ;
730 char *kwnames[] = {
731 (char *) "self",(char *) "child", NULL
732 };
733
734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
737 {
738 PyThreadState* __tstate = wxPyBeginAllowThreads();
739 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
740
741 wxPyEndAllowThreads(__tstate);
742 if (PyErr_Occurred()) SWIG_fail;
743 }
744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0);
745 return resultobj;
746 fail:
747 return NULL;
748}
749
750
751static PyObject * DynamicSashWindow_swigregister(PyObject *self, PyObject *args) {
752 PyObject *obj;
753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
754 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
755 Py_INCREF(obj);
756 return Py_BuildValue((char *)"");
757}
758static PyObject *_wrap_new_EditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
759 PyObject *resultobj;
760 wxWindow *arg1 = (wxWindow *) 0 ;
761 int arg2 ;
762 wxString *arg3 = 0 ;
763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
765 wxSize const &arg5_defvalue = wxDefaultSize ;
766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
767 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
768 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
769 wxString *arg7 = (wxString *) &arg7_defvalue ;
770 wxEditableListBox *result;
771 bool temp3 = False ;
772 wxPoint temp4 ;
773 wxSize temp5 ;
774 bool temp7 = False ;
775 PyObject * obj0 = 0 ;
776 PyObject * obj2 = 0 ;
777 PyObject * obj3 = 0 ;
778 PyObject * obj4 = 0 ;
779 PyObject * obj6 = 0 ;
780 char *kwnames[] = {
781 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
782 };
783
784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_EditableListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
786 {
787 arg3 = wxString_in_helper(obj2);
788 if (arg3 == NULL) SWIG_fail;
789 temp3 = True;
790 }
791 if (obj3) {
792 {
793 arg4 = &temp4;
794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
795 }
796 }
797 if (obj4) {
798 {
799 arg5 = &temp5;
800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
801 }
802 }
803 if (obj6) {
804 {
805 arg7 = wxString_in_helper(obj6);
806 if (arg7 == NULL) SWIG_fail;
807 temp7 = True;
808 }
809 }
810 {
811 PyThreadState* __tstate = wxPyBeginAllowThreads();
812 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
813
814 wxPyEndAllowThreads(__tstate);
815 if (PyErr_Occurred()) SWIG_fail;
816 }
817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEditableListBox, 1);
818 {
819 if (temp3)
820 delete arg3;
821 }
822 {
823 if (temp7)
824 delete arg7;
825 }
826 return resultobj;
827 fail:
828 {
829 if (temp3)
830 delete arg3;
831 }
832 {
833 if (temp7)
834 delete arg7;
835 }
836 return NULL;
837}
838
839
840static PyObject *_wrap_EditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
841 PyObject *resultobj;
842 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
843 wxArrayString *arg2 = 0 ;
844 PyObject * obj0 = 0 ;
845 PyObject * obj1 = 0 ;
846 char *kwnames[] = {
847 (char *) "self",(char *) "strings", NULL
848 };
849
850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
852 {
853 if (! PySequence_Check(obj1)) {
854 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
855 SWIG_fail;
856 }
857 arg2 = new wxArrayString;
858 int i, len=PySequence_Length(obj1);
859 for (i=0; i<len; i++) {
860 PyObject* item = PySequence_GetItem(obj1, i);
861#if wxUSE_UNICODE
862 PyObject* str = PyObject_Unicode(item);
863#else
864 PyObject* str = PyObject_Str(item);
865#endif
866 arg2->Add(Py2wxString(str));
867 Py_DECREF(item);
868 Py_DECREF(str);
869 }
870 }
871 {
872 PyThreadState* __tstate = wxPyBeginAllowThreads();
873 (arg1)->SetStrings((wxArrayString const &)*arg2);
874
875 wxPyEndAllowThreads(__tstate);
876 if (PyErr_Occurred()) SWIG_fail;
877 }
878 Py_INCREF(Py_None); resultobj = Py_None;
879 {
880 if (arg2) delete arg2;
881 }
882 return resultobj;
883 fail:
884 {
885 if (arg2) delete arg2;
886 }
887 return NULL;
888}
889
890
891static PyObject *_wrap_EditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
892 PyObject *resultobj;
893 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
894 PyObject *result;
895 PyObject * obj0 = 0 ;
896 char *kwnames[] = {
897 (char *) "self", NULL
898 };
899
900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
902 {
903 PyThreadState* __tstate = wxPyBeginAllowThreads();
904 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
905
906 wxPyEndAllowThreads(__tstate);
907 if (PyErr_Occurred()) SWIG_fail;
908 }
909 resultobj = result;
910 return resultobj;
911 fail:
912 return NULL;
913}
914
915
916static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
917 PyObject *resultobj;
918 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
919 wxListCtrl *result;
920 PyObject * obj0 = 0 ;
921 char *kwnames[] = {
922 (char *) "self", NULL
923 };
924
925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
927 {
928 PyThreadState* __tstate = wxPyBeginAllowThreads();
929 result = (wxListCtrl *)(arg1)->GetListCtrl();
930
931 wxPyEndAllowThreads(__tstate);
932 if (PyErr_Occurred()) SWIG_fail;
933 }
934 {
935 resultobj = wxPyMake_wxObject(result);
936 }
937 return resultobj;
938 fail:
939 return NULL;
940}
941
942
943static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *self, PyObject *args, PyObject *kwargs) {
944 PyObject *resultobj;
945 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
946 wxBitmapButton *result;
947 PyObject * obj0 = 0 ;
948 char *kwnames[] = {
949 (char *) "self", NULL
950 };
951
952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
954 {
955 PyThreadState* __tstate = wxPyBeginAllowThreads();
956 result = (wxBitmapButton *)(arg1)->GetDelButton();
957
958 wxPyEndAllowThreads(__tstate);
959 if (PyErr_Occurred()) SWIG_fail;
960 }
961 {
962 resultobj = wxPyMake_wxObject(result);
963 }
964 return resultobj;
965 fail:
966 return NULL;
967}
968
969
970static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject *resultobj;
972 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
973 wxBitmapButton *result;
974 PyObject * obj0 = 0 ;
975 char *kwnames[] = {
976 (char *) "self", NULL
977 };
978
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
981 {
982 PyThreadState* __tstate = wxPyBeginAllowThreads();
983 result = (wxBitmapButton *)(arg1)->GetNewButton();
984
985 wxPyEndAllowThreads(__tstate);
986 if (PyErr_Occurred()) SWIG_fail;
987 }
988 {
989 resultobj = wxPyMake_wxObject(result);
990 }
991 return resultobj;
992 fail:
993 return NULL;
994}
995
996
997static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
998 PyObject *resultobj;
999 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1000 wxBitmapButton *result;
1001 PyObject * obj0 = 0 ;
1002 char *kwnames[] = {
1003 (char *) "self", NULL
1004 };
1005
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
1007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 result = (wxBitmapButton *)(arg1)->GetUpButton();
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) SWIG_fail;
1014 }
1015 {
1016 resultobj = wxPyMake_wxObject(result);
1017 }
1018 return resultobj;
1019 fail:
1020 return NULL;
1021}
1022
1023
1024static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1025 PyObject *resultobj;
1026 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1027 wxBitmapButton *result;
1028 PyObject * obj0 = 0 ;
1029 char *kwnames[] = {
1030 (char *) "self", NULL
1031 };
1032
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
1034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1035 {
1036 PyThreadState* __tstate = wxPyBeginAllowThreads();
1037 result = (wxBitmapButton *)(arg1)->GetDownButton();
1038
1039 wxPyEndAllowThreads(__tstate);
1040 if (PyErr_Occurred()) SWIG_fail;
1041 }
1042 {
1043 resultobj = wxPyMake_wxObject(result);
1044 }
1045 return resultobj;
1046 fail:
1047 return NULL;
1048}
1049
1050
1051static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1052 PyObject *resultobj;
1053 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1054 wxBitmapButton *result;
1055 PyObject * obj0 = 0 ;
1056 char *kwnames[] = {
1057 (char *) "self", NULL
1058 };
1059
1060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
1061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1062 {
1063 PyThreadState* __tstate = wxPyBeginAllowThreads();
1064 result = (wxBitmapButton *)(arg1)->GetEditButton();
1065
1066 wxPyEndAllowThreads(__tstate);
1067 if (PyErr_Occurred()) SWIG_fail;
1068 }
1069 {
1070 resultobj = wxPyMake_wxObject(result);
1071 }
1072 return resultobj;
1073 fail:
1074 return NULL;
1075}
1076
1077
1078static PyObject * EditableListBox_swigregister(PyObject *self, PyObject *args) {
1079 PyObject *obj;
1080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1081 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
1082 Py_INCREF(obj);
1083 return Py_BuildValue((char *)"");
1084}
1085static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject *resultobj;
1087 wxWindow *arg1 = (wxWindow *) 0 ;
1088 int arg2 ;
1089 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1090 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1091 wxSize const &arg4_defvalue = wxDefaultSize ;
1092 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1093 long arg5 = (long) wxTR_HAS_BUTTONS ;
1094 wxRemotelyScrolledTreeCtrl *result;
1095 wxPoint temp3 ;
1096 wxSize temp4 ;
1097 PyObject * obj0 = 0 ;
1098 PyObject * obj2 = 0 ;
1099 PyObject * obj3 = 0 ;
1100 char *kwnames[] = {
1101 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1102 };
1103
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOl:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if (obj2) {
1107 {
1108 arg3 = &temp3;
1109 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1110 }
1111 }
1112 if (obj3) {
1113 {
1114 arg4 = &temp4;
1115 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1116 }
1117 }
1118 {
1119 PyThreadState* __tstate = wxPyBeginAllowThreads();
1120 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1121
1122 wxPyEndAllowThreads(__tstate);
1123 if (PyErr_Occurred()) SWIG_fail;
1124 }
1125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
1126 return resultobj;
1127 fail:
1128 return NULL;
1129}
1130
1131
1132static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->HideVScrollbar();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153}
1154
1155
1156static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 (arg1)->AdjustRemoteScrollbars();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 Py_INCREF(Py_None); resultobj = Py_None;
1174 return resultobj;
1175 fail:
1176 return NULL;
1177}
1178
1179
1180static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject *resultobj;
1182 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1183 wxScrolledWindow *result;
1184 PyObject * obj0 = 0 ;
1185 char *kwnames[] = {
1186 (char *) "self", NULL
1187 };
1188
1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
1190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 0);
1199 return resultobj;
1200 fail:
1201 return NULL;
1202}
1203
1204
1205static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1206 PyObject *resultobj;
1207 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1208 int arg2 ;
1209 int arg3 ;
1210 PyObject * obj0 = 0 ;
1211 char *kwnames[] = {
1212 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
1213 };
1214
1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&arg2,&arg3)) goto fail;
1216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 (arg1)->ScrollToLine(arg2,arg3);
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) SWIG_fail;
1223 }
1224 Py_INCREF(Py_None); resultobj = Py_None;
1225 return resultobj;
1226 fail:
1227 return NULL;
1228}
1229
1230
1231static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject *resultobj;
1233 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1234 wxWindow *arg2 = (wxWindow *) 0 ;
1235 PyObject * obj0 = 0 ;
1236 PyObject * obj1 = 0 ;
1237 char *kwnames[] = {
1238 (char *) "self",(char *) "companion", NULL
1239 };
1240
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
1242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 (arg1)->SetCompanionWindow(arg2);
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
1251 Py_INCREF(Py_None); resultobj = Py_None;
1252 return resultobj;
1253 fail:
1254 return NULL;
1255}
1256
1257
1258static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject *resultobj;
1260 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1261 wxWindow *result;
1262 PyObject * obj0 = 0 ;
1263 char *kwnames[] = {
1264 (char *) "self", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
1268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269 {
1270 PyThreadState* __tstate = wxPyBeginAllowThreads();
1271 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
1272
1273 wxPyEndAllowThreads(__tstate);
1274 if (PyErr_Occurred()) SWIG_fail;
1275 }
1276 {
1277 resultobj = wxPyMake_wxObject(result);
1278 }
1279 return resultobj;
1280 fail:
1281 return NULL;
1282}
1283
1284
1285static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *self, PyObject *args) {
1286 PyObject *obj;
1287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
1289 Py_INCREF(obj);
1290 return Py_BuildValue((char *)"");
1291}
1292static PyObject *_wrap_new_TreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject *resultobj;
1294 wxWindow *arg1 = (wxWindow *) 0 ;
1295 int arg2 = (int) -1 ;
1296 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1297 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1298 wxSize const &arg4_defvalue = wxDefaultSize ;
1299 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1300 long arg5 = (long) 0 ;
1301 wxPyTreeCompanionWindow *result;
1302 wxPoint temp3 ;
1303 wxSize temp4 ;
1304 PyObject * obj0 = 0 ;
1305 PyObject * obj2 = 0 ;
1306 PyObject * obj3 = 0 ;
1307 char *kwnames[] = {
1308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1309 };
1310
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_TreeCompanionWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1313 if (obj2) {
1314 {
1315 arg3 = &temp3;
1316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1317 }
1318 }
1319 if (obj3) {
1320 {
1321 arg4 = &temp4;
1322 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1323 }
1324 }
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 }
1332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
1333 return resultobj;
1334 fail:
1335 return NULL;
1336}
1337
1338
1339static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1342 PyObject *arg2 = (PyObject *) 0 ;
1343 PyObject *arg3 = (PyObject *) 0 ;
1344 PyObject * obj0 = 0 ;
1345 PyObject * obj1 = 0 ;
1346 PyObject * obj2 = 0 ;
1347 char *kwnames[] = {
1348 (char *) "self",(char *) "self",(char *) "_class", NULL
1349 };
1350
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1353 arg2 = obj1;
1354 arg3 = obj2;
1355 {
1356 PyThreadState* __tstate = wxPyBeginAllowThreads();
1357 (arg1)->_setCallbackInfo(arg2,arg3);
1358
1359 wxPyEndAllowThreads(__tstate);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 }
1362 Py_INCREF(Py_None); resultobj = Py_None;
1363 return resultobj;
1364 fail:
1365 return NULL;
1366}
1367
1368
1369static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1370 PyObject *resultobj;
1371 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1372 wxRemotelyScrolledTreeCtrl *result;
1373 PyObject * obj0 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self", NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
1379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 {
1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
1382 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
1383
1384 wxPyEndAllowThreads(__tstate);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
1388 return resultobj;
1389 fail:
1390 return NULL;
1391}
1392
1393
1394static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject *resultobj;
1396 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1397 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1398 PyObject * obj0 = 0 ;
1399 PyObject * obj1 = 0 ;
1400 char *kwnames[] = {
1401 (char *) "self",(char *) "treeCtrl", NULL
1402 };
1403
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 (arg1)->SetTreeCtrl(arg2);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 Py_INCREF(Py_None); resultobj = Py_None;
1415 return resultobj;
1416 fail:
1417 return NULL;
1418}
1419
1420
1421static PyObject * TreeCompanionWindow_swigregister(PyObject *self, PyObject *args) {
1422 PyObject *obj;
1423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1424 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
1425 Py_INCREF(obj);
1426 return Py_BuildValue((char *)"");
1427}
1428static PyObject *_wrap_new_ThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxWindow *arg1 = (wxWindow *) 0 ;
1431 int arg2 = (int) -1 ;
1432 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1433 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1434 wxSize const &arg4_defvalue = wxDefaultSize ;
1435 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1436 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
1437 wxThinSplitterWindow *result;
1438 wxPoint temp3 ;
1439 wxSize temp4 ;
1440 PyObject * obj0 = 0 ;
1441 PyObject * obj2 = 0 ;
1442 PyObject * obj3 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1445 };
1446
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ThinSplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1449 if (obj2) {
1450 {
1451 arg3 = &temp3;
1452 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1453 }
1454 }
1455 if (obj3) {
1456 {
1457 arg4 = &temp4;
1458 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1459 }
1460 }
1461 {
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxThinSplitterWindow, 1);
1469 return resultobj;
1470 fail:
1471 return NULL;
1472}
1473
1474
1475static PyObject * ThinSplitterWindow_swigregister(PyObject *self, PyObject *args) {
1476 PyObject *obj;
1477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1478 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
1479 Py_INCREF(obj);
1480 return Py_BuildValue((char *)"");
1481}
1482static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject *resultobj;
1484 wxWindow *arg1 = (wxWindow *) 0 ;
1485 int arg2 = (int) -1 ;
1486 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1487 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1488 wxSize const &arg4_defvalue = wxDefaultSize ;
1489 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1490 long arg5 = (long) 0 ;
1491 wxSplitterScrolledWindow *result;
1492 wxPoint temp3 ;
1493 wxSize temp4 ;
1494 PyObject * obj0 = 0 ;
1495 PyObject * obj2 = 0 ;
1496 PyObject * obj3 = 0 ;
1497 char *kwnames[] = {
1498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1499 };
1500
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_SplitterScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1503 if (obj2) {
1504 {
1505 arg3 = &temp3;
1506 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1507 }
1508 }
1509 if (obj3) {
1510 {
1511 arg4 = &temp4;
1512 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1513 }
1514 }
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterScrolledWindow, 1);
1523 return resultobj;
1524 fail:
1525 return NULL;
1526}
1527
1528
1529static PyObject * SplitterScrolledWindow_swigregister(PyObject *self, PyObject *args) {
1530 PyObject *obj;
1531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1532 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
1533 Py_INCREF(obj);
1534 return Py_BuildValue((char *)"");
1535}
1536static PyObject *_wrap_new_LEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject *resultobj;
1538 wxWindow *arg1 = (wxWindow *) 0 ;
1539 int arg2 = (int) -1 ;
1540 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1541 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1542 wxSize const &arg4_defvalue = wxDefaultSize ;
1543 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1544 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
1545 wxLEDNumberCtrl *result;
1546 wxPoint temp3 ;
1547 wxSize temp4 ;
1548 PyObject * obj0 = 0 ;
1549 PyObject * obj2 = 0 ;
1550 PyObject * obj3 = 0 ;
1551 char *kwnames[] = {
1552 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1553 };
1554
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_LEDNumberCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1557 if (obj2) {
1558 {
1559 arg3 = &temp3;
1560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1561 }
1562 }
1563 if (obj3) {
1564 {
1565 arg4 = &temp4;
1566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1567 }
1568 }
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1);
1577 return resultobj;
1578 fail:
1579 return NULL;
1580}
1581
1582
1583static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxLEDNumberCtrl *result;
1586 char *kwnames[] = {
1587 NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
1591 {
1592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1593 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
1594
1595 wxPyEndAllowThreads(__tstate);
1596 if (PyErr_Occurred()) SWIG_fail;
1597 }
1598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1);
1599 return resultobj;
1600 fail:
1601 return NULL;
1602}
1603
1604
1605static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1608 wxWindow *arg2 = (wxWindow *) 0 ;
1609 int arg3 = (int) -1 ;
1610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1612 wxSize const &arg5_defvalue = wxDefaultSize ;
1613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1614 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
1615 bool result;
1616 wxPoint temp4 ;
1617 wxSize temp5 ;
1618 PyObject * obj0 = 0 ;
1619 PyObject * obj1 = 0 ;
1620 PyObject * obj3 = 0 ;
1621 PyObject * obj4 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if (obj3) {
1630 {
1631 arg4 = &temp4;
1632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1633 }
1634 }
1635 if (obj4) {
1636 {
1637 arg5 = &temp5;
1638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1639 }
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 resultobj = PyInt_FromLong((long)result);
1649 return resultobj;
1650 fail:
1651 return NULL;
1652}
1653
1654
1655static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1658 int result;
1659 PyObject * obj0 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 result = (int)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 resultobj = PyInt_FromLong((long)result);
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
1680static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1683 bool result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 {
1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
1693 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
1694
1695 wxPyEndAllowThreads(__tstate);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 resultobj = PyInt_FromLong((long)result);
1699 return resultobj;
1700 fail:
1701 return NULL;
1702}
1703
1704
1705static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject *resultobj;
1707 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1708 wxString *result;
1709 PyObject * obj0 = 0 ;
1710 char *kwnames[] = {
1711 (char *) "self", NULL
1712 };
1713
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 {
1719 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
1720 result = (wxString *) &_result_ref;
1721 }
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
0f774bef
RD
1726 {
1727#if wxUSE_UNICODE
1728 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1729#else
1730 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1731#endif
1732 }
44127b65
RD
1733 return resultobj;
1734 fail:
1735 return NULL;
1736}
1737
1738
1739static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1742 int arg2 ;
1743 bool arg3 = (bool) true ;
1744 PyObject * obj0 = 0 ;
1745 PyObject * obj2 = 0 ;
1746 char *kwnames[] = {
1747 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&arg2,&obj2)) goto fail;
1751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1752 if (obj2) {
1753 arg3 = PyInt_AsLong(obj2) ? true : false;
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 Py_INCREF(Py_None); resultobj = Py_None;
1764 return resultobj;
1765 fail:
1766 return NULL;
1767}
1768
1769
1770static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1773 bool arg2 ;
1774 bool arg3 = (bool) true ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 PyObject * obj2 = 0 ;
1778 char *kwnames[] = {
1779 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
1783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1784 arg2 = PyInt_AsLong(obj1) ? true : false;
1785 if (PyErr_Occurred()) SWIG_fail;
1786 if (obj2) {
1787 arg3 = PyInt_AsLong(obj2) ? true : false;
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 (arg1)->SetDrawFaded(arg2,arg3);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 Py_INCREF(Py_None); resultobj = Py_None;
1798 return resultobj;
1799 fail:
1800 return NULL;
1801}
1802
1803
1804static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1807 wxString *arg2 = 0 ;
1808 bool arg3 = (bool) true ;
1809 bool temp2 = False ;
1810 PyObject * obj0 = 0 ;
1811 PyObject * obj1 = 0 ;
1812 PyObject * obj2 = 0 ;
1813 char *kwnames[] = {
1814 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1819 {
1820 arg2 = wxString_in_helper(obj1);
1821 if (arg2 == NULL) SWIG_fail;
1822 temp2 = True;
1823 }
1824 if (obj2) {
1825 arg3 = PyInt_AsLong(obj2) ? true : false;
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->SetValue((wxString const &)*arg2,arg3);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 {
1837 if (temp2)
1838 delete arg2;
1839 }
1840 return resultobj;
1841 fail:
1842 {
1843 if (temp2)
1844 delete arg2;
1845 }
1846 return NULL;
1847}
1848
1849
1850static PyObject * LEDNumberCtrl_swigregister(PyObject *self, PyObject *args) {
1851 PyObject *obj;
1852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1853 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
1854 Py_INCREF(obj);
1855 return Py_BuildValue((char *)"");
1856}
1857static PyObject *_wrap_new_TreeListColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxString const &arg1_defvalue = wxPyEmptyString ;
1860 wxString *arg1 = (wxString *) &arg1_defvalue ;
1861 int arg2 = (int) -1 ;
1862 size_t arg3 = (size_t) 100 ;
1863 int arg4 = (int) wxTL_ALIGN_LEFT ;
1864 wxTreeListColumnInfo *result;
1865 bool temp1 = False ;
1866 PyObject * obj0 = 0 ;
1867 PyObject * obj2 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "text",(char *) "image",(char *) "width",(char *) "alignment", NULL
1870 };
1871
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOi:new_TreeListColumnInfo",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
1873 if (obj0) {
1874 {
1875 arg1 = wxString_in_helper(obj0);
1876 if (arg1 == NULL) SWIG_fail;
1877 temp1 = True;
1878 }
1879 }
1880 if (obj2) {
1881 arg3 = (size_t) PyInt_AsLong(obj2);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 }
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,(wxTreeListColumnAlign )arg4);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 1);
1892 {
1893 if (temp1)
1894 delete arg1;
1895 }
1896 return resultobj;
1897 fail:
1898 {
1899 if (temp1)
1900 delete arg1;
1901 }
1902 return NULL;
1903}
1904
1905
1906static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
1909 int result;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
1916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1917 {
1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
1919 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 }
1924 resultobj = PyInt_FromLong((long)result);
1925 return resultobj;
1926 fail:
1927 return NULL;
1928}
1929
1930
1931static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject *resultobj;
1933 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
1934 wxString result;
1935 PyObject * obj0 = 0 ;
1936 char *kwnames[] = {
1937 (char *) "self", NULL
1938 };
1939
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
1941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 {
1950#if wxUSE_UNICODE
1951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1952#else
1953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1954#endif
1955 }
1956 return resultobj;
1957 fail:
1958 return NULL;
1959}
1960
1961
1962static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
1965 int result;
1966 PyObject * obj0 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 resultobj = PyInt_FromLong((long)result);
1981 return resultobj;
1982 fail:
1983 return NULL;
1984}
1985
1986
1987static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
1990 int result;
1991 PyObject * obj0 = 0 ;
1992 char *kwnames[] = {
1993 (char *) "self", NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = PyInt_FromLong((long)result);
2006 return resultobj;
2007 fail:
2008 return NULL;
2009}
2010
2011
2012static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2015 size_t result;
2016 PyObject * obj0 = 0 ;
2017 char *kwnames[] = {
2018 (char *) "self", NULL
2019 };
2020
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
2022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2023 {
2024 PyThreadState* __tstate = wxPyBeginAllowThreads();
2025 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
2026
2027 wxPyEndAllowThreads(__tstate);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 }
2030 resultobj = PyInt_FromLong((long)result);
2031 return resultobj;
2032 fail:
2033 return NULL;
2034}
2035
2036
2037static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2040 int arg2 ;
2041 PyObject * obj0 = 0 ;
2042 char *kwnames[] = {
2043 (char *) "self",(char *) "alignment", NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
2047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 (arg1)->SetAlignment((wxTreeListColumnAlign )arg2);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 Py_INCREF(Py_None); resultobj = Py_None;
2056 return resultobj;
2057 fail:
2058 return NULL;
2059}
2060
2061
2062static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2065 wxString *arg2 = 0 ;
2066 bool temp2 = False ;
2067 PyObject * obj0 = 0 ;
2068 PyObject * obj1 = 0 ;
2069 char *kwnames[] = {
2070 (char *) "self",(char *) "text", NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
2074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2075 {
2076 arg2 = wxString_in_helper(obj1);
2077 if (arg2 == NULL) SWIG_fail;
2078 temp2 = True;
2079 }
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 (arg1)->SetText((wxString const &)*arg2);
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 Py_INCREF(Py_None); resultobj = Py_None;
2088 {
2089 if (temp2)
2090 delete arg2;
2091 }
2092 return resultobj;
2093 fail:
2094 {
2095 if (temp2)
2096 delete arg2;
2097 }
2098 return NULL;
2099}
2100
2101
2102static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject *resultobj;
2104 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2105 int arg2 ;
2106 PyObject * obj0 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "self",(char *) "image", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetImage",kwnames,&obj0,&arg2)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113 {
2114 PyThreadState* __tstate = wxPyBeginAllowThreads();
2115 (arg1)->SetImage(arg2);
2116
2117 wxPyEndAllowThreads(__tstate);
2118 if (PyErr_Occurred()) SWIG_fail;
2119 }
2120 Py_INCREF(Py_None); resultobj = Py_None;
2121 return resultobj;
2122 fail:
2123 return NULL;
2124}
2125
2126
2127static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2128 PyObject *resultobj;
2129 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2130 int arg2 ;
2131 PyObject * obj0 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "image", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&arg2)) goto fail;
2137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 {
2139 PyThreadState* __tstate = wxPyBeginAllowThreads();
2140 (arg1)->SetSelectedImage(arg2);
2141
2142 wxPyEndAllowThreads(__tstate);
2143 if (PyErr_Occurred()) SWIG_fail;
2144 }
2145 Py_INCREF(Py_None); resultobj = Py_None;
2146 return resultobj;
2147 fail:
2148 return NULL;
2149}
2150
2151
2152static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject *resultobj;
2154 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2155 size_t arg2 ;
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self",(char *) "with", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2164 arg2 = (size_t) PyInt_AsLong(obj1);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 {
2167 PyThreadState* __tstate = wxPyBeginAllowThreads();
2168 (arg1)->SetWidth(arg2);
2169
2170 wxPyEndAllowThreads(__tstate);
2171 if (PyErr_Occurred()) SWIG_fail;
2172 }
2173 Py_INCREF(Py_None); resultobj = Py_None;
2174 return resultobj;
2175 fail:
2176 return NULL;
2177}
2178
2179
2180static PyObject * TreeListColumnInfo_swigregister(PyObject *self, PyObject *args) {
2181 PyObject *obj;
2182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2183 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
2184 Py_INCREF(obj);
2185 return Py_BuildValue((char *)"");
2186}
2187static PyObject *_wrap_new_TreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 wxWindow *arg1 = (wxWindow *) 0 ;
2190 int arg2 = (int) -1 ;
2191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2193 wxSize const &arg4_defvalue = wxDefaultSize ;
2194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2195 long arg5 = (long) wxTR_DEFAULT_STYLE ;
2196 wxValidator const &arg6_defvalue = wxDefaultValidator ;
2197 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
2198 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
2199 wxString *arg7 = (wxString *) &arg7_defvalue ;
2200 wxPyTreeListCtrl *result;
2201 wxPoint temp3 ;
2202 wxSize temp4 ;
2203 bool temp7 = False ;
2204 PyObject * obj0 = 0 ;
2205 PyObject * obj2 = 0 ;
2206 PyObject * obj3 = 0 ;
2207 PyObject * obj5 = 0 ;
2208 PyObject * obj6 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 if (obj2) {
2216 {
2217 arg3 = &temp3;
2218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2219 }
2220 }
2221 if (obj3) {
2222 {
2223 arg4 = &temp4;
2224 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2225 }
2226 }
2227 if (obj5) {
2228 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2229 if (arg6 == NULL) {
2230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2231 }
2232 }
2233 if (obj6) {
2234 {
2235 arg7 = wxString_in_helper(obj6);
2236 if (arg7 == NULL) SWIG_fail;
2237 temp7 = True;
2238 }
2239 }
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1);
2248 {
2249 if (temp7)
2250 delete arg7;
2251 }
2252 return resultobj;
2253 fail:
2254 {
2255 if (temp7)
2256 delete arg7;
2257 }
2258 return NULL;
2259}
2260
2261
2262static PyObject *_wrap_new_PreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxPyTreeListCtrl *result;
2265 char *kwnames[] = {
2266 NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1);
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
2284static PyObject *_wrap_TreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2287 wxWindow *arg2 = (wxWindow *) 0 ;
2288 int arg3 = (int) -1 ;
2289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2291 wxSize const &arg5_defvalue = wxDefaultSize ;
2292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2293 long arg6 = (long) wxTR_DEFAULT_STYLE ;
2294 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2295 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2296 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
2297 wxString *arg8 = (wxString *) &arg8_defvalue ;
2298 bool result;
2299 wxPoint temp4 ;
2300 wxSize temp5 ;
2301 bool temp8 = False ;
2302 PyObject * obj0 = 0 ;
2303 PyObject * obj1 = 0 ;
2304 PyObject * obj3 = 0 ;
2305 PyObject * obj4 = 0 ;
2306 PyObject * obj6 = 0 ;
2307 PyObject * obj7 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2315 if (obj3) {
2316 {
2317 arg4 = &temp4;
2318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2319 }
2320 }
2321 if (obj4) {
2322 {
2323 arg5 = &temp5;
2324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2325 }
2326 }
2327 if (obj6) {
2328 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2329 if (arg7 == NULL) {
2330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2331 }
2332 }
2333 if (obj7) {
2334 {
2335 arg8 = wxString_in_helper(obj7);
2336 if (arg8 == NULL) SWIG_fail;
2337 temp8 = True;
2338 }
2339 }
2340 {
2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
2342 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2343
2344 wxPyEndAllowThreads(__tstate);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 }
2347 resultobj = PyInt_FromLong((long)result);
2348 {
2349 if (temp8)
2350 delete arg8;
2351 }
2352 return resultobj;
2353 fail:
2354 {
2355 if (temp8)
2356 delete arg8;
2357 }
2358 return NULL;
2359}
2360
2361
2362static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2365 PyObject *arg2 = (PyObject *) 0 ;
2366 PyObject *arg3 = (PyObject *) 0 ;
2367 PyObject * obj0 = 0 ;
2368 PyObject * obj1 = 0 ;
2369 PyObject * obj2 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self",(char *) "self",(char *) "_class", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2376 arg2 = obj1;
2377 arg3 = obj2;
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 (arg1)->_setCallbackInfo(arg2,arg3);
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2385 Py_INCREF(Py_None); resultobj = Py_None;
2386 return resultobj;
2387 fail:
2388 return NULL;
2389}
2390
2391
2392static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2395 size_t result;
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "self", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 resultobj = PyInt_FromLong((long)result);
2411 return resultobj;
2412 fail:
2413 return NULL;
2414}
2415
2416
2417static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject *resultobj;
2419 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2420 unsigned int result;
2421 PyObject * obj0 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "self", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
2427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 {
2429 PyThreadState* __tstate = wxPyBeginAllowThreads();
2430 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
2431
2432 wxPyEndAllowThreads(__tstate);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 resultobj = PyInt_FromLong((long)result);
2436 return resultobj;
2437 fail:
2438 return NULL;
2439}
2440
2441
2442static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2445 unsigned int arg2 ;
2446 PyObject * obj0 = 0 ;
2447 PyObject * obj1 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "indent", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 arg2 = (unsigned int) PyInt_AsLong(obj1);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 (arg1)->SetIndent(arg2);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 return resultobj;
2465 fail:
2466 return NULL;
2467}
2468
2469
2470static PyObject *_wrap_TreeListCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2473 unsigned int result;
2474 PyObject * obj0 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSpacing",kwnames,&obj0)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetSpacing();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 resultobj = PyInt_FromLong((long)result);
2489 return resultobj;
2490 fail:
2491 return NULL;
2492}
2493
2494
2495static PyObject *_wrap_TreeListCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2498 unsigned int arg2 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self",(char *) "spacing", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 arg2 = (unsigned int) PyInt_AsLong(obj1);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->SetSpacing(arg2);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520}
2521
2522
2523static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2526 unsigned int result;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
2533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 resultobj = PyInt_FromLong((long)result);
2542 return resultobj;
2543 fail:
2544 return NULL;
2545}
2546
2547
2548static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2551 unsigned int arg2 ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "self",(char *) "spacing", NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 arg2 = (unsigned int) PyInt_AsLong(obj1);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 (arg1)->SetLineSpacing(arg2);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 Py_INCREF(Py_None); resultobj = Py_None;
2570 return resultobj;
2571 fail:
2572 return NULL;
2573}
2574
2575
2576static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2579 wxImageList *result;
2580 PyObject * obj0 = 0 ;
2581 char *kwnames[] = {
2582 (char *) "self", NULL
2583 };
2584
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
2586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 }
2594 {
2595 resultobj = wxPyMake_wxObject(result);
2596 }
2597 return resultobj;
2598 fail:
2599 return NULL;
2600}
2601
2602
2603static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2606 wxImageList *result;
2607 PyObject * obj0 = 0 ;
2608 char *kwnames[] = {
2609 (char *) "self", NULL
2610 };
2611
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 {
2622 resultobj = wxPyMake_wxObject(result);
2623 }
2624 return resultobj;
2625 fail:
2626 return NULL;
2627}
2628
2629
2630static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2633 wxImageList *result;
2634 PyObject * obj0 = 0 ;
2635 char *kwnames[] = {
2636 (char *) "self", NULL
2637 };
2638
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
2640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 {
2649 resultobj = wxPyMake_wxObject(result);
2650 }
2651 return resultobj;
2652 fail:
2653 return NULL;
2654}
2655
2656
2657static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2660 wxImageList *arg2 = (wxImageList *) 0 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "imageList", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 (arg1)->SetImageList(arg2);
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 Py_INCREF(Py_None); resultobj = Py_None;
2678 return resultobj;
2679 fail:
2680 return NULL;
2681}
2682
2683
2684static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2687 wxImageList *arg2 = (wxImageList *) 0 ;
2688 PyObject * obj0 = 0 ;
2689 PyObject * obj1 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self",(char *) "imageList", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->SetStateImageList(arg2);
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708}
2709
2710
2711static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2714 wxImageList *arg2 = (wxImageList *) 0 ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "imageList", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->SetButtonsImageList(arg2);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735}
2736
2737
2738static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2741 wxImageList *arg2 = (wxImageList *) 0 ;
2742 PyObject * obj0 = 0 ;
2743 PyObject * obj1 = 0 ;
2744 char *kwnames[] = {
2745 (char *) "self",(char *) "imageList", NULL
2746 };
2747
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
2749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 (arg1)->AssignImageList(arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 Py_INCREF(Py_None); resultobj = Py_None;
2759 return resultobj;
2760 fail:
2761 return NULL;
2762}
2763
2764
2765static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2768 wxImageList *arg2 = (wxImageList *) 0 ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "imageList", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->AssignStateImageList(arg2);
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789}
2790
2791
2792static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2795 wxImageList *arg2 = (wxImageList *) 0 ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "imageList", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 (arg1)->AssignButtonsImageList(arg2);
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 Py_INCREF(Py_None); resultobj = Py_None;
2813 return resultobj;
2814 fail:
2815 return NULL;
2816}
2817
2818
2819static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2822 wxString *arg2 = 0 ;
2823 bool temp2 = False ;
2824 PyObject * obj0 = 0 ;
2825 PyObject * obj1 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "self",(char *) "text", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
2831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2832 {
2833 arg2 = wxString_in_helper(obj1);
2834 if (arg2 == NULL) SWIG_fail;
2835 temp2 = True;
2836 }
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 (arg1)->AddColumn((wxString const &)*arg2);
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 Py_INCREF(Py_None); resultobj = Py_None;
2845 {
2846 if (temp2)
2847 delete arg2;
2848 }
2849 return resultobj;
2850 fail:
2851 {
2852 if (temp2)
2853 delete arg2;
2854 }
2855 return NULL;
2856}
2857
2858
2859static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2862 wxTreeListColumnInfo *arg2 = 0 ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "col", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 if (arg2 == NULL) {
2873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 return resultobj;
2884 fail:
2885 return NULL;
2886}
2887
2888
2889static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2890 PyObject *resultobj;
2891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2892 size_t arg2 ;
2893 wxString *arg3 = 0 ;
2894 bool temp3 = False ;
2895 PyObject * obj0 = 0 ;
2896 PyObject * obj1 = 0 ;
2897 PyObject * obj2 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self",(char *) "before",(char *) "text", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
2903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2904 arg2 = (size_t) PyInt_AsLong(obj1);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 {
2907 arg3 = wxString_in_helper(obj2);
2908 if (arg3 == NULL) SWIG_fail;
2909 temp3 = True;
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 {
2920 if (temp3)
2921 delete arg3;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp3)
2927 delete arg3;
2928 }
2929 return NULL;
2930}
2931
2932
2933static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2936 size_t arg2 ;
2937 wxTreeListColumnInfo *arg3 = 0 ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 PyObject * obj2 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "before",(char *) "col", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 arg2 = (size_t) PyInt_AsLong(obj1);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 if (arg3 == NULL) {
2951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2952 }
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964}
2965
2966
2967static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2970 size_t arg2 ;
2971 PyObject * obj0 = 0 ;
2972 PyObject * obj1 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self",(char *) "column", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2979 arg2 = (size_t) PyInt_AsLong(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 (arg1)->RemoveColumn(arg2);
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 Py_INCREF(Py_None); resultobj = Py_None;
2989 return resultobj;
2990 fail:
2991 return NULL;
2992}
2993
2994
2995static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2998 size_t result;
2999 PyObject * obj0 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
3005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 resultobj = PyInt_FromLong((long)result);
3014 return resultobj;
3015 fail:
3016 return NULL;
3017}
3018
3019
3020static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject *resultobj;
3022 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3023 size_t arg2 ;
3024 size_t arg3 ;
3025 PyObject * obj0 = 0 ;
3026 PyObject * obj1 = 0 ;
3027 PyObject * obj2 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self",(char *) "column",(char *) "width", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3034 arg2 = (size_t) PyInt_AsLong(obj1);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 arg3 = (size_t) PyInt_AsLong(obj2);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 (arg1)->SetColumnWidth(arg2,arg3);
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 Py_INCREF(Py_None); resultobj = Py_None;
3046 return resultobj;
3047 fail:
3048 return NULL;
3049}
3050
3051
3052static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj;
3054 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3055 size_t arg2 ;
3056 int result;
3057 PyObject * obj0 = 0 ;
3058 PyObject * obj1 = 0 ;
3059 char *kwnames[] = {
3060 (char *) "self",(char *) "column", NULL
3061 };
3062
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
3064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3065 arg2 = (size_t) PyInt_AsLong(obj1);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = PyInt_FromLong((long)result);
3075 return resultobj;
3076 fail:
3077 return NULL;
3078}
3079
3080
3081static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3084 size_t arg2 ;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "self",(char *) "column", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
3092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 arg2 = (size_t) PyInt_AsLong(obj1);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 (arg1)->SetMainColumn(arg2);
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 Py_INCREF(Py_None); resultobj = Py_None;
3103 return resultobj;
3104 fail:
3105 return NULL;
3106}
3107
3108
3109static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3112 size_t result;
3113 PyObject * obj0 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "self", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 resultobj = PyInt_FromLong((long)result);
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
3134static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3137 size_t arg2 ;
3138 wxString *arg3 = 0 ;
3139 bool temp3 = False ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 PyObject * obj2 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "column",(char *) "text", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149 arg2 = (size_t) PyInt_AsLong(obj1);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 {
3152 arg3 = wxString_in_helper(obj2);
3153 if (arg3 == NULL) SWIG_fail;
3154 temp3 = True;
3155 }
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 Py_INCREF(Py_None); resultobj = Py_None;
3164 {
3165 if (temp3)
3166 delete arg3;
3167 }
3168 return resultobj;
3169 fail:
3170 {
3171 if (temp3)
3172 delete arg3;
3173 }
3174 return NULL;
3175}
3176
3177
3178static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3181 size_t arg2 ;
3182 wxString result;
3183 PyObject * obj0 = 0 ;
3184 PyObject * obj1 = 0 ;
3185 char *kwnames[] = {
3186 (char *) "self",(char *) "column", NULL
3187 };
3188
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
3190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 arg2 = (size_t) PyInt_AsLong(obj1);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 {
3201#if wxUSE_UNICODE
3202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3203#else
3204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3205#endif
3206 }
3207 return resultobj;
3208 fail:
3209 return NULL;
3210}
3211
3212
3213static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3216 size_t arg2 ;
3217 wxTreeListColumnInfo *arg3 = 0 ;
3218 PyObject * obj0 = 0 ;
3219 PyObject * obj1 = 0 ;
3220 PyObject * obj2 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self",(char *) "column",(char *) "info", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 arg2 = (size_t) PyInt_AsLong(obj1);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3230 if (arg3 == NULL) {
3231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3232 }
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 Py_INCREF(Py_None); resultobj = Py_None;
3241 return resultobj;
3242 fail:
3243 return NULL;
3244}
3245
3246
3247static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3250 size_t arg2 ;
3251 wxTreeListColumnInfo *result;
3252 PyObject * obj0 = 0 ;
3253 PyObject * obj1 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "self",(char *) "column", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 arg2 = (size_t) PyInt_AsLong(obj1);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 {
3265 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
3266 result = (wxTreeListColumnInfo *) &_result_ref;
3267 }
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 0);
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
3279static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3282 size_t arg2 ;
3283 int arg3 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "column",(char *) "align", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&arg3)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 arg2 = (size_t) PyInt_AsLong(obj1);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 return resultobj;
3303 fail:
3304 return NULL;
3305}
3306
3307
3308static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject *resultobj;
3310 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3311 size_t arg2 ;
3312 int result;
3313 PyObject * obj0 = 0 ;
3314 PyObject * obj1 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "column", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 arg2 = (size_t) PyInt_AsLong(obj1);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 resultobj = PyInt_FromLong((long)result);
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3340 size_t arg2 ;
3341 int arg3 ;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self",(char *) "column",(char *) "image", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
3349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3350 arg2 = (size_t) PyInt_AsLong(obj1);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->SetColumnImage(arg2,arg3);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363}
3364
3365
3366static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3369 size_t arg2 ;
3370 int result;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self",(char *) "column", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 arg2 = (size_t) PyInt_AsLong(obj1);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 {
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
3384
3385 wxPyEndAllowThreads(__tstate);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 resultobj = PyInt_FromLong((long)result);
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
3395static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3398 wxTreeItemId *arg2 = 0 ;
3399 int arg3 = (int) -1 ;
3400 wxString result;
3401 PyObject * obj0 = 0 ;
3402 PyObject * obj1 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "item",(char *) "column", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3410 if (arg2 == NULL) {
3411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3412 }
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 {
3421#if wxUSE_UNICODE
3422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3423#else
3424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3425#endif
3426 }
3427 return resultobj;
3428 fail:
3429 return NULL;
3430}
3431
3432
3433static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3436 wxTreeItemId *arg2 = 0 ;
3437 int arg3 = (int) -1 ;
3438 int arg4 = (int) wxTreeItemIcon_Normal ;
3439 int result;
3440 PyObject * obj0 = 0 ;
3441 PyObject * obj1 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3449 if (arg2 == NULL) {
3450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 resultobj = PyInt_FromLong((long)result);
3460 return resultobj;
3461 fail:
3462 return NULL;
3463}
3464
3465
3466static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3469 wxTreeItemId *arg2 = 0 ;
3470 wxString *arg3 = 0 ;
3471 int arg4 = (int) -1 ;
3472 bool temp3 = False ;
3473 PyObject * obj0 = 0 ;
3474 PyObject * obj1 = 0 ;
3475 PyObject * obj2 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
3481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3483 if (arg2 == NULL) {
3484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3485 }
3486 {
3487 arg3 = wxString_in_helper(obj2);
3488 if (arg3 == NULL) SWIG_fail;
3489 temp3 = True;
3490 }
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 Py_INCREF(Py_None); resultobj = Py_None;
3499 {
3500 if (temp3)
3501 delete arg3;
3502 }
3503 return resultobj;
3504 fail:
3505 {
3506 if (temp3)
3507 delete arg3;
3508 }
3509 return NULL;
3510}
3511
3512
3513static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3516 wxTreeItemId *arg2 = 0 ;
3517 int arg3 ;
3518 int arg4 = (int) -1 ;
3519 int arg5 = (int) wxTreeItemIcon_Normal ;
3520 PyObject * obj0 = 0 ;
3521 PyObject * obj1 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|ii:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
3527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3529 if (arg2 == NULL) {
3530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3531 }
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 Py_INCREF(Py_None); resultobj = Py_None;
3540 return resultobj;
3541 fail:
3542 return NULL;
3543}
3544
3545
3546static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject *resultobj;
3548 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3549 wxTreeItemId *arg2 = 0 ;
3550 wxPyTreeItemData *result;
3551 PyObject * obj0 = 0 ;
3552 PyObject * obj1 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self",(char *) "item", NULL
3555 };
3556
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
3558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3560 if (arg2 == NULL) {
3561 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3562 }
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
3571 return resultobj;
3572 fail:
3573 return NULL;
3574}
3575
3576
3577static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3580 wxTreeItemId *arg2 = 0 ;
3581 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 PyObject * obj2 = 0 ;
3585 char *kwnames[] = {
3586 (char *) "self",(char *) "item",(char *) "data", NULL
3587 };
3588
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 if (arg2 == NULL) {
3593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3594 }
3595 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 Py_INCREF(Py_None); resultobj = Py_None;
3604 return resultobj;
3605 fail:
3606 return NULL;
3607}
3608
3609
3610static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3611 PyObject *resultobj;
3612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3613 wxTreeItemId *arg2 = 0 ;
3614 PyObject *result;
3615 PyObject * obj0 = 0 ;
3616 PyObject * obj1 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self",(char *) "item", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3624 if (arg2 == NULL) {
3625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3626 }
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 resultobj = result;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638}
3639
3640
3641static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3644 wxTreeItemId *arg2 = 0 ;
3645 PyObject *arg3 = (PyObject *) 0 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 PyObject * obj2 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "item",(char *) "obj", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 if (arg2 == NULL) {
3657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3658 }
3659 arg3 = obj2;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 Py_INCREF(Py_None); resultobj = Py_None;
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3677 wxTreeItemId *arg2 = 0 ;
3678 bool arg3 = (bool) True ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681 PyObject * obj2 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self",(char *) "item",(char *) "has", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 if (arg2 == NULL) {
3690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3691 }
3692 if (obj2) {
3693 arg3 = PyInt_AsLong(obj2) ? true : false;
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 return resultobj;
3705 fail:
3706 return NULL;
3707}
3708
3709
3710static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3713 wxTreeItemId *arg2 = 0 ;
3714 bool arg3 = (bool) True ;
3715 PyObject * obj0 = 0 ;
3716 PyObject * obj1 = 0 ;
3717 PyObject * obj2 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "item",(char *) "bold", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3725 if (arg2 == NULL) {
3726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3727 }
3728 if (obj2) {
3729 arg3 = PyInt_AsLong(obj2) ? true : false;
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 Py_INCREF(Py_None); resultobj = Py_None;
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
3746static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3749 wxTreeItemId *arg2 = 0 ;
3750 wxColour *arg3 = 0 ;
3751 wxColour temp3 ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 PyObject * obj2 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "item",(char *) "col", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3762 if (arg2 == NULL) {
3763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3764 }
3765 {
3766 arg3 = &temp3;
3767 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3768 }
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
3772
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 Py_INCREF(Py_None); resultobj = Py_None;
3777 return resultobj;
3778 fail:
3779 return NULL;
3780}
3781
3782
3783static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj;
3785 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3786 wxTreeItemId *arg2 = 0 ;
3787 wxColour *arg3 = 0 ;
3788 wxColour temp3 ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 PyObject * obj2 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "self",(char *) "item",(char *) "col", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3799 if (arg2 == NULL) {
3800 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3801 }
3802 {
3803 arg3 = &temp3;
3804 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3805 }
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
3820static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3823 wxTreeItemId *arg2 = 0 ;
3824 wxFont *arg3 = 0 ;
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj1 = 0 ;
3827 PyObject * obj2 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "item",(char *) "font", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 if (arg2 == NULL) {
3836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3837 }
3838 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3839 if (arg3 == NULL) {
3840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3841 }
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 Py_INCREF(Py_None); resultobj = Py_None;
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
3856static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3859 wxTreeItemId *arg2 = 0 ;
3860 bool result;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "item", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 if (arg2 == NULL) {
3871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3872 }
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 resultobj = PyInt_FromLong((long)result);
3881 return resultobj;
3882 fail:
3883 return NULL;
3884}
3885
3886
3887static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3890 wxTreeItemId *arg2 = 0 ;
3891 wxColour result;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "item", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3901 if (arg2 == NULL) {
3902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3903 }
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 wxColour * resultptr;
3913 resultptr = new wxColour((wxColour &) result);
3914 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3915 }
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
3922static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3925 wxTreeItemId *arg2 = 0 ;
3926 wxColour result;
3927 PyObject * obj0 = 0 ;
3928 PyObject * obj1 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "item", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3936 if (arg2 == NULL) {
3937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 wxColour * resultptr;
3948 resultptr = new wxColour((wxColour &) result);
3949 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3950 }
3951 return resultobj;
3952 fail:
3953 return NULL;
3954}
3955
3956
3957static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject *resultobj;
3959 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3960 wxTreeItemId *arg2 = 0 ;
3961 wxFont result;
3962 PyObject * obj0 = 0 ;
3963 PyObject * obj1 = 0 ;
3964 char *kwnames[] = {
3965 (char *) "self",(char *) "item", NULL
3966 };
3967
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
3969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 if (arg2 == NULL) {
3972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3973 }
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 {
3982 wxFont * resultptr;
3983 resultptr = new wxFont((wxFont &) result);
3984 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
3985 }
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3995 wxTreeItemId *arg2 = 0 ;
3996 bool result;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self",(char *) "item", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4006 if (arg2 == NULL) {
4007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4008 }
4009 {
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
4012
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = PyInt_FromLong((long)result);
4017 return resultobj;
4018 fail:
4019 return NULL;
4020}
4021
4022
4023static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4024 PyObject *resultobj;
4025 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4026 wxTreeItemId *arg2 = 0 ;
4027 bool result;
4028 PyObject * obj0 = 0 ;
4029 PyObject * obj1 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self",(char *) "item", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 if (arg2 == NULL) {
4038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4039 }
4040 {
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 resultobj = PyInt_FromLong((long)result);
4048 return resultobj;
4049 fail:
4050 return NULL;
4051}
4052
4053
4054static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4057 wxTreeItemId *arg2 = 0 ;
4058 bool result;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "item", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4068 if (arg2 == NULL) {
4069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 resultobj = PyInt_FromLong((long)result);
4079 return resultobj;
4080 fail:
4081 return NULL;
4082}
4083
4084
4085static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4088 wxTreeItemId *arg2 = 0 ;
4089 bool result;
4090 PyObject * obj0 = 0 ;
4091 PyObject * obj1 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self",(char *) "item", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4099 if (arg2 == NULL) {
4100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4101 }
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = PyInt_FromLong((long)result);
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
4116static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4119 wxTreeItemId *arg2 = 0 ;
4120 bool result;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self",(char *) "item", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4130 if (arg2 == NULL) {
4131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4132 }
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = PyInt_FromLong((long)result);
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
4147static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4150 wxTreeItemId *arg2 = 0 ;
4151 bool arg3 = (bool) True ;
4152 size_t result;
4153 PyObject * obj0 = 0 ;
4154 PyObject * obj1 = 0 ;
4155 PyObject * obj2 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self",(char *) "item",(char *) "recursively", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4163 if (arg2 == NULL) {
4164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4165 }
4166 if (obj2) {
4167 arg3 = PyInt_AsLong(obj2) ? true : false;
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 resultobj = PyInt_FromLong((long)result);
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4187 wxTreeItemId result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 {
4203 wxTreeItemId * resultptr;
4204 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4205 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4206 }
4207 return resultobj;
4208 fail:
4209 return NULL;
4210}
4211
4212
4213static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4216 wxTreeItemId result;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 wxTreeItemId * resultptr;
4233 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4235 }
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4245 PyObject *result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 resultobj = result;
4261 return resultobj;
4262 fail:
4263 return NULL;
4264}
4265
4266
4267static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4270 wxTreeItemId *arg2 = 0 ;
4271 wxTreeItemId result;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self",(char *) "item", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 if (arg2 == NULL) {
4282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4283 }
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = ((wxPyTreeListCtrl const *)arg1)->GetParent((wxTreeItemId const &)*arg2);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 {
4292 wxTreeItemId * resultptr;
4293 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4294 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4295 }
4296 return resultobj;
4297 fail:
4298 return NULL;
4299}
4300
4301
4302static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4305 wxTreeItemId *arg2 = 0 ;
4306 PyObject *result;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "item", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4316 if (arg2 == NULL) {
4317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 resultobj = result;
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
4333static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj;
4335 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4336 wxTreeItemId *arg2 = 0 ;
4337 long arg3 ;
4338 PyObject *result;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "item",(char *) "cookie", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&arg3)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4348 if (arg2 == NULL) {
4349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4350 }
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = result;
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4368 wxTreeItemId *arg2 = 0 ;
4369 wxTreeItemId result;
4370 PyObject * obj0 = 0 ;
4371 PyObject * obj1 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self",(char *) "item", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
4377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4379 if (arg2 == NULL) {
4380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4381 }
4382 {
4383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4384 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
4385
4386 wxPyEndAllowThreads(__tstate);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 {
4390 wxTreeItemId * resultptr;
4391 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4393 }
4394 return resultobj;
4395 fail:
4396 return NULL;
4397}
4398
4399
4400static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj;
4402 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4403 wxTreeItemId *arg2 = 0 ;
4404 wxTreeItemId result;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self",(char *) "item", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4414 if (arg2 == NULL) {
4415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4416 }
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 {
4425 wxTreeItemId * resultptr;
4426 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4427 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4428 }
4429 return resultobj;
4430 fail:
4431 return NULL;
4432}
4433
4434
4435static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject *resultobj;
4437 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4438 wxTreeItemId *arg2 = 0 ;
4439 wxTreeItemId result;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "self",(char *) "item", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
4447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4449 if (arg2 == NULL) {
4450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 {
4460 wxTreeItemId * resultptr;
4461 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4463 }
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
4470static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4473 wxTreeItemId result;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
4480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 {
4489 wxTreeItemId * resultptr;
4490 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4492 }
4493 return resultobj;
4494 fail:
4495 return NULL;
4496}
4497
4498
4499static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj;
4501 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4502 wxTreeItemId *arg2 = 0 ;
4503 wxTreeItemId result;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "item", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 if (arg2 == NULL) {
4514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 {
4524 wxTreeItemId * resultptr;
4525 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4527 }
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
4534static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4537 wxTreeItemId *arg2 = 0 ;
4538 wxTreeItemId result;
4539 PyObject * obj0 = 0 ;
4540 PyObject * obj1 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self",(char *) "item", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
4546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4548 if (arg2 == NULL) {
4549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 {
4559 wxTreeItemId * resultptr;
4560 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4561 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4562 }
4563 return resultobj;
4564 fail:
4565 return NULL;
4566}
4567
4568
4569static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4572 wxTreeItemId *arg2 = 0 ;
4573 wxTreeItemId result;
4574 PyObject * obj0 = 0 ;
4575 PyObject * obj1 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self",(char *) "item", NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 if (arg2 == NULL) {
4584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 {
4594 wxTreeItemId * resultptr;
4595 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601}
4602
4603
4604static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4607 wxString *arg2 = 0 ;
4608 int arg3 = (int) -1 ;
4609 int arg4 = (int) -1 ;
4610 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
4611 wxTreeItemId result;
4612 bool temp2 = False ;
4613 PyObject * obj0 = 0 ;
4614 PyObject * obj1 = 0 ;
4615 PyObject * obj4 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4622 {
4623 arg2 = wxString_in_helper(obj1);
4624 if (arg2 == NULL) SWIG_fail;
4625 temp2 = True;
4626 }
4627 if (obj4) {
4628 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4629 }
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 {
4638 wxTreeItemId * resultptr;
4639 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4641 }
4642 {
4643 if (temp2)
4644 delete arg2;
4645 }
4646 return resultobj;
4647 fail:
4648 {
4649 if (temp2)
4650 delete arg2;
4651 }
4652 return NULL;
4653}
4654
4655
4656static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4659 wxTreeItemId *arg2 = 0 ;
4660 wxString *arg3 = 0 ;
4661 int arg4 = (int) -1 ;
4662 int arg5 = (int) -1 ;
4663 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
4664 wxTreeItemId result;
4665 bool temp3 = False ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 PyObject * obj5 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
4675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4677 if (arg2 == NULL) {
4678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4679 }
4680 {
4681 arg3 = wxString_in_helper(obj2);
4682 if (arg3 == NULL) SWIG_fail;
4683 temp3 = True;
4684 }
4685 if (obj5) {
4686 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 }
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 {
4696 wxTreeItemId * resultptr;
4697 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4698 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4699 }
4700 {
4701 if (temp3)
4702 delete arg3;
4703 }
4704 return resultobj;
4705 fail:
4706 {
4707 if (temp3)
4708 delete arg3;
4709 }
4710 return NULL;
4711}
4712
4713
4714static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4717 wxTreeItemId *arg2 = 0 ;
4718 wxTreeItemId *arg3 = 0 ;
4719 wxString *arg4 = 0 ;
4720 int arg5 = (int) -1 ;
4721 int arg6 = (int) -1 ;
4722 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
4723 wxTreeItemId result;
4724 bool temp4 = False ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 PyObject * obj2 = 0 ;
4728 PyObject * obj3 = 0 ;
4729 PyObject * obj6 = 0 ;
4730 char *kwnames[] = {
4731 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
4735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4737 if (arg2 == NULL) {
4738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4739 }
4740 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4741 if (arg3 == NULL) {
4742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4743 }
4744 {
4745 arg4 = wxString_in_helper(obj3);
4746 if (arg4 == NULL) SWIG_fail;
4747 temp4 = True;
4748 }
4749 if (obj6) {
4750 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4751 }
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 {
4760 wxTreeItemId * resultptr;
4761 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4763 }
4764 {
4765 if (temp4)
4766 delete arg4;
4767 }
4768 return resultobj;
4769 fail:
4770 {
4771 if (temp4)
4772 delete arg4;
4773 }
4774 return NULL;
4775}
4776
4777
4778static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4781 wxTreeItemId *arg2 = 0 ;
4782 size_t arg3 ;
4783 wxString *arg4 = 0 ;
4784 int arg5 = (int) -1 ;
4785 int arg6 = (int) -1 ;
4786 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
4787 wxTreeItemId result;
4788 bool temp4 = False ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 PyObject * obj2 = 0 ;
4792 PyObject * obj3 = 0 ;
4793 PyObject * obj6 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
4799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4801 if (arg2 == NULL) {
4802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4803 }
4804 arg3 = (size_t) PyInt_AsLong(obj2);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 {
4807 arg4 = wxString_in_helper(obj3);
4808 if (arg4 == NULL) SWIG_fail;
4809 temp4 = True;
4810 }
4811 if (obj6) {
4812 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4813 }
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 wxTreeItemId * resultptr;
4823 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4825 }
4826 {
4827 if (temp4)
4828 delete arg4;
4829 }
4830 return resultobj;
4831 fail:
4832 {
4833 if (temp4)
4834 delete arg4;
4835 }
4836 return NULL;
4837}
4838
4839
4840static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4841 PyObject *resultobj;
4842 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4843 wxTreeItemId *arg2 = 0 ;
4844 wxString *arg3 = 0 ;
4845 int arg4 = (int) -1 ;
4846 int arg5 = (int) -1 ;
4847 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
4848 wxTreeItemId result;
4849 bool temp3 = False ;
4850 PyObject * obj0 = 0 ;
4851 PyObject * obj1 = 0 ;
4852 PyObject * obj2 = 0 ;
4853 PyObject * obj5 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 if (arg2 == NULL) {
4862 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4863 }
4864 {
4865 arg3 = wxString_in_helper(obj2);
4866 if (arg3 == NULL) SWIG_fail;
4867 temp3 = True;
4868 }
4869 if (obj5) {
4870 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 {
4880 wxTreeItemId * resultptr;
4881 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4883 }
4884 {
4885 if (temp3)
4886 delete arg3;
4887 }
4888 return resultobj;
4889 fail:
4890 {
4891 if (temp3)
4892 delete arg3;
4893 }
4894 return NULL;
4895}
4896
4897
4898static PyObject *_wrap_TreeListCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4901 wxTreeItemId *arg2 = 0 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "item", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
4909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 if (arg2 == NULL) {
4912 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4913 }
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->Delete((wxTreeItemId const &)*arg2);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925}
4926
4927
4928static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4931 wxTreeItemId *arg2 = 0 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "item", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
4939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if (arg2 == NULL) {
4942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4943 }
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
4958static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4961 PyObject * obj0 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 (arg1)->DeleteAllItems();
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 Py_INCREF(Py_None); resultobj = Py_None;
4976 return resultobj;
4977 fail:
4978 return NULL;
4979}
4980
4981
4982static PyObject *_wrap_TreeListCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj;
4984 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4985 wxTreeItemId *arg2 = 0 ;
4986 PyObject * obj0 = 0 ;
4987 PyObject * obj1 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "self",(char *) "item", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4995 if (arg2 == NULL) {
4996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4997 }
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->Expand((wxTreeItemId const &)*arg2);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5015 wxTreeItemId *arg2 = 0 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "item", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 if (arg2 == NULL) {
5026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5027 }
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 Py_INCREF(Py_None); resultobj = Py_None;
5036 return resultobj;
5037 fail:
5038 return NULL;
5039}
5040
5041
5042static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5045 wxTreeItemId *arg2 = 0 ;
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self",(char *) "item", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
5053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5055 if (arg2 == NULL) {
5056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5057 }
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 (arg1)->Collapse((wxTreeItemId const &)*arg2);
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 Py_INCREF(Py_None); resultobj = Py_None;
5066 return resultobj;
5067 fail:
5068 return NULL;
5069}
5070
5071
5072static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5075 wxTreeItemId *arg2 = 0 ;
5076 PyObject * obj0 = 0 ;
5077 PyObject * obj1 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self",(char *) "item", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
5083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5085 if (arg2 == NULL) {
5086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 Py_INCREF(Py_None); resultobj = Py_None;
5096 return resultobj;
5097 fail:
5098 return NULL;
5099}
5100
5101
5102static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5105 wxTreeItemId *arg2 = 0 ;
5106 PyObject * obj0 = 0 ;
5107 PyObject * obj1 = 0 ;
5108 char *kwnames[] = {
5109 (char *) "self",(char *) "item", NULL
5110 };
5111
5112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
5113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 if (arg2 == NULL) {
5116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->Toggle((wxTreeItemId const &)*arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5135 PyObject * obj0 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
5141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->Unselect();
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 return resultobj;
5151 fail:
5152 return NULL;
5153}
5154
5155
5156static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 (arg1)->UnselectAll();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 Py_INCREF(Py_None); resultobj = Py_None;
5174 return resultobj;
5175 fail:
5176 return NULL;
5177}
5178
5179
5180static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5183 wxTreeItemId *arg2 = 0 ;
5184 bool arg3 = (bool) True ;
5185 bool arg4 = (bool) False ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 PyObject * obj2 = 0 ;
5189 PyObject * obj3 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5197 if (arg2 == NULL) {
5198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5199 }
5200 if (obj2) {
5201 arg3 = PyInt_AsLong(obj2) ? true : false;
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 if (obj3) {
5205 arg4 = PyInt_AsLong(obj3) ? true : false;
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 Py_INCREF(Py_None); resultobj = Py_None;
5216 return resultobj;
5217 fail:
5218 return NULL;
5219}
5220
5221
5222static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5225 wxTreeItemId *arg2 = 0 ;
5226 PyObject * obj0 = 0 ;
5227 PyObject * obj1 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self",(char *) "item", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5235 if (arg2 == NULL) {
5236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 Py_INCREF(Py_None); resultobj = Py_None;
5246 return resultobj;
5247 fail:
5248 return NULL;
5249}
5250
5251
5252static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj;
5254 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5255 wxTreeItemId *arg2 = 0 ;
5256 PyObject * obj0 = 0 ;
5257 PyObject * obj1 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self",(char *) "item", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
5263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5265 if (arg2 == NULL) {
5266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 return resultobj;
5277 fail:
5278 return NULL;
5279}
5280
5281
5282static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5285 wxPoint *arg2 = 0 ;
5286 int *arg3 = 0 ;
5287 int *arg4 = 0 ;
5288 wxTreeItemId result;
5289 wxPoint temp2 ;
5290 int temp3 ;
5291 int temp4 ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "point", NULL
5296 };
5297
5298 arg3 = &temp3;
5299 arg4 = &temp4;
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5302 {
5303 arg2 = &temp2;
5304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5305 }
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 {
5314 wxTreeItemId * resultptr;
5315 resultptr = new wxTreeItemId((wxTreeItemId &) result);
5316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
5317 }
5318 {
5319 PyObject *o = PyInt_FromLong((long) (*arg3));
5320 resultobj = t_output_helper(resultobj,o);
5321 }
5322 {
5323 PyObject *o = PyInt_FromLong((long) (*arg4));
5324 resultobj = t_output_helper(resultobj,o);
5325 }
5326 return resultobj;
5327 fail:
5328 return NULL;
5329}
5330
5331
5332static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5335 wxTreeItemId *arg2 = 0 ;
5336 bool arg3 = (bool) False ;
5337 PyObject *result;
5338 PyObject * obj0 = 0 ;
5339 PyObject * obj1 = 0 ;
5340 PyObject * obj2 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self",(char *) "item",(char *) "textOnly", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
5346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5348 if (arg2 == NULL) {
5349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5350 }
5351 if (obj2) {
5352 arg3 = PyInt_AsLong(obj2) ? true : false;
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 resultobj = result;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
5369static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5372 wxTreeItemId *arg2 = 0 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "item", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5382 if (arg2 == NULL) {
5383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 return resultobj;
5394 fail:
5395 return NULL;
5396}
5397
5398
5399static PyObject *_wrap_TreeListCtrl_Edit(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5402 wxTreeItemId *arg2 = 0 ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self",(char *) "item", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 if (arg2 == NULL) {
5413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->Edit((wxTreeItemId const &)*arg2);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 Py_INCREF(Py_None); resultobj = Py_None;
5423 return resultobj;
5424 fail:
5425 return NULL;
5426}
5427
5428
5429static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5432 wxTreeItemId *arg2 = 0 ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self",(char *) "item", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
5440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5442 if (arg2 == NULL) {
5443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 Py_INCREF(Py_None); resultobj = Py_None;
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
5459static PyObject *_wrap_TreeListCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5462 wxTreeItemId *arg2 = 0 ;
5463 int result;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "item", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemSelectedImage",kwnames,&obj0,&obj1)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 if (arg2 == NULL) {
5474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5475 }
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (int)((wxPyTreeListCtrl const *)arg1)->GetItemSelectedImage((wxTreeItemId const &)*arg2);
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 resultobj = PyInt_FromLong((long)result);
5484 return resultobj;
5485 fail:
5486 return NULL;
5487}
5488
5489
5490static PyObject *_wrap_TreeListCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5491 PyObject *resultobj;
5492 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5493 wxTreeItemId *arg2 = 0 ;
5494 int arg3 ;
5495 PyObject * obj0 = 0 ;
5496 PyObject * obj1 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "item",(char *) "image", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetItemSelectedImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 if (arg2 == NULL) {
5505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5506 }
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 (arg1)->SetItemSelectedImage((wxTreeItemId const &)*arg2,arg3);
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 Py_INCREF(Py_None); resultobj = Py_None;
5515 return resultobj;
5516 fail:
5517 return NULL;
5518}
5519
5520
5521static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5524 wxWindow *result;
5525 PyObject * obj0 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540 resultobj = wxPyMake_wxObject(result);
5541 }
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
5548static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5551 wxWindow *result;
5552 PyObject * obj0 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
5558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 {
5567 resultobj = wxPyMake_wxObject(result);
5568 }
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
5575static PyObject * TreeListCtrl_swigregister(PyObject *self, PyObject *args) {
5576 PyObject *obj;
5577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5578 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
5579 Py_INCREF(obj);
5580 return Py_BuildValue((char *)"");
5581}
5582static PyMethodDef SwigMethods[] = {
5583 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
5584 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS },
5585 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
5586 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS },
5587 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
5588 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
5589 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
5590 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
5591 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
5592 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS },
5593 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS },
5594 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS },
5595 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS },
5596 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS },
5597 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS },
5598 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS },
5599 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS },
5600 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS },
5601 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS },
5602 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS },
5603 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5604 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS },
5605 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS },
5606 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS },
5607 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
5608 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5609 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5610 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS },
5611 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5612 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5613 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5614 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5615 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS },
5616 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5617 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS },
5618 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS },
5619 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS },
5620 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
5621 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
5622 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS },
5623 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5624 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS },
5625 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
5626 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5627 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS },
5628 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
5629 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS },
5630 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS },
5631 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5632 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS },
5633 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS },
5634 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS },
5635 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS },
5636 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5637 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS },
5638 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS },
5639 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS },
5640 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS },
5641 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS },
5642 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS },
5643 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS },
5644 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
5645 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5646 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5647 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5648 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5649 { (char *)"TreeListCtrl_GetSpacing", (PyCFunction) _wrap_TreeListCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
5650 { (char *)"TreeListCtrl_SetSpacing", (PyCFunction) _wrap_TreeListCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
5651 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS },
5652 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS },
5653 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5654 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5655 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5656 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5657 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5658 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5659 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
5660 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
5661 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5662 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS },
5663 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS },
5664 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5665 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
5666 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS },
5667 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
5668 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5669 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5670 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS },
5671 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS },
5672 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS },
5673 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS },
5674 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5675 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5676 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
5677 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
5678 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
5679 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS },
5680 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5681 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5682 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5683 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5684 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5685 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5686 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
5687 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
5688 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5689 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
5690 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
5691 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5692 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
5693 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS },
5694 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
5695 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5696 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
5697 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5698 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5699 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5700 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5701 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5702 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
5703 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5704 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5705 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
5706 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
5707 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
5708 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
5709 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
5710 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
5711 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
5712 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
5713 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
5714 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
5715 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS },
5716 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
5717 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
5718 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5719 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
5720 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
5721 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
5722 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
5723 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5724 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
5725 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS },
5726 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
5727 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
5728 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
5729 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
5730 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
5731 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
5732 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5733 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
5734 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5735 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
5736 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5737 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS },
5738 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
5739 { (char *)"TreeListCtrl_GetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5740 { (char *)"TreeListCtrl_SetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5741 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS },
5742 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
5743 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS },
5744 { NULL, NULL }
5745};
5746
5747
5748/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
5749
5750static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
5751 return (void *)((wxValidator *) ((wxPyValidator *) x));
5752}
5753static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
5754 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
5755}
5756static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
5757 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
5758}
5759static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
5760 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
5761}
5762static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
5763 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
5764}
5765static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
5766 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
5767}
5768static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
5769 return (void *)((wxPanel *) ((wxPyPanel *) x));
5770}
5771static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
5772 return (void *)((wxPanel *) ((wxEditableListBox *) x));
5773}
5774static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
5775 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
5776}
5777static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
5778 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
5779}
5780static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
5781 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
5782}
5783static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
5784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
5785}
5786static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
5787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
5788}
5789static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
5790 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
5791}
5792static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
5793 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
5794}
5795static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
5796 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
5797}
5798static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
5799 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
5800}
5801static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
5802 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
5803}
5804static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
5805 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
5806}
5807static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
5808 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
5809}
5810static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
5811 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
5812}
5813static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
5814 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
5815}
5816static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
5817 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
5818}
5819static void *_p_wxPyControlTo_p_wxWindow(void *x) {
5820 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
5821}
5822static void *_p_wxControlTo_p_wxWindow(void *x) {
5823 return (void *)((wxWindow *) ((wxControl *) x));
5824}
5825static void *_p_wxGaugeTo_p_wxWindow(void *x) {
5826 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
5827}
5828static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
5829 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
5830}
5831static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
5832 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
5833}
5834static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
5835 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
5836}
5837static void *_p_wxChoiceTo_p_wxWindow(void *x) {
5838 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
5839}
5840static void *_p_wxListViewTo_p_wxWindow(void *x) {
5841 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
5842}
5843static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
5844 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
5845}
5846static void *_p_wxNotebookTo_p_wxWindow(void *x) {
5847 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
5848}
5849static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
5850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
5851}
5852static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
5853 return (void *)((wxWindow *) ((wxPyWindow *) x));
5854}
5855static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
5856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
5857}
5858static void *_p_wxListbookTo_p_wxWindow(void *x) {
5859 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
5860}
5861static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
5862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
5863}
5864static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
5865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
5866}
5867static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
5868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
5869}
5870static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
5871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
5872}
5873static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
5874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
5875}
5876static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
5877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
5878}
5879static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
5880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
5881}
5882static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
5883 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
5884}
5885static void *_p_wxSliderTo_p_wxWindow(void *x) {
5886 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
5887}
5888static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
5889 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
5890}
5891static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
5892 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
5893}
5894static void *_p_wxListBoxTo_p_wxWindow(void *x) {
5895 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
5896}
5897static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
5898 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
5899}
5900static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
5901 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
5902}
5903static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
5904 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
5905}
5906static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
5907 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
5908}
5909static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
5910 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
5911}
5912static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
5913 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
5914}
5915static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
5916 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
5917}
5918static void *_p_wxButtonTo_p_wxWindow(void *x) {
5919 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
5920}
5921static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
5922 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
5923}
5924static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
5925 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
5926}
5927static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
5928 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
5929}
5930static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
5931 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
5932}
5933static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
5934 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
5935}
5936static void *_p_wxFrameTo_p_wxWindow(void *x) {
5937 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
5938}
5939static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
5940 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
5941}
5942static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
5943 return (void *)((wxWindow *) ((wxStatusBar *) x));
5944}
5945static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
5946 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
5947}
5948static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
5949 return (void *)((wxWindow *) ((wxSashWindow *) x));
5950}
5951static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
5952 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
5953}
5954static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
5955 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
5956}
5957static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
5958 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
5959}
5960static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
5961 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
5962}
5963static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
5964 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
5965}
5966static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
5967 return (void *)((wxWindow *) ((wxPopupWindow *) x));
5968}
5969static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
5970 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
5971}
5972static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
5973 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
5974}
5975static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
5976 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
5977}
5978static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
5979 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
5980}
5981static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
5982 return (void *)((wxWindow *) ((wxMenuBar *) x));
5983}
5984static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
5985 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
5986}
5987static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
5988 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
5989}
5990static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
5991 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
5992}
5993static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
5994 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
5995}
5996static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
5997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
5998}
5999static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
6000 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
6001}
6002static void *_p_wxDialogTo_p_wxWindow(void *x) {
6003 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
6004}
6005static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
6006 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
6007}
6008static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
6009 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
6010}
6011static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
6012 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
6013}
6014static void *_p_wxPanelTo_p_wxWindow(void *x) {
6015 return (void *)((wxWindow *) ((wxPanel *) x));
6016}
6017static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
6018 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
6019}
6020static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
6021 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
6022}
6023static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
6024 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
6025}
6026static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
6027 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
6028}
6029static void *_p_wxToolBarTo_p_wxWindow(void *x) {
6030 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
6031}
6032static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
6033 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
6034}
6035static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
6036 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
6037}
6038static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
6039 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
6040}
6041static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
6042 return (void *)((wxControl *) ((wxBookCtrl *) x));
6043}
6044static void *_p_wxToolBarTo_p_wxControl(void *x) {
6045 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
6046}
6047static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
6048 return (void *)((wxControl *) ((wxToggleButton *) x));
6049}
6050static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
6051 return (void *)((wxControl *) ((wxRadioButton *) x));
6052}
6053static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
6054 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
6055}
6056static void *_p_wxPyControlTo_p_wxControl(void *x) {
6057 return (void *)((wxControl *) ((wxPyControl *) x));
6058}
6059static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
6060 return (void *)((wxControl *) ((wxToolBarBase *) x));
6061}
6062static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
6063 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6064}
6065static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
6066 return (void *)((wxControl *) ((wxPyListCtrl *) x));
6067}
6068static void *_p_wxComboBoxTo_p_wxControl(void *x) {
6069 return (void *)((wxControl *) ((wxComboBox *) x));
6070}
6071static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
6072 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
6073}
6074static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
6075 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
6076}
6077static void *_p_wxScrollBarTo_p_wxControl(void *x) {
6078 return (void *)((wxControl *) ((wxScrollBar *) x));
6079}
6080static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
6081 return (void *)((wxControl *) ((wxControlWithItems *) x));
6082}
6083static void *_p_wxGaugeTo_p_wxControl(void *x) {
6084 return (void *)((wxControl *) ((wxGauge *) x));
6085}
6086static void *_p_wxStaticLineTo_p_wxControl(void *x) {
6087 return (void *)((wxControl *) ((wxStaticLine *) x));
6088}
6089static void *_p_wxListbookTo_p_wxControl(void *x) {
6090 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
6091}
6092static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
6093 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6094}
6095static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
6096 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
6097}
6098static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
6099 return (void *)((wxControl *) ((wxCheckBox *) x));
6100}
6101static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
6102 return (void *)((wxControl *) ((wxRadioBox *) x));
6103}
6104static void *_p_wxChoiceTo_p_wxControl(void *x) {
6105 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
6106}
6107static void *_p_wxListBoxTo_p_wxControl(void *x) {
6108 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
6109}
6110static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
6111 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6112}
6113static void *_p_wxListViewTo_p_wxControl(void *x) {
6114 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
6115}
6116static void *_p_wxNotebookTo_p_wxControl(void *x) {
6117 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
6118}
6119static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
6120 return (void *)((wxControl *) ((wxStaticBitmap *) x));
6121}
6122static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
6123 return (void *)((wxControl *) ((wxSpinCtrl *) x));
6124}
6125static void *_p_wxStaticTextTo_p_wxControl(void *x) {
6126 return (void *)((wxControl *) ((wxStaticText *) x));
6127}
6128static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
6129 return (void *)((wxControl *) ((wxStaticBox *) x));
6130}
6131static void *_p_wxSliderTo_p_wxControl(void *x) {
6132 return (void *)((wxControl *) ((wxSlider *) x));
6133}
6134static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
6135 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
6136}
6137static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
6138 return (void *)((wxControl *) ((wxSpinButton *) x));
6139}
6140static void *_p_wxButtonTo_p_wxControl(void *x) {
6141 return (void *)((wxControl *) ((wxButton *) x));
6142}
6143static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
6144 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
6145}
6146static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
6147 return (void *)((wxControl *) ((wxTextCtrl *) x));
6148}
6149static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
6150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
6151}
6152static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
6153 return (void *)((wxEvent *) ((wxMenuEvent *) x));
6154}
6155static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
6156 return (void *)((wxEvent *) ((wxCloseEvent *) x));
6157}
6158static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
6159 return (void *)((wxEvent *) ((wxMouseEvent *) x));
6160}
6161static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
6162 return (void *)((wxEvent *) ((wxEraseEvent *) x));
6163}
6164static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
6165 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
6166}
6167static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
6168 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
6169}
6170static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
6171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
6172}
6173static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
6174 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
6175}
6176static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
6177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
6178}
6179static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
6180 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
6181}
6182static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
6183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
6184}
6185static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
6186 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
6187}
6188static void *_p_wxPyEventTo_p_wxEvent(void *x) {
6189 return (void *)((wxEvent *) ((wxPyEvent *) x));
6190}
6191static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
6192 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
6193}
6194static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
6195 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
6196}
6197static void *_p_wxListEventTo_p_wxEvent(void *x) {
6198 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
6199}
6200static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
6201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
6202}
6203static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
6204 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
6205}
6206static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6207 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
6208}
6209static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6210 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
6211}
6212static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
6213 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
6214}
6215static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
6216 return (void *)((wxEvent *) ((wxIdleEvent *) x));
6217}
6218static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
6219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
6220}
6221static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
6222 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
6223}
6224static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
6225 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
6226}
6227static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
6228 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
6229}
6230static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
6231 return (void *)((wxEvent *) ((wxActivateEvent *) x));
6232}
6233static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
6234 return (void *)((wxEvent *) ((wxSizeEvent *) x));
6235}
6236static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
6237 return (void *)((wxEvent *) ((wxMoveEvent *) x));
6238}
6239static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
6240 return (void *)((wxEvent *) ((wxPaintEvent *) x));
6241}
6242static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
6243 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
6244}
6245static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
6246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
6247}
6248static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
6249 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
6250}
6251static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
6252 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
6253}
6254static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
6255 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
6256}
6257static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
6258 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
6259}
6260static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
6261 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
6262}
6263static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
6264 return (void *)((wxEvent *) ((wxFocusEvent *) x));
6265}
6266static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
6267 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
6268}
6269static void *_p_wxSashEventTo_p_wxEvent(void *x) {
6270 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
6271}
6272static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
6273 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
6274}
6275static void *_p_wxShowEventTo_p_wxEvent(void *x) {
6276 return (void *)((wxEvent *) ((wxShowEvent *) x));
6277}
6278static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
6279 return (void *)((wxEvent *) ((wxCommandEvent *) x));
6280}
6281static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
6282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
6283}
6284static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
6285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
6286}
6287static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
6288 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
6289}
6290static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
6291 return (void *)((wxEvent *) ((wxKeyEvent *) x));
6292}
6293static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
6294 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
6295}
6296static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
6297 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
6298}
6299static void *_p_wxScrollBarTo_p_wxObject(void *x) {
6300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
6301}
6302static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
6303 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
6304}
6305static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
6306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
6307}
6308static void *_p_wxEventTo_p_wxObject(void *x) {
6309 return (void *)((wxObject *) ((wxEvent *) x));
6310}
6311static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
6312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
6313}
6314static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
6315 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
6316}
6317static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
6318 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
6319}
6320static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
6321 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
6322}
6323static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
6324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
6325}
6326static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
6327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
6328}
6329static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
6330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
6331}
6332static void *_p_wxMenuItemTo_p_wxObject(void *x) {
6333 return (void *)((wxObject *) ((wxMenuItem *) x));
6334}
6335static void *_p_wxImageTo_p_wxObject(void *x) {
6336 return (void *)((wxObject *) ((wxImage *) x));
6337}
6338static void *_p_wxPySizerTo_p_wxObject(void *x) {
6339 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
6340}
6341static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
6342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
6343}
6344static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
6345 return (void *)((wxObject *) ((wxGenericDragImage *) x));
6346}
6347static void *_p_wxComboBoxTo_p_wxObject(void *x) {
6348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
6349}
6350static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
6351 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
6352}
6353static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
6354 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
6355}
6356static void *_p_wxPyAppTo_p_wxObject(void *x) {
6357 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
6358}
6359static void *_p_wxNotebookTo_p_wxObject(void *x) {
6360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
6361}
6362static void *_p_wxListItemTo_p_wxObject(void *x) {
6363 return (void *)((wxObject *) ((wxListItem *) x));
6364}
6365static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
6366 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
6367}
6368static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
6369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
6370}
6371static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
6372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6373}
6374static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
6375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
6376}
6377static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
6378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
6379}
6380static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
6381 return (void *)((wxObject *) ((wxFindReplaceData *) x));
6382}
6383static void *_p_wxStaticLineTo_p_wxObject(void *x) {
6384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
6385}
6386static void *_p_wxValidatorTo_p_wxObject(void *x) {
6387 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
6388}
6389static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
6390 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
6391}
6392static void *_p_wxEraseEventTo_p_wxObject(void *x) {
6393 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
6394}
6395static void *_p_wxMouseEventTo_p_wxObject(void *x) {
6396 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
6397}
6398static void *_p_wxCloseEventTo_p_wxObject(void *x) {
6399 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
6400}
6401static void *_p_wxTreeEventTo_p_wxObject(void *x) {
6402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
6403}
6404static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
6405 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
6406}
6407static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
6408 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
6409}
6410static void *_p_wxScrollEventTo_p_wxObject(void *x) {
6411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
6412}
6413static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
6414 return (void *)((wxObject *) ((wxPrintDialogData *) x));
6415}
6416static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
6417 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
6418}
6419static void *_p_wxPrinterTo_p_wxObject(void *x) {
6420 return (void *)((wxObject *) ((wxPrinter *) x));
6421}
6422static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
6423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
6424}
6425static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
6426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
6427}
6428static void *_p_wxGridSizerTo_p_wxObject(void *x) {
6429 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
6430}
6431static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
6432 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
6433}
6434static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
6435 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
6436}
6437static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
6438 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
6439}
6440static void *_p_wxControlTo_p_wxObject(void *x) {
6441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
6442}
6443static void *_p_wxPyControlTo_p_wxObject(void *x) {
6444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
6445}
6446static void *_p_wxContextHelpTo_p_wxObject(void *x) {
6447 return (void *)((wxObject *) ((wxContextHelp *) x));
6448}
6449static void *_p_wxColourDataTo_p_wxObject(void *x) {
6450 return (void *)((wxObject *) ((wxColourData *) x));
6451}
6452static void *_p_wxActivateEventTo_p_wxObject(void *x) {
6453 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
6454}
6455static void *_p_wxMoveEventTo_p_wxObject(void *x) {
6456 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
6457}
6458static void *_p_wxSizeEventTo_p_wxObject(void *x) {
6459 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
6460}
6461static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
6462 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
6463}
6464static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
6465 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
6466}
6467static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
6468 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
6469}
6470static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
6471 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
6472}
6473static void *_p_wxIdleEventTo_p_wxObject(void *x) {
6474 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
6475}
6476static void *_p_wxStaticTextTo_p_wxObject(void *x) {
6477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
6478}
6479static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
6480 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
6481}
6482static void *_p_wxListEventTo_p_wxObject(void *x) {
6483 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
6484}
6485static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
6486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
6487}
6488static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
6489 return (void *)((wxObject *) ((wxPyPrintout *) x));
6490}
6491static void *_p_wxGaugeTo_p_wxObject(void *x) {
6492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
6493}
6494static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
6495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
6496}
6497static void *_p_wxChoiceTo_p_wxObject(void *x) {
6498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
6499}
6500static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
6501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
6502}
6503static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
6504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
6505}
6506static void *_p_wxButtonTo_p_wxObject(void *x) {
6507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
6508}
6509static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
6510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
6511}
6512static void *_p_wxKeyEventTo_p_wxObject(void *x) {
6513 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
6514}
6515static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
6516 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
6517}
6518static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
6519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
6520}
6521static void *_p_wxSashEventTo_p_wxObject(void *x) {
6522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
6523}
6524static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
6525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6526}
6527static void *_p_wxListBoxTo_p_wxObject(void *x) {
6528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
6529}
6530static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
6531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
6532}
6533static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
6534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
6535}
6536static void *_p_wxPrintDataTo_p_wxObject(void *x) {
6537 return (void *)((wxObject *) ((wxPrintData *) x));
6538}
6539static void *_p_wxFontDataTo_p_wxObject(void *x) {
6540 return (void *)((wxObject *) ((wxFontData *) x));
6541}
6542static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
6543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
6544}
6545static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
6546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
6547}
6548static void *_p_wxListbookTo_p_wxObject(void *x) {
6549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
6550}
6551static void *_p_wxFrameTo_p_wxObject(void *x) {
6552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
6553}
6554static void *_p_wxPyPanelTo_p_wxObject(void *x) {
6555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
6556}
6557static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
6558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
6559}
6560static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
6561 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
6562}
6563static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
6564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
6565}
6566static void *_p_wxFileSystemTo_p_wxObject(void *x) {
6567 return (void *)((wxObject *) ((wxFileSystem *) x));
6568}
6569static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
6570 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
6571}
6572static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
6573 return (void *)((wxObject *) ((wxPrintPreview *) x));
6574}
6575static void *_p_wxListViewTo_p_wxObject(void *x) {
6576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
6577}
6578static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
6579 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
6580}
6581static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
6582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
6583}
6584static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
6585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6586}
6587static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
6588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
6589}
6590static void *_p_wxSizerTo_p_wxObject(void *x) {
6591 return (void *)((wxObject *) ((wxSizer *) x));
6592}
6593static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
6594 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
6595}
6596static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
6597 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
6598}
6599static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
6600 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
6601}
6602static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
6603 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
6604}
6605static void *_p_wxPaintEventTo_p_wxObject(void *x) {
6606 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
6607}
6608static void *_p_wxFSFileTo_p_wxObject(void *x) {
6609 return (void *)((wxObject *) ((wxFSFile *) x));
6610}
6611static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
6612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
6613}
6614static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
6615 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
6616}
6617static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
6618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
6619}
6620static void *_p_wxMenuTo_p_wxObject(void *x) {
6621 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
6622}
6623static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
6624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
6625}
6626static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
6627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
6628}
6629static void *_p_wxSizerItemTo_p_wxObject(void *x) {
6630 return (void *)((wxObject *) ((wxSizerItem *) x));
6631}
6632static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
6633 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
6634}
6635static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
6636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
6637}
6638static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
6640}
6641static void *_p_wxFontDialogTo_p_wxObject(void *x) {
6642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
6643}
6644static void *_p_wxDirDialogTo_p_wxObject(void *x) {
6645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
6646}
6647static void *_p_wxColourDialogTo_p_wxObject(void *x) {
6648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
6649}
6650static void *_p_wxDialogTo_p_wxObject(void *x) {
6651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
6652}
6653static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
6654 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
6655}
6656static void *_p_wxPyEventTo_p_wxObject(void *x) {
6657 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
6658}
6659static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
6660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
6661}
6662static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
6663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
6664}
6665static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
6666 return (void *)((wxObject *) ((wxEvtHandler *) x));
6667}
6668static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
6669 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
6670}
6671static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
6672 return (void *)((wxObject *) ((wxImageHandler *) x));
6673}
6674static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
6675 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
6676}
6677static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
6678 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
6679}
6680static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
6681 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
6682}
6683static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
6684 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
6685}
6686static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
6687 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
6688}
6689static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
6690 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
6691}
6692static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
6693 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
6694}
6695static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
6696 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
6697}
6698static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
6699 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
6700}
6701static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
6702 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
6703}
6704static void *_p_wxShowEventTo_p_wxObject(void *x) {
6705 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
6706}
6707static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
6708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
6709}
6710static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
6711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
6712}
6713static void *_p_wxTipWindowTo_p_wxObject(void *x) {
6714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
6715}
6716static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
6717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
6718}
6719static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
6720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
6721}
6722static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
6723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
6724}
6725static void *_p_wxSashWindowTo_p_wxObject(void *x) {
6726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
6727}
6728static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
6729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
6730}
6731static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
6732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
6733}
6734static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
6735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
6736}
44127b65
RD
6737static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
6738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
6739}
41f1cec7
RD
6740static void *_p_wxWindowTo_p_wxObject(void *x) {
6741 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
6742}
44127b65
RD
6743static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
6744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
6745}
6746static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
6747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
6748}
6749static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
6750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
6751}
6752static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
6753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
6754}
6755static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
6756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
6757}
6758static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
6760}
6761static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
6763}
6764static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
6765 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
6766}
6767static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
6768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
6769}
6770static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
6771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
6772}
6773static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
6774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
6775}
6776static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
6777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
6778}
6779static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
6780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
6781}
6782static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
6783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
6784}
6785static void *_p_wxFileDialogTo_p_wxObject(void *x) {
6786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
6787}
6788static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
6789 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
6790}
6791static void *_p_wxSliderTo_p_wxObject(void *x) {
6792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
6793}
6794static void *_p_wxPyWindowTo_p_wxObject(void *x) {
6795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
6796}
6797static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
6798 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
6799}
6800static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
6801 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
6802}
6803static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
6804 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
6805}
6806static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
6807 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
6808}
6809static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
6810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
6811}
6812static void *_p_wxHelpEventTo_p_wxObject(void *x) {
6813 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
6814}
6815static void *_p_wxPanelTo_p_wxObject(void *x) {
6816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
6817}
6818static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
6819 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
6820}
6821static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
6822 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
6823}
6824static void *_p_wxMenuEventTo_p_wxObject(void *x) {
6825 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
6826}
6827static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
6828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
6829}
6830static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
6831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
6832}
6833static void *_p_wxCommandEventTo_p_wxObject(void *x) {
6834 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
6835}
6836static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
6837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
6838}
6839static void *_p_wxToolBarTo_p_wxObject(void *x) {
6840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
6841}
6842static void *_p_wxStatusBarTo_p_wxObject(void *x) {
6843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
6844}
6845static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
6846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
6847}
6848static void *_p_wxFocusEventTo_p_wxObject(void *x) {
6849 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
6850}
6851static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
6852 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
6853}
6854static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
6855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
6856}
6857static void *_p_wxMenuBarTo_p_wxObject(void *x) {
6858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
6859}
6860static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
6861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
6862}
6863static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
6864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
6865}
6866static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
6867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
6868}
6869static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
6870 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
6871}
6872static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
6873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6874}
6875static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
6876 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
6877}
6878static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
6879 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
6880}
6881static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
6882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
6883}
6884static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
6885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
6886}
6887static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
6888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6889}
6890static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
6891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
6892}
6893static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
6894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
6895}
6896static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
6897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
6898}
6899static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
6900 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
6901}
6902static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
6903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
6904}
6905static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
6906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
6907}
6908static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
6909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
6910}
6911static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
6912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
6913}
6914static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
6915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
6916}
6917static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
6918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
6919}
6920static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
6921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
6922}
6923static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
6924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
6925}
6926static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
6928}
6929static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
6930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
6931}
6932static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
6933 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
6934}
6935static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
6936 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
6937}
6938static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
6940}
6941static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
6942 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
6943}
6944static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
6945 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
6946}
6947static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
6948 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
6949}
6950static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
6951 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
6952}
6953static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
6954 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
6955}
6956static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
6957 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
6958}
6959static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
6960 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
6961}
6962static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
6963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
6964}
6965static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
6966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
6967}
6968static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
6969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
6970}
6971static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
6972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6973}
6974static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
6975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
6976}
6977static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
6978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
6979}
6980static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
6981 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
6982}
6983static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
6984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
6985}
6986static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
6987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
6988}
6989static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
6990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
6991}
6992static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
6993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
6994}
6995static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
6996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
6997}
6998static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
6999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
7000}
7001static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
7002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
7003}
7004static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
7005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
7006}
7007static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
7008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
7009}
7010static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
7011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
7012}
7013static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
7014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
7015}
7016static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
7017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
7018}
7019static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
7020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
7021}
7022static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
7023 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
7024}
7025static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
7026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
7027}
7028static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
7029 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
7030}
7031static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
7032 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
7033}
7034static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
7035 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
7036}
7037static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
7038 return (void *)((wxEvtHandler *) ((wxWindow *) x));
7039}
7040static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
7041 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
7042}
7043static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
7044 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
7045}
7046static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
7047 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
7048}
7049static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
7050 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
7051}
7052static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
7053 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
7054}
7055static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
7056 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
7057}
7058static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
7059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
7060}
7061static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
7062 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
7063}
7064static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
7065 return (void *)((wxEvtHandler *) ((wxMenu *) x));
7066}
7067static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
7068 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
7069}
7070static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
7071 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
7072}
7073static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
7074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
7075}
7076static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
7077 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
7078}
7079static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
7080 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
7081}
7082static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
7083 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
7084}
7085static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
7086 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
7087}
7088static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
7089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
7090}
7091static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
7092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
7093}
7094static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
7095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
7096}
7097static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
7098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
7099}
7100static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
7101 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
7102}
7103static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
7104 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
7105}
7106static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
7107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
7108}
7109static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
7110 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
7111}
7112static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
7113 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
7114}
7115static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
7116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
7117}
7118static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
7119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
7120}
7121static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
7122 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
7123}
7124static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
7125 return (void *)((wxEvtHandler *) ((wxValidator *) x));
7126}
7127static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
7128 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
7129}
7130static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
7131 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
7132}
7133static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
7134 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
7135}
7136static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
7137 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
7138}
7139static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
7140 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
7141}
7142static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
7143 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
7144}
7145static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
7146 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
7147}
7148static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
7149 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
7150}
7151static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
7152 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
7153}
7154static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
7155 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
7156}
7157static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
7158 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
7159}
7160static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
7161 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
7162}
7163static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
7164 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
7165}
7166static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
7167 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
7168}
7169static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
7170 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
7171}
7172static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
7173 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
7174}
7175static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
7176 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
7177}
7178static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
7179 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
7180}
7181static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
7182 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
7183}
7184static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
7185 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
7186}
7187static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
7188 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
7189}
7190static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0},{"_p_wxEditableListBox"},{0}};
7191static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxObject"},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{0}};
7192static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
7193static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl},{0}};
7194static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0},{"_p_wxRemotelyScrolledTreeCtrl"},{0}};
7195static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0},{"_p_wxTreeListColumnInfo"},{0}};
7196static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0},{"_p_wxPyTreeListCtrl"},{0}};
7197static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
7198static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
7199static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0},{"_p_wxDynamicSashWindow"},{0}};
7200static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
7201static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow},{0}};
7202static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{0}};
7203static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0},{"_p_wxPyTreeCompanionWindow"},{0}};
7204static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0},{"_p_wxThinSplitterWindow"},{0}};
7205static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0},{"_p_wxSplitterScrolledWindow"},{0}};
7206static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
7207static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
7208static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
7209static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0},{"_p_wxLEDNumberCtrl"},{0}};
7210static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0},{"_p_wxDynamicSashSplitEvent"},{0}};
7211static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
7212static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
7213static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{0}};
7214static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
7215static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0},{"_p_wxDynamicSashUnifyEvent"},{0}};
7216static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}};
7217static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
7218static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
7219static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
7220static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
7221
7222static swig_type_info *swig_types_initial[] = {
7223_swigt__p_wxEditableListBox,
7224_swigt__p_wxObject,
7225_swigt__p_wxColour,
7226_swigt__p_wxPyTreeCtrl,
7227_swigt__p_wxRemotelyScrolledTreeCtrl,
7228_swigt__p_wxTreeListColumnInfo,
7229_swigt__p_wxPyTreeListCtrl,
7230_swigt__p_wxImageList,
7231_swigt__p_wxScrollBar,
7232_swigt__p_wxDynamicSashWindow,
7233_swigt__p_wxScrolledWindow,
7234_swigt__p_wxSplitterWindow,
7235_swigt__p_wxWindow,
7236_swigt__p_wxPyTreeCompanionWindow,
7237_swigt__p_wxThinSplitterWindow,
7238_swigt__p_wxSplitterScrolledWindow,
7239_swigt__p_wxValidator,
7240_swigt__p_wxCommandEvent,
7241_swigt__p_wxArrayString,
7242_swigt__p_wxLEDNumberCtrl,
7243_swigt__p_wxDynamicSashSplitEvent,
7244_swigt__p_wxTreeItemId,
7245_swigt__p_wxString,
7246_swigt__p_wxEvtHandler,
7247_swigt__p_wxFont,
7248_swigt__p_wxDynamicSashUnifyEvent,
7249_swigt__p_wxControl,
7250_swigt__p_wxPanel,
7251_swigt__p_wxPyTreeItemData,
7252_swigt__p_wxEvent,
7253_swigt__p_int,
72540
7255};
7256
7257
7258/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
7259
7260static swig_const_info swig_const_table[] = {
7261{ SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_SPLIT", (long) wxEVT_DYNAMIC_SASH_SPLIT, 0, 0, 0},
7262{ SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_UNIFY", (long) wxEVT_DYNAMIC_SASH_UNIFY, 0, 0, 0},
7263{ SWIG_PY_INT, (char *)"DS_MANAGE_SCROLLBARS", (long) wxDS_MANAGE_SCROLLBARS, 0, 0, 0},
7264{ SWIG_PY_INT, (char *)"DS_DRAG_CORNER", (long) wxDS_DRAG_CORNER, 0, 0, 0},
7265{ SWIG_PY_INT, (char *)"EL_ALLOW_NEW", (long) wxEL_ALLOW_NEW, 0, 0, 0},
7266{ SWIG_PY_INT, (char *)"EL_ALLOW_EDIT", (long) wxEL_ALLOW_EDIT, 0, 0, 0},
7267{ SWIG_PY_INT, (char *)"EL_ALLOW_DELETE", (long) wxEL_ALLOW_DELETE, 0, 0, 0},
7268{ SWIG_PY_INT, (char *)"LED_ALIGN_LEFT", (long) wxLED_ALIGN_LEFT, 0, 0, 0},
7269{ SWIG_PY_INT, (char *)"LED_ALIGN_RIGHT", (long) wxLED_ALIGN_RIGHT, 0, 0, 0},
7270{ SWIG_PY_INT, (char *)"LED_ALIGN_CENTER", (long) wxLED_ALIGN_CENTER, 0, 0, 0},
7271{ SWIG_PY_INT, (char *)"LED_ALIGN_MASK", (long) wxLED_ALIGN_MASK, 0, 0, 0},
7272{ SWIG_PY_INT, (char *)"LED_DRAW_FADED", (long) wxLED_DRAW_FADED, 0, 0, 0},
7273{ SWIG_PY_INT, (char *)"TL_ALIGN_LEFT", (long) wxTL_ALIGN_LEFT, 0, 0, 0},
7274{ SWIG_PY_INT, (char *)"TL_ALIGN_RIGHT", (long) wxTL_ALIGN_RIGHT, 0, 0, 0},
7275{ SWIG_PY_INT, (char *)"TL_ALIGN_CENTER", (long) wxTL_ALIGN_CENTER, 0, 0, 0},
7276{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMCOLUMN", (long) wxTREE_HITTEST_ONITEMCOLUMN, 0, 0, 0},
7277{0}};
7278
7279#ifdef __cplusplus
7280}
7281#endif
7282
7283#ifdef __cplusplus
7284extern "C"
7285#endif
7286SWIGEXPORT(void) SWIG_init(void) {
7287 static PyObject *SWIG_globals = 0;
7288 static int typeinit = 0;
7289 PyObject *m, *d;
7290 int i;
7291 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
7292 m = Py_InitModule((char *) SWIG_name, SwigMethods);
7293 d = PyModule_GetDict(m);
7294
7295 if (!typeinit) {
7296 for (i = 0; swig_types_initial[i]; i++) {
7297 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
7298 }
7299 typeinit = 1;
7300 }
7301 SWIG_InstallConstants(d,swig_const_table);
7302
7303
7304
7305 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
7306 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
7307
7308}
7309