]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
Set the mouse pos for the drag events
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
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
44127b65
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
44127b65
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
44127b65 37
9fd4be55 38
36ed4f51 39#include <Python.h>
44127b65
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
44127b65 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
44127b65
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
44127b65 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
44127b65 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
44127b65
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
44127b65 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
44127b65
RD
85#endif
86
44127b65
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
0f774bef 95 const char *name;
44127b65
RD
96 swig_converter_func converter;
97 const char *str;
0f774bef 98 void *clientdata;
44127b65
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
44127b65 218
36ed4f51
RD
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
44127b65 283
36ed4f51
RD
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
375
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
417
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
44127b65
RD
430
431#ifdef __cplusplus
432}
44127b65
RD
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
44127b65 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
44127b65 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
44127b65
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
44127b65
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
36ed4f51
RD
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
44127b65
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
44127b65
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
36ed4f51
RD
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
44127b65 592/* Common SWIG API */
36ed4f51
RD
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 596
44127b65 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
44127b65 601
44127b65 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
44127b65 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
44127b65 618
44127b65 619
44127b65 620#ifdef __cplusplus
36ed4f51
RD
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
44127b65 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
44127b65 795#endif
36ed4f51 796 };
44127b65 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
44127b65 801
36ed4f51
RD
802 return &PySwigObject_Type;
803}
c370783e 804
36ed4f51
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
44127b65 814
36ed4f51
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
44127b65 820
36ed4f51
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
44127b65 826
36ed4f51
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
44127b65 832
36ed4f51
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
44127b65 836
36ed4f51
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
44127b65 843
36ed4f51
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
c370783e 868
36ed4f51
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
8edf1c75 1333
8edf1c75 1334#ifdef __cplusplus
36ed4f51
RD
1335}
1336#endif
8edf1c75 1337
2f4c0a16 1338
36ed4f51 1339/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1340
36ed4f51
RD
1341#define SWIGTYPE_p_wxColour swig_types[0]
1342#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1]
1343#define SWIGTYPE_p_form_ops_t swig_types[2]
1344#define SWIGTYPE_p_wxDuplexMode swig_types[3]
1345#define SWIGTYPE_p_wxValidator swig_types[4]
1346#define SWIGTYPE_p_char swig_types[5]
1347#define SWIGTYPE_p_wxPanel swig_types[6]
1348#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7]
1349#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8]
1350#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9]
1351#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10]
1352#define SWIGTYPE_p_wxThinSplitterWindow swig_types[11]
1353#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12]
1354#define SWIGTYPE_p_wxDynamicSashWindow swig_types[13]
1355#define SWIGTYPE_p_wxWindow swig_types[14]
1356#define SWIGTYPE_p_wxSplitterWindow swig_types[15]
1357#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1358#define SWIGTYPE_p_wxFont swig_types[17]
1359#define SWIGTYPE_p_wxControl swig_types[18]
1360#define SWIGTYPE_p_wxPyListCtrl swig_types[19]
1361#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20]
1362#define SWIGTYPE_p_wxEvent swig_types[21]
1363#define SWIGTYPE_p_wxObject swig_types[22]
1364#define SWIGTYPE_p_wxScrollBar swig_types[23]
1365#define SWIGTYPE_p_wxPaperSize swig_types[24]
1366#define SWIGTYPE_p_unsigned_int swig_types[25]
1367#define SWIGTYPE_unsigned_int swig_types[26]
1368#define SWIGTYPE_p_wxEvtHandler swig_types[27]
1369#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[28]
1370#define SWIGTYPE_p_wxPyTreeCtrl swig_types[29]
1371#define SWIGTYPE_p_wxImageList swig_types[30]
1372#define SWIGTYPE_p_unsigned_char swig_types[31]
1373#define SWIGTYPE_p_wxEditableListBox swig_types[32]
1374#define SWIGTYPE_ptrdiff_t swig_types[33]
1375#define SWIGTYPE_std__ptrdiff_t swig_types[34]
1376#define SWIGTYPE_p_wxArrayString swig_types[35]
1377#define SWIGTYPE_p_wxCommandEvent swig_types[36]
1378#define SWIGTYPE_p_wxTreeItemId swig_types[37]
1379#define SWIGTYPE_p_int swig_types[38]
1380#define SWIGTYPE_p_unsigned_long swig_types[39]
1381#define SWIGTYPE_p_wxPyTreeItemData swig_types[40]
1382static swig_type_info *swig_types[42];
8edf1c75 1383
36ed4f51 1384/* -------- TYPES TABLE (END) -------- */
8edf1c75 1385
8edf1c75 1386
36ed4f51
RD
1387/*-----------------------------------------------
1388 @(target):= _gizmos.so
1389 ------------------------------------------------*/
1390#define SWIG_init init_gizmos
1391
1392#define SWIG_name "_gizmos"
8edf1c75 1393
44127b65
RD
1394#include "wx/wxPython/wxPython.h"
1395#include "wx/wxPython/pyclasses.h"
0439c23b 1396
44127b65
RD
1397#include <wx/gizmos/dynamicsash.h>
1398#include <wx/gizmos/editlbox.h>
1399#include <wx/gizmos/splittree.h>
1400#include <wx/gizmos/ledctrl.h>
1401
1402#include <wx/listctrl.h>
1403#include <wx/treectrl.h>
1404#include <wx/imaglist.h>
0439c23b
RD
1405
1406#include "wx/treelistctrl.h"
44127b65
RD
1407#include "wx/wxPython/pytree.h"
1408
44127b65 1409
cbd72d4f
RD
1410 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1411 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1412 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1413 static const wxString wxPyEmptyString(wxEmptyString);
8edf1c75 1414
36ed4f51
RD
1415 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1416#define SWIG_From_int PyInt_FromLong
1417/*@@*/
1418
1419
2f4c0a16
RD
1420#include <limits.h>
1421
1422
36ed4f51 1423SWIGINTERN int
c370783e
RD
1424 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1425 const char *errmsg)
2f4c0a16 1426{
c370783e
RD
1427 if (value < min_value) {
1428 if (errmsg) {
1429 PyErr_Format(PyExc_OverflowError,
1430 "value %ld is less than '%s' minimum %ld",
1431 value, errmsg, min_value);
1432 }
1433 return 0;
1434 } else if (value > max_value) {
1435 if (errmsg) {
1436 PyErr_Format(PyExc_OverflowError,
1437 "value %ld is greater than '%s' maximum %ld",
1438 value, errmsg, max_value);
2f4c0a16 1439 }
c370783e 1440 return 0;
2f4c0a16 1441 }
c370783e 1442 return 1;
2f4c0a16
RD
1443}
1444
1445
36ed4f51 1446SWIGINTERN int
c370783e 1447SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1448{
c370783e
RD
1449 if (PyNumber_Check(obj)) {
1450 if (val) *val = PyInt_AsLong(obj);
1451 return 1;
1452 }
69223c70 1453 else {
36ed4f51 1454 SWIG_type_error("number", obj);
69223c70 1455 }
c370783e 1456 return 0;
2f4c0a16
RD
1457}
1458
1459
1460#if INT_MAX != LONG_MAX
36ed4f51 1461SWIGINTERN int
c370783e 1462 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1463{
36ed4f51 1464 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1465 long v;
1466 if (SWIG_AsVal_long(obj, &v)) {
1467 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
36ed4f51 1468 if (val) *val = (int)(v);
c370783e
RD
1469 return 1;
1470 } else {
1471 return 0;
1472 }
1473 } else {
1474 PyErr_Clear();
1475 }
1476 if (val) {
36ed4f51 1477 SWIG_type_error(errmsg, obj);
c370783e
RD
1478 }
1479 return 0;
8edf1c75 1480}
2f4c0a16 1481#else
36ed4f51 1482SWIGINTERNSHORT int
c370783e
RD
1483 SWIG_AsVal_int(PyObject *obj, int *val)
1484{
1485 return SWIG_AsVal_long(obj,(long*)val);
1486}
2f4c0a16 1487#endif
8edf1c75
RD
1488
1489
36ed4f51 1490SWIGINTERNSHORT int
c370783e 1491SWIG_As_int(PyObject* obj)
8edf1c75 1492{
c370783e
RD
1493 int v;
1494 if (!SWIG_AsVal_int(obj, &v)) {
1495 /*
36ed4f51 1496 this is needed to make valgrind/purify happier.
c370783e
RD
1497 */
1498 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1499 }
c370783e 1500 return v;
2f4c0a16
RD
1501}
1502
1503
36ed4f51 1504SWIGINTERNSHORT long
c370783e 1505SWIG_As_long(PyObject* obj)
2f4c0a16 1506{
c370783e
RD
1507 long v;
1508 if (!SWIG_AsVal_long(obj, &v)) {
1509 /*
36ed4f51 1510 this is needed to make valgrind/purify happier.
c370783e
RD
1511 */
1512 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1513 }
c370783e
RD
1514 return v;
1515}
1516
1517
36ed4f51 1518SWIGINTERNSHORT int
c370783e
RD
1519SWIG_Check_int(PyObject* obj)
1520{
1521 return SWIG_AsVal_int(obj, (int*)0);
1522}
1523
1524
36ed4f51 1525SWIGINTERNSHORT int
c370783e
RD
1526SWIG_Check_long(PyObject* obj)
1527{
1528 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
1529}
1530
36ed4f51 1531static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
1532 wxArrayString strings;
1533 self->GetStrings(strings);
1534 return wxArrayString2PyList_helper(strings);
1535 }
1536
1537 typedef wxTreeCtrl wxPyTreeCtrl;
1538
1539
1540class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1541{
1542public:
1543 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1544 const wxPoint& pos = wxDefaultPosition,
1545 const wxSize& size = wxDefaultSize,
1546 long style = 0)
1547 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1548
1549
1550 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1551 bool found;
fbc46b20 1552 bool blocked = wxPyBeginBlockThreads();
44127b65 1553 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 1554 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
b411df4a
RD
1555 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1556 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
1557 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1558 Py_DECREF(dcobj);
1559 Py_DECREF(idobj);
1560 Py_DECREF(recobj);
1561 }
fbc46b20 1562 wxPyEndBlockThreads(blocked);
44127b65
RD
1563 if (! found)
1564 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1565 }
1566
1567 PYPRIVATE;
1568};
1569
8edf1c75 1570
36ed4f51 1571SWIGINTERN int
c370783e
RD
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573{
c370783e
RD
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1584 if (val) *val = res ? true : false;
c370783e 1585 return 1;
36ed4f51
RD
1586 } else {
1587 PyErr_Clear();
1588 }
c370783e 1589 if (val) {
36ed4f51 1590 SWIG_type_error("bool", obj);
c370783e
RD
1591 }
1592 return 0;
1593}
1594
1595
36ed4f51 1596SWIGINTERNSHORT bool
c370783e 1597SWIG_As_bool(PyObject* obj)
8edf1c75 1598{
c370783e
RD
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
36ed4f51 1602 this is needed to make valgrind/purify happier.
c370783e
RD
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
8edf1c75
RD
1607}
1608
c370783e 1609
36ed4f51 1610SWIGINTERNSHORT int
c370783e
RD
1611SWIG_Check_bool(PyObject* obj)
1612{
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614}
8edf1c75 1615
c370783e 1616
36ed4f51 1617SWIGINTERN int
c370783e 1618SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2f4c0a16 1619{
c370783e
RD
1620 long v = 0;
1621 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1622 SWIG_type_error("unsigned number", obj);
c370783e
RD
1623 }
1624 else if (val)
1625 *val = (unsigned long)v;
2f4c0a16 1626 return 1;
2f4c0a16
RD
1627}
1628
1629
36ed4f51 1630SWIGINTERNSHORT unsigned long
c370783e 1631SWIG_As_unsigned_SS_long(PyObject* obj)
8edf1c75 1632{
c370783e
RD
1633 unsigned long v;
1634 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1635 /*
36ed4f51 1636 this is needed to make valgrind/purify happier.
c370783e
RD
1637 */
1638 memset((void*)&v, 0, sizeof(unsigned long));
2f4c0a16 1639 }
c370783e 1640 return v;
2f4c0a16
RD
1641}
1642
c370783e 1643
36ed4f51 1644SWIGINTERNSHORT int
c370783e 1645SWIG_Check_unsigned_SS_long(PyObject* obj)
2f4c0a16 1646{
c370783e 1647 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2f4c0a16
RD
1648}
1649
1650
36ed4f51 1651SWIGINTERNSHORT PyObject*
c370783e 1652 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
1653{
1654 return (value > LONG_MAX) ?
1655 PyLong_FromUnsignedLong(value)
36ed4f51 1656 : PyInt_FromLong((long)(value));
8edf1c75
RD
1657}
1658
44127b65
RD
1659 // C++ version of Python aware control
1660class wxPyTreeListCtrl : public wxTreeListCtrl {
1661 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1662public:
1663 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1664 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1665 const wxPoint& pos,
1666 const wxSize& size,
1667 long style,
1668 const wxValidator &validator,
1669 const wxString& name) :
1670 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1671
1672 int OnCompareItems(const wxTreeItemId& item1,
1673 const wxTreeItemId& item2) {
1674 int rval = 0;
1675 bool found;
fbc46b20 1676 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
1677 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1678 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1679 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1680 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1681 Py_DECREF(o1);
1682 Py_DECREF(o2);
1683 }
fbc46b20 1684 wxPyEndBlockThreads(blocked);
44127b65
RD
1685 if (! found)
1686 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1687 return rval;
1688 }
1689 PYPRIVATE;
1690};
1691
1692IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1693
1694
8edf1c75 1695
36ed4f51
RD
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697#define SWIG_From_long PyInt_FromLong
1698/*@@*/
1699
1700
2f4c0a16 1701#if UINT_MAX < LONG_MAX
36ed4f51 1702/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1703#define SWIG_From_unsigned_SS_int SWIG_From_long
1704/*@@*/
2f4c0a16 1705#else
36ed4f51 1706/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1707#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1708/*@@*/
2f4c0a16
RD
1709#endif
1710
1711
36ed4f51 1712SWIGINTERNSHORT int
c370783e
RD
1713 SWIG_CheckUnsignedLongInRange(unsigned long value,
1714 unsigned long max_value,
1715 const char *errmsg)
2f4c0a16 1716{
c370783e
RD
1717 if (value > max_value) {
1718 if (errmsg) {
1719 PyErr_Format(PyExc_OverflowError,
36ed4f51 1720 "value %lu is greater than '%s' minimum %lu",
c370783e 1721 value, errmsg, max_value);
2f4c0a16 1722 }
c370783e 1723 return 0;
2f4c0a16 1724 }
c370783e
RD
1725 return 1;
1726 }
8edf1c75
RD
1727
1728
2f4c0a16 1729#if UINT_MAX != ULONG_MAX
36ed4f51 1730SWIGINTERN int
c370783e 1731 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1732{
36ed4f51 1733 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
1734 unsigned long v;
1735 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1736 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 1737 if (val) *val = (unsigned int)(v);
c370783e
RD
1738 return 1;
1739 }
1740 } else {
1741 PyErr_Clear();
1742 }
1743 if (val) {
36ed4f51 1744 SWIG_type_error(errmsg, obj);
c370783e
RD
1745 }
1746 return 0;
2f4c0a16
RD
1747}
1748#else
36ed4f51 1749SWIGINTERNSHORT unsigned int
c370783e
RD
1750 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1751{
1752 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1753}
2f4c0a16
RD
1754#endif
1755
1756
36ed4f51 1757SWIGINTERNSHORT unsigned int
c370783e 1758SWIG_As_unsigned_SS_int(PyObject* obj)
2f4c0a16 1759{
c370783e
RD
1760 unsigned int v;
1761 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1762 /*
36ed4f51 1763 this is needed to make valgrind/purify happier.
c370783e
RD
1764 */
1765 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 1766 }
c370783e
RD
1767 return v;
1768}
1769
1770
36ed4f51 1771SWIGINTERNSHORT int
c370783e
RD
1772SWIG_Check_unsigned_SS_int(PyObject* obj)
1773{
1774 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
8edf1c75
RD
1775}
1776
36ed4f51 1777static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
1778 if (column < 0) column = self->GetMainColumn();
1779 return self->GetItemText(item, column);
1780 }
36ed4f51 1781static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1782 if (column < 0) column = self->GetMainColumn();
1783 return self->GetItemImage(item, column, which);
1784 }
36ed4f51 1785static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
1786 if (column < 0) column = self->GetMainColumn();
1787 self->SetItemText(item, column, text);
1788 }
36ed4f51 1789static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1790 if (column < 0) column = self->GetMainColumn();
1791 self->SetItemImage(item, column, image, which);
1792 }
36ed4f51 1793static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1794 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1795 if (data == NULL) {
1796 data = new wxPyTreeItemData();
1797 data->SetId(item); // set the id
1798 self->SetItemData(item, data);
1799 }
1800 return data;
1801 }
36ed4f51 1802static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
1803 data->SetId(item); // set the id
1804 self->SetItemData(item, data);
1805 }
36ed4f51 1806static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1807 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1808 if (data == NULL) {
1809 data = new wxPyTreeItemData();
1810 data->SetId(item); // set the id
1811 self->SetItemData(item, data);
1812 }
1813 return data->GetData();
1814 }
36ed4f51 1815static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
1816 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1817 if (data == NULL) {
1818 data = new wxPyTreeItemData(obj);
1819 data->SetId(item); // set the id
1820 self->SetItemData(item, data);
1821 } else
1822 data->SetData(obj);
1823 }
36ed4f51 1824static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
fbc46b20 1825 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
1826 PyObject* rval = PyList_New(0);
1827 wxArrayTreeItemIds array;
1828 size_t num, x;
1829 num = self->GetSelections(array);
1830 for (x=0; x < num; x++) {
1831 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 1832 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65
RD
1833 PyList_Append(rval, item);
1834 }
fbc46b20 1835 wxPyEndBlockThreads(blocked);
44127b65
RD
1836 return rval;
1837 }
36ed4f51 1838static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
0439c23b 1839 void* cookie = 0;
a2482628 1840 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
fbc46b20 1841 bool blocked = wxPyBeginBlockThreads();
44127b65 1842 PyObject* tup = PyTuple_New(2);
b411df4a 1843 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
0439c23b 1844 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
fbc46b20 1845 wxPyEndBlockThreads(blocked);
44127b65
RD
1846 return tup;
1847 }
36ed4f51 1848static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
a2482628 1849 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
fbc46b20 1850 bool blocked = wxPyBeginBlockThreads();
44127b65 1851 PyObject* tup = PyTuple_New(2);
b411df4a 1852 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
0439c23b 1853 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
fbc46b20 1854 wxPyEndBlockThreads(blocked);
44127b65
RD
1855 return tup;
1856 }
1857
c370783e 1858 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
44127b65
RD
1859 PyObject* o2;
1860 PyObject* o3;
c370783e 1861
44127b65
RD
1862 if (!target) {
1863 target = o;
1864 } else if (target == Py_None) {
1865 Py_DECREF(Py_None);
1866 target = o;
629e65c2
RD
1867 } else {
1868 if (!PyTuple_Check(target)) {
1869 o2 = target;
1870 target = PyTuple_New(1);
1871 PyTuple_SetItem(target, 0, o2);
1872 }
44127b65
RD
1873 o3 = PyTuple_New(1);
1874 PyTuple_SetItem(o3, 0, o);
1875
1876 o2 = target;
1877 target = PySequence_Concat(o2, o3);
1878 Py_DECREF(o2);
1879 Py_DECREF(o3);
1880 }
1881 return target;
629e65c2 1882 }
44127b65 1883
c370783e 1884
36ed4f51 1885static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
1886 wxRect rect;
1887 if (self->GetBoundingRect(item, rect, textOnly)) {
fbc46b20 1888 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
1889 wxRect* r = new wxRect(rect);
1890 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
fbc46b20 1891 wxPyEndBlockThreads(blocked);
44127b65
RD
1892 return val;
1893 }
1894 else {
1895 RETURN_NONE();
1896 }
1897 }
1898#ifdef __cplusplus
1899extern "C" {
1900#endif
c370783e 1901static int _wrap_DynamicSashNameStr_set(PyObject *) {
cbd72d4f
RD
1902 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
1903 return 1;
1904}
1905
1906
36ed4f51 1907static PyObject *_wrap_DynamicSashNameStr_get(void) {
cbd72d4f
RD
1908 PyObject *pyobj;
1909
1910 {
1911#if wxUSE_UNICODE
1912 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
1913#else
1914 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
1915#endif
1916 }
1917 return pyobj;
1918}
1919
1920
c370783e 1921static int _wrap_EditableListBoxNameStr_set(PyObject *) {
cbd72d4f
RD
1922 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
1923 return 1;
1924}
1925
1926
36ed4f51 1927static PyObject *_wrap_EditableListBoxNameStr_get(void) {
cbd72d4f
RD
1928 PyObject *pyobj;
1929
1930 {
1931#if wxUSE_UNICODE
1932 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
1933#else
1934 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
1935#endif
1936 }
1937 return pyobj;
1938}
1939
1940
c370783e 1941static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
cbd72d4f
RD
1942 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
1943 return 1;
1944}
1945
1946
36ed4f51 1947static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
cbd72d4f
RD
1948 PyObject *pyobj;
1949
1950 {
1951#if wxUSE_UNICODE
1952 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
1953#else
1954 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
1955#endif
1956 }
1957 return pyobj;
1958}
1959
1960
c370783e 1961static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1962 PyObject *resultobj;
1963 wxObject *arg1 = (wxObject *) 0 ;
1964 wxDynamicSashSplitEvent *result;
1965 PyObject * obj0 = 0 ;
1966 char *kwnames[] = {
1967 (char *) "target", NULL
1968 };
1969
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
1971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
1972 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
2f4c0a16 1980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
44127b65
RD
1981 return resultobj;
1982 fail:
1983 return NULL;
1984}
1985
1986
c370783e 1987static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
1988 PyObject *obj;
1989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1990 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
1991 Py_INCREF(obj);
1992 return Py_BuildValue((char *)"");
1993}
c370783e 1994static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1995 PyObject *resultobj;
1996 wxObject *arg1 = (wxObject *) 0 ;
1997 wxDynamicSashUnifyEvent *result;
1998 PyObject * obj0 = 0 ;
1999 char *kwnames[] = {
2000 (char *) "target", NULL
2001 };
2002
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2005 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2f4c0a16 2013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
44127b65
RD
2014 return resultobj;
2015 fail:
2016 return NULL;
2017}
2018
2019
c370783e 2020static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2021 PyObject *obj;
2022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2023 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2024 Py_INCREF(obj);
2025 return Py_BuildValue((char *)"");
2026}
c370783e 2027static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2028 PyObject *resultobj;
2029 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 2030 int arg2 = (int) -1 ;
44127b65
RD
2031 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2032 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2033 wxSize const &arg4_defvalue = wxDefaultSize ;
2034 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2035 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2036 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2037 wxString *arg6 = (wxString *) &arg6_defvalue ;
2038 wxDynamicSashWindow *result;
2039 wxPoint temp3 ;
2040 wxSize temp4 ;
b411df4a 2041 bool temp6 = false ;
44127b65 2042 PyObject * obj0 = 0 ;
8edf1c75 2043 PyObject * obj1 = 0 ;
44127b65
RD
2044 PyObject * obj2 = 0 ;
2045 PyObject * obj3 = 0 ;
8edf1c75 2046 PyObject * obj4 = 0 ;
44127b65
RD
2047 PyObject * obj5 = 0 ;
2048 char *kwnames[] = {
2049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2050 };
2051
bfddbb17 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2054 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2055 if (obj1) {
36ed4f51
RD
2056 {
2057 arg2 = (int)(SWIG_As_int(obj1));
2058 if (SWIG_arg_fail(2)) SWIG_fail;
2059 }
bfddbb17 2060 }
44127b65
RD
2061 if (obj2) {
2062 {
2063 arg3 = &temp3;
2064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2065 }
2066 }
2067 if (obj3) {
2068 {
2069 arg4 = &temp4;
2070 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2071 }
2072 }
8edf1c75 2073 if (obj4) {
36ed4f51
RD
2074 {
2075 arg5 = (long)(SWIG_As_long(obj4));
2076 if (SWIG_arg_fail(5)) SWIG_fail;
2077 }
8edf1c75 2078 }
44127b65
RD
2079 if (obj5) {
2080 {
2081 arg6 = wxString_in_helper(obj5);
2082 if (arg6 == NULL) SWIG_fail;
b411df4a 2083 temp6 = true;
44127b65
RD
2084 }
2085 }
2086 {
0439c23b 2087 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2090
2091 wxPyEndAllowThreads(__tstate);
110da5b0 2092 if (PyErr_Occurred()) SWIG_fail;
44127b65 2093 }
2f4c0a16 2094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2095 {
2096 if (temp6)
2097 delete arg6;
2098 }
2099 return resultobj;
2100 fail:
2101 {
2102 if (temp6)
2103 delete arg6;
2104 }
2105 return NULL;
2106}
2107
2108
c370783e 2109static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2110 PyObject *resultobj;
2111 wxDynamicSashWindow *result;
2112 char *kwnames[] = {
2113 NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2117 {
0439c23b 2118 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2121
2122 wxPyEndAllowThreads(__tstate);
110da5b0 2123 if (PyErr_Occurred()) SWIG_fail;
44127b65 2124 }
2f4c0a16 2125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2126 return resultobj;
2127 fail:
2128 return NULL;
2129}
2130
2131
c370783e 2132static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2133 PyObject *resultobj;
2134 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2135 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 2136 int arg3 = (int) -1 ;
44127b65
RD
2137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2139 wxSize const &arg5_defvalue = wxDefaultSize ;
2140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2141 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2142 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2143 wxString *arg7 = (wxString *) &arg7_defvalue ;
2144 bool result;
2145 wxPoint temp4 ;
2146 wxSize temp5 ;
b411df4a 2147 bool temp7 = false ;
44127b65
RD
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
8edf1c75 2150 PyObject * obj2 = 0 ;
44127b65
RD
2151 PyObject * obj3 = 0 ;
2152 PyObject * obj4 = 0 ;
8edf1c75 2153 PyObject * obj5 = 0 ;
44127b65
RD
2154 PyObject * obj6 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2157 };
2158
bfddbb17 2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2161 if (SWIG_arg_fail(1)) SWIG_fail;
2162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2163 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2164 if (obj2) {
36ed4f51
RD
2165 {
2166 arg3 = (int)(SWIG_As_int(obj2));
2167 if (SWIG_arg_fail(3)) SWIG_fail;
2168 }
bfddbb17 2169 }
44127b65
RD
2170 if (obj3) {
2171 {
2172 arg4 = &temp4;
2173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2174 }
2175 }
2176 if (obj4) {
2177 {
2178 arg5 = &temp5;
2179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2180 }
2181 }
8edf1c75 2182 if (obj5) {
36ed4f51
RD
2183 {
2184 arg6 = (long)(SWIG_As_long(obj5));
2185 if (SWIG_arg_fail(6)) SWIG_fail;
2186 }
8edf1c75 2187 }
44127b65
RD
2188 if (obj6) {
2189 {
2190 arg7 = wxString_in_helper(obj6);
2191 if (arg7 == NULL) SWIG_fail;
b411df4a 2192 temp7 = true;
44127b65
RD
2193 }
2194 }
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
fbc46b20
RD
2202 {
2203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2204 }
44127b65
RD
2205 {
2206 if (temp7)
2207 delete arg7;
2208 }
2209 return resultobj;
2210 fail:
2211 {
2212 if (temp7)
2213 delete arg7;
2214 }
2215 return NULL;
2216}
2217
2218
c370783e 2219static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2220 PyObject *resultobj;
2221 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2222 wxWindow *arg2 = (wxWindow *) 0 ;
2223 wxScrollBar *result;
2224 PyObject * obj0 = 0 ;
2225 PyObject * obj1 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "self",(char *) "child", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2232 if (SWIG_arg_fail(1)) SWIG_fail;
2233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2234 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2f4c0a16 2242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2243 return resultobj;
2244 fail:
2245 return NULL;
2246}
2247
2248
c370783e 2249static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2250 PyObject *resultobj;
2251 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2252 wxWindow *arg2 = (wxWindow *) 0 ;
2253 wxScrollBar *result;
2254 PyObject * obj0 = 0 ;
2255 PyObject * obj1 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self",(char *) "child", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2262 if (SWIG_arg_fail(1)) SWIG_fail;
2263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2264 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2f4c0a16 2272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
c370783e 2279static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2280 PyObject *obj;
2281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2282 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2283 Py_INCREF(obj);
2284 return Py_BuildValue((char *)"");
2285}
c370783e 2286static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2287 PyObject *resultobj;
2288 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2289 int arg2 = (int) -1 ;
2290 wxString const &arg3_defvalue = wxPyEmptyString ;
2291 wxString *arg3 = (wxString *) &arg3_defvalue ;
44127b65
RD
2292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2294 wxSize const &arg5_defvalue = wxDefaultSize ;
2295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2296 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2297 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2298 wxString *arg7 = (wxString *) &arg7_defvalue ;
2299 wxEditableListBox *result;
b411df4a 2300 bool temp3 = false ;
44127b65
RD
2301 wxPoint temp4 ;
2302 wxSize temp5 ;
b411df4a 2303 bool temp7 = false ;
44127b65 2304 PyObject * obj0 = 0 ;
8edf1c75 2305 PyObject * obj1 = 0 ;
44127b65
RD
2306 PyObject * obj2 = 0 ;
2307 PyObject * obj3 = 0 ;
2308 PyObject * obj4 = 0 ;
8edf1c75 2309 PyObject * obj5 = 0 ;
44127b65
RD
2310 PyObject * obj6 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2313 };
2314
bfddbb17 2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2317 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2318 if (obj1) {
36ed4f51
RD
2319 {
2320 arg2 = (int)(SWIG_As_int(obj1));
2321 if (SWIG_arg_fail(2)) SWIG_fail;
2322 }
bfddbb17
RD
2323 }
2324 if (obj2) {
2325 {
2326 arg3 = wxString_in_helper(obj2);
2327 if (arg3 == NULL) SWIG_fail;
b411df4a 2328 temp3 = true;
bfddbb17 2329 }
44127b65
RD
2330 }
2331 if (obj3) {
2332 {
2333 arg4 = &temp4;
2334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2335 }
2336 }
2337 if (obj4) {
2338 {
2339 arg5 = &temp5;
2340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2341 }
2342 }
8edf1c75 2343 if (obj5) {
36ed4f51
RD
2344 {
2345 arg6 = (long)(SWIG_As_long(obj5));
2346 if (SWIG_arg_fail(6)) SWIG_fail;
2347 }
8edf1c75 2348 }
44127b65
RD
2349 if (obj6) {
2350 {
2351 arg7 = wxString_in_helper(obj6);
2352 if (arg7 == NULL) SWIG_fail;
b411df4a 2353 temp7 = true;
44127b65
RD
2354 }
2355 }
2356 {
0439c23b 2357 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2360
2361 wxPyEndAllowThreads(__tstate);
110da5b0 2362 if (PyErr_Occurred()) SWIG_fail;
44127b65 2363 }
2f4c0a16 2364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
44127b65
RD
2365 {
2366 if (temp3)
2367 delete arg3;
2368 }
2369 {
2370 if (temp7)
2371 delete arg7;
2372 }
2373 return resultobj;
2374 fail:
2375 {
2376 if (temp3)
2377 delete arg3;
2378 }
2379 {
2380 if (temp7)
2381 delete arg7;
2382 }
2383 return NULL;
2384}
2385
2386
c370783e 2387static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2388 PyObject *resultobj;
2389 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2390 wxArrayString *arg2 = 0 ;
b411df4a 2391 bool temp2 = false ;
44127b65
RD
2392 PyObject * obj0 = 0 ;
2393 PyObject * obj1 = 0 ;
2394 char *kwnames[] = {
2395 (char *) "self",(char *) "strings", NULL
2396 };
2397
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2400 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2401 {
2402 if (! PySequence_Check(obj1)) {
2403 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2404 SWIG_fail;
2405 }
2406 arg2 = new wxArrayString;
b411df4a 2407 temp2 = true;
44127b65
RD
2408 int i, len=PySequence_Length(obj1);
2409 for (i=0; i<len; i++) {
2410 PyObject* item = PySequence_GetItem(obj1, i);
2411#if wxUSE_UNICODE
2412 PyObject* str = PyObject_Unicode(item);
2413#else
2414 PyObject* str = PyObject_Str(item);
2415#endif
377d47bd 2416 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2417 arg2->Add(Py2wxString(str));
2418 Py_DECREF(item);
2419 Py_DECREF(str);
2420 }
2421 }
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 (arg1)->SetStrings((wxArrayString const &)*arg2);
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 Py_INCREF(Py_None); resultobj = Py_None;
2430 {
0ffb2aa6 2431 if (temp2) delete arg2;
44127b65
RD
2432 }
2433 return resultobj;
2434 fail:
2435 {
0ffb2aa6 2436 if (temp2) delete arg2;
44127b65
RD
2437 }
2438 return NULL;
2439}
2440
2441
c370783e 2442static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2443 PyObject *resultobj;
2444 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2445 PyObject *result;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
36ed4f51
RD
2452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2453 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 resultobj = result;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465}
2466
2467
c370783e 2468static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2469 PyObject *resultobj;
2470 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
4cf4100f 2471 wxPyListCtrl *result;
44127b65
RD
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
2478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2479 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 2482 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
44127b65
RD
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
4cf4100f 2487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
44127b65
RD
2488 return resultobj;
2489 fail:
2490 return NULL;
2491}
2492
2493
c370783e 2494static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2495 PyObject *resultobj;
2496 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2497 wxBitmapButton *result;
2498 PyObject * obj0 = 0 ;
2499 char *kwnames[] = {
2500 (char *) "self", NULL
2501 };
2502
2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2505 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2506 {
2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
2508 result = (wxBitmapButton *)(arg1)->GetDelButton();
2509
2510 wxPyEndAllowThreads(__tstate);
2511 if (PyErr_Occurred()) SWIG_fail;
2512 }
2513 {
412d302d 2514 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2515 }
2516 return resultobj;
2517 fail:
2518 return NULL;
2519}
2520
2521
c370783e 2522static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2523 PyObject *resultobj;
2524 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2525 wxBitmapButton *result;
2526 PyObject * obj0 = 0 ;
2527 char *kwnames[] = {
2528 (char *) "self", NULL
2529 };
2530
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2533 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 result = (wxBitmapButton *)(arg1)->GetNewButton();
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 {
412d302d 2542 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2543 }
2544 return resultobj;
2545 fail:
2546 return NULL;
2547}
2548
2549
c370783e 2550static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2551 PyObject *resultobj;
2552 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2553 wxBitmapButton *result;
2554 PyObject * obj0 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "self", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2561 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = (wxBitmapButton *)(arg1)->GetUpButton();
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 {
412d302d 2570 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2571 }
2572 return resultobj;
2573 fail:
2574 return NULL;
2575}
2576
2577
c370783e 2578static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2579 PyObject *resultobj;
2580 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2581 wxBitmapButton *result;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "self", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2589 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = (wxBitmapButton *)(arg1)->GetDownButton();
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 {
412d302d 2598 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2599 }
2600 return resultobj;
2601 fail:
2602 return NULL;
2603}
2604
2605
c370783e 2606static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2607 PyObject *resultobj;
2608 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2609 wxBitmapButton *result;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2617 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 result = (wxBitmapButton *)(arg1)->GetEditButton();
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 {
412d302d 2626 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2627 }
2628 return resultobj;
2629 fail:
2630 return NULL;
2631}
2632
2633
c370783e 2634static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2635 PyObject *obj;
2636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2637 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
2638 Py_INCREF(obj);
2639 return Py_BuildValue((char *)"");
2640}
c370783e 2641static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2642 PyObject *resultobj;
2643 wxWindow *arg1 = (wxWindow *) 0 ;
2644 int arg2 ;
2645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2647 wxSize const &arg4_defvalue = wxDefaultSize ;
2648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2649 long arg5 = (long) wxTR_HAS_BUTTONS ;
2650 wxRemotelyScrolledTreeCtrl *result;
2651 wxPoint temp3 ;
2652 wxSize temp4 ;
2653 PyObject * obj0 = 0 ;
8edf1c75 2654 PyObject * obj1 = 0 ;
44127b65
RD
2655 PyObject * obj2 = 0 ;
2656 PyObject * obj3 = 0 ;
8edf1c75 2657 PyObject * obj4 = 0 ;
44127b65
RD
2658 char *kwnames[] = {
2659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2660 };
2661
8edf1c75 2662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
2663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail;
2665 {
2666 arg2 = (int)(SWIG_As_int(obj1));
2667 if (SWIG_arg_fail(2)) SWIG_fail;
2668 }
44127b65
RD
2669 if (obj2) {
2670 {
2671 arg3 = &temp3;
2672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2673 }
2674 }
2675 if (obj3) {
2676 {
2677 arg4 = &temp4;
2678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2679 }
2680 }
8edf1c75 2681 if (obj4) {
36ed4f51
RD
2682 {
2683 arg5 = (long)(SWIG_As_long(obj4));
2684 if (SWIG_arg_fail(5)) SWIG_fail;
2685 }
8edf1c75 2686 }
44127b65 2687 {
0439c23b 2688 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
2691
2692 wxPyEndAllowThreads(__tstate);
110da5b0 2693 if (PyErr_Occurred()) SWIG_fail;
44127b65 2694 }
2f4c0a16 2695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
44127b65
RD
2696 return resultobj;
2697 fail:
2698 return NULL;
2699}
2700
2701
c370783e 2702static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2703 PyObject *resultobj;
2704 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2705 PyObject * obj0 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
36ed4f51
RD
2711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2712 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 (arg1)->HideVScrollbar();
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 Py_INCREF(Py_None); resultobj = Py_None;
2721 return resultobj;
2722 fail:
2723 return NULL;
2724}
2725
2726
c370783e 2727static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2728 PyObject *resultobj;
2729 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
2736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 (arg1)->AdjustRemoteScrollbars();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 Py_INCREF(Py_None); resultobj = Py_None;
2746 return resultobj;
2747 fail:
2748 return NULL;
2749}
2750
2751
c370783e 2752static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2753 PyObject *resultobj;
2754 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2755 wxScrolledWindow *result;
2756 PyObject * obj0 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2763 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
412d302d
RD
2771 {
2772 resultobj = wxPyMake_wxObject(result, 0);
2773 }
44127b65
RD
2774 return resultobj;
2775 fail:
2776 return NULL;
2777}
2778
2779
c370783e 2780static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2781 PyObject *resultobj;
2782 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2783 int arg2 ;
2784 int arg3 ;
2785 PyObject * obj0 = 0 ;
8edf1c75
RD
2786 PyObject * obj1 = 0 ;
2787 PyObject * obj2 = 0 ;
44127b65
RD
2788 char *kwnames[] = {
2789 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
2790 };
2791
8edf1c75 2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
2795 {
2796 arg2 = (int)(SWIG_As_int(obj1));
2797 if (SWIG_arg_fail(2)) SWIG_fail;
2798 }
2799 {
2800 arg3 = (int)(SWIG_As_int(obj2));
2801 if (SWIG_arg_fail(3)) SWIG_fail;
2802 }
44127b65
RD
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 (arg1)->ScrollToLine(arg2,arg3);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 Py_INCREF(Py_None); resultobj = Py_None;
2811 return resultobj;
2812 fail:
2813 return NULL;
2814}
2815
2816
c370783e 2817static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2818 PyObject *resultobj;
2819 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2820 wxWindow *arg2 = (wxWindow *) 0 ;
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj1 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "self",(char *) "companion", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2829 if (SWIG_arg_fail(1)) SWIG_fail;
2830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2831 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 (arg1)->SetCompanionWindow(arg2);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 Py_INCREF(Py_None); resultobj = Py_None;
2840 return resultobj;
2841 fail:
2842 return NULL;
2843}
2844
2845
c370783e 2846static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2847 PyObject *resultobj;
2848 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2849 wxWindow *result;
2850 PyObject * obj0 = 0 ;
2851 char *kwnames[] = {
2852 (char *) "self", NULL
2853 };
2854
2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2857 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 {
412d302d 2866 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2867 }
2868 return resultobj;
2869 fail:
2870 return NULL;
2871}
2872
2873
c370783e 2874static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2875 PyObject *obj;
2876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2877 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
2878 Py_INCREF(obj);
2879 return Py_BuildValue((char *)"");
2880}
c370783e 2881static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2882 PyObject *resultobj;
2883 wxWindow *arg1 = (wxWindow *) 0 ;
2884 int arg2 = (int) -1 ;
2885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2887 wxSize const &arg4_defvalue = wxDefaultSize ;
2888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2889 long arg5 = (long) 0 ;
2890 wxPyTreeCompanionWindow *result;
2891 wxPoint temp3 ;
2892 wxSize temp4 ;
2893 PyObject * obj0 = 0 ;
8edf1c75 2894 PyObject * obj1 = 0 ;
44127b65
RD
2895 PyObject * obj2 = 0 ;
2896 PyObject * obj3 = 0 ;
8edf1c75 2897 PyObject * obj4 = 0 ;
44127b65
RD
2898 char *kwnames[] = {
2899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2900 };
2901
8edf1c75 2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
2903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2904 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 2905 if (obj1) {
36ed4f51
RD
2906 {
2907 arg2 = (int)(SWIG_As_int(obj1));
2908 if (SWIG_arg_fail(2)) SWIG_fail;
2909 }
8edf1c75 2910 }
44127b65
RD
2911 if (obj2) {
2912 {
2913 arg3 = &temp3;
2914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2915 }
2916 }
2917 if (obj3) {
2918 {
2919 arg4 = &temp4;
2920 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2921 }
2922 }
8edf1c75 2923 if (obj4) {
36ed4f51
RD
2924 {
2925 arg5 = (long)(SWIG_As_long(obj4));
2926 if (SWIG_arg_fail(5)) SWIG_fail;
2927 }
8edf1c75 2928 }
44127b65 2929 {
0439c23b 2930 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
2933
2934 wxPyEndAllowThreads(__tstate);
110da5b0 2935 if (PyErr_Occurred()) SWIG_fail;
44127b65 2936 }
2f4c0a16 2937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
44127b65
RD
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
c370783e 2944static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2945 PyObject *resultobj;
2946 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
2947 PyObject *arg2 = (PyObject *) 0 ;
2948 PyObject *arg3 = (PyObject *) 0 ;
2949 PyObject * obj0 = 0 ;
2950 PyObject * obj1 = 0 ;
2951 PyObject * obj2 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self",(char *) "self",(char *) "_class", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
2958 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2959 arg2 = obj1;
2960 arg3 = obj2;
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 (arg1)->_setCallbackInfo(arg2,arg3);
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 Py_INCREF(Py_None); resultobj = Py_None;
2969 return resultobj;
2970 fail:
2971 return NULL;
2972}
2973
2974
c370783e 2975static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2976 PyObject *resultobj;
2977 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
2978 wxRemotelyScrolledTreeCtrl *result;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
2985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
2986 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2f4c0a16 2994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
44127b65
RD
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
c370783e 3001static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3002 PyObject *resultobj;
3003 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3004 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self",(char *) "treeCtrl", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3013 if (SWIG_arg_fail(1)) SWIG_fail;
3014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3015 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 (arg1)->SetTreeCtrl(arg2);
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 Py_INCREF(Py_None); resultobj = Py_None;
3024 return resultobj;
3025 fail:
3026 return NULL;
3027}
3028
3029
c370783e 3030static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3031 PyObject *obj;
3032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3033 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3034 Py_INCREF(obj);
3035 return Py_BuildValue((char *)"");
3036}
c370783e 3037static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3038 PyObject *resultobj;
3039 wxWindow *arg1 = (wxWindow *) 0 ;
3040 int arg2 = (int) -1 ;
3041 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3042 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3043 wxSize const &arg4_defvalue = wxDefaultSize ;
3044 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3045 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3046 wxThinSplitterWindow *result;
3047 wxPoint temp3 ;
3048 wxSize temp4 ;
3049 PyObject * obj0 = 0 ;
8edf1c75 3050 PyObject * obj1 = 0 ;
44127b65
RD
3051 PyObject * obj2 = 0 ;
3052 PyObject * obj3 = 0 ;
8edf1c75 3053 PyObject * obj4 = 0 ;
44127b65
RD
3054 char *kwnames[] = {
3055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3056 };
3057
8edf1c75 3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3061 if (obj1) {
36ed4f51
RD
3062 {
3063 arg2 = (int)(SWIG_As_int(obj1));
3064 if (SWIG_arg_fail(2)) SWIG_fail;
3065 }
8edf1c75 3066 }
44127b65
RD
3067 if (obj2) {
3068 {
3069 arg3 = &temp3;
3070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3071 }
3072 }
3073 if (obj3) {
3074 {
3075 arg4 = &temp4;
3076 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3077 }
3078 }
8edf1c75 3079 if (obj4) {
36ed4f51
RD
3080 {
3081 arg5 = (long)(SWIG_As_long(obj4));
3082 if (SWIG_arg_fail(5)) SWIG_fail;
3083 }
8edf1c75 3084 }
44127b65 3085 {
0439c23b 3086 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3089
3090 wxPyEndAllowThreads(__tstate);
110da5b0 3091 if (PyErr_Occurred()) SWIG_fail;
44127b65 3092 }
2f4c0a16 3093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
44127b65
RD
3094 return resultobj;
3095 fail:
3096 return NULL;
3097}
3098
3099
c370783e 3100static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3101 PyObject *obj;
3102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3103 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3104 Py_INCREF(obj);
3105 return Py_BuildValue((char *)"");
3106}
c370783e 3107static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3108 PyObject *resultobj;
3109 wxWindow *arg1 = (wxWindow *) 0 ;
3110 int arg2 = (int) -1 ;
3111 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3112 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3113 wxSize const &arg4_defvalue = wxDefaultSize ;
3114 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3115 long arg5 = (long) 0 ;
3116 wxSplitterScrolledWindow *result;
3117 wxPoint temp3 ;
3118 wxSize temp4 ;
3119 PyObject * obj0 = 0 ;
8edf1c75 3120 PyObject * obj1 = 0 ;
44127b65
RD
3121 PyObject * obj2 = 0 ;
3122 PyObject * obj3 = 0 ;
8edf1c75 3123 PyObject * obj4 = 0 ;
44127b65
RD
3124 char *kwnames[] = {
3125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3126 };
3127
8edf1c75 3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3131 if (obj1) {
36ed4f51
RD
3132 {
3133 arg2 = (int)(SWIG_As_int(obj1));
3134 if (SWIG_arg_fail(2)) SWIG_fail;
3135 }
8edf1c75 3136 }
44127b65
RD
3137 if (obj2) {
3138 {
3139 arg3 = &temp3;
3140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3141 }
3142 }
3143 if (obj3) {
3144 {
3145 arg4 = &temp4;
3146 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3147 }
3148 }
8edf1c75 3149 if (obj4) {
36ed4f51
RD
3150 {
3151 arg5 = (long)(SWIG_As_long(obj4));
3152 if (SWIG_arg_fail(5)) SWIG_fail;
3153 }
8edf1c75 3154 }
44127b65 3155 {
0439c23b 3156 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3159
3160 wxPyEndAllowThreads(__tstate);
110da5b0 3161 if (PyErr_Occurred()) SWIG_fail;
44127b65 3162 }
2f4c0a16 3163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
44127b65
RD
3164 return resultobj;
3165 fail:
3166 return NULL;
3167}
3168
3169
c370783e 3170static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3171 PyObject *obj;
3172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3173 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3174 Py_INCREF(obj);
3175 return Py_BuildValue((char *)"");
3176}
c370783e 3177static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3178 PyObject *resultobj;
3179 wxWindow *arg1 = (wxWindow *) 0 ;
3180 int arg2 = (int) -1 ;
3181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3183 wxSize const &arg4_defvalue = wxDefaultSize ;
3184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3185 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3186 wxLEDNumberCtrl *result;
3187 wxPoint temp3 ;
3188 wxSize temp4 ;
3189 PyObject * obj0 = 0 ;
8edf1c75 3190 PyObject * obj1 = 0 ;
44127b65
RD
3191 PyObject * obj2 = 0 ;
3192 PyObject * obj3 = 0 ;
8edf1c75 3193 PyObject * obj4 = 0 ;
44127b65
RD
3194 char *kwnames[] = {
3195 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3196 };
3197
8edf1c75 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3201 if (obj1) {
36ed4f51
RD
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
8edf1c75 3206 }
44127b65
RD
3207 if (obj2) {
3208 {
3209 arg3 = &temp3;
3210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3211 }
3212 }
3213 if (obj3) {
3214 {
3215 arg4 = &temp4;
3216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3217 }
3218 }
8edf1c75 3219 if (obj4) {
36ed4f51
RD
3220 {
3221 arg5 = (long)(SWIG_As_long(obj4));
3222 if (SWIG_arg_fail(5)) SWIG_fail;
3223 }
8edf1c75 3224 }
44127b65 3225 {
0439c23b 3226 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3229
3230 wxPyEndAllowThreads(__tstate);
110da5b0 3231 if (PyErr_Occurred()) SWIG_fail;
44127b65 3232 }
2f4c0a16 3233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3234 return resultobj;
3235 fail:
3236 return NULL;
3237}
3238
3239
c370783e 3240static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3241 PyObject *resultobj;
3242 wxLEDNumberCtrl *result;
3243 char *kwnames[] = {
3244 NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3248 {
0439c23b 3249 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3252
3253 wxPyEndAllowThreads(__tstate);
110da5b0 3254 if (PyErr_Occurred()) SWIG_fail;
44127b65 3255 }
2f4c0a16 3256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3257 return resultobj;
3258 fail:
3259 return NULL;
3260}
3261
3262
c370783e 3263static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3264 PyObject *resultobj;
3265 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3266 wxWindow *arg2 = (wxWindow *) 0 ;
3267 int arg3 = (int) -1 ;
3268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3270 wxSize const &arg5_defvalue = wxDefaultSize ;
3271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3272 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3273 bool result;
3274 wxPoint temp4 ;
3275 wxSize temp5 ;
3276 PyObject * obj0 = 0 ;
3277 PyObject * obj1 = 0 ;
8edf1c75 3278 PyObject * obj2 = 0 ;
44127b65
RD
3279 PyObject * obj3 = 0 ;
3280 PyObject * obj4 = 0 ;
8edf1c75 3281 PyObject * obj5 = 0 ;
44127b65
RD
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3284 };
3285
8edf1c75 3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail;
3289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3290 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 3291 if (obj2) {
36ed4f51
RD
3292 {
3293 arg3 = (int)(SWIG_As_int(obj2));
3294 if (SWIG_arg_fail(3)) SWIG_fail;
3295 }
8edf1c75 3296 }
44127b65
RD
3297 if (obj3) {
3298 {
3299 arg4 = &temp4;
3300 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3301 }
3302 }
3303 if (obj4) {
3304 {
3305 arg5 = &temp5;
3306 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3307 }
3308 }
8edf1c75 3309 if (obj5) {
36ed4f51
RD
3310 {
3311 arg6 = (long)(SWIG_As_long(obj5));
3312 if (SWIG_arg_fail(6)) SWIG_fail;
3313 }
8edf1c75 3314 }
44127b65
RD
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
fbc46b20
RD
3322 {
3323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3324 }
44127b65
RD
3325 return resultobj;
3326 fail:
3327 return NULL;
3328}
3329
3330
c370783e 3331static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3332 PyObject *resultobj;
3333 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
36ed4f51 3334 wxLEDValueAlign result;
44127b65
RD
3335 PyObject * obj0 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
3341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3342 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3345 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
44127b65
RD
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
36ed4f51 3350 resultobj = SWIG_From_int((result));
44127b65
RD
3351 return resultobj;
3352 fail:
3353 return NULL;
3354}
3355
3356
c370783e 3357static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3358 PyObject *resultobj;
3359 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3360 bool result;
3361 PyObject * obj0 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
36ed4f51
RD
3367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3368 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
fbc46b20
RD
3376 {
3377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3378 }
44127b65
RD
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
c370783e 3385static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3386 PyObject *resultobj;
3387 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3388 wxString *result;
3389 PyObject * obj0 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 {
3400 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3401 result = (wxString *) &_result_ref;
3402 }
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
0f774bef
RD
3407 {
3408#if wxUSE_UNICODE
3409 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3410#else
3411 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3412#endif
3413 }
44127b65
RD
3414 return resultobj;
3415 fail:
3416 return NULL;
3417}
3418
3419
c370783e 3420static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3421 PyObject *resultobj;
3422 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
36ed4f51 3423 wxLEDValueAlign arg2 ;
44127b65
RD
3424 bool arg3 = (bool) true ;
3425 PyObject * obj0 = 0 ;
8edf1c75 3426 PyObject * obj1 = 0 ;
44127b65
RD
3427 PyObject * obj2 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3430 };
3431
8edf1c75 3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail;
3435 {
3436 arg2 = (wxLEDValueAlign)(SWIG_As_int(obj1));
3437 if (SWIG_arg_fail(2)) SWIG_fail;
3438 }
44127b65 3439 if (obj2) {
36ed4f51
RD
3440 {
3441 arg3 = (bool)(SWIG_As_bool(obj2));
3442 if (SWIG_arg_fail(3)) SWIG_fail;
3443 }
44127b65
RD
3444 }
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456}
3457
3458
c370783e 3459static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3460 PyObject *resultobj;
3461 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3462 bool arg2 ;
3463 bool arg3 = (bool) true ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj1 = 0 ;
3466 PyObject * obj2 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail;
3474 {
3475 arg2 = (bool)(SWIG_As_bool(obj1));
3476 if (SWIG_arg_fail(2)) SWIG_fail;
3477 }
2dbef272 3478 if (obj2) {
36ed4f51
RD
3479 {
3480 arg3 = (bool)(SWIG_As_bool(obj2));
3481 if (SWIG_arg_fail(3)) SWIG_fail;
3482 }
2dbef272 3483 }
44127b65
RD
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 (arg1)->SetDrawFaded(arg2,arg3);
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 Py_INCREF(Py_None); resultobj = Py_None;
3492 return resultobj;
3493 fail:
3494 return NULL;
3495}
3496
3497
c370783e 3498static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3499 PyObject *resultobj;
3500 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3501 wxString *arg2 = 0 ;
3502 bool arg3 = (bool) true ;
b411df4a 3503 bool temp2 = false ;
44127b65
RD
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 PyObject * obj2 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3514 {
3515 arg2 = wxString_in_helper(obj1);
3516 if (arg2 == NULL) SWIG_fail;
b411df4a 3517 temp2 = true;
44127b65
RD
3518 }
3519 if (obj2) {
36ed4f51
RD
3520 {
3521 arg3 = (bool)(SWIG_As_bool(obj2));
3522 if (SWIG_arg_fail(3)) SWIG_fail;
3523 }
44127b65
RD
3524 }
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->SetValue((wxString const &)*arg2,arg3);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 {
3534 if (temp2)
3535 delete arg2;
3536 }
3537 return resultobj;
3538 fail:
3539 {
3540 if (temp2)
3541 delete arg2;
3542 }
3543 return NULL;
3544}
3545
3546
c370783e 3547static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3548 PyObject *obj;
3549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3550 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3551 Py_INCREF(obj);
3552 return Py_BuildValue((char *)"");
3553}
c370783e 3554static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3555 PyObject *resultobj;
3556 wxString const &arg1_defvalue = wxPyEmptyString ;
3557 wxString *arg1 = (wxString *) &arg1_defvalue ;
3558 int arg2 = (int) -1 ;
3559 size_t arg3 = (size_t) 100 ;
b411df4a 3560 bool arg4 = (bool) true ;
36ed4f51 3561 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
44127b65 3562 wxTreeListColumnInfo *result;
b411df4a 3563 bool temp1 = false ;
44127b65 3564 PyObject * obj0 = 0 ;
8edf1c75 3565 PyObject * obj1 = 0 ;
44127b65 3566 PyObject * obj2 = 0 ;
8edf1c75 3567 PyObject * obj3 = 0 ;
0439c23b 3568 PyObject * obj4 = 0 ;
44127b65 3569 char *kwnames[] = {
0439c23b 3570 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
44127b65
RD
3571 };
3572
0439c23b 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
3574 if (obj0) {
3575 {
3576 arg1 = wxString_in_helper(obj0);
3577 if (arg1 == NULL) SWIG_fail;
b411df4a 3578 temp1 = true;
44127b65
RD
3579 }
3580 }
8edf1c75 3581 if (obj1) {
36ed4f51
RD
3582 {
3583 arg2 = (int)(SWIG_As_int(obj1));
3584 if (SWIG_arg_fail(2)) SWIG_fail;
3585 }
8edf1c75 3586 }
44127b65 3587 if (obj2) {
36ed4f51
RD
3588 {
3589 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
3590 if (SWIG_arg_fail(3)) SWIG_fail;
3591 }
8edf1c75
RD
3592 }
3593 if (obj3) {
36ed4f51
RD
3594 {
3595 arg4 = (bool)(SWIG_As_bool(obj3));
3596 if (SWIG_arg_fail(4)) SWIG_fail;
3597 }
0439c23b
RD
3598 }
3599 if (obj4) {
36ed4f51
RD
3600 {
3601 arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4));
3602 if (SWIG_arg_fail(5)) SWIG_fail;
3603 }
44127b65
RD
3604 }
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 3607 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5);
44127b65
RD
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
2f4c0a16 3612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
44127b65
RD
3613 {
3614 if (temp1)
3615 delete arg1;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp1)
3621 delete arg1;
3622 }
3623 return NULL;
3624}
3625
3626
c370783e 3627static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
3628 PyObject *resultobj;
3629 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3630 bool result;
3631 PyObject * obj0 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
36ed4f51
RD
3637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3638 if (SWIG_arg_fail(1)) SWIG_fail;
0439c23b
RD
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 {
3647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3648 }
3649 return resultobj;
3650 fail:
3651 return NULL;
3652}
3653
3654
c370783e 3655static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3656 PyObject *resultobj;
3657 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
36ed4f51 3658 wxTreeListColumnAlign result;
44127b65
RD
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3669 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
44127b65
RD
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
36ed4f51 3674 resultobj = SWIG_From_int((result));
44127b65
RD
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
c370783e 3681static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3682 PyObject *resultobj;
3683 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3684 wxString result;
3685 PyObject * obj0 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
3691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3692 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 {
3701#if wxUSE_UNICODE
3702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3703#else
3704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3705#endif
3706 }
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
c370783e 3713static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3714 PyObject *resultobj;
3715 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3716 int result;
3717 PyObject * obj0 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
3723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3724 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
36ed4f51
RD
3732 {
3733 resultobj = SWIG_From_int((int)(result));
3734 }
44127b65
RD
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
c370783e 3741static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3742 PyObject *resultobj;
3743 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3744 int result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
3751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
36ed4f51
RD
3760 {
3761 resultobj = SWIG_From_int((int)(result));
3762 }
44127b65
RD
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
c370783e 3769static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3770 PyObject *resultobj;
3771 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3772 size_t result;
3773 PyObject * obj0 = 0 ;
3774 char *kwnames[] = {
3775 (char *) "self", NULL
3776 };
3777
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
36ed4f51
RD
3788 {
3789 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
3790 }
44127b65
RD
3791 return resultobj;
3792 fail:
3793 return NULL;
3794}
3795
3796
c370783e 3797static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
3798 PyObject *resultobj;
3799 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3800 bool arg2 ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj1 = 0 ;
3803 char *kwnames[] = {
3804 (char *) "self",(char *) "shown", NULL
3805 };
3806
3807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail;
3810 {
3811 arg2 = (bool)(SWIG_As_bool(obj1));
3812 if (SWIG_arg_fail(2)) SWIG_fail;
3813 }
0439c23b
RD
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 (arg1)->SetShown(arg2);
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 Py_INCREF(Py_None); resultobj = Py_None;
3822 return resultobj;
3823 fail:
3824 return NULL;
3825}
3826
3827
c370783e 3828static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3829 PyObject *resultobj;
3830 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
36ed4f51 3831 wxTreeListColumnAlign arg2 ;
44127b65 3832 PyObject * obj0 = 0 ;
8edf1c75 3833 PyObject * obj1 = 0 ;
44127b65
RD
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "alignment", NULL
3836 };
3837
8edf1c75 3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail;
3841 {
3842 arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1));
3843 if (SWIG_arg_fail(2)) SWIG_fail;
3844 }
44127b65
RD
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 (arg1)->SetAlignment((wxTreeListColumnAlign )arg2);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 Py_INCREF(Py_None); resultobj = Py_None;
3853 return resultobj;
3854 fail:
3855 return NULL;
3856}
3857
3858
c370783e 3859static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3860 PyObject *resultobj;
3861 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3862 wxString *arg2 = 0 ;
b411df4a 3863 bool temp2 = false ;
44127b65
RD
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "text", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3873 {
3874 arg2 = wxString_in_helper(obj1);
3875 if (arg2 == NULL) SWIG_fail;
b411df4a 3876 temp2 = true;
44127b65
RD
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetText((wxString const &)*arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 {
3887 if (temp2)
3888 delete arg2;
3889 }
3890 return resultobj;
3891 fail:
3892 {
3893 if (temp2)
3894 delete arg2;
3895 }
3896 return NULL;
3897}
3898
3899
c370783e 3900static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3901 PyObject *resultobj;
3902 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3903 int arg2 ;
3904 PyObject * obj0 = 0 ;
8edf1c75 3905 PyObject * obj1 = 0 ;
44127b65
RD
3906 char *kwnames[] = {
3907 (char *) "self",(char *) "image", NULL
3908 };
3909
8edf1c75 3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail;
3913 {
3914 arg2 = (int)(SWIG_As_int(obj1));
3915 if (SWIG_arg_fail(2)) SWIG_fail;
3916 }
44127b65
RD
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 (arg1)->SetImage(arg2);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 Py_INCREF(Py_None); resultobj = Py_None;
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
c370783e 3931static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3932 PyObject *resultobj;
3933 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3934 int arg2 ;
3935 PyObject * obj0 = 0 ;
8edf1c75 3936 PyObject * obj1 = 0 ;
44127b65
RD
3937 char *kwnames[] = {
3938 (char *) "self",(char *) "image", NULL
3939 };
3940
8edf1c75 3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail;
3944 {
3945 arg2 = (int)(SWIG_As_int(obj1));
3946 if (SWIG_arg_fail(2)) SWIG_fail;
3947 }
44127b65
RD
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 (arg1)->SetSelectedImage(arg2);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 Py_INCREF(Py_None); resultobj = Py_None;
3956 return resultobj;
3957 fail:
3958 return NULL;
3959}
3960
3961
c370783e 3962static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3963 PyObject *resultobj;
3964 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3965 size_t arg2 ;
3966 PyObject * obj0 = 0 ;
3967 PyObject * obj1 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "self",(char *) "with", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3974 if (SWIG_arg_fail(1)) SWIG_fail;
3975 {
3976 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
3977 if (SWIG_arg_fail(2)) SWIG_fail;
3978 }
44127b65
RD
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetWidth(arg2);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 Py_INCREF(Py_None); resultobj = Py_None;
3987 return resultobj;
3988 fail:
3989 return NULL;
3990}
3991
3992
c370783e 3993static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3994 PyObject *obj;
3995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3996 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
3997 Py_INCREF(obj);
3998 return Py_BuildValue((char *)"");
3999}
c370783e 4000static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4001 PyObject *resultobj;
4002 wxWindow *arg1 = (wxWindow *) 0 ;
4003 int arg2 = (int) -1 ;
4004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4006 wxSize const &arg4_defvalue = wxDefaultSize ;
4007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4008 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4009 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4010 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4011 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4012 wxString *arg7 = (wxString *) &arg7_defvalue ;
4013 wxPyTreeListCtrl *result;
4014 wxPoint temp3 ;
4015 wxSize temp4 ;
b411df4a 4016 bool temp7 = false ;
44127b65 4017 PyObject * obj0 = 0 ;
8edf1c75 4018 PyObject * obj1 = 0 ;
44127b65
RD
4019 PyObject * obj2 = 0 ;
4020 PyObject * obj3 = 0 ;
8edf1c75 4021 PyObject * obj4 = 0 ;
44127b65
RD
4022 PyObject * obj5 = 0 ;
4023 PyObject * obj6 = 0 ;
4024 char *kwnames[] = {
4025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4026 };
4027
8edf1c75 4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4030 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 4031 if (obj1) {
36ed4f51
RD
4032 {
4033 arg2 = (int)(SWIG_As_int(obj1));
4034 if (SWIG_arg_fail(2)) SWIG_fail;
4035 }
8edf1c75 4036 }
44127b65
RD
4037 if (obj2) {
4038 {
4039 arg3 = &temp3;
4040 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4041 }
4042 }
4043 if (obj3) {
4044 {
4045 arg4 = &temp4;
4046 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4047 }
4048 }
8edf1c75 4049 if (obj4) {
36ed4f51
RD
4050 {
4051 arg5 = (long)(SWIG_As_long(obj4));
4052 if (SWIG_arg_fail(5)) SWIG_fail;
4053 }
8edf1c75 4054 }
44127b65 4055 if (obj5) {
36ed4f51
RD
4056 {
4057 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4058 if (SWIG_arg_fail(6)) SWIG_fail;
4059 if (arg6 == NULL) {
4060 SWIG_null_ref("wxValidator");
4061 }
4062 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
4063 }
4064 }
4065 if (obj6) {
4066 {
4067 arg7 = wxString_in_helper(obj6);
4068 if (arg7 == NULL) SWIG_fail;
b411df4a 4069 temp7 = true;
44127b65
RD
4070 }
4071 }
4072 {
0439c23b 4073 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4076
4077 wxPyEndAllowThreads(__tstate);
110da5b0 4078 if (PyErr_Occurred()) SWIG_fail;
44127b65 4079 }
2f4c0a16 4080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4081 {
4082 if (temp7)
4083 delete arg7;
4084 }
4085 return resultobj;
4086 fail:
4087 {
4088 if (temp7)
4089 delete arg7;
4090 }
4091 return NULL;
4092}
4093
4094
c370783e 4095static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4096 PyObject *resultobj;
4097 wxPyTreeListCtrl *result;
4098 char *kwnames[] = {
4099 NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4103 {
0439c23b 4104 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4107
4108 wxPyEndAllowThreads(__tstate);
110da5b0 4109 if (PyErr_Occurred()) SWIG_fail;
44127b65 4110 }
2f4c0a16 4111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
c370783e 4118static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4119 PyObject *resultobj;
4120 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4121 wxWindow *arg2 = (wxWindow *) 0 ;
4122 int arg3 = (int) -1 ;
4123 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4124 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4125 wxSize const &arg5_defvalue = wxDefaultSize ;
4126 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4127 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4128 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4129 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4130 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4131 wxString *arg8 = (wxString *) &arg8_defvalue ;
4132 bool result;
4133 wxPoint temp4 ;
4134 wxSize temp5 ;
b411df4a 4135 bool temp8 = false ;
44127b65
RD
4136 PyObject * obj0 = 0 ;
4137 PyObject * obj1 = 0 ;
8edf1c75 4138 PyObject * obj2 = 0 ;
44127b65
RD
4139 PyObject * obj3 = 0 ;
4140 PyObject * obj4 = 0 ;
8edf1c75 4141 PyObject * obj5 = 0 ;
44127b65
RD
4142 PyObject * obj6 = 0 ;
4143 PyObject * obj7 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 };
4147
8edf1c75 4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
4149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail;
4151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4152 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 4153 if (obj2) {
36ed4f51
RD
4154 {
4155 arg3 = (int)(SWIG_As_int(obj2));
4156 if (SWIG_arg_fail(3)) SWIG_fail;
4157 }
8edf1c75 4158 }
44127b65
RD
4159 if (obj3) {
4160 {
4161 arg4 = &temp4;
4162 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4163 }
4164 }
4165 if (obj4) {
4166 {
4167 arg5 = &temp5;
4168 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4169 }
4170 }
8edf1c75 4171 if (obj5) {
36ed4f51
RD
4172 {
4173 arg6 = (long)(SWIG_As_long(obj5));
4174 if (SWIG_arg_fail(6)) SWIG_fail;
4175 }
8edf1c75 4176 }
44127b65 4177 if (obj6) {
36ed4f51
RD
4178 {
4179 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4180 if (SWIG_arg_fail(7)) SWIG_fail;
4181 if (arg7 == NULL) {
4182 SWIG_null_ref("wxValidator");
4183 }
4184 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
4185 }
4186 }
4187 if (obj7) {
4188 {
4189 arg8 = wxString_in_helper(obj7);
4190 if (arg8 == NULL) SWIG_fail;
b411df4a 4191 temp8 = true;
44127b65
RD
4192 }
4193 }
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
fbc46b20
RD
4201 {
4202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4203 }
44127b65
RD
4204 {
4205 if (temp8)
4206 delete arg8;
4207 }
4208 return resultobj;
4209 fail:
4210 {
4211 if (temp8)
4212 delete arg8;
4213 }
4214 return NULL;
4215}
4216
4217
c370783e 4218static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4219 PyObject *resultobj;
4220 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4221 PyObject *arg2 = (PyObject *) 0 ;
4222 PyObject *arg3 = (PyObject *) 0 ;
4223 PyObject * obj0 = 0 ;
4224 PyObject * obj1 = 0 ;
4225 PyObject * obj2 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self",(char *) "self",(char *) "_class", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4233 arg2 = obj1;
4234 arg3 = obj2;
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 (arg1)->_setCallbackInfo(arg2,arg3);
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 Py_INCREF(Py_None); resultobj = Py_None;
4243 return resultobj;
4244 fail:
4245 return NULL;
4246}
4247
4248
c370783e 4249static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4250 PyObject *resultobj;
4251 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4252 size_t result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
4259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
36ed4f51
RD
4268 {
4269 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4270 }
44127b65
RD
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
c370783e 4277static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4278 PyObject *resultobj;
4279 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4280 unsigned int result;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
4287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
36ed4f51
RD
4296 {
4297 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4298 }
44127b65
RD
4299 return resultobj;
4300 fail:
4301 return NULL;
4302}
4303
4304
c370783e 4305static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4306 PyObject *resultobj;
4307 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4308 unsigned int arg2 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "self",(char *) "indent", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail;
4318 {
4319 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4320 if (SWIG_arg_fail(2)) SWIG_fail;
4321 }
44127b65
RD
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->SetIndent(arg2);
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 Py_INCREF(Py_None); resultobj = Py_None;
4330 return resultobj;
4331 fail:
4332 return NULL;
4333}
4334
4335
c370783e 4336static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4337 PyObject *resultobj;
4338 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4339 unsigned int result;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
4346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
36ed4f51
RD
4355 {
4356 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4357 }
44127b65
RD
4358 return resultobj;
4359 fail:
4360 return NULL;
4361}
4362
4363
c370783e 4364static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4365 PyObject *resultobj;
4366 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4367 unsigned int arg2 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "spacing", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4376 if (SWIG_arg_fail(1)) SWIG_fail;
4377 {
4378 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4379 if (SWIG_arg_fail(2)) SWIG_fail;
4380 }
44127b65
RD
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->SetLineSpacing(arg2);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 Py_INCREF(Py_None); resultobj = Py_None;
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
c370783e 4395static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4396 PyObject *resultobj;
4397 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4398 wxImageList *result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 {
412d302d 4415 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4416 }
4417 return resultobj;
4418 fail:
4419 return NULL;
4420}
4421
4422
c370783e 4423static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4424 PyObject *resultobj;
4425 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4426 wxImageList *result;
4427 PyObject * obj0 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
412d302d 4443 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4444 }
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
c370783e 4451static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4452 PyObject *resultobj;
4453 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4454 wxImageList *result;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4462 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
412d302d 4471 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4472 }
4473 return resultobj;
4474 fail:
4475 return NULL;
4476}
4477
4478
c370783e 4479static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4480 PyObject *resultobj;
4481 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4482 wxImageList *arg2 = (wxImageList *) 0 ;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "imageList", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail;
4492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4493 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 (arg1)->SetImageList(arg2);
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 Py_INCREF(Py_None); resultobj = Py_None;
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
c370783e 4508static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4509 PyObject *resultobj;
4510 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4511 wxImageList *arg2 = (wxImageList *) 0 ;
4512 PyObject * obj0 = 0 ;
4513 PyObject * obj1 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self",(char *) "imageList", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail;
4521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4522 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 (arg1)->SetStateImageList(arg2);
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
c370783e 4537static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4538 PyObject *resultobj;
4539 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4540 wxImageList *arg2 = (wxImageList *) 0 ;
4541 PyObject * obj0 = 0 ;
4542 PyObject * obj1 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "imageList", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4549 if (SWIG_arg_fail(1)) SWIG_fail;
4550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4551 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 (arg1)->SetButtonsImageList(arg2);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563}
4564
4565
c370783e 4566static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4567 PyObject *resultobj;
4568 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4569 wxImageList *arg2 = (wxImageList *) 0 ;
4570 PyObject * obj0 = 0 ;
4571 PyObject * obj1 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self",(char *) "imageList", NULL
4574 };
4575
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4578 if (SWIG_arg_fail(1)) SWIG_fail;
4579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4580 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 (arg1)->AssignImageList(arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 return resultobj;
4590 fail:
4591 return NULL;
4592}
4593
4594
c370783e 4595static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4596 PyObject *resultobj;
4597 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4598 wxImageList *arg2 = (wxImageList *) 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self",(char *) "imageList", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail;
4608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4609 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 (arg1)->AssignStateImageList(arg2);
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
4617 Py_INCREF(Py_None); resultobj = Py_None;
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
c370783e 4624static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4625 PyObject *resultobj;
4626 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4627 wxImageList *arg2 = (wxImageList *) 0 ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self",(char *) "imageList", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4636 if (SWIG_arg_fail(1)) SWIG_fail;
4637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4638 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 (arg1)->AssignButtonsImageList(arg2);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 Py_INCREF(Py_None); resultobj = Py_None;
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
c370783e 4653static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4654 PyObject *resultobj;
4655 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4656 wxString *arg2 = 0 ;
b411df4a 4657 bool temp2 = false ;
44127b65
RD
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj1 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "text", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4667 {
4668 arg2 = wxString_in_helper(obj1);
4669 if (arg2 == NULL) SWIG_fail;
b411df4a 4670 temp2 = true;
44127b65
RD
4671 }
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 (arg1)->AddColumn((wxString const &)*arg2);
4675
4676 wxPyEndAllowThreads(__tstate);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 }
4679 Py_INCREF(Py_None); resultobj = Py_None;
4680 {
4681 if (temp2)
4682 delete arg2;
4683 }
4684 return resultobj;
4685 fail:
4686 {
4687 if (temp2)
4688 delete arg2;
4689 }
4690 return NULL;
4691}
4692
4693
c370783e 4694static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4695 PyObject *resultobj;
4696 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4697 wxTreeListColumnInfo *arg2 = 0 ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "col", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail;
4707 {
4708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4709 if (SWIG_arg_fail(2)) SWIG_fail;
4710 if (arg2 == NULL) {
4711 SWIG_null_ref("wxTreeListColumnInfo");
4712 }
4713 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4714 }
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 Py_INCREF(Py_None); resultobj = Py_None;
4723 return resultobj;
4724 fail:
4725 return NULL;
4726}
4727
4728
c370783e 4729static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4730 PyObject *resultobj;
4731 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4732 size_t arg2 ;
4733 wxString *arg3 = 0 ;
b411df4a 4734 bool temp3 = false ;
44127b65
RD
4735 PyObject * obj0 = 0 ;
4736 PyObject * obj1 = 0 ;
4737 PyObject * obj2 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "before",(char *) "text", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4744 if (SWIG_arg_fail(1)) SWIG_fail;
4745 {
4746 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4747 if (SWIG_arg_fail(2)) SWIG_fail;
4748 }
44127b65
RD
4749 {
4750 arg3 = wxString_in_helper(obj2);
4751 if (arg3 == NULL) SWIG_fail;
b411df4a 4752 temp3 = true;
44127b65
RD
4753 }
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 Py_INCREF(Py_None); resultobj = Py_None;
4762 {
4763 if (temp3)
4764 delete arg3;
4765 }
4766 return resultobj;
4767 fail:
4768 {
4769 if (temp3)
4770 delete arg3;
4771 }
4772 return NULL;
4773}
4774
4775
c370783e 4776static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4777 PyObject *resultobj;
4778 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4779 size_t arg2 ;
4780 wxTreeListColumnInfo *arg3 = 0 ;
4781 PyObject * obj0 = 0 ;
4782 PyObject * obj1 = 0 ;
4783 PyObject * obj2 = 0 ;
4784 char *kwnames[] = {
4785 (char *) "self",(char *) "before",(char *) "col", NULL
4786 };
4787
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail;
4791 {
4792 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4793 if (SWIG_arg_fail(2)) SWIG_fail;
4794 }
4795 {
4796 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4797 if (SWIG_arg_fail(3)) SWIG_fail;
4798 if (arg3 == NULL) {
4799 SWIG_null_ref("wxTreeListColumnInfo");
4800 }
4801 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 return resultobj;
4812 fail:
4813 return NULL;
4814}
4815
4816
c370783e 4817static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4818 PyObject *resultobj;
4819 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4820 size_t arg2 ;
4821 PyObject * obj0 = 0 ;
4822 PyObject * obj1 = 0 ;
4823 char *kwnames[] = {
4824 (char *) "self",(char *) "column", NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4829 if (SWIG_arg_fail(1)) SWIG_fail;
4830 {
4831 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4832 if (SWIG_arg_fail(2)) SWIG_fail;
4833 }
44127b65
RD
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 (arg1)->RemoveColumn(arg2);
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 Py_INCREF(Py_None); resultobj = Py_None;
4842 return resultobj;
4843 fail:
4844 return NULL;
4845}
4846
4847
c370783e 4848static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4849 PyObject *resultobj;
4850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4851 size_t result;
4852 PyObject * obj0 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self", NULL
4855 };
4856
4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
4858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4859 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
36ed4f51
RD
4867 {
4868 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4869 }
44127b65
RD
4870 return resultobj;
4871 fail:
4872 return NULL;
4873}
4874
4875
c370783e 4876static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4877 PyObject *resultobj;
4878 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4879 size_t arg2 ;
4880 size_t arg3 ;
4881 PyObject * obj0 = 0 ;
4882 PyObject * obj1 = 0 ;
4883 PyObject * obj2 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "column",(char *) "width", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4890 if (SWIG_arg_fail(1)) SWIG_fail;
4891 {
4892 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4893 if (SWIG_arg_fail(2)) SWIG_fail;
4894 }
4895 {
4896 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
4897 if (SWIG_arg_fail(3)) SWIG_fail;
4898 }
44127b65
RD
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->SetColumnWidth(arg2,arg3);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910}
4911
4912
c370783e 4913static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4914 PyObject *resultobj;
4915 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4916 size_t arg2 ;
4917 int result;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "column", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail;
4927 {
4928 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4929 if (SWIG_arg_fail(2)) SWIG_fail;
4930 }
44127b65
RD
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
36ed4f51
RD
4938 {
4939 resultobj = SWIG_From_int((int)(result));
4940 }
44127b65
RD
4941 return resultobj;
4942 fail:
4943 return NULL;
4944}
4945
4946
c370783e 4947static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4948 PyObject *resultobj;
4949 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4950 size_t arg2 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self",(char *) "column", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail;
4960 {
4961 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4962 if (SWIG_arg_fail(2)) SWIG_fail;
4963 }
44127b65
RD
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 (arg1)->SetMainColumn(arg2);
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 Py_INCREF(Py_None); resultobj = Py_None;
4972 return resultobj;
4973 fail:
4974 return NULL;
4975}
4976
4977
c370783e 4978static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4979 PyObject *resultobj;
4980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4981 size_t result;
4982 PyObject * obj0 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
4988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
36ed4f51
RD
4997 {
4998 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4999 }
44127b65
RD
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
c370783e 5006static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5007 PyObject *resultobj;
5008 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5009 size_t arg2 ;
5010 wxString *arg3 = 0 ;
b411df4a 5011 bool temp3 = false ;
44127b65
RD
5012 PyObject * obj0 = 0 ;
5013 PyObject * obj1 = 0 ;
5014 PyObject * obj2 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "column",(char *) "text", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail;
5022 {
5023 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5024 if (SWIG_arg_fail(2)) SWIG_fail;
5025 }
44127b65
RD
5026 {
5027 arg3 = wxString_in_helper(obj2);
5028 if (arg3 == NULL) SWIG_fail;
b411df4a 5029 temp3 = true;
44127b65
RD
5030 }
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5034
5035 wxPyEndAllowThreads(__tstate);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 Py_INCREF(Py_None); resultobj = Py_None;
5039 {
5040 if (temp3)
5041 delete arg3;
5042 }
5043 return resultobj;
5044 fail:
5045 {
5046 if (temp3)
5047 delete arg3;
5048 }
5049 return NULL;
5050}
5051
5052
c370783e 5053static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5054 PyObject *resultobj;
5055 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5056 size_t arg2 ;
5057 wxString result;
5058 PyObject * obj0 = 0 ;
5059 PyObject * obj1 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self",(char *) "column", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail;
5067 {
5068 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5069 if (SWIG_arg_fail(2)) SWIG_fail;
5070 }
44127b65
RD
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 {
5079#if wxUSE_UNICODE
5080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5081#else
5082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5083#endif
5084 }
5085 return resultobj;
5086 fail:
5087 return NULL;
5088}
5089
5090
c370783e 5091static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5092 PyObject *resultobj;
5093 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5094 size_t arg2 ;
5095 wxTreeListColumnInfo *arg3 = 0 ;
5096 PyObject * obj0 = 0 ;
5097 PyObject * obj1 = 0 ;
5098 PyObject * obj2 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "column",(char *) "info", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail;
5106 {
5107 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5108 if (SWIG_arg_fail(2)) SWIG_fail;
5109 }
5110 {
5111 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5112 if (SWIG_arg_fail(3)) SWIG_fail;
5113 if (arg3 == NULL) {
5114 SWIG_null_ref("wxTreeListColumnInfo");
5115 }
5116 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
c370783e 5132static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5133 PyObject *resultobj;
5134 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5135 size_t arg2 ;
5136 wxTreeListColumnInfo *result;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "column", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5145 if (SWIG_arg_fail(1)) SWIG_fail;
5146 {
5147 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5148 if (SWIG_arg_fail(2)) SWIG_fail;
5149 }
44127b65
RD
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 {
5153 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5154 result = (wxTreeListColumnInfo *) &_result_ref;
5155 }
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
2f4c0a16 5160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
44127b65
RD
5161 return resultobj;
5162 fail:
5163 return NULL;
5164}
5165
5166
c370783e 5167static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5168 PyObject *resultobj;
5169 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5170 size_t arg2 ;
36ed4f51 5171 wxTreeListColumnAlign arg3 ;
44127b65
RD
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
8edf1c75 5174 PyObject * obj2 = 0 ;
44127b65
RD
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "column",(char *) "align", NULL
5177 };
5178
8edf1c75 5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
5182 {
5183 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5184 if (SWIG_arg_fail(2)) SWIG_fail;
5185 }
5186 {
5187 arg3 = (wxTreeListColumnAlign)(SWIG_As_int(obj2));
5188 if (SWIG_arg_fail(3)) SWIG_fail;
5189 }
44127b65
RD
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3);
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 return resultobj;
5199 fail:
5200 return NULL;
5201}
5202
5203
c370783e 5204static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5205 PyObject *resultobj;
5206 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5207 size_t arg2 ;
36ed4f51 5208 wxTreeListColumnAlign result;
44127b65
RD
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "column", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail;
5218 {
5219 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5220 if (SWIG_arg_fail(2)) SWIG_fail;
5221 }
44127b65
RD
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5224 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
44127b65
RD
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
36ed4f51 5229 resultobj = SWIG_From_int((result));
44127b65
RD
5230 return resultobj;
5231 fail:
5232 return NULL;
5233}
5234
5235
c370783e 5236static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5237 PyObject *resultobj;
5238 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5239 size_t arg2 ;
5240 int arg3 ;
5241 PyObject * obj0 = 0 ;
5242 PyObject * obj1 = 0 ;
8edf1c75 5243 PyObject * obj2 = 0 ;
44127b65
RD
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "column",(char *) "image", NULL
5246 };
5247
8edf1c75 5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail;
5251 {
5252 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5253 if (SWIG_arg_fail(2)) SWIG_fail;
5254 }
5255 {
5256 arg3 = (int)(SWIG_As_int(obj2));
5257 if (SWIG_arg_fail(3)) SWIG_fail;
5258 }
44127b65
RD
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 (arg1)->SetColumnImage(arg2,arg3);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 return resultobj;
5268 fail:
5269 return NULL;
5270}
5271
5272
c370783e 5273static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5274 PyObject *resultobj;
5275 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5276 size_t arg2 ;
5277 int result;
5278 PyObject * obj0 = 0 ;
5279 PyObject * obj1 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self",(char *) "column", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail;
5287 {
5288 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5289 if (SWIG_arg_fail(2)) SWIG_fail;
5290 }
44127b65
RD
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
36ed4f51
RD
5298 {
5299 resultobj = SWIG_From_int((int)(result));
5300 }
44127b65
RD
5301 return resultobj;
5302 fail:
5303 return NULL;
5304}
5305
5306
c370783e 5307static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
5308 PyObject *resultobj;
5309 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5310 size_t arg2 ;
5311 bool arg3 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 PyObject * obj2 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "column",(char *) "shown", NULL
5317 };
5318
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail;
5322 {
5323 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5324 if (SWIG_arg_fail(2)) SWIG_fail;
5325 }
5326 {
5327 arg3 = (bool)(SWIG_As_bool(obj2));
5328 if (SWIG_arg_fail(3)) SWIG_fail;
5329 }
0439c23b
RD
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 (arg1)->ShowColumn(arg2,arg3);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 Py_INCREF(Py_None); resultobj = Py_None;
5338 return resultobj;
5339 fail:
5340 return NULL;
5341}
5342
5343
c370783e 5344static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
5345 PyObject *resultobj;
5346 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5347 size_t arg2 ;
5348 bool result;
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 char *kwnames[] = {
5352 (char *) "self",(char *) "column", NULL
5353 };
5354
5355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5357 if (SWIG_arg_fail(1)) SWIG_fail;
5358 {
5359 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5360 if (SWIG_arg_fail(2)) SWIG_fail;
5361 }
0439c23b
RD
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5371 }
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
c370783e 5378static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5379 PyObject *resultobj;
5380 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5381 wxTreeItemId *arg2 = 0 ;
5382 int arg3 = (int) -1 ;
5383 wxString result;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
8edf1c75 5386 PyObject * obj2 = 0 ;
44127b65
RD
5387 char *kwnames[] = {
5388 (char *) "self",(char *) "item",(char *) "column", NULL
5389 };
5390
8edf1c75 5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail;
5394 {
5395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5396 if (SWIG_arg_fail(2)) SWIG_fail;
5397 if (arg2 == NULL) {
5398 SWIG_null_ref("wxTreeItemId");
5399 }
5400 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5401 }
8edf1c75 5402 if (obj2) {
36ed4f51
RD
5403 {
5404 arg3 = (int)(SWIG_As_int(obj2));
5405 if (SWIG_arg_fail(3)) SWIG_fail;
5406 }
8edf1c75 5407 }
44127b65
RD
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416#if wxUSE_UNICODE
5417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5418#else
5419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5420#endif
5421 }
5422 return resultobj;
5423 fail:
5424 return NULL;
5425}
5426
5427
c370783e 5428static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5429 PyObject *resultobj;
5430 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5431 wxTreeItemId *arg2 = 0 ;
5432 int arg3 = (int) -1 ;
36ed4f51 5433 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
8edf1c75
RD
5437 PyObject * obj2 = 0 ;
5438 PyObject * obj3 = 0 ;
44127b65
RD
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5441 };
5442
8edf1c75 5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail;
5446 {
5447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5448 if (SWIG_arg_fail(2)) SWIG_fail;
5449 if (arg2 == NULL) {
5450 SWIG_null_ref("wxTreeItemId");
5451 }
5452 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5453 }
8edf1c75 5454 if (obj2) {
36ed4f51
RD
5455 {
5456 arg3 = (int)(SWIG_As_int(obj2));
5457 if (SWIG_arg_fail(3)) SWIG_fail;
5458 }
8edf1c75
RD
5459 }
5460 if (obj3) {
36ed4f51
RD
5461 {
5462 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
5463 if (SWIG_arg_fail(4)) SWIG_fail;
5464 }
8edf1c75 5465 }
44127b65
RD
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
36ed4f51
RD
5473 {
5474 resultobj = SWIG_From_int((int)(result));
5475 }
44127b65
RD
5476 return resultobj;
5477 fail:
5478 return NULL;
5479}
5480
5481
c370783e 5482static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5483 PyObject *resultobj;
5484 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5485 wxTreeItemId *arg2 = 0 ;
5486 wxString *arg3 = 0 ;
5487 int arg4 = (int) -1 ;
b411df4a 5488 bool temp3 = false ;
44127b65
RD
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
8edf1c75 5492 PyObject * obj3 = 0 ;
44127b65
RD
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5495 };
5496
8edf1c75 5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
5500 {
5501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5502 if (SWIG_arg_fail(2)) SWIG_fail;
5503 if (arg2 == NULL) {
5504 SWIG_null_ref("wxTreeItemId");
5505 }
5506 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5507 }
5508 {
5509 arg3 = wxString_in_helper(obj2);
5510 if (arg3 == NULL) SWIG_fail;
b411df4a 5511 temp3 = true;
44127b65 5512 }
8edf1c75 5513 if (obj3) {
36ed4f51
RD
5514 {
5515 arg4 = (int)(SWIG_As_int(obj3));
5516 if (SWIG_arg_fail(4)) SWIG_fail;
5517 }
8edf1c75 5518 }
44127b65
RD
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 Py_INCREF(Py_None); resultobj = Py_None;
5527 {
5528 if (temp3)
5529 delete arg3;
5530 }
5531 return resultobj;
5532 fail:
5533 {
5534 if (temp3)
5535 delete arg3;
5536 }
5537 return NULL;
5538}
5539
5540
c370783e 5541static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5542 PyObject *resultobj;
5543 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5544 wxTreeItemId *arg2 = 0 ;
5545 int arg3 ;
5546 int arg4 = (int) -1 ;
36ed4f51 5547 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
8edf1c75
RD
5550 PyObject * obj2 = 0 ;
5551 PyObject * obj3 = 0 ;
5552 PyObject * obj4 = 0 ;
44127b65
RD
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5555 };
5556
8edf1c75 5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
5560 {
5561 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(2)) SWIG_fail;
5563 if (arg2 == NULL) {
5564 SWIG_null_ref("wxTreeItemId");
5565 }
5566 if (SWIG_arg_fail(2)) SWIG_fail;
5567 }
5568 {
5569 arg3 = (int)(SWIG_As_int(obj2));
5570 if (SWIG_arg_fail(3)) SWIG_fail;
5571 }
8edf1c75 5572 if (obj3) {
36ed4f51
RD
5573 {
5574 arg4 = (int)(SWIG_As_int(obj3));
5575 if (SWIG_arg_fail(4)) SWIG_fail;
5576 }
8edf1c75
RD
5577 }
5578 if (obj4) {
36ed4f51
RD
5579 {
5580 arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4));
5581 if (SWIG_arg_fail(5)) SWIG_fail;
5582 }
8edf1c75 5583 }
44127b65
RD
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5);
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 Py_INCREF(Py_None); resultobj = Py_None;
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
c370783e 5598static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5599 PyObject *resultobj;
5600 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5601 wxTreeItemId *arg2 = 0 ;
5602 wxPyTreeItemData *result;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "item", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail;
5612 {
5613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5614 if (SWIG_arg_fail(2)) SWIG_fail;
5615 if (arg2 == NULL) {
5616 SWIG_null_ref("wxTreeItemId");
5617 }
5618 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5619 }
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
2f4c0a16 5627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
44127b65
RD
5628 return resultobj;
5629 fail:
5630 return NULL;
5631}
5632
5633
c370783e 5634static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5635 PyObject *resultobj;
5636 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5637 wxTreeItemId *arg2 = 0 ;
5638 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
5639 PyObject * obj0 = 0 ;
5640 PyObject * obj1 = 0 ;
5641 PyObject * obj2 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "item",(char *) "data", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail;
5649 {
5650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5651 if (SWIG_arg_fail(2)) SWIG_fail;
5652 if (arg2 == NULL) {
5653 SWIG_null_ref("wxTreeItemId");
5654 }
5655 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5656 }
36ed4f51
RD
5657 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
5658 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670}
5671
5672
c370783e 5673static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5674 PyObject *resultobj;
5675 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5676 wxTreeItemId *arg2 = 0 ;
5677 PyObject *result;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "item", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail;
5687 {
5688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5689 if (SWIG_arg_fail(2)) SWIG_fail;
5690 if (arg2 == NULL) {
5691 SWIG_null_ref("wxTreeItemId");
5692 }
5693 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = result;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
c370783e 5709static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5710 PyObject *resultobj;
5711 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5712 wxTreeItemId *arg2 = 0 ;
5713 PyObject *arg3 = (PyObject *) 0 ;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 PyObject * obj2 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self",(char *) "item",(char *) "obj", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail;
5724 {
5725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5726 if (SWIG_arg_fail(2)) SWIG_fail;
5727 if (arg2 == NULL) {
5728 SWIG_null_ref("wxTreeItemId");
5729 }
5730 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5731 }
5732 arg3 = obj2;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
c370783e 5747static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5748 PyObject *resultobj;
5749 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5750 wxTreeItemId *arg2 = 0 ;
b411df4a 5751 bool arg3 = (bool) true ;
44127b65
RD
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "item",(char *) "has", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
5762 {
5763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5764 if (SWIG_arg_fail(2)) SWIG_fail;
5765 if (arg2 == NULL) {
5766 SWIG_null_ref("wxTreeItemId");
5767 }
5768 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5769 }
5770 if (obj2) {
36ed4f51
RD
5771 {
5772 arg3 = (bool)(SWIG_As_bool(obj2));
5773 if (SWIG_arg_fail(3)) SWIG_fail;
5774 }
44127b65
RD
5775 }
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 Py_INCREF(Py_None); resultobj = Py_None;
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
c370783e 5790static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5791 PyObject *resultobj;
5792 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5793 wxTreeItemId *arg2 = 0 ;
b411df4a 5794 bool arg3 = (bool) true ;
44127b65
RD
5795 PyObject * obj0 = 0 ;
5796 PyObject * obj1 = 0 ;
5797 PyObject * obj2 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self",(char *) "item",(char *) "bold", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail;
5805 {
5806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5807 if (SWIG_arg_fail(2)) SWIG_fail;
5808 if (arg2 == NULL) {
5809 SWIG_null_ref("wxTreeItemId");
5810 }
5811 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5812 }
5813 if (obj2) {
36ed4f51
RD
5814 {
5815 arg3 = (bool)(SWIG_As_bool(obj2));
5816 if (SWIG_arg_fail(3)) SWIG_fail;
5817 }
44127b65
RD
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
c370783e 5833static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5834 PyObject *resultobj;
5835 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5836 wxTreeItemId *arg2 = 0 ;
5837 wxColour *arg3 = 0 ;
5838 wxColour temp3 ;
5839 PyObject * obj0 = 0 ;
5840 PyObject * obj1 = 0 ;
5841 PyObject * obj2 = 0 ;
5842 char *kwnames[] = {
0439c23b 5843 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5848 if (SWIG_arg_fail(1)) SWIG_fail;
5849 {
5850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5851 if (SWIG_arg_fail(2)) SWIG_fail;
5852 if (arg2 == NULL) {
5853 SWIG_null_ref("wxTreeItemId");
5854 }
5855 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5856 }
5857 {
5858 arg3 = &temp3;
5859 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5860 }
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 Py_INCREF(Py_None); resultobj = Py_None;
5869 return resultobj;
5870 fail:
5871 return NULL;
5872}
5873
5874
c370783e 5875static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5876 PyObject *resultobj;
5877 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5878 wxTreeItemId *arg2 = 0 ;
5879 wxColour *arg3 = 0 ;
5880 wxColour temp3 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 PyObject * obj2 = 0 ;
5884 char *kwnames[] = {
0439c23b 5885 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail;
5891 {
5892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5893 if (SWIG_arg_fail(2)) SWIG_fail;
5894 if (arg2 == NULL) {
5895 SWIG_null_ref("wxTreeItemId");
5896 }
5897 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5898 }
5899 {
5900 arg3 = &temp3;
5901 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5902 }
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 Py_INCREF(Py_None); resultobj = Py_None;
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
c370783e 5917static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5918 PyObject *resultobj;
5919 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5920 wxTreeItemId *arg2 = 0 ;
5921 wxFont *arg3 = 0 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 PyObject * obj2 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self",(char *) "item",(char *) "font", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5931 if (SWIG_arg_fail(1)) SWIG_fail;
5932 {
5933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5934 if (SWIG_arg_fail(2)) SWIG_fail;
5935 if (arg2 == NULL) {
5936 SWIG_null_ref("wxTreeItemId");
5937 }
5938 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5939 }
36ed4f51
RD
5940 {
5941 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
5942 if (SWIG_arg_fail(3)) SWIG_fail;
5943 if (arg3 == NULL) {
5944 SWIG_null_ref("wxFont");
5945 }
5946 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 Py_INCREF(Py_None); resultobj = Py_None;
5956 return resultobj;
5957 fail:
5958 return NULL;
5959}
5960
5961
c370783e 5962static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5963 PyObject *resultobj;
5964 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5965 wxTreeItemId *arg2 = 0 ;
5966 bool result;
5967 PyObject * obj0 = 0 ;
5968 PyObject * obj1 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self",(char *) "item", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail;
5976 {
5977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5978 if (SWIG_arg_fail(2)) SWIG_fail;
5979 if (arg2 == NULL) {
5980 SWIG_null_ref("wxTreeItemId");
5981 }
5982 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5983 }
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
fbc46b20
RD
5991 {
5992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5993 }
44127b65
RD
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
c370783e 6000static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6001 PyObject *resultobj;
6002 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6003 wxTreeItemId *arg2 = 0 ;
6004 wxColour result;
6005 PyObject * obj0 = 0 ;
6006 PyObject * obj1 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "item", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail;
6014 {
6015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6016 if (SWIG_arg_fail(2)) SWIG_fail;
6017 if (arg2 == NULL) {
6018 SWIG_null_ref("wxTreeItemId");
6019 }
6020 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030 wxColour * resultptr;
36ed4f51 6031 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6033 }
6034 return resultobj;
6035 fail:
6036 return NULL;
6037}
6038
6039
c370783e 6040static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6041 PyObject *resultobj;
6042 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6043 wxTreeItemId *arg2 = 0 ;
6044 wxColour result;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self",(char *) "item", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail;
6054 {
6055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6056 if (SWIG_arg_fail(2)) SWIG_fail;
6057 if (arg2 == NULL) {
6058 SWIG_null_ref("wxTreeItemId");
6059 }
6060 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 {
6070 wxColour * resultptr;
36ed4f51 6071 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6073 }
6074 return resultobj;
6075 fail:
6076 return NULL;
6077}
6078
6079
c370783e 6080static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6081 PyObject *resultobj;
6082 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6083 wxTreeItemId *arg2 = 0 ;
6084 wxFont result;
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_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6093 if (SWIG_arg_fail(1)) SWIG_fail;
6094 {
6095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6096 if (SWIG_arg_fail(2)) SWIG_fail;
6097 if (arg2 == NULL) {
6098 SWIG_null_ref("wxTreeItemId");
6099 }
6100 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6101 }
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 wxFont * resultptr;
36ed4f51 6111 resultptr = new wxFont((wxFont &)(result));
2f4c0a16 6112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
44127b65
RD
6113 }
6114 return resultobj;
6115 fail:
6116 return NULL;
6117}
6118
6119
c370783e 6120static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6121 PyObject *resultobj;
6122 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6123 wxTreeItemId *arg2 = 0 ;
6124 bool result;
6125 PyObject * obj0 = 0 ;
6126 PyObject * obj1 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self",(char *) "item", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6133 if (SWIG_arg_fail(1)) SWIG_fail;
6134 {
6135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6136 if (SWIG_arg_fail(2)) SWIG_fail;
6137 if (arg2 == NULL) {
6138 SWIG_null_ref("wxTreeItemId");
6139 }
6140 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6141 }
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
fbc46b20
RD
6149 {
6150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6151 }
44127b65
RD
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
c370783e 6158static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6159 PyObject *resultobj;
6160 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6161 wxTreeItemId *arg2 = 0 ;
6162 bool result;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "item", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6171 if (SWIG_arg_fail(1)) SWIG_fail;
6172 {
6173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6174 if (SWIG_arg_fail(2)) SWIG_fail;
6175 if (arg2 == NULL) {
6176 SWIG_null_ref("wxTreeItemId");
6177 }
6178 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6179 }
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
fbc46b20
RD
6187 {
6188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6189 }
44127b65
RD
6190 return resultobj;
6191 fail:
6192 return NULL;
6193}
6194
6195
c370783e 6196static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6197 PyObject *resultobj;
6198 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6199 wxTreeItemId *arg2 = 0 ;
6200 bool result;
6201 PyObject * obj0 = 0 ;
6202 PyObject * obj1 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self",(char *) "item", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail;
6210 {
6211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6212 if (SWIG_arg_fail(2)) SWIG_fail;
6213 if (arg2 == NULL) {
6214 SWIG_null_ref("wxTreeItemId");
6215 }
6216 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
fbc46b20
RD
6225 {
6226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6227 }
44127b65
RD
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
c370783e 6234static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6235 PyObject *resultobj;
6236 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6237 wxTreeItemId *arg2 = 0 ;
6238 bool result;
6239 PyObject * obj0 = 0 ;
6240 PyObject * obj1 = 0 ;
6241 char *kwnames[] = {
6242 (char *) "self",(char *) "item", NULL
6243 };
6244
6245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail;
6248 {
6249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6250 if (SWIG_arg_fail(2)) SWIG_fail;
6251 if (arg2 == NULL) {
6252 SWIG_null_ref("wxTreeItemId");
6253 }
6254 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
fbc46b20
RD
6263 {
6264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6265 }
44127b65
RD
6266 return resultobj;
6267 fail:
6268 return NULL;
6269}
6270
6271
c370783e 6272static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6273 PyObject *resultobj;
6274 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6275 wxTreeItemId *arg2 = 0 ;
6276 bool result;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "item", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail;
6286 {
6287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(2)) SWIG_fail;
6289 if (arg2 == NULL) {
6290 SWIG_null_ref("wxTreeItemId");
6291 }
6292 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6293 }
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
fbc46b20
RD
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
44127b65
RD
6304 return resultobj;
6305 fail:
6306 return NULL;
6307}
6308
6309
c370783e 6310static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6311 PyObject *resultobj;
6312 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6313 wxTreeItemId *arg2 = 0 ;
b411df4a 6314 bool arg3 = (bool) true ;
44127b65
RD
6315 size_t result;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 PyObject * obj2 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "item",(char *) "recursively", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail;
6326 {
6327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6328 if (SWIG_arg_fail(2)) SWIG_fail;
6329 if (arg2 == NULL) {
6330 SWIG_null_ref("wxTreeItemId");
6331 }
6332 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6333 }
6334 if (obj2) {
36ed4f51
RD
6335 {
6336 arg3 = (bool)(SWIG_As_bool(obj2));
6337 if (SWIG_arg_fail(3)) SWIG_fail;
6338 }
44127b65
RD
6339 }
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
36ed4f51
RD
6347 {
6348 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
6349 }
44127b65
RD
6350 return resultobj;
6351 fail:
6352 return NULL;
6353}
6354
6355
c370783e 6356static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6357 PyObject *resultobj;
6358 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6359 wxTreeItemId result;
6360 PyObject * obj0 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
6366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6367 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 {
6376 wxTreeItemId * resultptr;
36ed4f51 6377 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6379 }
6380 return resultobj;
6381 fail:
6382 return NULL;
6383}
6384
6385
c370783e 6386static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6387 PyObject *resultobj;
6388 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6389 wxTreeItemId result;
6390 PyObject * obj0 = 0 ;
6391 char *kwnames[] = {
6392 (char *) "self", NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
6396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6397 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 {
6406 wxTreeItemId * resultptr;
36ed4f51 6407 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6409 }
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
c370783e 6416static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6417 PyObject *resultobj;
6418 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6419 PyObject *result;
6420 PyObject * obj0 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
6426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 resultobj = result;
6436 return resultobj;
6437 fail:
6438 return NULL;
6439}
6440
6441
c370783e 6442static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6443 PyObject *resultobj;
6444 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6445 wxTreeItemId *arg2 = 0 ;
6446 wxTreeItemId result;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self",(char *) "item", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail;
6456 {
6457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(2)) SWIG_fail;
6459 if (arg2 == NULL) {
6460 SWIG_null_ref("wxTreeItemId");
6461 }
6462 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 6466 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
44127b65
RD
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 wxTreeItemId * resultptr;
36ed4f51 6473 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6475 }
6476 return resultobj;
6477 fail:
6478 return NULL;
6479}
6480
6481
c370783e 6482static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6483 PyObject *resultobj;
6484 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6485 wxTreeItemId *arg2 = 0 ;
6486 PyObject *result;
6487 PyObject * obj0 = 0 ;
6488 PyObject * obj1 = 0 ;
6489 char *kwnames[] = {
6490 (char *) "self",(char *) "item", NULL
6491 };
6492
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail;
6496 {
6497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6498 if (SWIG_arg_fail(2)) SWIG_fail;
6499 if (arg2 == NULL) {
6500 SWIG_null_ref("wxTreeItemId");
6501 }
6502 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6503 }
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = result;
6512 return resultobj;
6513 fail:
6514 return NULL;
6515}
6516
6517
c370783e 6518static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6519 PyObject *resultobj;
6520 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6521 wxTreeItemId *arg2 = 0 ;
0439c23b 6522 void *arg3 = (void *) 0 ;
44127b65
RD
6523 PyObject *result;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
8edf1c75 6526 PyObject * obj2 = 0 ;
44127b65
RD
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "item",(char *) "cookie", NULL
6529 };
6530
8edf1c75 6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail;
6534 {
6535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6536 if (SWIG_arg_fail(2)) SWIG_fail;
6537 if (arg2 == NULL) {
6538 SWIG_null_ref("wxTreeItemId");
6539 }
6540 if (SWIG_arg_fail(2)) SWIG_fail;
6541 }
6542 {
6543 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6544 SWIG_arg_fail(3);SWIG_fail;
6545 }
8edf1c75 6546 }
44127b65
RD
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = result;
6555 return resultobj;
6556 fail:
6557 return NULL;
6558}
6559
6560
c370783e 6561static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6562 PyObject *resultobj;
6563 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6564 wxTreeItemId *arg2 = 0 ;
6565 wxTreeItemId result;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "item", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail;
6575 {
6576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6577 if (SWIG_arg_fail(2)) SWIG_fail;
6578 if (arg2 == NULL) {
6579 SWIG_null_ref("wxTreeItemId");
6580 }
6581 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 {
6591 wxTreeItemId * resultptr;
36ed4f51 6592 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6594 }
6595 return resultobj;
6596 fail:
6597 return NULL;
6598}
6599
6600
c370783e 6601static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6602 PyObject *resultobj;
6603 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6604 wxTreeItemId *arg2 = 0 ;
6605 wxTreeItemId result;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "item", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail;
6615 {
6616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6617 if (SWIG_arg_fail(2)) SWIG_fail;
6618 if (arg2 == NULL) {
6619 SWIG_null_ref("wxTreeItemId");
6620 }
6621 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 wxTreeItemId * resultptr;
36ed4f51 6632 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6634 }
6635 return resultobj;
6636 fail:
6637 return NULL;
6638}
6639
6640
c370783e 6641static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6642 PyObject *resultobj;
6643 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6644 wxTreeItemId *arg2 = 0 ;
6645 wxTreeItemId result;
6646 PyObject * obj0 = 0 ;
6647 PyObject * obj1 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "self",(char *) "item", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6654 if (SWIG_arg_fail(1)) SWIG_fail;
6655 {
6656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(2)) SWIG_fail;
6658 if (arg2 == NULL) {
6659 SWIG_null_ref("wxTreeItemId");
6660 }
6661 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 wxTreeItemId * resultptr;
36ed4f51 6672 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6674 }
6675 return resultobj;
6676 fail:
6677 return NULL;
6678}
6679
6680
c370783e 6681static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6682 PyObject *resultobj;
6683 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6684 wxTreeItemId result;
6685 PyObject * obj0 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
6691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 wxTreeItemId * resultptr;
36ed4f51 6702 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6704 }
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
c370783e 6711static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6712 PyObject *resultobj;
6713 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6714 wxTreeItemId *arg2 = 0 ;
6715 wxTreeItemId result;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "item", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6724 if (SWIG_arg_fail(1)) SWIG_fail;
6725 {
6726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6727 if (SWIG_arg_fail(2)) SWIG_fail;
6728 if (arg2 == NULL) {
6729 SWIG_null_ref("wxTreeItemId");
6730 }
6731 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6732 }
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 {
6741 wxTreeItemId * resultptr;
36ed4f51 6742 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6744 }
6745 return resultobj;
6746 fail:
6747 return NULL;
6748}
6749
6750
c370783e 6751static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6752 PyObject *resultobj;
6753 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6754 wxTreeItemId *arg2 = 0 ;
6755 wxTreeItemId result;
6756 PyObject * obj0 = 0 ;
6757 PyObject * obj1 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self",(char *) "item", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail;
6765 {
6766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6767 if (SWIG_arg_fail(2)) SWIG_fail;
6768 if (arg2 == NULL) {
6769 SWIG_null_ref("wxTreeItemId");
6770 }
6771 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 {
6781 wxTreeItemId * resultptr;
36ed4f51 6782 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6784 }
6785 return resultobj;
6786 fail:
6787 return NULL;
6788}
6789
6790
c370783e 6791static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6792 PyObject *resultobj;
6793 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6794 wxTreeItemId *arg2 = 0 ;
6795 wxTreeItemId result;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "item", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail;
6805 {
6806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6807 if (SWIG_arg_fail(2)) SWIG_fail;
6808 if (arg2 == NULL) {
6809 SWIG_null_ref("wxTreeItemId");
6810 }
6811 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6812 }
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821 wxTreeItemId * resultptr;
36ed4f51 6822 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6824 }
6825 return resultobj;
6826 fail:
6827 return NULL;
6828}
6829
6830
c370783e 6831static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6832 PyObject *resultobj;
6833 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6834 wxString *arg2 = 0 ;
6835 int arg3 = (int) -1 ;
6836 int arg4 = (int) -1 ;
6837 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
6838 wxTreeItemId result;
b411df4a 6839 bool temp2 = false ;
44127b65
RD
6840 PyObject * obj0 = 0 ;
6841 PyObject * obj1 = 0 ;
8edf1c75
RD
6842 PyObject * obj2 = 0 ;
6843 PyObject * obj3 = 0 ;
44127b65
RD
6844 PyObject * obj4 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6847 };
6848
8edf1c75 6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6851 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6852 {
6853 arg2 = wxString_in_helper(obj1);
6854 if (arg2 == NULL) SWIG_fail;
b411df4a 6855 temp2 = true;
44127b65 6856 }
8edf1c75 6857 if (obj2) {
36ed4f51
RD
6858 {
6859 arg3 = (int)(SWIG_As_int(obj2));
6860 if (SWIG_arg_fail(3)) SWIG_fail;
6861 }
8edf1c75
RD
6862 }
6863 if (obj3) {
36ed4f51
RD
6864 {
6865 arg4 = (int)(SWIG_As_int(obj3));
6866 if (SWIG_arg_fail(4)) SWIG_fail;
6867 }
8edf1c75 6868 }
44127b65 6869 if (obj4) {
36ed4f51
RD
6870 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6871 if (SWIG_arg_fail(5)) SWIG_fail;
44127b65
RD
6872 }
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 {
6881 wxTreeItemId * resultptr;
36ed4f51 6882 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6884 }
6885 {
6886 if (temp2)
6887 delete arg2;
6888 }
6889 return resultobj;
6890 fail:
6891 {
6892 if (temp2)
6893 delete arg2;
6894 }
6895 return NULL;
6896}
6897
6898
c370783e 6899static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6900 PyObject *resultobj;
6901 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6902 wxTreeItemId *arg2 = 0 ;
6903 wxString *arg3 = 0 ;
6904 int arg4 = (int) -1 ;
6905 int arg5 = (int) -1 ;
6906 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
6907 wxTreeItemId result;
b411df4a 6908 bool temp3 = false ;
44127b65
RD
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 PyObject * obj2 = 0 ;
8edf1c75
RD
6912 PyObject * obj3 = 0 ;
6913 PyObject * obj4 = 0 ;
44127b65
RD
6914 PyObject * obj5 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6917 };
6918
8edf1c75 6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6921 if (SWIG_arg_fail(1)) SWIG_fail;
6922 {
6923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6924 if (SWIG_arg_fail(2)) SWIG_fail;
6925 if (arg2 == NULL) {
6926 SWIG_null_ref("wxTreeItemId");
6927 }
6928 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6929 }
6930 {
6931 arg3 = wxString_in_helper(obj2);
6932 if (arg3 == NULL) SWIG_fail;
b411df4a 6933 temp3 = true;
44127b65 6934 }
8edf1c75 6935 if (obj3) {
36ed4f51
RD
6936 {
6937 arg4 = (int)(SWIG_As_int(obj3));
6938 if (SWIG_arg_fail(4)) SWIG_fail;
6939 }
8edf1c75
RD
6940 }
6941 if (obj4) {
36ed4f51
RD
6942 {
6943 arg5 = (int)(SWIG_As_int(obj4));
6944 if (SWIG_arg_fail(5)) SWIG_fail;
6945 }
8edf1c75 6946 }
44127b65 6947 if (obj5) {
36ed4f51
RD
6948 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6949 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
6950 }
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 {
6959 wxTreeItemId * resultptr;
36ed4f51 6960 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6962 }
6963 {
6964 if (temp3)
6965 delete arg3;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp3)
6971 delete arg3;
6972 }
6973 return NULL;
6974}
6975
6976
c370783e 6977static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6978 PyObject *resultobj;
6979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6980 wxTreeItemId *arg2 = 0 ;
6981 wxTreeItemId *arg3 = 0 ;
6982 wxString *arg4 = 0 ;
6983 int arg5 = (int) -1 ;
6984 int arg6 = (int) -1 ;
6985 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
6986 wxTreeItemId result;
b411df4a 6987 bool temp4 = false ;
44127b65
RD
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 PyObject * obj3 = 0 ;
8edf1c75
RD
6992 PyObject * obj4 = 0 ;
6993 PyObject * obj5 = 0 ;
44127b65
RD
6994 PyObject * obj6 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6997 };
6998
8edf1c75 6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7001 if (SWIG_arg_fail(1)) SWIG_fail;
7002 {
7003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail;
7005 if (arg2 == NULL) {
7006 SWIG_null_ref("wxTreeItemId");
7007 }
7008 if (SWIG_arg_fail(2)) SWIG_fail;
7009 }
7010 {
7011 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7012 if (SWIG_arg_fail(3)) SWIG_fail;
7013 if (arg3 == NULL) {
7014 SWIG_null_ref("wxTreeItemId");
7015 }
7016 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
7017 }
7018 {
7019 arg4 = wxString_in_helper(obj3);
7020 if (arg4 == NULL) SWIG_fail;
b411df4a 7021 temp4 = true;
44127b65 7022 }
8edf1c75 7023 if (obj4) {
36ed4f51
RD
7024 {
7025 arg5 = (int)(SWIG_As_int(obj4));
7026 if (SWIG_arg_fail(5)) SWIG_fail;
7027 }
8edf1c75
RD
7028 }
7029 if (obj5) {
36ed4f51
RD
7030 {
7031 arg6 = (int)(SWIG_As_int(obj5));
7032 if (SWIG_arg_fail(6)) SWIG_fail;
7033 }
8edf1c75 7034 }
44127b65 7035 if (obj6) {
36ed4f51
RD
7036 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7037 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7038 }
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 wxTreeItemId * resultptr;
36ed4f51 7048 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7050 }
7051 {
7052 if (temp4)
7053 delete arg4;
7054 }
7055 return resultobj;
7056 fail:
7057 {
7058 if (temp4)
7059 delete arg4;
7060 }
7061 return NULL;
7062}
7063
7064
c370783e 7065static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7066 PyObject *resultobj;
7067 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7068 wxTreeItemId *arg2 = 0 ;
7069 size_t arg3 ;
7070 wxString *arg4 = 0 ;
7071 int arg5 = (int) -1 ;
7072 int arg6 = (int) -1 ;
7073 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7074 wxTreeItemId result;
b411df4a 7075 bool temp4 = false ;
44127b65
RD
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 PyObject * obj3 = 0 ;
8edf1c75
RD
7080 PyObject * obj4 = 0 ;
7081 PyObject * obj5 = 0 ;
44127b65
RD
7082 PyObject * obj6 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7085 };
7086
8edf1c75 7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7089 if (SWIG_arg_fail(1)) SWIG_fail;
7090 {
7091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7092 if (SWIG_arg_fail(2)) SWIG_fail;
7093 if (arg2 == NULL) {
7094 SWIG_null_ref("wxTreeItemId");
7095 }
7096 if (SWIG_arg_fail(2)) SWIG_fail;
7097 }
7098 {
7099 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
7100 if (SWIG_arg_fail(3)) SWIG_fail;
7101 }
44127b65
RD
7102 {
7103 arg4 = wxString_in_helper(obj3);
7104 if (arg4 == NULL) SWIG_fail;
b411df4a 7105 temp4 = true;
44127b65 7106 }
8edf1c75 7107 if (obj4) {
36ed4f51
RD
7108 {
7109 arg5 = (int)(SWIG_As_int(obj4));
7110 if (SWIG_arg_fail(5)) SWIG_fail;
7111 }
8edf1c75
RD
7112 }
7113 if (obj5) {
36ed4f51
RD
7114 {
7115 arg6 = (int)(SWIG_As_int(obj5));
7116 if (SWIG_arg_fail(6)) SWIG_fail;
7117 }
8edf1c75 7118 }
44127b65 7119 if (obj6) {
36ed4f51
RD
7120 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7121 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7122 }
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 {
7131 wxTreeItemId * resultptr;
36ed4f51 7132 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7134 }
7135 {
7136 if (temp4)
7137 delete arg4;
7138 }
7139 return resultobj;
7140 fail:
7141 {
7142 if (temp4)
7143 delete arg4;
7144 }
7145 return NULL;
7146}
7147
7148
c370783e 7149static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7150 PyObject *resultobj;
7151 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7152 wxTreeItemId *arg2 = 0 ;
7153 wxString *arg3 = 0 ;
7154 int arg4 = (int) -1 ;
7155 int arg5 = (int) -1 ;
7156 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7157 wxTreeItemId result;
b411df4a 7158 bool temp3 = false ;
44127b65
RD
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
8edf1c75
RD
7162 PyObject * obj3 = 0 ;
7163 PyObject * obj4 = 0 ;
44127b65
RD
7164 PyObject * obj5 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7167 };
7168
8edf1c75 7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail;
7172 {
7173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(2)) SWIG_fail;
7175 if (arg2 == NULL) {
7176 SWIG_null_ref("wxTreeItemId");
7177 }
7178 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7179 }
7180 {
7181 arg3 = wxString_in_helper(obj2);
7182 if (arg3 == NULL) SWIG_fail;
b411df4a 7183 temp3 = true;
44127b65 7184 }
8edf1c75 7185 if (obj3) {
36ed4f51
RD
7186 {
7187 arg4 = (int)(SWIG_As_int(obj3));
7188 if (SWIG_arg_fail(4)) SWIG_fail;
7189 }
8edf1c75
RD
7190 }
7191 if (obj4) {
36ed4f51
RD
7192 {
7193 arg5 = (int)(SWIG_As_int(obj4));
7194 if (SWIG_arg_fail(5)) SWIG_fail;
7195 }
8edf1c75 7196 }
44127b65 7197 if (obj5) {
36ed4f51
RD
7198 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7199 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209 wxTreeItemId * resultptr;
36ed4f51 7210 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7212 }
7213 {
7214 if (temp3)
7215 delete arg3;
7216 }
7217 return resultobj;
7218 fail:
7219 {
7220 if (temp3)
7221 delete arg3;
7222 }
7223 return NULL;
7224}
7225
7226
c370783e 7227static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7228 PyObject *resultobj;
7229 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7230 wxTreeItemId *arg2 = 0 ;
7231 PyObject * obj0 = 0 ;
7232 PyObject * obj1 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self",(char *) "item", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7239 if (SWIG_arg_fail(1)) SWIG_fail;
7240 {
7241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7242 if (SWIG_arg_fail(2)) SWIG_fail;
7243 if (arg2 == NULL) {
7244 SWIG_null_ref("wxTreeItemId");
7245 }
7246 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7247 }
7248 {
7249 PyThreadState* __tstate = wxPyBeginAllowThreads();
7250 (arg1)->Delete((wxTreeItemId const &)*arg2);
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 Py_INCREF(Py_None); resultobj = Py_None;
7256 return resultobj;
7257 fail:
7258 return NULL;
7259}
7260
7261
c370783e 7262static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7263 PyObject *resultobj;
7264 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7265 wxTreeItemId *arg2 = 0 ;
7266 PyObject * obj0 = 0 ;
7267 PyObject * obj1 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "item", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail;
7275 {
7276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7277 if (SWIG_arg_fail(2)) SWIG_fail;
7278 if (arg2 == NULL) {
7279 SWIG_null_ref("wxTreeItemId");
7280 }
7281 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
c370783e 7297static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7298 PyObject *resultobj;
7299 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
7306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7307 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->DeleteAllItems();
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
c370783e 7322static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7323 PyObject *resultobj;
7324 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7325 wxTreeItemId *arg2 = 0 ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "self",(char *) "item", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7334 if (SWIG_arg_fail(1)) SWIG_fail;
7335 {
7336 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7337 if (SWIG_arg_fail(2)) SWIG_fail;
7338 if (arg2 == NULL) {
7339 SWIG_null_ref("wxTreeItemId");
7340 }
7341 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7342 }
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->Expand((wxTreeItemId const &)*arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354}
7355
7356
c370783e 7357static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7358 PyObject *resultobj;
7359 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7360 wxTreeItemId *arg2 = 0 ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "item", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail;
7370 {
7371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7372 if (SWIG_arg_fail(2)) SWIG_fail;
7373 if (arg2 == NULL) {
7374 SWIG_null_ref("wxTreeItemId");
7375 }
7376 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 return resultobj;
7387 fail:
7388 return NULL;
7389}
7390
7391
c370783e 7392static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7393 PyObject *resultobj;
7394 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7395 wxTreeItemId *arg2 = 0 ;
7396 PyObject * obj0 = 0 ;
7397 PyObject * obj1 = 0 ;
7398 char *kwnames[] = {
7399 (char *) "self",(char *) "item", NULL
7400 };
7401
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail;
7405 {
7406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7407 if (SWIG_arg_fail(2)) SWIG_fail;
7408 if (arg2 == NULL) {
7409 SWIG_null_ref("wxTreeItemId");
7410 }
7411 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7412 }
7413 {
7414 PyThreadState* __tstate = wxPyBeginAllowThreads();
7415 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7416
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
7420 Py_INCREF(Py_None); resultobj = Py_None;
7421 return resultobj;
7422 fail:
7423 return NULL;
7424}
7425
7426
c370783e 7427static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7428 PyObject *resultobj;
7429 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7430 wxTreeItemId *arg2 = 0 ;
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self",(char *) "item", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail;
7440 {
7441 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7442 if (SWIG_arg_fail(2)) SWIG_fail;
7443 if (arg2 == NULL) {
7444 SWIG_null_ref("wxTreeItemId");
7445 }
7446 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459}
7460
7461
c370783e 7462static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7463 PyObject *resultobj;
7464 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7465 wxTreeItemId *arg2 = 0 ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "item", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail;
7475 {
7476 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(2)) SWIG_fail;
7478 if (arg2 == NULL) {
7479 SWIG_null_ref("wxTreeItemId");
7480 }
7481 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7482 }
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 Py_INCREF(Py_None); resultobj = Py_None;
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
c370783e 7497static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7498 PyObject *resultobj;
7499 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
7506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 (arg1)->Unselect();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
c370783e 7522static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7523 PyObject *resultobj;
7524 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 (arg1)->UnselectAll();
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 Py_INCREF(Py_None); resultobj = Py_None;
7541 return resultobj;
7542 fail:
7543 return NULL;
7544}
7545
7546
c370783e 7547static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7548 PyObject *resultobj;
7549 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7550 wxTreeItemId *arg2 = 0 ;
b411df4a
RD
7551 bool arg3 = (bool) true ;
7552 bool arg4 = (bool) false ;
44127b65
RD
7553 PyObject * obj0 = 0 ;
7554 PyObject * obj1 = 0 ;
7555 PyObject * obj2 = 0 ;
7556 PyObject * obj3 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail;
7564 {
7565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7566 if (SWIG_arg_fail(2)) SWIG_fail;
7567 if (arg2 == NULL) {
7568 SWIG_null_ref("wxTreeItemId");
7569 }
7570 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7571 }
7572 if (obj2) {
36ed4f51
RD
7573 {
7574 arg3 = (bool)(SWIG_As_bool(obj2));
7575 if (SWIG_arg_fail(3)) SWIG_fail;
7576 }
44127b65
RD
7577 }
7578 if (obj3) {
36ed4f51
RD
7579 {
7580 arg4 = (bool)(SWIG_As_bool(obj3));
7581 if (SWIG_arg_fail(4)) SWIG_fail;
7582 }
44127b65
RD
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 Py_INCREF(Py_None); resultobj = Py_None;
7592 return resultobj;
7593 fail:
7594 return NULL;
7595}
7596
7597
c370783e 7598static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
7599 PyObject *resultobj;
7600 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
b411df4a 7601 bool arg2 = (bool) false ;
0439c23b
RD
7602 PyObject * obj0 = 0 ;
7603 PyObject * obj1 = 0 ;
7604 char *kwnames[] = {
7605 (char *) "self",(char *) "extended_select", NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7610 if (SWIG_arg_fail(1)) SWIG_fail;
0439c23b 7611 if (obj1) {
36ed4f51
RD
7612 {
7613 arg2 = (bool)(SWIG_As_bool(obj1));
7614 if (SWIG_arg_fail(2)) SWIG_fail;
7615 }
0439c23b
RD
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SelectAll(arg2);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628}
7629
7630
c370783e 7631static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7632 PyObject *resultobj;
7633 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7634 wxTreeItemId *arg2 = 0 ;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self",(char *) "item", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7643 if (SWIG_arg_fail(1)) SWIG_fail;
7644 {
7645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7646 if (SWIG_arg_fail(2)) SWIG_fail;
7647 if (arg2 == NULL) {
7648 SWIG_null_ref("wxTreeItemId");
7649 }
7650 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
c370783e 7666static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7667 PyObject *resultobj;
7668 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7669 wxTreeItemId *arg2 = 0 ;
7670 PyObject * obj0 = 0 ;
7671 PyObject * obj1 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "item", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail;
7679 {
7680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7681 if (SWIG_arg_fail(2)) SWIG_fail;
7682 if (arg2 == NULL) {
7683 SWIG_null_ref("wxTreeItemId");
7684 }
7685 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7686 }
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 return resultobj;
7696 fail:
7697 return NULL;
7698}
7699
7700
c370783e 7701static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7702 PyObject *resultobj;
7703 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7704 wxPoint *arg2 = 0 ;
7705 int *arg3 = 0 ;
7706 int *arg4 = 0 ;
7707 wxTreeItemId result;
7708 wxPoint temp2 ;
7709 int temp3 ;
c370783e 7710 int res3 = 0 ;
44127b65 7711 int temp4 ;
c370783e 7712 int res4 = 0 ;
44127b65
RD
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "point", NULL
7717 };
7718
c370783e
RD
7719 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7720 arg4 = &temp4; res4 = SWIG_NEWOBJ;
44127b65 7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7724 {
7725 arg2 = &temp2;
7726 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 {
7736 wxTreeItemId * resultptr;
36ed4f51 7737 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65 7739 }
c370783e
RD
7740 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7741 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
7742 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
7743 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
7744 return resultobj;
7745 fail:
7746 return NULL;
7747}
7748
7749
c370783e 7750static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7751 PyObject *resultobj;
7752 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7753 wxTreeItemId *arg2 = 0 ;
b411df4a 7754 bool arg3 = (bool) false ;
44127b65
RD
7755 PyObject *result;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 PyObject * obj2 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self",(char *) "item",(char *) "textOnly", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail;
7766 {
7767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7768 if (SWIG_arg_fail(2)) SWIG_fail;
7769 if (arg2 == NULL) {
7770 SWIG_null_ref("wxTreeItemId");
7771 }
7772 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7773 }
7774 if (obj2) {
36ed4f51
RD
7775 {
7776 arg3 = (bool)(SWIG_As_bool(obj2));
7777 if (SWIG_arg_fail(3)) SWIG_fail;
7778 }
44127b65
RD
7779 }
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 resultobj = result;
7788 return resultobj;
7789 fail:
7790 return NULL;
7791}
7792
7793
c370783e 7794static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7795 PyObject *resultobj;
7796 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7797 wxTreeItemId *arg2 = 0 ;
7798 PyObject * obj0 = 0 ;
7799 PyObject * obj1 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self",(char *) "item", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
7807 {
7808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7809 if (SWIG_arg_fail(2)) SWIG_fail;
7810 if (arg2 == NULL) {
7811 SWIG_null_ref("wxTreeItemId");
7812 }
7813 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 Py_INCREF(Py_None); resultobj = Py_None;
7823 return resultobj;
7824 fail:
7825 return NULL;
7826}
7827
7828
c370783e 7829static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7830 PyObject *resultobj;
7831 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7832 wxTreeItemId *arg2 = 0 ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "item", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7841 if (SWIG_arg_fail(1)) SWIG_fail;
7842 {
7843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7844 if (SWIG_arg_fail(2)) SWIG_fail;
7845 if (arg2 == NULL) {
7846 SWIG_null_ref("wxTreeItemId");
7847 }
7848 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7849 }
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->Edit((wxTreeItemId const &)*arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c370783e 7864static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7865 PyObject *resultobj;
7866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7867 wxTreeItemId *arg2 = 0 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "item", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail;
7877 {
7878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7879 if (SWIG_arg_fail(2)) SWIG_fail;
7880 if (arg2 == NULL) {
7881 SWIG_null_ref("wxTreeItemId");
7882 }
7883 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896}
7897
7898
c370783e 7899static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7900 PyObject *resultobj;
7901 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7902 wxTreeItemId *arg2 = 0 ;
0439c23b
RD
7903 wxString *arg3 = 0 ;
7904 int arg4 = (int) 0 ;
7905 wxTreeItemId result;
b411df4a 7906 bool temp3 = false ;
44127b65
RD
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
0439c23b
RD
7909 PyObject * obj2 = 0 ;
7910 PyObject * obj3 = 0 ;
44127b65 7911 char *kwnames[] = {
0439c23b 7912 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
44127b65
RD
7913 };
7914
0439c23b 7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail;
7918 {
7919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(2)) SWIG_fail;
7921 if (arg2 == NULL) {
7922 SWIG_null_ref("wxTreeItemId");
7923 }
7924 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7925 }
7926 {
0439c23b
RD
7927 arg3 = wxString_in_helper(obj2);
7928 if (arg3 == NULL) SWIG_fail;
b411df4a 7929 temp3 = true;
44127b65 7930 }
0439c23b 7931 if (obj3) {
36ed4f51
RD
7932 {
7933 arg4 = (int)(SWIG_As_int(obj3));
7934 if (SWIG_arg_fail(4)) SWIG_fail;
7935 }
8edf1c75 7936 }
44127b65
RD
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 7939 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
44127b65
RD
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
0439c23b
RD
7944 {
7945 wxTreeItemId * resultptr;
36ed4f51 7946 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
0439c23b
RD
7947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7948 }
7949 {
7950 if (temp3)
7951 delete arg3;
7952 }
44127b65
RD
7953 return resultobj;
7954 fail:
0439c23b
RD
7955 {
7956 if (temp3)
7957 delete arg3;
7958 }
44127b65
RD
7959 return NULL;
7960}
7961
7962
c370783e 7963static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7964 PyObject *resultobj;
7965 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7966 wxWindow *result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
7973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
412d302d 7983 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
7984 }
7985 return resultobj;
7986 fail:
7987 return NULL;
7988}
7989
7990
c370783e 7991static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7992 PyObject *resultobj;
7993 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
412d302d 7994 wxScrolledWindow *result;
44127b65
RD
7995 PyObject * obj0 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "self", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
8001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 8005 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
44127b65
RD
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 {
412d302d 8011 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
8012 }
8013 return resultobj;
8014 fail:
8015 return NULL;
8016}
8017
8018
c370783e 8019static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
8020 PyObject *obj;
8021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8022 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8023 Py_INCREF(obj);
8024 return Py_BuildValue((char *)"");
8025}
8026static PyMethodDef SwigMethods[] = {
36ed4f51
RD
8027 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8028 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8029 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8030 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8031 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8032 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8033 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8034 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8035 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8036 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8037 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8038 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8039 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8040 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8041 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8042 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8043 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8044 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8045 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8046 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8047 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8048 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8049 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8050 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8051 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8052 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8053 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8054 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8055 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8056 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8057 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8058 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8059 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8060 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8061 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8062 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8063 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8064 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8065 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8066 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8067 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8068 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8069 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8070 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8071 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8072 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8073 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
8074 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8075 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8076 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8077 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
8078 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8079 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8080 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8081 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8082 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8083 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
8084 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8085 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8086 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8087 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
8088 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8089 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8090 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8091 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8092 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
8093 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8094 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8095 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8096 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8097 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8098 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8099 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8100 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8101 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8102 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8103 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8104 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8105 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8106 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8107 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8108 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8109 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8110 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8111 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
8112 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8113 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8114 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8115 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8116 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8117 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8118 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8119 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8120 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8121 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8122 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8123 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8124 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8125 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
8126 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8127 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8128 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8129 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8130 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8131 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8132 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8133 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8134 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8135 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8136 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8137 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8138 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8139 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8140 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8141 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8142 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8143 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8144 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8145 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
8146 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
8147 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
8148 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
8149 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
8150 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
8151 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
8152 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
8153 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
8154 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
8155 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
8156 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8157 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8158 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
8159 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8160 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8161 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
8162 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
8163 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
8164 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
8165 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
8166 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
8167 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
8168 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8169 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
8170 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
8171 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
8172 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
8173 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
8174 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
8175 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
8176 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8177 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
8178 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8179 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8180 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
8181 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
8182 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
8183 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
8184 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
8185 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8186 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
8187 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8188 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8189 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
c370783e 8190 { NULL, NULL, 0, NULL }
44127b65
RD
8191};
8192
8193
8194/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8195
8196static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
8197 return (void *)((wxValidator *) ((wxPyValidator *) x));
8198}
8199static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
8200 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
8201}
8202static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
8203 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
8204}
a2482628
RD
8205static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
8206 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8207}
44127b65
RD
8208static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
8209 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8210}
8211static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
8212 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
8213}
8214static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
8215 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
8216}
8217static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
8218 return (void *)((wxPanel *) ((wxPyPanel *) x));
8219}
8220static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
8221 return (void *)((wxPanel *) ((wxEditableListBox *) x));
8222}
8223static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
8224 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
8225}
8226static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
8227 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
8228}
8229static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
8230 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8231}
8232static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
8233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
8234}
8235static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
8236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
8237}
8238static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
8239 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
8240}
8241static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
8242 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
8243}
8244static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
8245 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8246}
8247static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
8248 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
8249}
8250static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
8251 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
8252}
b411df4a
RD
8253static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
8254 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
8255}
6e0de3df
RD
8256static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
8257 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
8258}
44127b65
RD
8259static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
8260 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
8261}
8262static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
8263 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
8264}
8265static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
8266 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
8267}
44127b65
RD
8268static void *_p_wxControlTo_p_wxWindow(void *x) {
8269 return (void *)((wxWindow *) ((wxControl *) x));
8270}
a2482628
RD
8271static void *_p_wxPyControlTo_p_wxWindow(void *x) {
8272 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
8273}
44127b65
RD
8274static void *_p_wxGaugeTo_p_wxWindow(void *x) {
8275 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
8276}
8277static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
8278 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
8279}
8280static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
8281 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
8282}
8283static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
8284 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
8285}
8286static void *_p_wxChoiceTo_p_wxWindow(void *x) {
8287 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
8288}
8289static void *_p_wxListViewTo_p_wxWindow(void *x) {
8290 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
8291}
8292static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
8293 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
8294}
8295static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 8296 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
8297}
8298static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
8299 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
8300}
b411df4a 8301static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 8302 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 8303}
44127b65
RD
8304static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
8305 return (void *)((wxWindow *) ((wxPyWindow *) x));
8306}
8307static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
8308 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
8309}
8310static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 8311 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
8312}
8313static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
8314 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
8315}
8316static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
8317 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
8318}
8319static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
8320 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
8321}
8322static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
8323 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
8324}
070c48b4
RD
8325static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
8326 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
8327}
44127b65
RD
8328static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
8329 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
8330}
8331static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
8332 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
8333}
8334static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
8335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
8336}
8337static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
8338 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
8339}
8340static void *_p_wxSliderTo_p_wxWindow(void *x) {
8341 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
8342}
8343static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
8344 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
8345}
6e0de3df
RD
8346static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
8347 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
8348}
44127b65
RD
8349static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
8350 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
8351}
8352static void *_p_wxListBoxTo_p_wxWindow(void *x) {
8353 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
8354}
8355static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
8356 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
8357}
8358static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
8359 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
8360}
8361static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
8362 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
8363}
44127b65
RD
8364static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
8365 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
8366}
8367static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
8368 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
8369}
8370static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
8371 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
8372}
8373static void *_p_wxButtonTo_p_wxWindow(void *x) {
8374 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
8375}
8376static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
8377 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
8378}
8379static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
8380 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
8381}
8382static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
8383 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
8384}
8385static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
8386 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
8387}
8388static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
8389 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
8390}
8391static void *_p_wxFrameTo_p_wxWindow(void *x) {
8392 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
8393}
8394static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
8395 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
8396}
8397static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
8398 return (void *)((wxWindow *) ((wxStatusBar *) x));
8399}
8400static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
8401 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
8402}
a2482628
RD
8403static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
8404 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8405}
070c48b4
RD
8406static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
8407 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
8408}
44127b65
RD
8409static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
8410 return (void *)((wxWindow *) ((wxSashWindow *) x));
8411}
8412static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
8413 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
8414}
8415static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
8416 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
8417}
8418static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
8419 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
8420}
8421static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
8422 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
8423}
8424static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
8425 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
8426}
8427static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
8428 return (void *)((wxWindow *) ((wxPopupWindow *) x));
8429}
8430static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
8431 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
8432}
8433static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
8434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
8435}
8436static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
8437 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
8438}
44127b65
RD
8439static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
8440 return (void *)((wxWindow *) ((wxMenuBar *) x));
8441}
8442static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
8443 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
8444}
8445static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
8446 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
8447}
8448static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
8449 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
8450}
8451static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
8452 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8453}
44127b65
RD
8454static void *_p_wxDialogTo_p_wxWindow(void *x) {
8455 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
8456}
8457static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
8458 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
8459}
8460static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
8461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
8462}
8463static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
8464 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
8465}
8466static void *_p_wxPanelTo_p_wxWindow(void *x) {
8467 return (void *)((wxWindow *) ((wxPanel *) x));
8468}
8469static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
8470 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
8471}
8472static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
8473 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8474}
8475static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
8476 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
8477}
53aa7709
RD
8478static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
8479 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
8480}
44127b65
RD
8481static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
8482 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
8483}
8484static void *_p_wxToolBarTo_p_wxWindow(void *x) {
8485 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
8486}
8487static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
8488 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
8489}
a2482628
RD
8490static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
8491 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8492}
44127b65
RD
8493static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
8494 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8495}
8496static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
8497 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
8498}
6e0de3df
RD
8499static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
8500 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
8501}
8502static void *_p_wxToolBarTo_p_wxControl(void *x) {
8503 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
8504}
8505static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
8506 return (void *)((wxControl *) ((wxToggleButton *) x));
8507}
8508static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
8509 return (void *)((wxControl *) ((wxRadioButton *) x));
8510}
8511static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
8512 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
8513}
8514static void *_p_wxPyControlTo_p_wxControl(void *x) {
8515 return (void *)((wxControl *) ((wxPyControl *) x));
8516}
8517static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
8518 return (void *)((wxControl *) ((wxToolBarBase *) x));
8519}
8520static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
8521 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
8522}
8523static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
8524 return (void *)((wxControl *) ((wxPyListCtrl *) x));
8525}
8526static void *_p_wxComboBoxTo_p_wxControl(void *x) {
8527 return (void *)((wxControl *) ((wxComboBox *) x));
8528}
8529static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
8530 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
8531}
8532static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
8533 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
8534}
8535static void *_p_wxScrollBarTo_p_wxControl(void *x) {
8536 return (void *)((wxControl *) ((wxScrollBar *) x));
8537}
8538static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
8539 return (void *)((wxControl *) ((wxControlWithItems *) x));
8540}
8541static void *_p_wxGaugeTo_p_wxControl(void *x) {
8542 return (void *)((wxControl *) ((wxGauge *) x));
8543}
8544static void *_p_wxStaticLineTo_p_wxControl(void *x) {
8545 return (void *)((wxControl *) ((wxStaticLine *) x));
8546}
b411df4a 8547static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 8548 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 8549}
44127b65 8550static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 8551 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 8552}
44127b65
RD
8553static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
8554 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
8555}
b411df4a
RD
8556static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
8557 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8558}
44127b65
RD
8559static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
8560 return (void *)((wxControl *) ((wxCheckBox *) x));
8561}
8562static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
8563 return (void *)((wxControl *) ((wxRadioBox *) x));
8564}
8565static void *_p_wxChoiceTo_p_wxControl(void *x) {
8566 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
8567}
8568static void *_p_wxListBoxTo_p_wxControl(void *x) {
8569 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
8570}
8571static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
8572 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
8573}
8574static void *_p_wxListViewTo_p_wxControl(void *x) {
8575 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
8576}
8577static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 8578 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
8579}
8580static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
8581 return (void *)((wxControl *) ((wxStaticBitmap *) x));
8582}
8583static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
8584 return (void *)((wxControl *) ((wxSpinCtrl *) x));
8585}
8586static void *_p_wxStaticTextTo_p_wxControl(void *x) {
8587 return (void *)((wxControl *) ((wxStaticText *) x));
8588}
8589static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
8590 return (void *)((wxControl *) ((wxStaticBox *) x));
8591}
8592static void *_p_wxSliderTo_p_wxControl(void *x) {
8593 return (void *)((wxControl *) ((wxSlider *) x));
8594}
8595static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
8596 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
8597}
8598static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
8599 return (void *)((wxControl *) ((wxSpinButton *) x));
8600}
8601static void *_p_wxButtonTo_p_wxControl(void *x) {
8602 return (void *)((wxControl *) ((wxButton *) x));
8603}
8604static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
8605 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
8606}
53aa7709
RD
8607static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
8608 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
8609}
44127b65
RD
8610static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
8611 return (void *)((wxControl *) ((wxTextCtrl *) x));
8612}
4cf4100f
RD
8613static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
8614 return (void *)((wxPyListCtrl *) ((wxListView *) x));
8615}
44127b65
RD
8616static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
8617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
8618}
8619static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
8620 return (void *)((wxEvent *) ((wxMenuEvent *) x));
8621}
8622static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
8623 return (void *)((wxEvent *) ((wxCloseEvent *) x));
8624}
8625static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
8626 return (void *)((wxEvent *) ((wxMouseEvent *) x));
8627}
8628static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
8629 return (void *)((wxEvent *) ((wxEraseEvent *) x));
8630}
6e0de3df
RD
8631static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
8632 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
8633}
44127b65
RD
8634static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
8635 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
8636}
8637static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
8638 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
8639}
8640static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
8641 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
8642}
8643static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
8644 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
8645}
8646static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
8647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
8648}
8649static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
8650 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
8651}
8652static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
8653 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
8654}
44127b65
RD
8655static void *_p_wxPyEventTo_p_wxEvent(void *x) {
8656 return (void *)((wxEvent *) ((wxPyEvent *) x));
8657}
8658static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
8659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
8660}
8661static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
8662 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
8663}
8664static void *_p_wxListEventTo_p_wxEvent(void *x) {
8665 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
8666}
8667static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
8668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
8669}
8670static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
8671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
8672}
8673static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 8674 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
8675}
8676static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 8677 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 8678}
b411df4a 8679static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 8680 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 8681}
44127b65
RD
8682static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
8683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
8684}
8685static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
8686 return (void *)((wxEvent *) ((wxIdleEvent *) x));
8687}
8688static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
8689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
8690}
8691static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
8692 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
8693}
8694static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
8695 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
8696}
8697static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
8698 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
8699}
8700static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
8701 return (void *)((wxEvent *) ((wxActivateEvent *) x));
8702}
8703static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
8704 return (void *)((wxEvent *) ((wxSizeEvent *) x));
8705}
8706static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
8707 return (void *)((wxEvent *) ((wxMoveEvent *) x));
8708}
53aa7709
RD
8709static void *_p_wxDateEventTo_p_wxEvent(void *x) {
8710 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
8711}
44127b65
RD
8712static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
8713 return (void *)((wxEvent *) ((wxPaintEvent *) x));
8714}
8715static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
8716 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
8717}
8718static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
8719 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
8720}
8721static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
8722 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
8723}
8724static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
8725 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
8726}
8727static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
8728 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
8729}
8730static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
8731 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
8732}
8733static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
8734 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
8735}
8736static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
8737 return (void *)((wxEvent *) ((wxFocusEvent *) x));
8738}
8739static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
8740 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
8741}
8742static void *_p_wxSashEventTo_p_wxEvent(void *x) {
8743 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
8744}
8745static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
8746 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
8747}
8748static void *_p_wxShowEventTo_p_wxEvent(void *x) {
8749 return (void *)((wxEvent *) ((wxShowEvent *) x));
8750}
8751static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
8752 return (void *)((wxEvent *) ((wxCommandEvent *) x));
8753}
8754static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
8755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
8756}
8757static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
8758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
8759}
8760static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
8761 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
8762}
8763static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
8764 return (void *)((wxEvent *) ((wxKeyEvent *) x));
8765}
8766static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
8767 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
8768}
8769static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
8770 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
8771}
2dbef272
RD
8772static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
8773 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
8774}
44127b65
RD
8775static void *_p_wxScrollBarTo_p_wxObject(void *x) {
8776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
8777}
8778static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
8779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
8780}
8781static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
8782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
8783}
8784static void *_p_wxEventTo_p_wxObject(void *x) {
8785 return (void *)((wxObject *) ((wxEvent *) x));
8786}
44127b65
RD
8787static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
8788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
8789}
8790static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
8791 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
8792}
8793static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
8794 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
8795}
8796static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
8797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
8798}
8799static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
8800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
8801}
8802static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
8803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
8804}
8805static void *_p_wxMenuItemTo_p_wxObject(void *x) {
8806 return (void *)((wxObject *) ((wxMenuItem *) x));
8807}
8808static void *_p_wxImageTo_p_wxObject(void *x) {
8809 return (void *)((wxObject *) ((wxImage *) x));
8810}
8811static void *_p_wxPySizerTo_p_wxObject(void *x) {
8812 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
8813}
8814static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
8815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
8816}
8817static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
8818 return (void *)((wxObject *) ((wxGenericDragImage *) x));
8819}
8820static void *_p_wxComboBoxTo_p_wxObject(void *x) {
8821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
8822}
84f85550
RD
8823static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
8824 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
8825}
8826static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
8827 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
8828}
8829static void *_p_wxPyAppTo_p_wxObject(void *x) {
8830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
8831}
8832static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 8833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
8834}
8835static void *_p_wxListItemTo_p_wxObject(void *x) {
8836 return (void *)((wxObject *) ((wxListItem *) x));
8837}
b411df4a 8838static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df
RD
8839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
8840}
8841static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
8842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
b411df4a 8843}
44127b65
RD
8844static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
8845 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
8846}
8847static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
8848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
8849}
8850static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
8851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8852}
8853static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
8854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8855}
8856static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
8857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
8858}
8859static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
8860 return (void *)((wxObject *) ((wxFindReplaceData *) x));
8861}
8862static void *_p_wxStaticLineTo_p_wxObject(void *x) {
8863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
8864}
8865static void *_p_wxValidatorTo_p_wxObject(void *x) {
8866 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
8867}
8868static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
8869 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
8870}
8871static void *_p_wxEraseEventTo_p_wxObject(void *x) {
8872 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
8873}
8874static void *_p_wxMouseEventTo_p_wxObject(void *x) {
8875 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
8876}
8877static void *_p_wxCloseEventTo_p_wxObject(void *x) {
8878 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
8879}
53aa7709
RD
8880static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
8881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
8882}
44127b65
RD
8883static void *_p_wxTreeEventTo_p_wxObject(void *x) {
8884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
8885}
44127b65
RD
8886static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
8887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
8888}
8889static void *_p_wxScrollEventTo_p_wxObject(void *x) {
8890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
8891}
8892static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
8893 return (void *)((wxObject *) ((wxPrintDialogData *) x));
8894}
8895static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
8896 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
8897}
8898static void *_p_wxPrinterTo_p_wxObject(void *x) {
8899 return (void *)((wxObject *) ((wxPrinter *) x));
8900}
8901static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
8902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
8903}
8904static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
8905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
8906}
8907static void *_p_wxGridSizerTo_p_wxObject(void *x) {
8908 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
8909}
8910static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
8911 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
8912}
8913static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
8914 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
8915}
8916static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
8917 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
8918}
8919static void *_p_wxControlTo_p_wxObject(void *x) {
8920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
8921}
8922static void *_p_wxPyControlTo_p_wxObject(void *x) {
8923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
8924}
8925static void *_p_wxContextHelpTo_p_wxObject(void *x) {
8926 return (void *)((wxObject *) ((wxContextHelp *) x));
8927}
8928static void *_p_wxColourDataTo_p_wxObject(void *x) {
8929 return (void *)((wxObject *) ((wxColourData *) x));
8930}
8931static void *_p_wxActivateEventTo_p_wxObject(void *x) {
8932 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
8933}
8934static void *_p_wxMoveEventTo_p_wxObject(void *x) {
8935 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
8936}
8937static void *_p_wxSizeEventTo_p_wxObject(void *x) {
8938 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
8939}
8940static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
8941 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
8942}
8943static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
8944 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
8945}
8946static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
8947 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
8948}
8949static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
8950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
8951}
8952static void *_p_wxIdleEventTo_p_wxObject(void *x) {
8953 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
8954}
53aa7709
RD
8955static void *_p_wxDateEventTo_p_wxObject(void *x) {
8956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
8957}
44127b65
RD
8958static void *_p_wxStaticTextTo_p_wxObject(void *x) {
8959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
8960}
8961static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
8962 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
8963}
8964static void *_p_wxListEventTo_p_wxObject(void *x) {
8965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
8966}
8967static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
8968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
8969}
8970static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
8971 return (void *)((wxObject *) ((wxPyPrintout *) x));
8972}
8973static void *_p_wxGaugeTo_p_wxObject(void *x) {
8974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
8975}
8976static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
8977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
8978}
51b83b37
RD
8979static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
8980 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
8981}
44127b65
RD
8982static void *_p_wxChoiceTo_p_wxObject(void *x) {
8983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
8984}
8985static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
8986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
8987}
8988static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
8989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
8990}
8991static void *_p_wxButtonTo_p_wxObject(void *x) {
8992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
8993}
8994static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
8995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
8996}
8997static void *_p_wxKeyEventTo_p_wxObject(void *x) {
8998 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
8999}
9000static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9001 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9002}
9003static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9005}
9006static void *_p_wxSashEventTo_p_wxObject(void *x) {
9007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9008}
9009static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9011}
9012static void *_p_wxListBoxTo_p_wxObject(void *x) {
9013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9014}
9015static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9017}
9018static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9020}
9021static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9022 return (void *)((wxObject *) ((wxPrintData *) x));
9023}
9024static void *_p_wxFontDataTo_p_wxObject(void *x) {
9025 return (void *)((wxObject *) ((wxFontData *) x));
9026}
9027static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9029}
9030static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9032}
9033static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 9034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
9035}
9036static void *_p_wxFrameTo_p_wxObject(void *x) {
9037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9038}
9039static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9041}
9042static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
9043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
9044}
9045static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9046 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9047}
9048static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
9049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9050}
9051static void *_p_wxFileSystemTo_p_wxObject(void *x) {
9052 return (void *)((wxObject *) ((wxFileSystem *) x));
9053}
9054static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
9055 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
9056}
9057static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
9058 return (void *)((wxObject *) ((wxPrintPreview *) x));
9059}
9060static void *_p_wxListViewTo_p_wxObject(void *x) {
9061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9062}
9063static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
9064 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
9065}
9066static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
9067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
9068}
9069static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
9070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9071}
9072static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
9073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
9074}
9075static void *_p_wxSizerTo_p_wxObject(void *x) {
9076 return (void *)((wxObject *) ((wxSizer *) x));
9077}
9078static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
9079 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
9080}
9081static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
9082 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
9083}
9084static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
9085 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
9086}
9087static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
9088 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
9089}
9090static void *_p_wxPaintEventTo_p_wxObject(void *x) {
9091 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
9092}
9093static void *_p_wxFSFileTo_p_wxObject(void *x) {
9094 return (void *)((wxObject *) ((wxFSFile *) x));
9095}
9096static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
9097 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9098}
9099static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
9100 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
9101}
9102static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
9103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
9104}
9105static void *_p_wxMenuTo_p_wxObject(void *x) {
9106 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
9107}
9108static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
9109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
9110}
9111static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
9112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
9113}
9114static void *_p_wxSizerItemTo_p_wxObject(void *x) {
9115 return (void *)((wxObject *) ((wxSizerItem *) x));
9116}
9117static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
9118 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
9119}
9120static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 9121 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
9122}
9123static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 9124 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
9125}
9126static void *_p_wxFontDialogTo_p_wxObject(void *x) {
9127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9128}
9129static void *_p_wxDirDialogTo_p_wxObject(void *x) {
9130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9131}
9132static void *_p_wxColourDialogTo_p_wxObject(void *x) {
9133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9134}
9135static void *_p_wxDialogTo_p_wxObject(void *x) {
9136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
9137}
9138static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
9139 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
9140}
9141static void *_p_wxPyEventTo_p_wxObject(void *x) {
9142 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
9143}
9144static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
9145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
9146}
9147static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
9148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9149}
9150static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
9151 return (void *)((wxObject *) ((wxEvtHandler *) x));
9152}
9153static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
9154 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
9155}
9156static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
9157 return (void *)((wxObject *) ((wxImageHandler *) x));
9158}
9159static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
9160 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
9161}
9162static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
9163 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
9164}
9165static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
9166 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
9167}
9168static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
9169 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
9170}
9171static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
9172 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
9173}
9174static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
9175 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
9176}
9177static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
9178 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
9179}
9180static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
9181 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9182}
9183static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
9184 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
9185}
9186static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
9187 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
9188}
9189static void *_p_wxShowEventTo_p_wxObject(void *x) {
9190 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
9191}
a2482628
RD
9192static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
9193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9194}
44127b65
RD
9195static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
9196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
9197}
9198static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
9199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
9200}
9201static void *_p_wxTipWindowTo_p_wxObject(void *x) {
9202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9203}
9204static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
9205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9206}
9207static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
9208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
9209}
9210static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
9211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
9212}
9213static void *_p_wxSashWindowTo_p_wxObject(void *x) {
9214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
9215}
9216static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
9217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
9218}
9219static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
9220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
9221}
9222static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
9223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
9224}
44127b65
RD
9225static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
9226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
9227}
41f1cec7
RD
9228static void *_p_wxWindowTo_p_wxObject(void *x) {
9229 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
9230}
44127b65
RD
9231static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
9232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
9233}
9234static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
9235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
9236}
9237static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
9238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9239}
9240static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
9241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9242}
9243static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
9244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
9245}
44127b65 9246static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 9247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 9248}
2dbef272 9249static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 9250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
2dbef272 9251}
b411df4a 9252static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 9253 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 9254}
44127b65
RD
9255static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
9256 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
9257}
9258static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
9259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9260}
9261static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
9262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9263}
9264static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
9265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9266}
070c48b4
RD
9267static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
9268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9269}
44127b65
RD
9270static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
9271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9272}
9273static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
9274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9275}
9276static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
9277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9278}
9279static void *_p_wxFileDialogTo_p_wxObject(void *x) {
9280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9281}
9282static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
9283 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
9284}
9285static void *_p_wxSliderTo_p_wxObject(void *x) {
9286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
9287}
9288static void *_p_wxPyWindowTo_p_wxObject(void *x) {
9289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
9290}
53aa7709
RD
9291static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
9292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
9293}
44127b65
RD
9294static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
9295 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
9296}
9297static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
9298 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9299}
9300static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
9301 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
9302}
9303static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
9304 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
9305}
9306static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
9307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
9308}
9309static void *_p_wxHelpEventTo_p_wxObject(void *x) {
9310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
9311}
9312static void *_p_wxPanelTo_p_wxObject(void *x) {
9313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
9314}
2dbef272
RD
9315static void *_p_wxSpinEventTo_p_wxObject(void *x) {
9316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9317}
44127b65
RD
9318static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
9319 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
9320}
9321static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
9322 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
9323}
9324static void *_p_wxMenuEventTo_p_wxObject(void *x) {
9325 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
9326}
9327static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
9328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
9329}
9330static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
9331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
9332}
9333static void *_p_wxCommandEventTo_p_wxObject(void *x) {
9334 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
9335}
9336static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
9337 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
9338}
9339static void *_p_wxToolBarTo_p_wxObject(void *x) {
9340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9341}
9342static void *_p_wxStatusBarTo_p_wxObject(void *x) {
9343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
9344}
9345static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
9346 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
9347}
9348static void *_p_wxFocusEventTo_p_wxObject(void *x) {
9349 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
9350}
9351static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
9352 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
9353}
9354static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
9355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9356}
9357static void *_p_wxMenuBarTo_p_wxObject(void *x) {
9358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
9359}
9360static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
9361 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9362}
9363static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
9364 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9365}
9366static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
9367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
9368}
9369static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
9370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9371}
9372static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
9373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9374}
9375static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
9376 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9377}
84f85550
RD
9378static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
9379 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
9380}
9381static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
9382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
9383}
9384static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
9385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
9386}
9387static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
9388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9389}
9390static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
9391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
9392}
9393static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
9394 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9395}
9396static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
9397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
9398}
9399static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
9400 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
9401}
9402static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
9403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
9404}
9405static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
9406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
9407}
6e0de3df
RD
9408static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
9409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9410}
44127b65
RD
9411static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
9412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
9413}
9414static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
9415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
9416}
9417static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
9418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9419}
9420static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
9421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9422}
9423static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
9424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
9425}
9426static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 9427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
9428}
9429static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
9430 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9431}
b411df4a 9432static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 9433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 9434}
44127b65
RD
9435static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
9436 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
9437}
9438static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
9439 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9440}
9441static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 9442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
9443}
9444static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
9445 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9446}
9447static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
9448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9449}
9450static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
9451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9452}
9453static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
9454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9455}
9456static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
9457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9458}
9459static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
9460 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9461}
9462static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
9463 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9464}
070c48b4
RD
9465static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
9466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9467}
44127b65
RD
9468static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
9469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9470}
9471static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
9472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
9473}
9474static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
9475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
9476}
6e0de3df
RD
9477static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
9478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
9479}
44127b65
RD
9480static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
9481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9482}
9483static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
9484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9485}
9486static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
9487 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9488}
9489static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
9490 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9491}
9492static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
9493 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9494}
44127b65
RD
9495static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
9496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
9497}
9498static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
9499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
9500}
9501static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
9502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9503}
9504static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
9505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
9506}
9507static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
9508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9509}
9510static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
9511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
9512}
9513static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
9514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
9515}
9516static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
9517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
9518}
9519static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
9520 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9521}
9522static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
9523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9524}
9525static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
9526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
9527}
9528static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
9529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
9530}
9531static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
9532 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9533}
a2482628
RD
9534static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
9535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9536}
44127b65
RD
9537static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
9538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
9539}
9540static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
9541 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
9542}
9543static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
9544 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
9545}
9546static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
9547 return (void *)((wxEvtHandler *) ((wxWindow *) x));
9548}
9549static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
9550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
9551}
9552static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
9553 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
9554}
9555static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
9556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
9557}
9558static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
9559 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
9560}
9561static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
9562 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
9563}
9564static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
9565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9566}
9567static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
9568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9569}
9570static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
9571 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
9572}
9573static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
9574 return (void *)((wxEvtHandler *) ((wxMenu *) x));
9575}
9576static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
9577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
9578}
9579static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
9580 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
9581}
9582static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
9583 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
9584}
9585static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
9586 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9587}
9588static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
9589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9590}
070c48b4
RD
9591static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
9592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9593}
44127b65
RD
9594static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
9595 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
9596}
9597static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
9598 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9599}
9600static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
9601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9602}
44127b65
RD
9603static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
9604 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
9605}
9606static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
9607 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
9608}
9609static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
9610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
9611}
9612static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
9613 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9614}
9615static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
9616 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9617}
53aa7709
RD
9618static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
9619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
9620}
44127b65
RD
9621static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
9622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9623}
9624static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
9625 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9626}
9627static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
9628 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
9629}
9630static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
9631 return (void *)((wxEvtHandler *) ((wxValidator *) x));
9632}
9633static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
9634 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9635}
9636static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
9637 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
9638}
9639static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
9640 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9641}
9642static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
9643 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
9644}
44127b65
RD
9645static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
9646 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
9647}
9648static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
9649 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
9650}
9651static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
9652 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
9653}
9654static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
9655 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
9656}
9657static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
9658 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
9659}
9660static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 9661 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
9662}
9663static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 9664 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 9665}
b411df4a 9666static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 9667 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 9668}
53aa7709
RD
9669static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
9670 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
9671}
44127b65
RD
9672static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
9673 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
9674}
9675static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
9676 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
9677}
9678static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
9679 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9680}
6e0de3df
RD
9681static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
9682 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9683}
44127b65
RD
9684static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
9685 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
9686}
2dbef272
RD
9687static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
9688 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
9689}
44127b65
RD
9690static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
9691 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
9692}
9693static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
9694 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
9695}
9696static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
9697 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9698}
9699static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
9700 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
9701}
9702static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
9703 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
9704}
2f4c0a16 9705static 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}};
2f4c0a16 9706static 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}};
36ed4f51
RD
9707static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9708static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 9709static 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}};
2f4c0a16 9710static 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}};
36ed4f51 9711static 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 9712static 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}};
36ed4f51
RD
9713static 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}};
9714static 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}};
9715static 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}};
9716static 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}};
9717static 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}};
9718static 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}};
53aa7709 9719static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxProgressDialog", _p_wxProgressDialogTo_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_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_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_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 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_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36ed4f51
RD
9720static 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}};
9721static 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}};
9722static 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}};
53aa7709 9723static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36ed4f51
RD
9724static 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}};
9725static 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}};
53aa7709
RD
9726static 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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_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_wxDateEvent", _p_wxDateEventTo_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}};
9727static 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_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_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_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_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_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_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_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_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_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_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36ed4f51
RD
9728static 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}};
9729static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9730static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9731static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 9732static 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_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_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_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36ed4f51
RD
9733static 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}};
9734static 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}};
9735static 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}};
9736static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9737static 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}};
9738static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9739static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9740static 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}};
53aa7709 9741static 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_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_wxDateEvent", _p_wxDateEventTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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}};
36ed4f51 9742static 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}};
2f4c0a16 9743static 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}};
36ed4f51
RD
9744static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9745static 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}};
44127b65
RD
9746
9747static swig_type_info *swig_types_initial[] = {
44127b65 9748_swigt__p_wxColour,
44127b65 9749_swigt__p_wxTreeListColumnInfo,
36ed4f51
RD
9750_swigt__p_form_ops_t,
9751_swigt__p_wxDuplexMode,
44127b65 9752_swigt__p_wxValidator,
8edf1c75 9753_swigt__p_char,
36ed4f51 9754_swigt__p_wxPanel,
44127b65 9755_swigt__p_wxDynamicSashUnifyEvent,
36ed4f51
RD
9756_swigt__p_wxDynamicSashSplitEvent,
9757_swigt__p_wxLEDNumberCtrl,
9758_swigt__p_wxSplitterScrolledWindow,
9759_swigt__p_wxThinSplitterWindow,
9760_swigt__p_wxPyTreeCompanionWindow,
9761_swigt__p_wxDynamicSashWindow,
9762_swigt__p_wxWindow,
9763_swigt__p_wxSplitterWindow,
9764_swigt__p_wxScrolledWindow,
9765_swigt__p_wxFont,
44127b65 9766_swigt__p_wxControl,
36ed4f51
RD
9767_swigt__p_wxPyListCtrl,
9768_swigt__p_wxPyTreeListCtrl,
44127b65 9769_swigt__p_wxEvent,
36ed4f51
RD
9770_swigt__p_wxObject,
9771_swigt__p_wxScrollBar,
9772_swigt__p_wxPaperSize,
9773_swigt__p_unsigned_int,
9774_swigt__unsigned_int,
9775_swigt__p_wxEvtHandler,
9776_swigt__p_wxRemotelyScrolledTreeCtrl,
9777_swigt__p_wxPyTreeCtrl,
9778_swigt__p_wxImageList,
9779_swigt__p_unsigned_char,
9780_swigt__p_wxEditableListBox,
9781_swigt__ptrdiff_t,
9782_swigt__std__ptrdiff_t,
9783_swigt__p_wxArrayString,
9784_swigt__p_wxCommandEvent,
9785_swigt__p_wxTreeItemId,
44127b65 9786_swigt__p_int,
36ed4f51
RD
9787_swigt__p_unsigned_long,
9788_swigt__p_wxPyTreeItemData,
44127b65
RD
97890
9790};
9791
9792
9793/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
9794
9795static swig_const_info swig_const_table[] = {
c370783e 9796{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
9797
9798#ifdef __cplusplus
9799}
9800#endif
9801
36ed4f51
RD
9802
9803#ifdef __cplusplus
9804extern "C" {
9805#endif
9806
9807 /* Python-specific SWIG API */
9808#define SWIG_newvarlink() SWIG_Python_newvarlink()
9809#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
9810#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
9811
9812 /* -----------------------------------------------------------------------------
9813 * global variable support code.
9814 * ----------------------------------------------------------------------------- */
9815
9816 typedef struct swig_globalvar {
9817 char *name; /* Name of global variable */
9818 PyObject *(*get_attr)(); /* Return the current value */
9819 int (*set_attr)(PyObject *); /* Set the value */
9820 struct swig_globalvar *next;
9821 } swig_globalvar;
9822
9823 typedef struct swig_varlinkobject {
9824 PyObject_HEAD
9825 swig_globalvar *vars;
9826 } swig_varlinkobject;
9827
9828 static PyObject *
9829 swig_varlink_repr(swig_varlinkobject *v) {
9830 v = v;
9831 return PyString_FromString("<Swig global variables>");
9832 }
9833
9834 static int
9835 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
9836 swig_globalvar *var;
9837 flags = flags;
9838 fprintf(fp,"Swig global variables { ");
9839 for (var = v->vars; var; var=var->next) {
9840 fprintf(fp,"%s", var->name);
9841 if (var->next) fprintf(fp,", ");
9842 }
9843 fprintf(fp," }\n");
9844 return 0;
9845 }
9846
9847 static PyObject *
9848 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
9849 swig_globalvar *var = v->vars;
9850 while (var) {
9851 if (strcmp(var->name,n) == 0) {
9852 return (*var->get_attr)();
9853 }
9854 var = var->next;
9855 }
9856 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
9857 return NULL;
9858 }
9859
9860 static int
9861 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
9862 swig_globalvar *var = v->vars;
9863 while (var) {
9864 if (strcmp(var->name,n) == 0) {
9865 return (*var->set_attr)(p);
9866 }
9867 var = var->next;
9868 }
9869 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
9870 return 1;
9871 }
9872
9873 static PyTypeObject varlinktype = {
9874 PyObject_HEAD_INIT(0)
9875 0, /* Number of items in variable part (ob_size) */
9876 (char *)"swigvarlink", /* Type name (tp_name) */
9877 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
9878 0, /* Itemsize (tp_itemsize) */
9879 0, /* Deallocator (tp_dealloc) */
9880 (printfunc) swig_varlink_print, /* Print (tp_print) */
9881 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
9882 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
9883 0, /* tp_compare */
9884 (reprfunc) swig_varlink_repr, /* tp_repr */
9885 0, /* tp_as_number */
9886 0, /* tp_as_sequence */
9887 0, /* tp_as_mapping */
9888 0, /* tp_hash */
9889 0, /* tp_call */
9890 0, /* tp_str */
9891 0, /* tp_getattro */
9892 0, /* tp_setattro */
9893 0, /* tp_as_buffer */
9894 0, /* tp_flags */
9895 0, /* tp_doc */
9896#if PY_VERSION_HEX >= 0x02000000
9897 0, /* tp_traverse */
9898 0, /* tp_clear */
9899#endif
9900#if PY_VERSION_HEX >= 0x02010000
9901 0, /* tp_richcompare */
9902 0, /* tp_weaklistoffset */
9903#endif
9904#if PY_VERSION_HEX >= 0x02020000
9905 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
9906#endif
9907#if PY_VERSION_HEX >= 0x02030000
9908 0, /* tp_del */
9909#endif
9910#ifdef COUNT_ALLOCS
9911 0,0,0,0 /* tp_alloc -> tp_next */
9912#endif
9913 };
9914
9915 /* Create a variable linking object for use later */
9916 static PyObject *
9917 SWIG_Python_newvarlink(void) {
9918 swig_varlinkobject *result = 0;
9919 result = PyMem_NEW(swig_varlinkobject,1);
9920 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
9921 result->ob_type = &varlinktype;
9922 result->vars = 0;
9923 result->ob_refcnt = 0;
9924 Py_XINCREF((PyObject *) result);
9925 return ((PyObject*) result);
9926 }
9927
9928 static void
9929 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
9930 swig_varlinkobject *v;
9931 swig_globalvar *gv;
9932 v= (swig_varlinkobject *) p;
9933 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
9934 gv->name = (char *) malloc(strlen(name)+1);
9935 strcpy(gv->name,name);
9936 gv->get_attr = get_attr;
9937 gv->set_attr = set_attr;
9938 gv->next = v->vars;
9939 v->vars = gv;
9940 }
9941
9942 /* -----------------------------------------------------------------------------
9943 * constants/methods manipulation
9944 * ----------------------------------------------------------------------------- */
9945
9946 /* Install Constants */
9947 static void
9948 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
9949 PyObject *obj = 0;
9950 size_t i;
9951 for (i = 0; constants[i].type; i++) {
9952 switch(constants[i].type) {
9953 case SWIG_PY_INT:
9954 obj = PyInt_FromLong(constants[i].lvalue);
9955 break;
9956 case SWIG_PY_FLOAT:
9957 obj = PyFloat_FromDouble(constants[i].dvalue);
9958 break;
9959 case SWIG_PY_STRING:
9960 if (constants[i].pvalue) {
9961 obj = PyString_FromString((char *) constants[i].pvalue);
9962 } else {
9963 Py_INCREF(Py_None);
9964 obj = Py_None;
9965 }
9966 break;
9967 case SWIG_PY_POINTER:
9968 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
9969 break;
9970 case SWIG_PY_BINARY:
9971 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
9972 break;
9973 default:
9974 obj = 0;
9975 break;
9976 }
9977 if (obj) {
9978 PyDict_SetItemString(d,constants[i].name,obj);
9979 Py_DECREF(obj);
9980 }
9981 }
9982 }
9983
9984 /* -----------------------------------------------------------------------------*/
9985 /* Fix SwigMethods to carry the callback ptrs when needed */
9986 /* -----------------------------------------------------------------------------*/
9987
9988 static void
9989 SWIG_Python_FixMethods(PyMethodDef *methods,
9990 swig_const_info *const_table,
9991 swig_type_info **types,
9992 swig_type_info **types_initial) {
9993 size_t i;
9994 for (i = 0; methods[i].ml_name; ++i) {
9995 char *c = methods[i].ml_doc;
9996 if (c && (c = strstr(c, "swig_ptr: "))) {
9997 int j;
9998 swig_const_info *ci = 0;
9999 char *name = c + 10;
10000 for (j = 0; const_table[j].type; j++) {
10001 if (strncmp(const_table[j].name, name,
10002 strlen(const_table[j].name)) == 0) {
10003 ci = &(const_table[j]);
10004 break;
10005 }
10006 }
10007 if (ci) {
10008 size_t shift = (ci->ptype) - types;
10009 swig_type_info *ty = types_initial[shift];
10010 size_t ldoc = (c - methods[i].ml_doc);
10011 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
10012 char *ndoc = (char*)malloc(ldoc + lptr + 10);
10013 char *buff = ndoc;
10014 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
10015 strncpy(buff, methods[i].ml_doc, ldoc);
10016 buff += ldoc;
10017 strncpy(buff, "swig_ptr: ", 10);
10018 buff += 10;
10019 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
10020 methods[i].ml_doc = ndoc;
10021 }
10022 }
10023 }
10024 }
10025
10026 /* -----------------------------------------------------------------------------*
10027 * Initialize type list
10028 * -----------------------------------------------------------------------------*/
10029
10030#if PY_MAJOR_VERSION < 2
10031 /* PyModule_AddObject function was introduced in Python 2.0. The following function
10032 is copied out of Python/modsupport.c in python version 2.3.4 */
10033 static int
10034 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
10035 {
10036 PyObject *dict;
10037 if (!PyModule_Check(m)) {
10038 PyErr_SetString(PyExc_TypeError,
10039 "PyModule_AddObject() needs module as first arg");
10040 return -1;
10041 }
10042 if (!o) {
10043 PyErr_SetString(PyExc_TypeError,
10044 "PyModule_AddObject() needs non-NULL value");
10045 return -1;
10046 }
10047
10048 dict = PyModule_GetDict(m);
10049 if (dict == NULL) {
10050 /* Internal error -- modules must have a dict! */
10051 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
10052 PyModule_GetName(m));
10053 return -1;
10054 }
10055 if (PyDict_SetItemString(dict, name, o))
10056 return -1;
10057 Py_DECREF(o);
10058 return 0;
10059 }
10060#endif
10061
10062 static swig_type_info **
10063 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
10064 static PyMethodDef swig_empty_runtime_method_table[] = {
10065 {
10066 NULL, NULL, 0, NULL
10067 }
10068 };/* Sentinel */
10069
10070 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
10071 swig_empty_runtime_method_table);
10072 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
10073 if (pointer && module) {
10074 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
10075 }
10076 return type_list_handle;
10077 }
10078
10079 static swig_type_info **
10080 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
10081 swig_type_info **type_pointer;
10082
10083 /* first check if module already created */
10084 type_pointer = SWIG_Python_GetTypeListHandle();
10085 if (type_pointer) {
10086 return type_pointer;
10087 } else {
10088 /* create a new module and variable */
10089 return SWIG_Python_SetTypeListHandle(type_list_handle);
10090 }
10091 }
10092
10093#ifdef __cplusplus
10094}
10095#endif
10096
10097/* -----------------------------------------------------------------------------*
10098 * Partial Init method
10099 * -----------------------------------------------------------------------------*/
10100
10101#ifdef SWIG_LINK_RUNTIME
10102#ifdef __cplusplus
10103extern "C"
10104#endif
10105SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
10106#endif
10107
44127b65
RD
10108#ifdef __cplusplus
10109extern "C"
10110#endif
10111SWIGEXPORT(void) SWIG_init(void) {
10112 static PyObject *SWIG_globals = 0;
10113 static int typeinit = 0;
10114 PyObject *m, *d;
10115 int i;
10116 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
10117
10118 /* Fix SwigMethods to carry the callback ptrs when needed */
10119 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
10120
44127b65
RD
10121 m = Py_InitModule((char *) SWIG_name, SwigMethods);
10122 d = PyModule_GetDict(m);
10123
10124 if (!typeinit) {
36ed4f51
RD
10125#ifdef SWIG_LINK_RUNTIME
10126 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
10127#else
10128# ifndef SWIG_STATIC_RUNTIME
10129 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
10130# endif
10131#endif
44127b65
RD
10132 for (i = 0; swig_types_initial[i]; i++) {
10133 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
10134 }
10135 typeinit = 1;
10136 }
10137 SWIG_InstallConstants(d,swig_const_table);
10138
cbd72d4f
RD
10139 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
10140 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
10141 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
10142 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
36ed4f51
RD
10143 {
10144 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", SWIG_From_int((int)(wxEVT_DYNAMIC_SASH_SPLIT)));
10145 }
10146 {
10147 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", SWIG_From_int((int)(wxEVT_DYNAMIC_SASH_UNIFY)));
10148 }
10149 {
10150 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS)));
10151 }
10152 {
10153 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER)));
10154 }
10155 {
10156 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW)));
10157 }
10158 {
10159 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT)));
10160 }
10161 {
10162 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE)));
10163 }
10164 {
10165 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT)));
10166 }
10167 {
10168 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT)));
10169 }
10170 {
10171 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER)));
10172 }
10173 {
10174 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK)));
10175 }
10176 {
10177 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED)));
10178 }
10179 {
10180 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT)));
10181 }
10182 {
10183 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT)));
10184 }
10185 {
10186 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER)));
10187 }
10188 {
10189 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN)));
10190 }
10191 {
10192 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE)));
10193 }
10194 {
10195 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL)));
10196 }
10197 {
10198 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL)));
10199 }
10200 {
10201 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL)));
10202 }
10203 {
10204 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE)));
10205 }
10206 {
10207 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC)));
10208 }
44127b65
RD
10209
10210
10211 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
10212 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
10213
10214}
10215