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