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