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