]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
Mention the SWIG_VERSION change
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
... / ...
CommitLineData
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12
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);
26};
27#endif
28
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43#endif
44
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
96
97#include <Python.h>
98
99/***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109#define SWIG_RUNTIME_VERSION "2"
110
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116#else
117# define SWIG_TYPE_TABLE_NAME
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
128
129#ifndef SWIGRUNTIME
130# define SWIGRUNTIME SWIGINTERN
131#endif
132
133#ifndef SWIGRUNTIMEINLINE
134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135#endif
136
137#include <string.h>
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146/* Structure to store inforomation on one type */
147typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153} swig_type_info;
154
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216*/
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230}
231
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255/*
256 Check the typename
257*/
258SWIGRUNTIME swig_cast_info *
259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417}
418
419
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
505
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
518
519#ifdef __cplusplus
520}
521#endif
522
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527#ifdef __cplusplus
528extern "C" {
529#endif
530
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535#ifndef SWIGINTERN
536# define SWIGINTERN static SWIGUNUSED
537#endif
538
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541#endif
542
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
579
580
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588#ifdef __cplusplus
589}
590#endif
591
592
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
628
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
632
633
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
639#ifdef __cplusplus
640extern "C" {
641#endif
642
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
649
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693}
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701}
702
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
710
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
736 return PySwigObject_format("%o",v);
737}
738
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
742 return PySwigObject_format("%x",v);
743}
744
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
761 PyObject_Del(self);
762}
763
764SWIGRUNTIME PyTypeObject*
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793#if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797#endif
798 };
799
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806#endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851#endif
852 return &pyswigobject_type;
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
920
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
950 PyObject_Del(self);
951}
952
953SWIGRUNTIME PyTypeObject*
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963#endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008#endif
1009 return &pyswigpacked_type;
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
1211
1212type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378#endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381}
1382
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412}
1413#endif
1414
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_float swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_unsigned_char swig_types[4]
1439#define SWIGTYPE_p_unsigned_int swig_types[5]
1440#define SWIGTYPE_p_unsigned_long swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxArrayString swig_types[10]
1445#define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446#define SWIGTYPE_p_wxBitmap swig_types[12]
1447#define SWIGTYPE_p_wxBitmapButton swig_types[13]
1448#define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
1449#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
1450#define SWIGTYPE_p_wxBoxSizer swig_types[16]
1451#define SWIGTYPE_p_wxButton swig_types[17]
1452#define SWIGTYPE_p_wxCURHandler swig_types[18]
1453#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
1454#define SWIGTYPE_p_wxCheckBox swig_types[20]
1455#define SWIGTYPE_p_wxCheckListBox swig_types[21]
1456#define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
1457#define SWIGTYPE_p_wxChoice swig_types[23]
1458#define SWIGTYPE_p_wxChoicebook swig_types[24]
1459#define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
1460#define SWIGTYPE_p_wxCloseEvent swig_types[26]
1461#define SWIGTYPE_p_wxColour swig_types[27]
1462#define SWIGTYPE_p_wxColourData swig_types[28]
1463#define SWIGTYPE_p_wxColourDialog swig_types[29]
1464#define SWIGTYPE_p_wxComboBox swig_types[30]
1465#define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466#define SWIGTYPE_p_wxContextHelp swig_types[32]
1467#define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468#define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469#define SWIGTYPE_p_wxControl swig_types[35]
1470#define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471#define SWIGTYPE_p_wxDateEvent swig_types[37]
1472#define SWIGTYPE_p_wxDatePickerCtrl swig_types[38]
1473#define SWIGTYPE_p_wxDialog swig_types[39]
1474#define SWIGTYPE_p_wxDirDialog swig_types[40]
1475#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41]
1476#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
1477#define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
1478#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1479#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45]
1480#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46]
1481#define SWIGTYPE_p_wxDynamicSashWindow swig_types[47]
1482#define SWIGTYPE_p_wxEditableListBox swig_types[48]
1483#define SWIGTYPE_p_wxEraseEvent swig_types[49]
1484#define SWIGTYPE_p_wxEvent swig_types[50]
1485#define SWIGTYPE_p_wxEvtHandler swig_types[51]
1486#define SWIGTYPE_p_wxFSFile swig_types[52]
1487#define SWIGTYPE_p_wxFileDialog swig_types[53]
1488#define SWIGTYPE_p_wxFileSystem swig_types[54]
1489#define SWIGTYPE_p_wxFindDialogEvent swig_types[55]
1490#define SWIGTYPE_p_wxFindReplaceData swig_types[56]
1491#define SWIGTYPE_p_wxFindReplaceDialog swig_types[57]
1492#define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
1493#define SWIGTYPE_p_wxFocusEvent swig_types[59]
1494#define SWIGTYPE_p_wxFont swig_types[60]
1495#define SWIGTYPE_p_wxFontData swig_types[61]
1496#define SWIGTYPE_p_wxFontDialog swig_types[62]
1497#define SWIGTYPE_p_wxFrame swig_types[63]
1498#define SWIGTYPE_p_wxGBSizerItem swig_types[64]
1499#define SWIGTYPE_p_wxGIFHandler swig_types[65]
1500#define SWIGTYPE_p_wxGauge swig_types[66]
1501#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
1502#define SWIGTYPE_p_wxGenericDragImage swig_types[68]
1503#define SWIGTYPE_p_wxGridBagSizer swig_types[69]
1504#define SWIGTYPE_p_wxGridSizer swig_types[70]
1505#define SWIGTYPE_p_wxHelpEvent swig_types[71]
1506#define SWIGTYPE_p_wxICOHandler swig_types[72]
1507#define SWIGTYPE_p_wxIcon swig_types[73]
1508#define SWIGTYPE_p_wxIconizeEvent swig_types[74]
1509#define SWIGTYPE_p_wxIdleEvent swig_types[75]
1510#define SWIGTYPE_p_wxImage swig_types[76]
1511#define SWIGTYPE_p_wxImageHandler swig_types[77]
1512#define SWIGTYPE_p_wxImageList swig_types[78]
1513#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79]
1514#define SWIGTYPE_p_wxInitDialogEvent swig_types[80]
1515#define SWIGTYPE_p_wxJPEGHandler swig_types[81]
1516#define SWIGTYPE_p_wxKeyEvent swig_types[82]
1517#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83]
1518#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84]
1519#define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
1520#define SWIGTYPE_p_wxListBox swig_types[86]
1521#define SWIGTYPE_p_wxListEvent swig_types[87]
1522#define SWIGTYPE_p_wxListItem swig_types[88]
1523#define SWIGTYPE_p_wxListView swig_types[89]
1524#define SWIGTYPE_p_wxListbook swig_types[90]
1525#define SWIGTYPE_p_wxListbookEvent swig_types[91]
1526#define SWIGTYPE_p_wxMDIChildFrame swig_types[92]
1527#define SWIGTYPE_p_wxMDIClientWindow swig_types[93]
1528#define SWIGTYPE_p_wxMDIParentFrame swig_types[94]
1529#define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
1530#define SWIGTYPE_p_wxMenu swig_types[96]
1531#define SWIGTYPE_p_wxMenuBar swig_types[97]
1532#define SWIGTYPE_p_wxMenuEvent swig_types[98]
1533#define SWIGTYPE_p_wxMenuItem swig_types[99]
1534#define SWIGTYPE_p_wxMessageDialog swig_types[100]
1535#define SWIGTYPE_p_wxMiniFrame swig_types[101]
1536#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
1537#define SWIGTYPE_p_wxMouseEvent swig_types[103]
1538#define SWIGTYPE_p_wxMoveEvent swig_types[104]
1539#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105]
1540#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
1541#define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
1542#define SWIGTYPE_p_wxNotebook swig_types[108]
1543#define SWIGTYPE_p_wxNotebookEvent swig_types[109]
1544#define SWIGTYPE_p_wxNotifyEvent swig_types[110]
1545#define SWIGTYPE_p_wxObject swig_types[111]
1546#define SWIGTYPE_p_wxPCXHandler swig_types[112]
1547#define SWIGTYPE_p_wxPNGHandler swig_types[113]
1548#define SWIGTYPE_p_wxPNMHandler swig_types[114]
1549#define SWIGTYPE_p_wxPageSetupDialog swig_types[115]
1550#define SWIGTYPE_p_wxPageSetupDialogData swig_types[116]
1551#define SWIGTYPE_p_wxPaintEvent swig_types[117]
1552#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118]
1553#define SWIGTYPE_p_wxPanel swig_types[119]
1554#define SWIGTYPE_p_wxPaperSize swig_types[120]
1555#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121]
1556#define SWIGTYPE_p_wxPopupWindow swig_types[122]
1557#define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
1558#define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
1559#define SWIGTYPE_p_wxPreviewFrame swig_types[125]
1560#define SWIGTYPE_p_wxPrintData swig_types[126]
1561#define SWIGTYPE_p_wxPrintDialog swig_types[127]
1562#define SWIGTYPE_p_wxPrintDialogData swig_types[128]
1563#define SWIGTYPE_p_wxPrintPreview swig_types[129]
1564#define SWIGTYPE_p_wxPrinter swig_types[130]
1565#define SWIGTYPE_p_wxProgressDialog swig_types[131]
1566#define SWIGTYPE_p_wxPyApp swig_types[132]
1567#define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
1568#define SWIGTYPE_p_wxPyControl swig_types[134]
1569#define SWIGTYPE_p_wxPyEvent swig_types[135]
1570#define SWIGTYPE_p_wxPyHtmlListBox swig_types[136]
1571#define SWIGTYPE_p_wxPyImageHandler swig_types[137]
1572#define SWIGTYPE_p_wxPyListCtrl swig_types[138]
1573#define SWIGTYPE_p_wxPyPanel swig_types[139]
1574#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140]
1575#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141]
1576#define SWIGTYPE_p_wxPyPreviewFrame swig_types[142]
1577#define SWIGTYPE_p_wxPyPrintPreview swig_types[143]
1578#define SWIGTYPE_p_wxPyPrintout swig_types[144]
1579#define SWIGTYPE_p_wxPyScrolledWindow swig_types[145]
1580#define SWIGTYPE_p_wxPySizer swig_types[146]
1581#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147]
1582#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148]
1583#define SWIGTYPE_p_wxPyTreeCtrl swig_types[149]
1584#define SWIGTYPE_p_wxPyTreeItemData swig_types[150]
1585#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151]
1586#define SWIGTYPE_p_wxPyVListBox swig_types[152]
1587#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153]
1588#define SWIGTYPE_p_wxPyValidator swig_types[154]
1589#define SWIGTYPE_p_wxPyWindow swig_types[155]
1590#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156]
1591#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157]
1592#define SWIGTYPE_p_wxRadioBox swig_types[158]
1593#define SWIGTYPE_p_wxRadioButton swig_types[159]
1594#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160]
1595#define SWIGTYPE_p_wxSashEvent swig_types[161]
1596#define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
1597#define SWIGTYPE_p_wxSashWindow swig_types[163]
1598#define SWIGTYPE_p_wxScrollBar swig_types[164]
1599#define SWIGTYPE_p_wxScrollEvent swig_types[165]
1600#define SWIGTYPE_p_wxScrollWinEvent swig_types[166]
1601#define SWIGTYPE_p_wxScrolledWindow swig_types[167]
1602#define SWIGTYPE_p_wxSetCursorEvent swig_types[168]
1603#define SWIGTYPE_p_wxShowEvent swig_types[169]
1604#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170]
1605#define SWIGTYPE_p_wxSizeEvent swig_types[171]
1606#define SWIGTYPE_p_wxSizer swig_types[172]
1607#define SWIGTYPE_p_wxSizerItem swig_types[173]
1608#define SWIGTYPE_p_wxSlider swig_types[174]
1609#define SWIGTYPE_p_wxSpinButton swig_types[175]
1610#define SWIGTYPE_p_wxSpinCtrl swig_types[176]
1611#define SWIGTYPE_p_wxSpinEvent swig_types[177]
1612#define SWIGTYPE_p_wxSplashScreen swig_types[178]
1613#define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
1614#define SWIGTYPE_p_wxSplitterEvent swig_types[180]
1615#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181]
1616#define SWIGTYPE_p_wxSplitterWindow swig_types[182]
1617#define SWIGTYPE_p_wxStaticBitmap swig_types[183]
1618#define SWIGTYPE_p_wxStaticBox swig_types[184]
1619#define SWIGTYPE_p_wxStaticBoxSizer swig_types[185]
1620#define SWIGTYPE_p_wxStaticLine swig_types[186]
1621#define SWIGTYPE_p_wxStaticPicture swig_types[187]
1622#define SWIGTYPE_p_wxStaticText swig_types[188]
1623#define SWIGTYPE_p_wxStatusBar swig_types[189]
1624#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190]
1625#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191]
1626#define SWIGTYPE_p_wxTIFFHandler swig_types[192]
1627#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193]
1628#define SWIGTYPE_p_wxTextCtrl swig_types[194]
1629#define SWIGTYPE_p_wxTextEntryDialog swig_types[195]
1630#define SWIGTYPE_p_wxTextUrlEvent swig_types[196]
1631#define SWIGTYPE_p_wxThinSplitterWindow swig_types[197]
1632#define SWIGTYPE_p_wxTipWindow swig_types[198]
1633#define SWIGTYPE_p_wxToggleButton swig_types[199]
1634#define SWIGTYPE_p_wxToolBar swig_types[200]
1635#define SWIGTYPE_p_wxToolBarBase swig_types[201]
1636#define SWIGTYPE_p_wxToolBarToolBase swig_types[202]
1637#define SWIGTYPE_p_wxTopLevelWindow swig_types[203]
1638#define SWIGTYPE_p_wxTreeEvent swig_types[204]
1639#define SWIGTYPE_p_wxTreeItemId swig_types[205]
1640#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[206]
1641#define SWIGTYPE_p_wxUpdateUIEvent swig_types[207]
1642#define SWIGTYPE_p_wxValidator swig_types[208]
1643#define SWIGTYPE_p_wxWindow swig_types[209]
1644#define SWIGTYPE_p_wxWindowCreateEvent swig_types[210]
1645#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[211]
1646#define SWIGTYPE_p_wxXPMHandler swig_types[212]
1647#define SWIGTYPE_ptrdiff_t swig_types[213]
1648#define SWIGTYPE_std__ptrdiff_t swig_types[214]
1649#define SWIGTYPE_unsigned_int swig_types[215]
1650static swig_type_info *swig_types[217];
1651static swig_module_info swig_module = {swig_types, 216, 0, 0, 0, 0};
1652#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1653#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1654
1655/* -------- TYPES TABLE (END) -------- */
1656
1657
1658/*-----------------------------------------------
1659 @(target):= _gizmos.so
1660 ------------------------------------------------*/
1661#define SWIG_init init_gizmos
1662
1663#define SWIG_name "_gizmos"
1664
1665#include "wx/wxPython/wxPython.h"
1666#include "wx/wxPython/pyclasses.h"
1667
1668#include <wx/gizmos/dynamicsash.h>
1669#include <wx/gizmos/editlbox.h>
1670#include <wx/gizmos/splittree.h>
1671#include <wx/gizmos/ledctrl.h>
1672#include <wx/gizmos/statpict.h>
1673
1674#include <wx/listctrl.h>
1675#include <wx/treectrl.h>
1676#include <wx/imaglist.h>
1677
1678#include "wx/treelistctrl.h"
1679#include "wx/wxPython/pytree.h"
1680
1681
1682 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1683 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1684 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1685 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
1686 static const wxString wxPyEmptyString(wxEmptyString);
1687
1688 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1689#define SWIG_From_int PyInt_FromLong
1690/*@@*/
1691
1692
1693#include <limits.h>
1694
1695
1696SWIGINTERN int
1697 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1698 const char *errmsg)
1699{
1700 if (value < min_value) {
1701 if (errmsg) {
1702 PyErr_Format(PyExc_OverflowError,
1703 "value %ld is less than '%s' minimum %ld",
1704 value, errmsg, min_value);
1705 }
1706 return 0;
1707 } else if (value > max_value) {
1708 if (errmsg) {
1709 PyErr_Format(PyExc_OverflowError,
1710 "value %ld is greater than '%s' maximum %ld",
1711 value, errmsg, max_value);
1712 }
1713 return 0;
1714 }
1715 return 1;
1716}
1717
1718
1719SWIGINTERN int
1720SWIG_AsVal_long(PyObject* obj, long* val)
1721{
1722 if (PyNumber_Check(obj)) {
1723 if (val) *val = PyInt_AsLong(obj);
1724 return 1;
1725 }
1726 else {
1727 SWIG_type_error("number", obj);
1728 }
1729 return 0;
1730}
1731
1732
1733#if INT_MAX != LONG_MAX
1734SWIGINTERN int
1735 SWIG_AsVal_int(PyObject *obj, int *val)
1736{
1737 const char* errmsg = val ? "int" : (char*)0;
1738 long v;
1739 if (SWIG_AsVal_long(obj, &v)) {
1740 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1741 if (val) *val = static_cast<int >(v);
1742 return 1;
1743 } else {
1744 return 0;
1745 }
1746 } else {
1747 PyErr_Clear();
1748 }
1749 if (val) {
1750 SWIG_type_error(errmsg, obj);
1751 }
1752 return 0;
1753}
1754#else
1755SWIGINTERNINLINE int
1756 SWIG_AsVal_int(PyObject *obj, int *val)
1757{
1758 return SWIG_AsVal_long(obj,(long*)val);
1759}
1760#endif
1761
1762
1763SWIGINTERNINLINE int
1764SWIG_As_int(PyObject* obj)
1765{
1766 int v;
1767 if (!SWIG_AsVal_int(obj, &v)) {
1768 /*
1769 this is needed to make valgrind/purify happier.
1770 */
1771 memset((void*)&v, 0, sizeof(int));
1772 }
1773 return v;
1774}
1775
1776
1777SWIGINTERNINLINE long
1778SWIG_As_long(PyObject* obj)
1779{
1780 long v;
1781 if (!SWIG_AsVal_long(obj, &v)) {
1782 /*
1783 this is needed to make valgrind/purify happier.
1784 */
1785 memset((void*)&v, 0, sizeof(long));
1786 }
1787 return v;
1788}
1789
1790
1791SWIGINTERNINLINE int
1792SWIG_Check_int(PyObject* obj)
1793{
1794 return SWIG_AsVal_int(obj, (int*)0);
1795}
1796
1797
1798SWIGINTERNINLINE int
1799SWIG_Check_long(PyObject* obj)
1800{
1801 return SWIG_AsVal_long(obj, (long*)0);
1802}
1803
1804static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
1805 wxArrayString strings;
1806 self->GetStrings(strings);
1807 return wxArrayString2PyList_helper(strings);
1808 }
1809
1810 typedef wxTreeCtrl wxPyTreeCtrl;
1811
1812
1813class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1814{
1815public:
1816 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1817 const wxPoint& pos = wxDefaultPosition,
1818 const wxSize& size = wxDefaultSize,
1819 long style = 0)
1820 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1821
1822
1823 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1824 bool found;
1825 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1826 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
1827 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
1828 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1829 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
1830 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1831 Py_DECREF(dcobj);
1832 Py_DECREF(idobj);
1833 Py_DECREF(recobj);
1834 }
1835 wxPyEndBlockThreads(blocked);
1836 if (! found)
1837 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1838 }
1839
1840 PYPRIVATE;
1841};
1842
1843
1844SWIGINTERN int
1845 SWIG_AsVal_bool(PyObject *obj, bool *val)
1846{
1847 if (obj == Py_True) {
1848 if (val) *val = true;
1849 return 1;
1850 }
1851 if (obj == Py_False) {
1852 if (val) *val = false;
1853 return 1;
1854 }
1855 int res = 0;
1856 if (SWIG_AsVal_int(obj, &res)) {
1857 if (val) *val = res ? true : false;
1858 return 1;
1859 } else {
1860 PyErr_Clear();
1861 }
1862 if (val) {
1863 SWIG_type_error("bool", obj);
1864 }
1865 return 0;
1866}
1867
1868
1869SWIGINTERNINLINE bool
1870SWIG_As_bool(PyObject* obj)
1871{
1872 bool v;
1873 if (!SWIG_AsVal_bool(obj, &v)) {
1874 /*
1875 this is needed to make valgrind/purify happier.
1876 */
1877 memset((void*)&v, 0, sizeof(bool));
1878 }
1879 return v;
1880}
1881
1882
1883SWIGINTERNINLINE int
1884SWIG_Check_bool(PyObject* obj)
1885{
1886 return SWIG_AsVal_bool(obj, (bool*)0);
1887}
1888
1889
1890SWIGINTERN int
1891SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1892{
1893 long v = 0;
1894 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1895 SWIG_type_error("unsigned number", obj);
1896 }
1897 else if (val)
1898 *val = (unsigned long)v;
1899 return 1;
1900}
1901
1902
1903SWIGINTERNINLINE unsigned long
1904SWIG_As_unsigned_SS_long(PyObject* obj)
1905{
1906 unsigned long v;
1907 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1908 /*
1909 this is needed to make valgrind/purify happier.
1910 */
1911 memset((void*)&v, 0, sizeof(unsigned long));
1912 }
1913 return v;
1914}
1915
1916
1917SWIGINTERNINLINE int
1918SWIG_Check_unsigned_SS_long(PyObject* obj)
1919{
1920 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1921}
1922
1923
1924SWIGINTERNINLINE PyObject*
1925 SWIG_From_unsigned_SS_long(unsigned long value)
1926{
1927 return (value > LONG_MAX) ?
1928 PyLong_FromUnsignedLong(value)
1929 : PyInt_FromLong(static_cast<long >(value));
1930}
1931
1932 // C++ version of Python aware control
1933class wxPyTreeListCtrl : public wxTreeListCtrl {
1934 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1935public:
1936 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1937 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1938 const wxPoint& pos,
1939 const wxSize& size,
1940 long style,
1941 const wxValidator &validator,
1942 const wxString& name) :
1943 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1944
1945 int OnCompareItems(const wxTreeItemId& item1,
1946 const wxTreeItemId& item2) {
1947 int rval = 0;
1948 bool found;
1949 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1950 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1951 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1952 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1953 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1954 Py_DECREF(o1);
1955 Py_DECREF(o2);
1956 }
1957 wxPyEndBlockThreads(blocked);
1958 if (! found)
1959 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1960 return rval;
1961 }
1962 PYPRIVATE;
1963};
1964
1965IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1966
1967
1968
1969 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1970#define SWIG_From_long PyInt_FromLong
1971/*@@*/
1972
1973
1974#if UINT_MAX < LONG_MAX
1975/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1976#define SWIG_From_unsigned_SS_int SWIG_From_long
1977/*@@*/
1978#else
1979/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1980#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1981/*@@*/
1982#endif
1983
1984
1985SWIGINTERNINLINE int
1986 SWIG_CheckUnsignedLongInRange(unsigned long value,
1987 unsigned long max_value,
1988 const char *errmsg)
1989{
1990 if (value > max_value) {
1991 if (errmsg) {
1992 PyErr_Format(PyExc_OverflowError,
1993 "value %lu is greater than '%s' minimum %lu",
1994 value, errmsg, max_value);
1995 }
1996 return 0;
1997 }
1998 return 1;
1999 }
2000
2001
2002#if UINT_MAX != ULONG_MAX
2003SWIGINTERN int
2004 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2005{
2006 const char* errmsg = val ? "unsigned int" : (char*)0;
2007 unsigned long v;
2008 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2009 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2010 if (val) *val = static_cast<unsigned int >(v);
2011 return 1;
2012 }
2013 } else {
2014 PyErr_Clear();
2015 }
2016 if (val) {
2017 SWIG_type_error(errmsg, obj);
2018 }
2019 return 0;
2020}
2021#else
2022SWIGINTERNINLINE unsigned int
2023 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2024{
2025 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2026}
2027#endif
2028
2029
2030SWIGINTERNINLINE unsigned int
2031SWIG_As_unsigned_SS_int(PyObject* obj)
2032{
2033 unsigned int v;
2034 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2035 /*
2036 this is needed to make valgrind/purify happier.
2037 */
2038 memset((void*)&v, 0, sizeof(unsigned int));
2039 }
2040 return v;
2041}
2042
2043
2044SWIGINTERNINLINE int
2045SWIG_Check_unsigned_SS_int(PyObject* obj)
2046{
2047 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2048}
2049
2050static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
2051 if (column < 0) column = self->GetMainColumn();
2052 return self->GetItemText(item, column);
2053 }
2054static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2055 if (column < 0) column = self->GetMainColumn();
2056 return self->GetItemImage(item, column, which);
2057 }
2058static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
2059 if (column < 0) column = self->GetMainColumn();
2060 self->SetItemText(item, column, text);
2061 }
2062static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2063 if (column < 0) column = self->GetMainColumn();
2064 self->SetItemImage(item, column, image, which);
2065 }
2066static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2067 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2068 if (data == NULL) {
2069 data = new wxPyTreeItemData();
2070 data->SetId(item); // set the id
2071 self->SetItemData(item, data);
2072 }
2073 return data;
2074 }
2075static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2076 data->SetId(item); // set the id
2077 self->SetItemData(item, data);
2078 }
2079static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2080 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2081 if (data == NULL) {
2082 data = new wxPyTreeItemData();
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
2086 return data->GetData();
2087 }
2088static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
2089 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2090 if (data == NULL) {
2091 data = new wxPyTreeItemData(obj);
2092 data->SetId(item); // set the id
2093 self->SetItemData(item, data);
2094 } else
2095 data->SetData(obj);
2096 }
2097static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
2098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2099 PyObject* rval = PyList_New(0);
2100 wxArrayTreeItemIds array;
2101 size_t num, x;
2102 num = self->GetSelections(array);
2103 for (x=0; x < num; x++) {
2104 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2105 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval, item);
2107 }
2108 wxPyEndBlockThreads(blocked);
2109 return rval;
2110 }
2111static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2112 void* cookie = 0;
2113 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2114 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2115 PyObject* tup = PyTuple_New(2);
2116 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2117 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2118 wxPyEndBlockThreads(blocked);
2119 return tup;
2120 }
2121static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
2122 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2123 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2124 PyObject* tup = PyTuple_New(2);
2125 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2126 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2127 wxPyEndBlockThreads(blocked);
2128 return tup;
2129 }
2130
2131 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
2132 PyObject* o2;
2133 PyObject* o3;
2134
2135 if (!target) {
2136 target = o;
2137 } else if (target == Py_None) {
2138 Py_DECREF(Py_None);
2139 target = o;
2140 } else {
2141 if (!PyTuple_Check(target)) {
2142 o2 = target;
2143 target = PyTuple_New(1);
2144 PyTuple_SetItem(target, 0, o2);
2145 }
2146 o3 = PyTuple_New(1);
2147 PyTuple_SetItem(o3, 0, o);
2148
2149 o2 = target;
2150 target = PySequence_Concat(o2, o3);
2151 Py_DECREF(o2);
2152 Py_DECREF(o3);
2153 }
2154 return target;
2155 }
2156
2157
2158static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2159 wxRect rect;
2160 if (self->GetBoundingRect(item, rect, textOnly)) {
2161 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2162 wxRect* r = new wxRect(rect);
2163 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
2164 wxPyEndBlockThreads(blocked);
2165 return val;
2166 }
2167 else {
2168 RETURN_NONE();
2169 }
2170 }
2171
2172#include <float.h>
2173SWIGINTERN int
2174 SWIG_CheckDoubleInRange(double value, double min_value,
2175 double max_value, const char* errmsg)
2176{
2177 if (value < min_value) {
2178 if (errmsg) {
2179 PyErr_Format(PyExc_OverflowError,
2180 "value %g is less than %s minimum %g",
2181 value, errmsg, min_value);
2182 }
2183 return 0;
2184 } else if (value > max_value) {
2185 if (errmsg) {
2186 PyErr_Format(PyExc_OverflowError,
2187 "value %g is greater than %s maximum %g",
2188 value, errmsg, max_value);
2189 }
2190 return 0;
2191 }
2192 return 1;
2193}
2194
2195
2196SWIGINTERN int
2197SWIG_AsVal_double(PyObject *obj, double* val)
2198{
2199 if (PyNumber_Check(obj)) {
2200 if (val) *val = PyFloat_AsDouble(obj);
2201 return 1;
2202 }
2203 else {
2204 SWIG_type_error("number", obj);
2205 }
2206 return 0;
2207}
2208
2209
2210SWIGINTERN int
2211 SWIG_AsVal_float(PyObject *obj, float *val)
2212{
2213 const char* errmsg = val ? "float" : (char*)0;
2214 double v;
2215 if (SWIG_AsVal_double(obj, &v)) {
2216 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2217 if (val) *val = static_cast<float >(v);
2218 return 1;
2219 } else {
2220 return 0;
2221 }
2222 } else {
2223 PyErr_Clear();
2224 }
2225 if (val) {
2226 SWIG_type_error(errmsg, obj);
2227 }
2228 return 0;
2229}
2230
2231
2232SWIGINTERNINLINE float
2233SWIG_As_float(PyObject* obj)
2234{
2235 float v;
2236 if (!SWIG_AsVal_float(obj, &v)) {
2237 /*
2238 this is needed to make valgrind/purify happier.
2239 */
2240 memset((void*)&v, 0, sizeof(float));
2241 }
2242 return v;
2243}
2244
2245
2246SWIGINTERNINLINE int
2247SWIG_Check_float(PyObject* obj)
2248{
2249 return SWIG_AsVal_float(obj, (float*)0);
2250}
2251
2252
2253 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2254#define SWIG_From_float PyFloat_FromDouble
2255/*@@*/
2256
2257
2258#ifdef __cplusplus
2259extern "C" {
2260#endif
2261static int _wrap_DynamicSashNameStr_set(PyObject *) {
2262 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
2263 return 1;
2264}
2265
2266
2267static PyObject *_wrap_DynamicSashNameStr_get(void) {
2268 PyObject *pyobj = NULL;
2269
2270 {
2271#if wxUSE_UNICODE
2272 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2273#else
2274 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2275#endif
2276 }
2277 return pyobj;
2278}
2279
2280
2281static int _wrap_EditableListBoxNameStr_set(PyObject *) {
2282 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2283 return 1;
2284}
2285
2286
2287static PyObject *_wrap_EditableListBoxNameStr_get(void) {
2288 PyObject *pyobj = NULL;
2289
2290 {
2291#if wxUSE_UNICODE
2292 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2293#else
2294 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2295#endif
2296 }
2297 return pyobj;
2298}
2299
2300
2301static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
2302 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2303 return 1;
2304}
2305
2306
2307static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
2308 PyObject *pyobj = NULL;
2309
2310 {
2311#if wxUSE_UNICODE
2312 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2313#else
2314 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2315#endif
2316 }
2317 return pyobj;
2318}
2319
2320
2321static int _wrap_StaticPictureNameStr_set(PyObject *) {
2322 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2323 return 1;
2324}
2325
2326
2327static PyObject *_wrap_StaticPictureNameStr_get(void) {
2328 PyObject *pyobj = NULL;
2329
2330 {
2331#if wxUSE_UNICODE
2332 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2333#else
2334 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2335#endif
2336 }
2337 return pyobj;
2338}
2339
2340
2341static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj = NULL;
2343 wxObject *arg1 = (wxObject *) 0 ;
2344 wxDynamicSashSplitEvent *result;
2345 PyObject * obj0 = 0 ;
2346 char *kwnames[] = {
2347 (char *) "target", NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
2351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2352 if (SWIG_arg_fail(1)) SWIG_fail;
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
2361 return resultobj;
2362 fail:
2363 return NULL;
2364}
2365
2366
2367static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
2368 PyObject *obj;
2369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2370 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
2371 Py_INCREF(obj);
2372 return Py_BuildValue((char *)"");
2373}
2374static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj = NULL;
2376 wxObject *arg1 = (wxObject *) 0 ;
2377 wxDynamicSashUnifyEvent *result;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "target", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
2384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2385 if (SWIG_arg_fail(1)) SWIG_fail;
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
2394 return resultobj;
2395 fail:
2396 return NULL;
2397}
2398
2399
2400static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
2401 PyObject *obj;
2402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2403 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2404 Py_INCREF(obj);
2405 return Py_BuildValue((char *)"");
2406}
2407static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2408 PyObject *resultobj = NULL;
2409 wxWindow *arg1 = (wxWindow *) 0 ;
2410 int arg2 = (int) -1 ;
2411 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2412 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2413 wxSize const &arg4_defvalue = wxDefaultSize ;
2414 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2415 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2416 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2417 wxString *arg6 = (wxString *) &arg6_defvalue ;
2418 wxDynamicSashWindow *result;
2419 wxPoint temp3 ;
2420 wxSize temp4 ;
2421 bool temp6 = false ;
2422 PyObject * obj0 = 0 ;
2423 PyObject * obj1 = 0 ;
2424 PyObject * obj2 = 0 ;
2425 PyObject * obj3 = 0 ;
2426 PyObject * obj4 = 0 ;
2427 PyObject * obj5 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2434 if (SWIG_arg_fail(1)) SWIG_fail;
2435 if (obj1) {
2436 {
2437 arg2 = static_cast<int >(SWIG_As_int(obj1));
2438 if (SWIG_arg_fail(2)) SWIG_fail;
2439 }
2440 }
2441 if (obj2) {
2442 {
2443 arg3 = &temp3;
2444 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2445 }
2446 }
2447 if (obj3) {
2448 {
2449 arg4 = &temp4;
2450 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2451 }
2452 }
2453 if (obj4) {
2454 {
2455 arg5 = static_cast<long >(SWIG_As_long(obj4));
2456 if (SWIG_arg_fail(5)) SWIG_fail;
2457 }
2458 }
2459 if (obj5) {
2460 {
2461 arg6 = wxString_in_helper(obj5);
2462 if (arg6 == NULL) SWIG_fail;
2463 temp6 = true;
2464 }
2465 }
2466 {
2467 if (!wxPyCheckForApp()) SWIG_fail;
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2475 {
2476 if (temp6)
2477 delete arg6;
2478 }
2479 return resultobj;
2480 fail:
2481 {
2482 if (temp6)
2483 delete arg6;
2484 }
2485 return NULL;
2486}
2487
2488
2489static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2490 PyObject *resultobj = NULL;
2491 wxDynamicSashWindow *result;
2492 char *kwnames[] = {
2493 NULL
2494 };
2495
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2497 {
2498 if (!wxPyCheckForApp()) SWIG_fail;
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2506 return resultobj;
2507 fail:
2508 return NULL;
2509}
2510
2511
2512static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj = NULL;
2514 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2515 wxWindow *arg2 = (wxWindow *) 0 ;
2516 int arg3 = (int) -1 ;
2517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2519 wxSize const &arg5_defvalue = wxDefaultSize ;
2520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2521 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2522 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2523 wxString *arg7 = (wxString *) &arg7_defvalue ;
2524 bool result;
2525 wxPoint temp4 ;
2526 wxSize temp5 ;
2527 bool temp7 = false ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 PyObject * obj2 = 0 ;
2531 PyObject * obj3 = 0 ;
2532 PyObject * obj4 = 0 ;
2533 PyObject * obj5 = 0 ;
2534 PyObject * obj6 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
2542 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2543 if (SWIG_arg_fail(2)) SWIG_fail;
2544 if (obj2) {
2545 {
2546 arg3 = static_cast<int >(SWIG_As_int(obj2));
2547 if (SWIG_arg_fail(3)) SWIG_fail;
2548 }
2549 }
2550 if (obj3) {
2551 {
2552 arg4 = &temp4;
2553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2554 }
2555 }
2556 if (obj4) {
2557 {
2558 arg5 = &temp5;
2559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2560 }
2561 }
2562 if (obj5) {
2563 {
2564 arg6 = static_cast<long >(SWIG_As_long(obj5));
2565 if (SWIG_arg_fail(6)) SWIG_fail;
2566 }
2567 }
2568 if (obj6) {
2569 {
2570 arg7 = wxString_in_helper(obj6);
2571 if (arg7 == NULL) SWIG_fail;
2572 temp7 = true;
2573 }
2574 }
2575 {
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 {
2583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2584 }
2585 {
2586 if (temp7)
2587 delete arg7;
2588 }
2589 return resultobj;
2590 fail:
2591 {
2592 if (temp7)
2593 delete arg7;
2594 }
2595 return NULL;
2596}
2597
2598
2599static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2600 PyObject *resultobj = NULL;
2601 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2602 wxWindow *arg2 = (wxWindow *) 0 ;
2603 wxScrollBar *result;
2604 PyObject * obj0 = 0 ;
2605 PyObject * obj1 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self",(char *) "child", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
2611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2612 if (SWIG_arg_fail(1)) SWIG_fail;
2613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2614 if (SWIG_arg_fail(2)) SWIG_fail;
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2623 return resultobj;
2624 fail:
2625 return NULL;
2626}
2627
2628
2629static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2630 PyObject *resultobj = NULL;
2631 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2632 wxWindow *arg2 = (wxWindow *) 0 ;
2633 wxScrollBar *result;
2634 PyObject * obj0 = 0 ;
2635 PyObject * obj1 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "self",(char *) "child", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
2641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2642 if (SWIG_arg_fail(1)) SWIG_fail;
2643 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2644 if (SWIG_arg_fail(2)) SWIG_fail;
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2653 return resultobj;
2654 fail:
2655 return NULL;
2656}
2657
2658
2659static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
2660 PyObject *obj;
2661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2662 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2663 Py_INCREF(obj);
2664 return Py_BuildValue((char *)"");
2665}
2666static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj = NULL;
2668 wxWindow *arg1 = (wxWindow *) 0 ;
2669 int arg2 = (int) -1 ;
2670 wxString const &arg3_defvalue = wxPyEmptyString ;
2671 wxString *arg3 = (wxString *) &arg3_defvalue ;
2672 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2673 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2674 wxSize const &arg5_defvalue = wxDefaultSize ;
2675 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2676 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2677 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2678 wxString *arg7 = (wxString *) &arg7_defvalue ;
2679 wxEditableListBox *result;
2680 bool temp3 = false ;
2681 wxPoint temp4 ;
2682 wxSize temp5 ;
2683 bool temp7 = false ;
2684 PyObject * obj0 = 0 ;
2685 PyObject * obj1 = 0 ;
2686 PyObject * obj2 = 0 ;
2687 PyObject * obj3 = 0 ;
2688 PyObject * obj4 = 0 ;
2689 PyObject * obj5 = 0 ;
2690 PyObject * obj6 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2697 if (SWIG_arg_fail(1)) SWIG_fail;
2698 if (obj1) {
2699 {
2700 arg2 = static_cast<int >(SWIG_As_int(obj1));
2701 if (SWIG_arg_fail(2)) SWIG_fail;
2702 }
2703 }
2704 if (obj2) {
2705 {
2706 arg3 = wxString_in_helper(obj2);
2707 if (arg3 == NULL) SWIG_fail;
2708 temp3 = true;
2709 }
2710 }
2711 if (obj3) {
2712 {
2713 arg4 = &temp4;
2714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2715 }
2716 }
2717 if (obj4) {
2718 {
2719 arg5 = &temp5;
2720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2721 }
2722 }
2723 if (obj5) {
2724 {
2725 arg6 = static_cast<long >(SWIG_As_long(obj5));
2726 if (SWIG_arg_fail(6)) SWIG_fail;
2727 }
2728 }
2729 if (obj6) {
2730 {
2731 arg7 = wxString_in_helper(obj6);
2732 if (arg7 == NULL) SWIG_fail;
2733 temp7 = true;
2734 }
2735 }
2736 {
2737 if (!wxPyCheckForApp()) SWIG_fail;
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
2745 {
2746 if (temp3)
2747 delete arg3;
2748 }
2749 {
2750 if (temp7)
2751 delete arg7;
2752 }
2753 return resultobj;
2754 fail:
2755 {
2756 if (temp3)
2757 delete arg3;
2758 }
2759 {
2760 if (temp7)
2761 delete arg7;
2762 }
2763 return NULL;
2764}
2765
2766
2767static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2768 PyObject *resultobj = NULL;
2769 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2770 wxArrayString *arg2 = 0 ;
2771 bool temp2 = false ;
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 char *kwnames[] = {
2775 (char *) "self",(char *) "strings", NULL
2776 };
2777
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
2779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2780 if (SWIG_arg_fail(1)) SWIG_fail;
2781 {
2782 if (! PySequence_Check(obj1)) {
2783 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2784 SWIG_fail;
2785 }
2786 arg2 = new wxArrayString;
2787 temp2 = true;
2788 int i, len=PySequence_Length(obj1);
2789 for (i=0; i<len; i++) {
2790 PyObject* item = PySequence_GetItem(obj1, i);
2791 wxString* s = wxString_in_helper(item);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 arg2->Add(*s);
2794 delete s;
2795 Py_DECREF(item);
2796 }
2797 }
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 (arg1)->SetStrings((wxArrayString const &)*arg2);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 Py_INCREF(Py_None); resultobj = Py_None;
2806 {
2807 if (temp2) delete arg2;
2808 }
2809 return resultobj;
2810 fail:
2811 {
2812 if (temp2) delete arg2;
2813 }
2814 return NULL;
2815}
2816
2817
2818static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj = NULL;
2820 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2821 PyObject *result;
2822 PyObject * obj0 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "self", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
2828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2829 if (SWIG_arg_fail(1)) SWIG_fail;
2830 {
2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
2832 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2833
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2837 resultobj = result;
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
2844static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
2845 PyObject *resultobj = NULL;
2846 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2847 wxPyListCtrl *result;
2848 PyObject * obj0 = 0 ;
2849 char *kwnames[] = {
2850 (char *) "self", NULL
2851 };
2852
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
2854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2855 if (SWIG_arg_fail(1)) SWIG_fail;
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
2864 return resultobj;
2865 fail:
2866 return NULL;
2867}
2868
2869
2870static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
2871 PyObject *resultobj = NULL;
2872 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2873 wxBitmapButton *result;
2874 PyObject * obj0 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
2880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2881 if (SWIG_arg_fail(1)) SWIG_fail;
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 result = (wxBitmapButton *)(arg1)->GetDelButton();
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 {
2890 resultobj = wxPyMake_wxObject(result, 0);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
2898static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj = NULL;
2900 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2901 wxBitmapButton *result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
2908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (wxBitmapButton *)(arg1)->GetNewButton();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 resultobj = wxPyMake_wxObject(result, 0);
2919 }
2920 return resultobj;
2921 fail:
2922 return NULL;
2923}
2924
2925
2926static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj = NULL;
2928 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2929 wxBitmapButton *result;
2930 PyObject * obj0 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
2936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2937 if (SWIG_arg_fail(1)) SWIG_fail;
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 result = (wxBitmapButton *)(arg1)->GetUpButton();
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 {
2946 resultobj = wxPyMake_wxObject(result, 0);
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951}
2952
2953
2954static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj = NULL;
2956 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2957 wxBitmapButton *result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (wxBitmapButton *)(arg1)->GetDownButton();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974 resultobj = wxPyMake_wxObject(result, 0);
2975 }
2976 return resultobj;
2977 fail:
2978 return NULL;
2979}
2980
2981
2982static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj = NULL;
2984 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2985 wxBitmapButton *result;
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
2992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail;
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 result = (wxBitmapButton *)(arg1)->GetEditButton();
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 {
3002 resultobj = wxPyMake_wxObject(result, 0);
3003 }
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
3010static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
3011 PyObject *obj;
3012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
3014 Py_INCREF(obj);
3015 return Py_BuildValue((char *)"");
3016}
3017static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj = NULL;
3019 wxWindow *arg1 = (wxWindow *) 0 ;
3020 int arg2 ;
3021 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3022 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3023 wxSize const &arg4_defvalue = wxDefaultSize ;
3024 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3025 long arg5 = (long) wxTR_HAS_BUTTONS ;
3026 wxRemotelyScrolledTreeCtrl *result;
3027 wxPoint temp3 ;
3028 wxSize temp4 ;
3029 PyObject * obj0 = 0 ;
3030 PyObject * obj1 = 0 ;
3031 PyObject * obj2 = 0 ;
3032 PyObject * obj3 = 0 ;
3033 PyObject * obj4 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3040 if (SWIG_arg_fail(1)) SWIG_fail;
3041 {
3042 arg2 = static_cast<int >(SWIG_As_int(obj1));
3043 if (SWIG_arg_fail(2)) SWIG_fail;
3044 }
3045 if (obj2) {
3046 {
3047 arg3 = &temp3;
3048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3049 }
3050 }
3051 if (obj3) {
3052 {
3053 arg4 = &temp4;
3054 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3055 }
3056 }
3057 if (obj4) {
3058 {
3059 arg5 = static_cast<long >(SWIG_As_long(obj4));
3060 if (SWIG_arg_fail(5)) SWIG_fail;
3061 }
3062 }
3063 {
3064 if (!wxPyCheckForApp()) SWIG_fail;
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
3072 return resultobj;
3073 fail:
3074 return NULL;
3075}
3076
3077
3078static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj = NULL;
3080 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3081 PyObject * obj0 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
3087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3088 if (SWIG_arg_fail(1)) SWIG_fail;
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 (arg1)->HideVScrollbar();
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 Py_INCREF(Py_None); resultobj = Py_None;
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
3103static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj = NULL;
3105 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
3112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail;
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->AdjustRemoteScrollbars();
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
3128static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj = NULL;
3130 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3131 wxScrolledWindow *result;
3132 PyObject * obj0 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
3138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail;
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
3147 {
3148 resultobj = wxPyMake_wxObject(result, 0);
3149 }
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
3156static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj = NULL;
3158 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3159 int arg2 ;
3160 int arg3 ;
3161 PyObject * obj0 = 0 ;
3162 PyObject * obj1 = 0 ;
3163 PyObject * obj2 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
3169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3170 if (SWIG_arg_fail(1)) SWIG_fail;
3171 {
3172 arg2 = static_cast<int >(SWIG_As_int(obj1));
3173 if (SWIG_arg_fail(2)) SWIG_fail;
3174 }
3175 {
3176 arg3 = static_cast<int >(SWIG_As_int(obj2));
3177 if (SWIG_arg_fail(3)) SWIG_fail;
3178 }
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->ScrollToLine(arg2,arg3);
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 Py_INCREF(Py_None); resultobj = Py_None;
3187 return resultobj;
3188 fail:
3189 return NULL;
3190}
3191
3192
3193static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj = NULL;
3195 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3196 wxWindow *arg2 = (wxWindow *) 0 ;
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 char *kwnames[] = {
3200 (char *) "self",(char *) "companion", NULL
3201 };
3202
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
3204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3205 if (SWIG_arg_fail(1)) SWIG_fail;
3206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3207 if (SWIG_arg_fail(2)) SWIG_fail;
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 (arg1)->SetCompanionWindow(arg2);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 Py_INCREF(Py_None); resultobj = Py_None;
3216 return resultobj;
3217 fail:
3218 return NULL;
3219}
3220
3221
3222static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3223 PyObject *resultobj = NULL;
3224 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3225 wxWindow *result;
3226 PyObject * obj0 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
3232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3233 if (SWIG_arg_fail(1)) SWIG_fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = wxPyMake_wxObject(result, 0);
3243 }
3244 return resultobj;
3245 fail:
3246 return NULL;
3247}
3248
3249
3250static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
3251 PyObject *obj;
3252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3253 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
3254 Py_INCREF(obj);
3255 return Py_BuildValue((char *)"");
3256}
3257static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj = NULL;
3259 wxWindow *arg1 = (wxWindow *) 0 ;
3260 int arg2 = (int) -1 ;
3261 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3262 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3263 wxSize const &arg4_defvalue = wxDefaultSize ;
3264 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3265 long arg5 = (long) 0 ;
3266 wxPyTreeCompanionWindow *result;
3267 wxPoint temp3 ;
3268 wxSize temp4 ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 PyObject * obj2 = 0 ;
3272 PyObject * obj3 = 0 ;
3273 PyObject * obj4 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 if (obj1) {
3282 {
3283 arg2 = static_cast<int >(SWIG_As_int(obj1));
3284 if (SWIG_arg_fail(2)) SWIG_fail;
3285 }
3286 }
3287 if (obj2) {
3288 {
3289 arg3 = &temp3;
3290 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3291 }
3292 }
3293 if (obj3) {
3294 {
3295 arg4 = &temp4;
3296 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3297 }
3298 }
3299 if (obj4) {
3300 {
3301 arg5 = static_cast<long >(SWIG_As_long(obj4));
3302 if (SWIG_arg_fail(5)) SWIG_fail;
3303 }
3304 }
3305 {
3306 if (!wxPyCheckForApp()) SWIG_fail;
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
3314 return resultobj;
3315 fail:
3316 return NULL;
3317}
3318
3319
3320static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3321 PyObject *resultobj = NULL;
3322 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3323 PyObject *arg2 = (PyObject *) 0 ;
3324 PyObject *arg3 = (PyObject *) 0 ;
3325 PyObject * obj0 = 0 ;
3326 PyObject * obj1 = 0 ;
3327 PyObject * obj2 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self",(char *) "self",(char *) "_class", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail;
3335 arg2 = obj1;
3336 arg3 = obj2;
3337 {
3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
3339 (arg1)->_setCallbackInfo(arg2,arg3);
3340
3341 wxPyEndAllowThreads(__tstate);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
3344 Py_INCREF(Py_None); resultobj = Py_None;
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
3351static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3352 PyObject *resultobj = NULL;
3353 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3354 wxRemotelyScrolledTreeCtrl *result;
3355 PyObject * obj0 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
3361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail;
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
3377static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj = NULL;
3379 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3380 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3381 PyObject * obj0 = 0 ;
3382 PyObject * obj1 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self",(char *) "treeCtrl", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
3388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail;
3390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3391 if (SWIG_arg_fail(2)) SWIG_fail;
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 (arg1)->SetTreeCtrl(arg2);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 Py_INCREF(Py_None); resultobj = Py_None;
3400 return resultobj;
3401 fail:
3402 return NULL;
3403}
3404
3405
3406static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
3407 PyObject *obj;
3408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3409 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3410 Py_INCREF(obj);
3411 return Py_BuildValue((char *)"");
3412}
3413static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj = NULL;
3415 wxWindow *arg1 = (wxWindow *) 0 ;
3416 int arg2 = (int) -1 ;
3417 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3418 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3419 wxSize const &arg4_defvalue = wxDefaultSize ;
3420 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3421 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3422 wxThinSplitterWindow *result;
3423 wxPoint temp3 ;
3424 wxSize temp4 ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 PyObject * obj3 = 0 ;
3429 PyObject * obj4 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3436 if (SWIG_arg_fail(1)) SWIG_fail;
3437 if (obj1) {
3438 {
3439 arg2 = static_cast<int >(SWIG_As_int(obj1));
3440 if (SWIG_arg_fail(2)) SWIG_fail;
3441 }
3442 }
3443 if (obj2) {
3444 {
3445 arg3 = &temp3;
3446 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3447 }
3448 }
3449 if (obj3) {
3450 {
3451 arg4 = &temp4;
3452 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3453 }
3454 }
3455 if (obj4) {
3456 {
3457 arg5 = static_cast<long >(SWIG_As_long(obj4));
3458 if (SWIG_arg_fail(5)) SWIG_fail;
3459 }
3460 }
3461 {
3462 if (!wxPyCheckForApp()) SWIG_fail;
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
3470 return resultobj;
3471 fail:
3472 return NULL;
3473}
3474
3475
3476static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
3477 PyObject *obj;
3478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3480 Py_INCREF(obj);
3481 return Py_BuildValue((char *)"");
3482}
3483static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj = NULL;
3485 wxWindow *arg1 = (wxWindow *) 0 ;
3486 int arg2 = (int) -1 ;
3487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3489 wxSize const &arg4_defvalue = wxDefaultSize ;
3490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3491 long arg5 = (long) 0 ;
3492 wxSplitterScrolledWindow *result;
3493 wxPoint temp3 ;
3494 wxSize temp4 ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 PyObject * obj2 = 0 ;
3498 PyObject * obj3 = 0 ;
3499 PyObject * obj4 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3506 if (SWIG_arg_fail(1)) SWIG_fail;
3507 if (obj1) {
3508 {
3509 arg2 = static_cast<int >(SWIG_As_int(obj1));
3510 if (SWIG_arg_fail(2)) SWIG_fail;
3511 }
3512 }
3513 if (obj2) {
3514 {
3515 arg3 = &temp3;
3516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3517 }
3518 }
3519 if (obj3) {
3520 {
3521 arg4 = &temp4;
3522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3523 }
3524 }
3525 if (obj4) {
3526 {
3527 arg5 = static_cast<long >(SWIG_As_long(obj4));
3528 if (SWIG_arg_fail(5)) SWIG_fail;
3529 }
3530 }
3531 {
3532 if (!wxPyCheckForApp()) SWIG_fail;
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
3540 return resultobj;
3541 fail:
3542 return NULL;
3543}
3544
3545
3546static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
3547 PyObject *obj;
3548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3549 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3550 Py_INCREF(obj);
3551 return Py_BuildValue((char *)"");
3552}
3553static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj = NULL;
3555 wxWindow *arg1 = (wxWindow *) 0 ;
3556 int arg2 = (int) -1 ;
3557 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3558 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3559 wxSize const &arg4_defvalue = wxDefaultSize ;
3560 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3561 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3562 wxLEDNumberCtrl *result;
3563 wxPoint temp3 ;
3564 wxSize temp4 ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 PyObject * obj2 = 0 ;
3568 PyObject * obj3 = 0 ;
3569 PyObject * obj4 = 0 ;
3570 char *kwnames[] = {
3571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3572 };
3573
3574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3576 if (SWIG_arg_fail(1)) SWIG_fail;
3577 if (obj1) {
3578 {
3579 arg2 = static_cast<int >(SWIG_As_int(obj1));
3580 if (SWIG_arg_fail(2)) SWIG_fail;
3581 }
3582 }
3583 if (obj2) {
3584 {
3585 arg3 = &temp3;
3586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3587 }
3588 }
3589 if (obj3) {
3590 {
3591 arg4 = &temp4;
3592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3593 }
3594 }
3595 if (obj4) {
3596 {
3597 arg5 = static_cast<long >(SWIG_As_long(obj4));
3598 if (SWIG_arg_fail(5)) SWIG_fail;
3599 }
3600 }
3601 {
3602 if (!wxPyCheckForApp()) SWIG_fail;
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
3616static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj = NULL;
3618 wxLEDNumberCtrl *result;
3619 char *kwnames[] = {
3620 NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3624 {
3625 if (!wxPyCheckForApp()) SWIG_fail;
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
3639static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj = NULL;
3641 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3642 wxWindow *arg2 = (wxWindow *) 0 ;
3643 int arg3 = (int) -1 ;
3644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3646 wxSize const &arg5_defvalue = wxDefaultSize ;
3647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3648 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3649 bool result;
3650 wxPoint temp4 ;
3651 wxSize temp5 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 PyObject * obj2 = 0 ;
3655 PyObject * obj3 = 0 ;
3656 PyObject * obj4 = 0 ;
3657 PyObject * obj5 = 0 ;
3658 char *kwnames[] = {
3659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3664 if (SWIG_arg_fail(1)) SWIG_fail;
3665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(2)) SWIG_fail;
3667 if (obj2) {
3668 {
3669 arg3 = static_cast<int >(SWIG_As_int(obj2));
3670 if (SWIG_arg_fail(3)) SWIG_fail;
3671 }
3672 }
3673 if (obj3) {
3674 {
3675 arg4 = &temp4;
3676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3677 }
3678 }
3679 if (obj4) {
3680 {
3681 arg5 = &temp5;
3682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3683 }
3684 }
3685 if (obj5) {
3686 {
3687 arg6 = static_cast<long >(SWIG_As_long(obj5));
3688 if (SWIG_arg_fail(6)) SWIG_fail;
3689 }
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
3707static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj = NULL;
3709 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3710 wxLEDValueAlign result;
3711 PyObject * obj0 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
3717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail;
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = SWIG_From_int((result));
3727 return resultobj;
3728 fail:
3729 return NULL;
3730}
3731
3732
3733static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj = NULL;
3735 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3736 bool result;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
3743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3744 if (SWIG_arg_fail(1)) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 {
3753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3754 }
3755 return resultobj;
3756 fail:
3757 return NULL;
3758}
3759
3760
3761static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj = NULL;
3763 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3764 wxString *result;
3765 PyObject * obj0 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
3771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3772 if (SWIG_arg_fail(1)) SWIG_fail;
3773 {
3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
3775 {
3776 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3777 result = (wxString *) &_result_ref;
3778 }
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 {
3784#if wxUSE_UNICODE
3785 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3786#else
3787 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3788#endif
3789 }
3790 return resultobj;
3791 fail:
3792 return NULL;
3793}
3794
3795
3796static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj = NULL;
3798 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3799 wxLEDValueAlign arg2 ;
3800 bool arg3 = (bool) true ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj1 = 0 ;
3803 PyObject * obj2 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
3809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail;
3811 {
3812 arg2 = static_cast<wxLEDValueAlign >(SWIG_As_int(obj1));
3813 if (SWIG_arg_fail(2)) SWIG_fail;
3814 }
3815 if (obj2) {
3816 {
3817 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3818 if (SWIG_arg_fail(3)) SWIG_fail;
3819 }
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 (arg1)->SetAlignment(arg2,arg3);
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 Py_INCREF(Py_None); resultobj = Py_None;
3829 return resultobj;
3830 fail:
3831 return NULL;
3832}
3833
3834
3835static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3836 PyObject *resultobj = NULL;
3837 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3838 bool arg2 ;
3839 bool arg3 = (bool) true ;
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 PyObject * obj2 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
3848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3849 if (SWIG_arg_fail(1)) SWIG_fail;
3850 {
3851 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3852 if (SWIG_arg_fail(2)) SWIG_fail;
3853 }
3854 if (obj2) {
3855 {
3856 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3857 if (SWIG_arg_fail(3)) SWIG_fail;
3858 }
3859 }
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 (arg1)->SetDrawFaded(arg2,arg3);
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 Py_INCREF(Py_None); resultobj = Py_None;
3868 return resultobj;
3869 fail:
3870 return NULL;
3871}
3872
3873
3874static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj = NULL;
3876 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3877 wxString *arg2 = 0 ;
3878 bool arg3 = (bool) true ;
3879 bool temp2 = false ;
3880 PyObject * obj0 = 0 ;
3881 PyObject * obj1 = 0 ;
3882 PyObject * obj2 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
3888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3889 if (SWIG_arg_fail(1)) SWIG_fail;
3890 {
3891 arg2 = wxString_in_helper(obj1);
3892 if (arg2 == NULL) SWIG_fail;
3893 temp2 = true;
3894 }
3895 if (obj2) {
3896 {
3897 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3898 if (SWIG_arg_fail(3)) SWIG_fail;
3899 }
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->SetValue((wxString const &)*arg2,arg3);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 {
3910 if (temp2)
3911 delete arg2;
3912 }
3913 return resultobj;
3914 fail:
3915 {
3916 if (temp2)
3917 delete arg2;
3918 }
3919 return NULL;
3920}
3921
3922
3923static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
3924 PyObject *obj;
3925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3926 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3927 Py_INCREF(obj);
3928 return Py_BuildValue((char *)"");
3929}
3930static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj = NULL;
3932 wxString const &arg1_defvalue = wxPyEmptyString ;
3933 wxString *arg1 = (wxString *) &arg1_defvalue ;
3934 int arg2 = (int) -1 ;
3935 size_t arg3 = (size_t) 100 ;
3936 bool arg4 = (bool) true ;
3937 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
3938 wxTreeListColumnInfo *result;
3939 bool temp1 = false ;
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 PyObject * obj2 = 0 ;
3943 PyObject * obj3 = 0 ;
3944 PyObject * obj4 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3950 if (obj0) {
3951 {
3952 arg1 = wxString_in_helper(obj0);
3953 if (arg1 == NULL) SWIG_fail;
3954 temp1 = true;
3955 }
3956 }
3957 if (obj1) {
3958 {
3959 arg2 = static_cast<int >(SWIG_As_int(obj1));
3960 if (SWIG_arg_fail(2)) SWIG_fail;
3961 }
3962 }
3963 if (obj2) {
3964 {
3965 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
3966 if (SWIG_arg_fail(3)) SWIG_fail;
3967 }
3968 }
3969 if (obj3) {
3970 {
3971 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
3972 if (SWIG_arg_fail(4)) SWIG_fail;
3973 }
3974 }
3975 if (obj4) {
3976 {
3977 arg5 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj4));
3978 if (SWIG_arg_fail(5)) SWIG_fail;
3979 }
3980 }
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
3989 {
3990 if (temp1)
3991 delete arg1;
3992 }
3993 return resultobj;
3994 fail:
3995 {
3996 if (temp1)
3997 delete arg1;
3998 }
3999 return NULL;
4000}
4001
4002
4003static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj = NULL;
4005 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4006 bool result;
4007 PyObject * obj0 = 0 ;
4008 char *kwnames[] = {
4009 (char *) "self", NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
4013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4014 if (SWIG_arg_fail(1)) SWIG_fail;
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4024 }
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
4031static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj = NULL;
4033 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4034 wxTreeListColumnAlign result;
4035 PyObject * obj0 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "self", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
4041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail;
4043 {
4044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4045 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
4046
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 resultobj = SWIG_From_int((result));
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
4057static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj = NULL;
4059 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4060 wxString result;
4061 PyObject * obj0 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
4067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4068 if (SWIG_arg_fail(1)) SWIG_fail;
4069 {
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 {
4077#if wxUSE_UNICODE
4078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4079#else
4080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4081#endif
4082 }
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
4089static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj = NULL;
4091 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4092 int result;
4093 PyObject * obj0 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
4099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail;
4101 {
4102 PyThreadState* __tstate = wxPyBeginAllowThreads();
4103 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
4104
4105 wxPyEndAllowThreads(__tstate);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 {
4109 resultobj = SWIG_From_int(static_cast<int >(result));
4110 }
4111 return resultobj;
4112 fail:
4113 return NULL;
4114}
4115
4116
4117static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj = NULL;
4119 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4120 int result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
4127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4128 if (SWIG_arg_fail(1)) SWIG_fail;
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 resultobj = SWIG_From_int(static_cast<int >(result));
4138 }
4139 return resultobj;
4140 fail:
4141 return NULL;
4142}
4143
4144
4145static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = NULL;
4147 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4148 size_t result;
4149 PyObject * obj0 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "self", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
4155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4156 if (SWIG_arg_fail(1)) SWIG_fail;
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 {
4165 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4166 }
4167 return resultobj;
4168 fail:
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj = NULL;
4175 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4176 bool arg2 ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self",(char *) "shown", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
4184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail;
4186 {
4187 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4188 if (SWIG_arg_fail(2)) SWIG_fail;
4189 }
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 (arg1)->SetShown(arg2);
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 Py_INCREF(Py_None); resultobj = Py_None;
4198 return resultobj;
4199 fail:
4200 return NULL;
4201}
4202
4203
4204static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj = NULL;
4206 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4207 wxTreeListColumnAlign arg2 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self",(char *) "alignment", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
4215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4216 if (SWIG_arg_fail(1)) SWIG_fail;
4217 {
4218 arg2 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj1));
4219 if (SWIG_arg_fail(2)) SWIG_fail;
4220 }
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 (arg1)->SetAlignment(arg2);
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 Py_INCREF(Py_None); resultobj = Py_None;
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
4235static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj = NULL;
4237 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4238 wxString *arg2 = 0 ;
4239 bool temp2 = false ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self",(char *) "text", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
4247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail;
4249 {
4250 arg2 = wxString_in_helper(obj1);
4251 if (arg2 == NULL) SWIG_fail;
4252 temp2 = true;
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->SetText((wxString const &)*arg2);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 Py_INCREF(Py_None); resultobj = Py_None;
4262 {
4263 if (temp2)
4264 delete arg2;
4265 }
4266 return resultobj;
4267 fail:
4268 {
4269 if (temp2)
4270 delete arg2;
4271 }
4272 return NULL;
4273}
4274
4275
4276static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj = NULL;
4278 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4279 int arg2 ;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "image", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
4287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail;
4289 {
4290 arg2 = static_cast<int >(SWIG_As_int(obj1));
4291 if (SWIG_arg_fail(2)) SWIG_fail;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 (arg1)->SetImage(arg2);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304}
4305
4306
4307static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj = NULL;
4309 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4310 int arg2 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "image", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
4320 {
4321 arg2 = static_cast<int >(SWIG_As_int(obj1));
4322 if (SWIG_arg_fail(2)) SWIG_fail;
4323 }
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 (arg1)->SetSelectedImage(arg2);
4327
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 Py_INCREF(Py_None); resultobj = Py_None;
4332 return resultobj;
4333 fail:
4334 return NULL;
4335}
4336
4337
4338static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj = NULL;
4340 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4341 size_t arg2 ;
4342 PyObject * obj0 = 0 ;
4343 PyObject * obj1 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "with", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
4349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail;
4351 {
4352 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
4353 if (SWIG_arg_fail(2)) SWIG_fail;
4354 }
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 (arg1)->SetWidth(arg2);
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 Py_INCREF(Py_None); resultobj = Py_None;
4363 return resultobj;
4364 fail:
4365 return NULL;
4366}
4367
4368
4369static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
4370 PyObject *obj;
4371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4372 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
4373 Py_INCREF(obj);
4374 return Py_BuildValue((char *)"");
4375}
4376static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj = NULL;
4378 wxWindow *arg1 = (wxWindow *) 0 ;
4379 int arg2 = (int) -1 ;
4380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4382 wxSize const &arg4_defvalue = wxDefaultSize ;
4383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4384 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4385 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4386 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4387 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4388 wxString *arg7 = (wxString *) &arg7_defvalue ;
4389 wxPyTreeListCtrl *result;
4390 wxPoint temp3 ;
4391 wxSize temp4 ;
4392 bool temp7 = false ;
4393 PyObject * obj0 = 0 ;
4394 PyObject * obj1 = 0 ;
4395 PyObject * obj2 = 0 ;
4396 PyObject * obj3 = 0 ;
4397 PyObject * obj4 = 0 ;
4398 PyObject * obj5 = 0 ;
4399 PyObject * obj6 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
4407 if (obj1) {
4408 {
4409 arg2 = static_cast<int >(SWIG_As_int(obj1));
4410 if (SWIG_arg_fail(2)) SWIG_fail;
4411 }
4412 }
4413 if (obj2) {
4414 {
4415 arg3 = &temp3;
4416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4417 }
4418 }
4419 if (obj3) {
4420 {
4421 arg4 = &temp4;
4422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4423 }
4424 }
4425 if (obj4) {
4426 {
4427 arg5 = static_cast<long >(SWIG_As_long(obj4));
4428 if (SWIG_arg_fail(5)) SWIG_fail;
4429 }
4430 }
4431 if (obj5) {
4432 {
4433 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4434 if (SWIG_arg_fail(6)) SWIG_fail;
4435 if (arg6 == NULL) {
4436 SWIG_null_ref("wxValidator");
4437 }
4438 if (SWIG_arg_fail(6)) SWIG_fail;
4439 }
4440 }
4441 if (obj6) {
4442 {
4443 arg7 = wxString_in_helper(obj6);
4444 if (arg7 == NULL) SWIG_fail;
4445 temp7 = true;
4446 }
4447 }
4448 {
4449 if (!wxPyCheckForApp()) SWIG_fail;
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4457 {
4458 if (temp7)
4459 delete arg7;
4460 }
4461 return resultobj;
4462 fail:
4463 {
4464 if (temp7)
4465 delete arg7;
4466 }
4467 return NULL;
4468}
4469
4470
4471static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj = NULL;
4473 wxPyTreeListCtrl *result;
4474 char *kwnames[] = {
4475 NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4479 {
4480 if (!wxPyCheckForApp()) SWIG_fail;
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
4494static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj = NULL;
4496 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4497 wxWindow *arg2 = (wxWindow *) 0 ;
4498 int arg3 = (int) -1 ;
4499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4501 wxSize const &arg5_defvalue = wxDefaultSize ;
4502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4503 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4504 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4505 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4506 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4507 wxString *arg8 = (wxString *) &arg8_defvalue ;
4508 bool result;
4509 wxPoint temp4 ;
4510 wxSize temp5 ;
4511 bool temp8 = false ;
4512 PyObject * obj0 = 0 ;
4513 PyObject * obj1 = 0 ;
4514 PyObject * obj2 = 0 ;
4515 PyObject * obj3 = 0 ;
4516 PyObject * obj4 = 0 ;
4517 PyObject * obj5 = 0 ;
4518 PyObject * obj6 = 0 ;
4519 PyObject * obj7 = 0 ;
4520 char *kwnames[] = {
4521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4526 if (SWIG_arg_fail(1)) SWIG_fail;
4527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(2)) SWIG_fail;
4529 if (obj2) {
4530 {
4531 arg3 = static_cast<int >(SWIG_As_int(obj2));
4532 if (SWIG_arg_fail(3)) SWIG_fail;
4533 }
4534 }
4535 if (obj3) {
4536 {
4537 arg4 = &temp4;
4538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4539 }
4540 }
4541 if (obj4) {
4542 {
4543 arg5 = &temp5;
4544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4545 }
4546 }
4547 if (obj5) {
4548 {
4549 arg6 = static_cast<long >(SWIG_As_long(obj5));
4550 if (SWIG_arg_fail(6)) SWIG_fail;
4551 }
4552 }
4553 if (obj6) {
4554 {
4555 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4556 if (SWIG_arg_fail(7)) SWIG_fail;
4557 if (arg7 == NULL) {
4558 SWIG_null_ref("wxValidator");
4559 }
4560 if (SWIG_arg_fail(7)) SWIG_fail;
4561 }
4562 }
4563 if (obj7) {
4564 {
4565 arg8 = wxString_in_helper(obj7);
4566 if (arg8 == NULL) SWIG_fail;
4567 temp8 = true;
4568 }
4569 }
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 {
4578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4579 }
4580 {
4581 if (temp8)
4582 delete arg8;
4583 }
4584 return resultobj;
4585 fail:
4586 {
4587 if (temp8)
4588 delete arg8;
4589 }
4590 return NULL;
4591}
4592
4593
4594static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj = NULL;
4596 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4597 PyObject *arg2 = (PyObject *) 0 ;
4598 PyObject *arg3 = (PyObject *) 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self",(char *) "self",(char *) "_class", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4608 if (SWIG_arg_fail(1)) SWIG_fail;
4609 arg2 = obj1;
4610 arg3 = obj2;
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 (arg1)->_setCallbackInfo(arg2,arg3);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 return resultobj;
4620 fail:
4621 return NULL;
4622}
4623
4624
4625static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj = NULL;
4627 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4628 size_t result;
4629 PyObject * obj0 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
4635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4636 if (SWIG_arg_fail(1)) SWIG_fail;
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 {
4645 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4646 }
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
4653static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj = NULL;
4655 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4656 unsigned int result;
4657 PyObject * obj0 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "self", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
4663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4664 if (SWIG_arg_fail(1)) SWIG_fail;
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 {
4673 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4674 }
4675 return resultobj;
4676 fail:
4677 return NULL;
4678}
4679
4680
4681static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj = NULL;
4683 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4684 unsigned int arg2 ;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self",(char *) "indent", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4693 if (SWIG_arg_fail(1)) SWIG_fail;
4694 {
4695 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4696 if (SWIG_arg_fail(2)) SWIG_fail;
4697 }
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetIndent(arg2);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
4712static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj = NULL;
4714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4715 unsigned int result;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
4722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4723 if (SWIG_arg_fail(1)) SWIG_fail;
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 {
4732 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4733 }
4734 return resultobj;
4735 fail:
4736 return NULL;
4737}
4738
4739
4740static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj = NULL;
4742 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4743 unsigned int arg2 ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self",(char *) "spacing", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
4751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail;
4753 {
4754 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4755 if (SWIG_arg_fail(2)) SWIG_fail;
4756 }
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 (arg1)->SetLineSpacing(arg2);
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 Py_INCREF(Py_None); resultobj = Py_None;
4765 return resultobj;
4766 fail:
4767 return NULL;
4768}
4769
4770
4771static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj = NULL;
4773 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4774 wxImageList *result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
4781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4782 if (SWIG_arg_fail(1)) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = wxPyMake_wxObject(result, 0);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj = NULL;
4801 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4802 wxImageList *result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
4809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4810 if (SWIG_arg_fail(1)) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 resultobj = wxPyMake_wxObject(result, 0);
4820 }
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
4827static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj = NULL;
4829 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4830 wxImageList *result;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
4837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 resultobj = wxPyMake_wxObject(result, 0);
4848 }
4849 return resultobj;
4850 fail:
4851 return NULL;
4852}
4853
4854
4855static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj = NULL;
4857 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4858 wxImageList *arg2 = (wxImageList *) 0 ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "imageList", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
4866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4867 if (SWIG_arg_fail(1)) SWIG_fail;
4868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4869 if (SWIG_arg_fail(2)) SWIG_fail;
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->SetImageList(arg2);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 return resultobj;
4879 fail:
4880 return NULL;
4881}
4882
4883
4884static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj = NULL;
4886 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4887 wxImageList *arg2 = (wxImageList *) 0 ;
4888 PyObject * obj0 = 0 ;
4889 PyObject * obj1 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self",(char *) "imageList", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
4895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4896 if (SWIG_arg_fail(1)) SWIG_fail;
4897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4898 if (SWIG_arg_fail(2)) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->SetStateImageList(arg2);
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
4913static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj = NULL;
4915 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4916 wxImageList *arg2 = (wxImageList *) 0 ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self",(char *) "imageList", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
4924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4925 if (SWIG_arg_fail(1)) SWIG_fail;
4926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4927 if (SWIG_arg_fail(2)) SWIG_fail;
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 (arg1)->SetButtonsImageList(arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 Py_INCREF(Py_None); resultobj = Py_None;
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj = NULL;
4944 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4945 wxImageList *arg2 = (wxImageList *) 0 ;
4946 PyObject * obj0 = 0 ;
4947 PyObject * obj1 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "imageList", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
4953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail;
4955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4956 if (SWIG_arg_fail(2)) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->AssignImageList(arg2);
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 Py_INCREF(Py_None); resultobj = Py_None;
4965 return resultobj;
4966 fail:
4967 return NULL;
4968}
4969
4970
4971static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj = NULL;
4973 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4974 wxImageList *arg2 = (wxImageList *) 0 ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "imageList", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
4982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4983 if (SWIG_arg_fail(1)) SWIG_fail;
4984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4985 if (SWIG_arg_fail(2)) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->AssignStateImageList(arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
5000static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj = NULL;
5002 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5003 wxImageList *arg2 = (wxImageList *) 0 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "imageList", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
5011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail;
5013 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
5014 if (SWIG_arg_fail(2)) SWIG_fail;
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->AssignButtonsImageList(arg2);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = NULL;
5031 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5032 wxString *arg2 = 0 ;
5033 bool temp2 = false ;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "text", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
5041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5042 if (SWIG_arg_fail(1)) SWIG_fail;
5043 {
5044 arg2 = wxString_in_helper(obj1);
5045 if (arg2 == NULL) SWIG_fail;
5046 temp2 = true;
5047 }
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 (arg1)->AddColumn((wxString const &)*arg2);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 Py_INCREF(Py_None); resultobj = Py_None;
5056 {
5057 if (temp2)
5058 delete arg2;
5059 }
5060 return resultobj;
5061 fail:
5062 {
5063 if (temp2)
5064 delete arg2;
5065 }
5066 return NULL;
5067}
5068
5069
5070static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj = NULL;
5072 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5073 wxTreeListColumnInfo *arg2 = 0 ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self",(char *) "col", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
5081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail;
5083 {
5084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5085 if (SWIG_arg_fail(2)) SWIG_fail;
5086 if (arg2 == NULL) {
5087 SWIG_null_ref("wxTreeListColumnInfo");
5088 }
5089 if (SWIG_arg_fail(2)) SWIG_fail;
5090 }
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
5105static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj = NULL;
5107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5108 size_t arg2 ;
5109 wxString *arg3 = 0 ;
5110 bool temp3 = false ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 PyObject * obj2 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self",(char *) "before",(char *) "text", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5120 if (SWIG_arg_fail(1)) SWIG_fail;
5121 {
5122 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5123 if (SWIG_arg_fail(2)) SWIG_fail;
5124 }
5125 {
5126 arg3 = wxString_in_helper(obj2);
5127 if (arg3 == NULL) SWIG_fail;
5128 temp3 = true;
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 Py_INCREF(Py_None); resultobj = Py_None;
5138 {
5139 if (temp3)
5140 delete arg3;
5141 }
5142 return resultobj;
5143 fail:
5144 {
5145 if (temp3)
5146 delete arg3;
5147 }
5148 return NULL;
5149}
5150
5151
5152static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj = NULL;
5154 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5155 size_t arg2 ;
5156 wxTreeListColumnInfo *arg3 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 PyObject * obj2 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "before",(char *) "col", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail;
5167 {
5168 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5169 if (SWIG_arg_fail(2)) SWIG_fail;
5170 }
5171 {
5172 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5173 if (SWIG_arg_fail(3)) SWIG_fail;
5174 if (arg3 == NULL) {
5175 SWIG_null_ref("wxTreeListColumnInfo");
5176 }
5177 if (SWIG_arg_fail(3)) SWIG_fail;
5178 }
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 Py_INCREF(Py_None); resultobj = Py_None;
5187 return resultobj;
5188 fail:
5189 return NULL;
5190}
5191
5192
5193static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj = NULL;
5195 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5196 size_t arg2 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "column", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
5204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail;
5206 {
5207 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5208 if (SWIG_arg_fail(2)) SWIG_fail;
5209 }
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 (arg1)->RemoveColumn(arg2);
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 Py_INCREF(Py_None); resultobj = Py_None;
5218 return resultobj;
5219 fail:
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj = NULL;
5226 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5227 size_t result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
5234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 {
5244 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5245 }
5246 return resultobj;
5247 fail:
5248 return NULL;
5249}
5250
5251
5252static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj = NULL;
5254 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5255 size_t arg2 ;
5256 size_t arg3 ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self",(char *) "column",(char *) "width", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
5265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5266 if (SWIG_arg_fail(1)) SWIG_fail;
5267 {
5268 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5269 if (SWIG_arg_fail(2)) SWIG_fail;
5270 }
5271 {
5272 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
5273 if (SWIG_arg_fail(3)) SWIG_fail;
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->SetColumnWidth(arg2,arg3);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
5289static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj = NULL;
5291 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5292 size_t arg2 ;
5293 int result;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "column", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
5301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5302 if (SWIG_arg_fail(1)) SWIG_fail;
5303 {
5304 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5305 if (SWIG_arg_fail(2)) SWIG_fail;
5306 }
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 {
5315 resultobj = SWIG_From_int(static_cast<int >(result));
5316 }
5317 return resultobj;
5318 fail:
5319 return NULL;
5320}
5321
5322
5323static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj = NULL;
5325 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5326 size_t arg2 ;
5327 PyObject * obj0 = 0 ;
5328 PyObject * obj1 = 0 ;
5329 char *kwnames[] = {
5330 (char *) "self",(char *) "column", NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
5334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail;
5336 {
5337 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5338 if (SWIG_arg_fail(2)) SWIG_fail;
5339 }
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 (arg1)->SetMainColumn(arg2);
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 Py_INCREF(Py_None); resultobj = Py_None;
5348 return resultobj;
5349 fail:
5350 return NULL;
5351}
5352
5353
5354static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5355 PyObject *resultobj = NULL;
5356 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5357 size_t result;
5358 PyObject * obj0 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
5364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5365 if (SWIG_arg_fail(1)) SWIG_fail;
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5375 }
5376 return resultobj;
5377 fail:
5378 return NULL;
5379}
5380
5381
5382static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj = NULL;
5384 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5385 size_t arg2 ;
5386 wxString *arg3 = 0 ;
5387 bool temp3 = false ;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 PyObject * obj2 = 0 ;
5391 char *kwnames[] = {
5392 (char *) "self",(char *) "column",(char *) "text", NULL
5393 };
5394
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5397 if (SWIG_arg_fail(1)) SWIG_fail;
5398 {
5399 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5400 if (SWIG_arg_fail(2)) SWIG_fail;
5401 }
5402 {
5403 arg3 = wxString_in_helper(obj2);
5404 if (arg3 == NULL) SWIG_fail;
5405 temp3 = true;
5406 }
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 Py_INCREF(Py_None); resultobj = Py_None;
5415 {
5416 if (temp3)
5417 delete arg3;
5418 }
5419 return resultobj;
5420 fail:
5421 {
5422 if (temp3)
5423 delete arg3;
5424 }
5425 return NULL;
5426}
5427
5428
5429static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj = NULL;
5431 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5432 size_t arg2 ;
5433 wxString result;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "column", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
5441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail;
5443 {
5444 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5445 if (SWIG_arg_fail(2)) SWIG_fail;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455#if wxUSE_UNICODE
5456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5457#else
5458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5459#endif
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464}
5465
5466
5467static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj = NULL;
5469 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5470 size_t arg2 ;
5471 wxTreeListColumnInfo *arg3 = 0 ;
5472 PyObject * obj0 = 0 ;
5473 PyObject * obj1 = 0 ;
5474 PyObject * obj2 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "column",(char *) "info", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
5482 {
5483 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5484 if (SWIG_arg_fail(2)) SWIG_fail;
5485 }
5486 {
5487 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5488 if (SWIG_arg_fail(3)) SWIG_fail;
5489 if (arg3 == NULL) {
5490 SWIG_null_ref("wxTreeListColumnInfo");
5491 }
5492 if (SWIG_arg_fail(3)) SWIG_fail;
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 Py_INCREF(Py_None); resultobj = Py_None;
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
5508static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj = NULL;
5510 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5511 size_t arg2 ;
5512 wxTreeListColumnInfo *result;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "column", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
5522 {
5523 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5524 if (SWIG_arg_fail(2)) SWIG_fail;
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 {
5529 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5530 result = (wxTreeListColumnInfo *) &_result_ref;
5531 }
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
5537 return resultobj;
5538 fail:
5539 return NULL;
5540}
5541
5542
5543static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj = NULL;
5545 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5546 size_t arg2 ;
5547 wxTreeListColumnAlign arg3 ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 PyObject * obj2 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "column",(char *) "align", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
5556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail;
5558 {
5559 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5560 if (SWIG_arg_fail(2)) SWIG_fail;
5561 }
5562 {
5563 arg3 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj2));
5564 if (SWIG_arg_fail(3)) SWIG_fail;
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetColumnAlignment(arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577}
5578
5579
5580static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj = NULL;
5582 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5583 size_t arg2 ;
5584 wxTreeListColumnAlign result;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "column", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
5592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5593 if (SWIG_arg_fail(1)) SWIG_fail;
5594 {
5595 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5596 if (SWIG_arg_fail(2)) SWIG_fail;
5597 }
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = SWIG_From_int((result));
5606 return resultobj;
5607 fail:
5608 return NULL;
5609}
5610
5611
5612static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj = NULL;
5614 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5615 size_t arg2 ;
5616 int arg3 ;
5617 PyObject * obj0 = 0 ;
5618 PyObject * obj1 = 0 ;
5619 PyObject * obj2 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self",(char *) "column",(char *) "image", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5626 if (SWIG_arg_fail(1)) SWIG_fail;
5627 {
5628 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5629 if (SWIG_arg_fail(2)) SWIG_fail;
5630 }
5631 {
5632 arg3 = static_cast<int >(SWIG_As_int(obj2));
5633 if (SWIG_arg_fail(3)) SWIG_fail;
5634 }
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetColumnImage(arg2,arg3);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 Py_INCREF(Py_None); resultobj = Py_None;
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
5649static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj = NULL;
5651 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5652 size_t arg2 ;
5653 int result;
5654 PyObject * obj0 = 0 ;
5655 PyObject * obj1 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self",(char *) "column", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
5661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5662 if (SWIG_arg_fail(1)) SWIG_fail;
5663 {
5664 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5665 if (SWIG_arg_fail(2)) SWIG_fail;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 {
5675 resultobj = SWIG_From_int(static_cast<int >(result));
5676 }
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
5683static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = NULL;
5685 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5686 size_t arg2 ;
5687 bool arg3 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 PyObject * obj2 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "column",(char *) "shown", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail;
5698 {
5699 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5700 if (SWIG_arg_fail(2)) SWIG_fail;
5701 }
5702 {
5703 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5704 if (SWIG_arg_fail(3)) SWIG_fail;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->ShowColumn(arg2,arg3);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717}
5718
5719
5720static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj = NULL;
5722 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5723 size_t arg2 ;
5724 bool result;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "column", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
5732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5733 if (SWIG_arg_fail(1)) SWIG_fail;
5734 {
5735 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5736 if (SWIG_arg_fail(2)) SWIG_fail;
5737 }
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5747 }
5748 return resultobj;
5749 fail:
5750 return NULL;
5751}
5752
5753
5754static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5755 PyObject *resultobj = NULL;
5756 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5757 wxTreeItemId *arg2 = 0 ;
5758 int arg3 = (int) -1 ;
5759 wxString result;
5760 PyObject * obj0 = 0 ;
5761 PyObject * obj1 = 0 ;
5762 PyObject * obj2 = 0 ;
5763 char *kwnames[] = {
5764 (char *) "self",(char *) "item",(char *) "column", NULL
5765 };
5766
5767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5769 if (SWIG_arg_fail(1)) SWIG_fail;
5770 {
5771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(2)) SWIG_fail;
5773 if (arg2 == NULL) {
5774 SWIG_null_ref("wxTreeItemId");
5775 }
5776 if (SWIG_arg_fail(2)) SWIG_fail;
5777 }
5778 if (obj2) {
5779 {
5780 arg3 = static_cast<int >(SWIG_As_int(obj2));
5781 if (SWIG_arg_fail(3)) SWIG_fail;
5782 }
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 {
5792#if wxUSE_UNICODE
5793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5794#else
5795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5796#endif
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
5804static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj = NULL;
5806 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5807 wxTreeItemId *arg2 = 0 ;
5808 int arg3 = (int) -1 ;
5809 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5810 int result;
5811 PyObject * obj0 = 0 ;
5812 PyObject * obj1 = 0 ;
5813 PyObject * obj2 = 0 ;
5814 PyObject * obj3 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5821 if (SWIG_arg_fail(1)) SWIG_fail;
5822 {
5823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5824 if (SWIG_arg_fail(2)) SWIG_fail;
5825 if (arg2 == NULL) {
5826 SWIG_null_ref("wxTreeItemId");
5827 }
5828 if (SWIG_arg_fail(2)) SWIG_fail;
5829 }
5830 if (obj2) {
5831 {
5832 arg3 = static_cast<int >(SWIG_As_int(obj2));
5833 if (SWIG_arg_fail(3)) SWIG_fail;
5834 }
5835 }
5836 if (obj3) {
5837 {
5838 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
5839 if (SWIG_arg_fail(4)) SWIG_fail;
5840 }
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
5850 resultobj = SWIG_From_int(static_cast<int >(result));
5851 }
5852 return resultobj;
5853 fail:
5854 return NULL;
5855}
5856
5857
5858static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj = NULL;
5860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5861 wxTreeItemId *arg2 = 0 ;
5862 wxString *arg3 = 0 ;
5863 int arg4 = (int) -1 ;
5864 bool temp3 = false ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 PyObject * obj2 = 0 ;
5868 PyObject * obj3 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail;
5876 {
5877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5878 if (SWIG_arg_fail(2)) SWIG_fail;
5879 if (arg2 == NULL) {
5880 SWIG_null_ref("wxTreeItemId");
5881 }
5882 if (SWIG_arg_fail(2)) SWIG_fail;
5883 }
5884 {
5885 arg3 = wxString_in_helper(obj2);
5886 if (arg3 == NULL) SWIG_fail;
5887 temp3 = true;
5888 }
5889 if (obj3) {
5890 {
5891 arg4 = static_cast<int >(SWIG_As_int(obj3));
5892 if (SWIG_arg_fail(4)) SWIG_fail;
5893 }
5894 }
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 Py_INCREF(Py_None); resultobj = Py_None;
5903 {
5904 if (temp3)
5905 delete arg3;
5906 }
5907 return resultobj;
5908 fail:
5909 {
5910 if (temp3)
5911 delete arg3;
5912 }
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj = NULL;
5919 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5920 wxTreeItemId *arg2 = 0 ;
5921 int arg3 ;
5922 int arg4 = (int) -1 ;
5923 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 PyObject * obj2 = 0 ;
5927 PyObject * obj3 = 0 ;
5928 PyObject * obj4 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5935 if (SWIG_arg_fail(1)) SWIG_fail;
5936 {
5937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5938 if (SWIG_arg_fail(2)) SWIG_fail;
5939 if (arg2 == NULL) {
5940 SWIG_null_ref("wxTreeItemId");
5941 }
5942 if (SWIG_arg_fail(2)) SWIG_fail;
5943 }
5944 {
5945 arg3 = static_cast<int >(SWIG_As_int(obj2));
5946 if (SWIG_arg_fail(3)) SWIG_fail;
5947 }
5948 if (obj3) {
5949 {
5950 arg4 = static_cast<int >(SWIG_As_int(obj3));
5951 if (SWIG_arg_fail(4)) SWIG_fail;
5952 }
5953 }
5954 if (obj4) {
5955 {
5956 arg5 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj4));
5957 if (SWIG_arg_fail(5)) SWIG_fail;
5958 }
5959 }
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 Py_INCREF(Py_None); resultobj = Py_None;
5968 return resultobj;
5969 fail:
5970 return NULL;
5971}
5972
5973
5974static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj = NULL;
5976 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5977 wxTreeItemId *arg2 = 0 ;
5978 wxPyTreeItemData *result;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self",(char *) "item", NULL
5983 };
5984
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
5986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5987 if (SWIG_arg_fail(1)) SWIG_fail;
5988 {
5989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5990 if (SWIG_arg_fail(2)) SWIG_fail;
5991 if (arg2 == NULL) {
5992 SWIG_null_ref("wxTreeItemId");
5993 }
5994 if (SWIG_arg_fail(2)) SWIG_fail;
5995 }
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
6004 return resultobj;
6005 fail:
6006 return NULL;
6007}
6008
6009
6010static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj = NULL;
6012 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6013 wxTreeItemId *arg2 = 0 ;
6014 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 PyObject * obj2 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "item",(char *) "data", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail;
6025 {
6026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6027 if (SWIG_arg_fail(2)) SWIG_fail;
6028 if (arg2 == NULL) {
6029 SWIG_null_ref("wxTreeItemId");
6030 }
6031 if (SWIG_arg_fail(2)) SWIG_fail;
6032 }
6033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6034 if (SWIG_arg_fail(3)) SWIG_fail;
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 Py_INCREF(Py_None); resultobj = Py_None;
6043 return resultobj;
6044 fail:
6045 return NULL;
6046}
6047
6048
6049static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj = NULL;
6051 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6052 wxTreeItemId *arg2 = 0 ;
6053 PyObject *result;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "item", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
6061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6062 if (SWIG_arg_fail(1)) SWIG_fail;
6063 {
6064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6065 if (SWIG_arg_fail(2)) SWIG_fail;
6066 if (arg2 == NULL) {
6067 SWIG_null_ref("wxTreeItemId");
6068 }
6069 if (SWIG_arg_fail(2)) SWIG_fail;
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = result;
6079 return resultobj;
6080 fail:
6081 return NULL;
6082}
6083
6084
6085static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj = NULL;
6087 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6088 wxTreeItemId *arg2 = 0 ;
6089 PyObject *arg3 = (PyObject *) 0 ;
6090 PyObject * obj0 = 0 ;
6091 PyObject * obj1 = 0 ;
6092 PyObject * obj2 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self",(char *) "item",(char *) "obj", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
6100 {
6101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6102 if (SWIG_arg_fail(2)) SWIG_fail;
6103 if (arg2 == NULL) {
6104 SWIG_null_ref("wxTreeItemId");
6105 }
6106 if (SWIG_arg_fail(2)) SWIG_fail;
6107 }
6108 arg3 = obj2;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 Py_INCREF(Py_None); resultobj = Py_None;
6117 return resultobj;
6118 fail:
6119 return NULL;
6120}
6121
6122
6123static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj = NULL;
6125 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6126 wxTreeItemId *arg2 = 0 ;
6127 bool arg3 = (bool) true ;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self",(char *) "item",(char *) "has", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
6136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6137 if (SWIG_arg_fail(1)) SWIG_fail;
6138 {
6139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6140 if (SWIG_arg_fail(2)) SWIG_fail;
6141 if (arg2 == NULL) {
6142 SWIG_null_ref("wxTreeItemId");
6143 }
6144 if (SWIG_arg_fail(2)) SWIG_fail;
6145 }
6146 if (obj2) {
6147 {
6148 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6149 if (SWIG_arg_fail(3)) SWIG_fail;
6150 }
6151 }
6152 {
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6154 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 Py_INCREF(Py_None); resultobj = Py_None;
6160 return resultobj;
6161 fail:
6162 return NULL;
6163}
6164
6165
6166static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj = NULL;
6168 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6169 wxTreeItemId *arg2 = 0 ;
6170 bool arg3 = (bool) true ;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 PyObject * obj2 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self",(char *) "item",(char *) "bold", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
6181 {
6182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6183 if (SWIG_arg_fail(2)) SWIG_fail;
6184 if (arg2 == NULL) {
6185 SWIG_null_ref("wxTreeItemId");
6186 }
6187 if (SWIG_arg_fail(2)) SWIG_fail;
6188 }
6189 if (obj2) {
6190 {
6191 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6192 if (SWIG_arg_fail(3)) SWIG_fail;
6193 }
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 Py_INCREF(Py_None); resultobj = Py_None;
6203 return resultobj;
6204 fail:
6205 return NULL;
6206}
6207
6208
6209static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = NULL;
6211 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6212 wxTreeItemId *arg2 = 0 ;
6213 wxColour *arg3 = 0 ;
6214 wxColour temp3 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 PyObject * obj2 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self",(char *) "item",(char *) "colour", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6224 if (SWIG_arg_fail(1)) SWIG_fail;
6225 {
6226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6227 if (SWIG_arg_fail(2)) SWIG_fail;
6228 if (arg2 == NULL) {
6229 SWIG_null_ref("wxTreeItemId");
6230 }
6231 if (SWIG_arg_fail(2)) SWIG_fail;
6232 }
6233 {
6234 arg3 = &temp3;
6235 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6236 }
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 Py_INCREF(Py_None); resultobj = Py_None;
6245 return resultobj;
6246 fail:
6247 return NULL;
6248}
6249
6250
6251static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj = NULL;
6253 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6254 wxTreeItemId *arg2 = 0 ;
6255 wxColour *arg3 = 0 ;
6256 wxColour temp3 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "item",(char *) "colour", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail;
6267 {
6268 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6269 if (SWIG_arg_fail(2)) SWIG_fail;
6270 if (arg2 == NULL) {
6271 SWIG_null_ref("wxTreeItemId");
6272 }
6273 if (SWIG_arg_fail(2)) SWIG_fail;
6274 }
6275 {
6276 arg3 = &temp3;
6277 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6278 }
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 Py_INCREF(Py_None); resultobj = Py_None;
6287 return resultobj;
6288 fail:
6289 return NULL;
6290}
6291
6292
6293static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj = NULL;
6295 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6296 wxTreeItemId *arg2 = 0 ;
6297 wxFont *arg3 = 0 ;
6298 PyObject * obj0 = 0 ;
6299 PyObject * obj1 = 0 ;
6300 PyObject * obj2 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "item",(char *) "font", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail;
6308 {
6309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6310 if (SWIG_arg_fail(2)) SWIG_fail;
6311 if (arg2 == NULL) {
6312 SWIG_null_ref("wxTreeItemId");
6313 }
6314 if (SWIG_arg_fail(2)) SWIG_fail;
6315 }
6316 {
6317 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
6318 if (SWIG_arg_fail(3)) SWIG_fail;
6319 if (arg3 == NULL) {
6320 SWIG_null_ref("wxFont");
6321 }
6322 if (SWIG_arg_fail(3)) SWIG_fail;
6323 }
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 Py_INCREF(Py_None); resultobj = Py_None;
6332 return resultobj;
6333 fail:
6334 return NULL;
6335}
6336
6337
6338static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj = NULL;
6340 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6341 wxTreeItemId *arg2 = 0 ;
6342 bool result;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "item", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
6350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail;
6352 {
6353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6354 if (SWIG_arg_fail(2)) SWIG_fail;
6355 if (arg2 == NULL) {
6356 SWIG_null_ref("wxTreeItemId");
6357 }
6358 if (SWIG_arg_fail(2)) SWIG_fail;
6359 }
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 {
6368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6369 }
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
6376static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj = NULL;
6378 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6379 wxTreeItemId *arg2 = 0 ;
6380 wxColour result;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "item", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
6390 {
6391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6392 if (SWIG_arg_fail(2)) SWIG_fail;
6393 if (arg2 == NULL) {
6394 SWIG_null_ref("wxTreeItemId");
6395 }
6396 if (SWIG_arg_fail(2)) SWIG_fail;
6397 }
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 {
6406 wxColour * resultptr;
6407 resultptr = new wxColour(static_cast<wxColour & >(result));
6408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6409 }
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
6416static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj = NULL;
6418 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6419 wxTreeItemId *arg2 = 0 ;
6420 wxColour result;
6421 PyObject * obj0 = 0 ;
6422 PyObject * obj1 = 0 ;
6423 char *kwnames[] = {
6424 (char *) "self",(char *) "item", NULL
6425 };
6426
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6429 if (SWIG_arg_fail(1)) SWIG_fail;
6430 {
6431 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6432 if (SWIG_arg_fail(2)) SWIG_fail;
6433 if (arg2 == NULL) {
6434 SWIG_null_ref("wxTreeItemId");
6435 }
6436 if (SWIG_arg_fail(2)) SWIG_fail;
6437 }
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 {
6446 wxColour * resultptr;
6447 resultptr = new wxColour(static_cast<wxColour & >(result));
6448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6449 }
6450 return resultobj;
6451 fail:
6452 return NULL;
6453}
6454
6455
6456static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj = NULL;
6458 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6459 wxTreeItemId *arg2 = 0 ;
6460 wxFont result;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "item", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
6468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail;
6470 {
6471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6472 if (SWIG_arg_fail(2)) SWIG_fail;
6473 if (arg2 == NULL) {
6474 SWIG_null_ref("wxTreeItemId");
6475 }
6476 if (SWIG_arg_fail(2)) SWIG_fail;
6477 }
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6481
6482 wxPyEndAllowThreads(__tstate);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 }
6485 {
6486 wxFont * resultptr;
6487 resultptr = new wxFont(static_cast<wxFont & >(result));
6488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
6489 }
6490 return resultobj;
6491 fail:
6492 return NULL;
6493}
6494
6495
6496static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj = NULL;
6498 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6499 wxTreeItemId *arg2 = 0 ;
6500 bool result;
6501 PyObject * obj0 = 0 ;
6502 PyObject * obj1 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self",(char *) "item", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
6508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6509 if (SWIG_arg_fail(1)) SWIG_fail;
6510 {
6511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6512 if (SWIG_arg_fail(2)) SWIG_fail;
6513 if (arg2 == NULL) {
6514 SWIG_null_ref("wxTreeItemId");
6515 }
6516 if (SWIG_arg_fail(2)) SWIG_fail;
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
6526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6527 }
6528 return resultobj;
6529 fail:
6530 return NULL;
6531}
6532
6533
6534static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj = NULL;
6536 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6537 wxTreeItemId *arg2 = 0 ;
6538 bool result;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "item", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
6546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6547 if (SWIG_arg_fail(1)) SWIG_fail;
6548 {
6549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6550 if (SWIG_arg_fail(2)) SWIG_fail;
6551 if (arg2 == NULL) {
6552 SWIG_null_ref("wxTreeItemId");
6553 }
6554 if (SWIG_arg_fail(2)) SWIG_fail;
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 {
6564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6565 }
6566 return resultobj;
6567 fail:
6568 return NULL;
6569}
6570
6571
6572static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj = NULL;
6574 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6575 wxTreeItemId *arg2 = 0 ;
6576 bool result;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "item", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
6584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6585 if (SWIG_arg_fail(1)) SWIG_fail;
6586 {
6587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(2)) SWIG_fail;
6589 if (arg2 == NULL) {
6590 SWIG_null_ref("wxTreeItemId");
6591 }
6592 if (SWIG_arg_fail(2)) SWIG_fail;
6593 }
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 {
6602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6603 }
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
6610static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj = NULL;
6612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6613 wxTreeItemId *arg2 = 0 ;
6614 bool result;
6615 PyObject * obj0 = 0 ;
6616 PyObject * obj1 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self",(char *) "item", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6623 if (SWIG_arg_fail(1)) SWIG_fail;
6624 {
6625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail;
6627 if (arg2 == NULL) {
6628 SWIG_null_ref("wxTreeItemId");
6629 }
6630 if (SWIG_arg_fail(2)) SWIG_fail;
6631 }
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6634 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6641 }
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
6648static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj = NULL;
6650 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6651 wxTreeItemId *arg2 = 0 ;
6652 bool result;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self",(char *) "item", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
6660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail;
6662 {
6663 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(2)) SWIG_fail;
6665 if (arg2 == NULL) {
6666 SWIG_null_ref("wxTreeItemId");
6667 }
6668 if (SWIG_arg_fail(2)) SWIG_fail;
6669 }
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 {
6678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6679 }
6680 return resultobj;
6681 fail:
6682 return NULL;
6683}
6684
6685
6686static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj = NULL;
6688 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6689 wxTreeItemId *arg2 = 0 ;
6690 bool arg3 = (bool) true ;
6691 size_t result;
6692 PyObject * obj0 = 0 ;
6693 PyObject * obj1 = 0 ;
6694 PyObject * obj2 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self",(char *) "item",(char *) "recursively", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
6700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail;
6702 {
6703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6704 if (SWIG_arg_fail(2)) SWIG_fail;
6705 if (arg2 == NULL) {
6706 SWIG_null_ref("wxTreeItemId");
6707 }
6708 if (SWIG_arg_fail(2)) SWIG_fail;
6709 }
6710 if (obj2) {
6711 {
6712 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6713 if (SWIG_arg_fail(3)) SWIG_fail;
6714 }
6715 }
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 {
6724 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
6725 }
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj = NULL;
6734 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6735 wxTreeItemId result;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
6742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6743 if (SWIG_arg_fail(1)) SWIG_fail;
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6747
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 {
6752 wxTreeItemId * resultptr;
6753 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6755 }
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
6762static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj = NULL;
6764 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6765 wxTreeItemId result;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
6772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782 wxTreeItemId * resultptr;
6783 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6785 }
6786 return resultobj;
6787 fail:
6788 return NULL;
6789}
6790
6791
6792static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj = NULL;
6794 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6795 PyObject *result;
6796 PyObject * obj0 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
6802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6803 if (SWIG_arg_fail(1)) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 resultobj = result;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815}
6816
6817
6818static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj = NULL;
6820 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6821 wxTreeItemId *arg2 = 0 ;
6822 wxTreeItemId result;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "item", NULL
6827 };
6828
6829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
6830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6831 if (SWIG_arg_fail(1)) SWIG_fail;
6832 {
6833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(2)) SWIG_fail;
6835 if (arg2 == NULL) {
6836 SWIG_null_ref("wxTreeItemId");
6837 }
6838 if (SWIG_arg_fail(2)) SWIG_fail;
6839 }
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 {
6848 wxTreeItemId * resultptr;
6849 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6851 }
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
6858static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj = NULL;
6860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6861 wxTreeItemId *arg2 = 0 ;
6862 PyObject *result;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "item", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
6870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6871 if (SWIG_arg_fail(1)) SWIG_fail;
6872 {
6873 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6874 if (SWIG_arg_fail(2)) SWIG_fail;
6875 if (arg2 == NULL) {
6876 SWIG_null_ref("wxTreeItemId");
6877 }
6878 if (SWIG_arg_fail(2)) SWIG_fail;
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 resultobj = result;
6888 return resultobj;
6889 fail:
6890 return NULL;
6891}
6892
6893
6894static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj = NULL;
6896 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6897 wxTreeItemId *arg2 = 0 ;
6898 void *arg3 = (void *) 0 ;
6899 PyObject *result;
6900 PyObject * obj0 = 0 ;
6901 PyObject * obj1 = 0 ;
6902 PyObject * obj2 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "item",(char *) "cookie", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6909 if (SWIG_arg_fail(1)) SWIG_fail;
6910 {
6911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6912 if (SWIG_arg_fail(2)) SWIG_fail;
6913 if (arg2 == NULL) {
6914 SWIG_null_ref("wxTreeItemId");
6915 }
6916 if (SWIG_arg_fail(2)) SWIG_fail;
6917 }
6918 {
6919 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6920 SWIG_arg_fail(3);SWIG_fail;
6921 }
6922 }
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 resultobj = result;
6931 return resultobj;
6932 fail:
6933 return NULL;
6934}
6935
6936
6937static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj = NULL;
6939 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6940 wxTreeItemId *arg2 = 0 ;
6941 wxTreeItemId result;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "item", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
6949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6950 if (SWIG_arg_fail(1)) SWIG_fail;
6951 {
6952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6953 if (SWIG_arg_fail(2)) SWIG_fail;
6954 if (arg2 == NULL) {
6955 SWIG_null_ref("wxTreeItemId");
6956 }
6957 if (SWIG_arg_fail(2)) SWIG_fail;
6958 }
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 {
6967 wxTreeItemId * resultptr;
6968 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6970 }
6971 return resultobj;
6972 fail:
6973 return NULL;
6974}
6975
6976
6977static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj = NULL;
6979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6980 wxTreeItemId *arg2 = 0 ;
6981 wxTreeItemId result;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "item", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
6989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6990 if (SWIG_arg_fail(1)) SWIG_fail;
6991 {
6992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6993 if (SWIG_arg_fail(2)) SWIG_fail;
6994 if (arg2 == NULL) {
6995 SWIG_null_ref("wxTreeItemId");
6996 }
6997 if (SWIG_arg_fail(2)) SWIG_fail;
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 {
7007 wxTreeItemId * resultptr;
7008 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7010 }
7011 return resultobj;
7012 fail:
7013 return NULL;
7014}
7015
7016
7017static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = NULL;
7019 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7020 wxTreeItemId *arg2 = 0 ;
7021 wxTreeItemId result;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "item", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
7029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 {
7032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7033 if (SWIG_arg_fail(2)) SWIG_fail;
7034 if (arg2 == NULL) {
7035 SWIG_null_ref("wxTreeItemId");
7036 }
7037 if (SWIG_arg_fail(2)) SWIG_fail;
7038 }
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 wxTreeItemId * resultptr;
7048 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7050 }
7051 return resultobj;
7052 fail:
7053 return NULL;
7054}
7055
7056
7057static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj = NULL;
7059 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7060 wxTreeItemId result;
7061 PyObject * obj0 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
7067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7068 if (SWIG_arg_fail(1)) SWIG_fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 {
7077 wxTreeItemId * resultptr;
7078 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7080 }
7081 return resultobj;
7082 fail:
7083 return NULL;
7084}
7085
7086
7087static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj = NULL;
7089 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7090 wxTreeItemId *arg2 = 0 ;
7091 wxTreeItemId result;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "item", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
7099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7100 if (SWIG_arg_fail(1)) SWIG_fail;
7101 {
7102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7103 if (SWIG_arg_fail(2)) SWIG_fail;
7104 if (arg2 == NULL) {
7105 SWIG_null_ref("wxTreeItemId");
7106 }
7107 if (SWIG_arg_fail(2)) SWIG_fail;
7108 }
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 {
7117 wxTreeItemId * resultptr;
7118 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7120 }
7121 return resultobj;
7122 fail:
7123 return NULL;
7124}
7125
7126
7127static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj = NULL;
7129 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7130 wxTreeItemId *arg2 = 0 ;
7131 wxTreeItemId result;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "item", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
7139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail;
7141 {
7142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7143 if (SWIG_arg_fail(2)) SWIG_fail;
7144 if (arg2 == NULL) {
7145 SWIG_null_ref("wxTreeItemId");
7146 }
7147 if (SWIG_arg_fail(2)) SWIG_fail;
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 {
7157 wxTreeItemId * resultptr;
7158 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7160 }
7161 return resultobj;
7162 fail:
7163 return NULL;
7164}
7165
7166
7167static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj = NULL;
7169 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7170 wxTreeItemId *arg2 = 0 ;
7171 wxTreeItemId result;
7172 PyObject * obj0 = 0 ;
7173 PyObject * obj1 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self",(char *) "item", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
7179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail;
7181 {
7182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7183 if (SWIG_arg_fail(2)) SWIG_fail;
7184 if (arg2 == NULL) {
7185 SWIG_null_ref("wxTreeItemId");
7186 }
7187 if (SWIG_arg_fail(2)) SWIG_fail;
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 {
7197 wxTreeItemId * resultptr;
7198 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7200 }
7201 return resultobj;
7202 fail:
7203 return NULL;
7204}
7205
7206
7207static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj = NULL;
7209 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7210 wxString *arg2 = 0 ;
7211 int arg3 = (int) -1 ;
7212 int arg4 = (int) -1 ;
7213 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
7214 wxTreeItemId result;
7215 bool temp2 = false ;
7216 PyObject * obj0 = 0 ;
7217 PyObject * obj1 = 0 ;
7218 PyObject * obj2 = 0 ;
7219 PyObject * obj3 = 0 ;
7220 PyObject * obj4 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7227 if (SWIG_arg_fail(1)) SWIG_fail;
7228 {
7229 arg2 = wxString_in_helper(obj1);
7230 if (arg2 == NULL) SWIG_fail;
7231 temp2 = true;
7232 }
7233 if (obj2) {
7234 {
7235 arg3 = static_cast<int >(SWIG_As_int(obj2));
7236 if (SWIG_arg_fail(3)) SWIG_fail;
7237 }
7238 }
7239 if (obj3) {
7240 {
7241 arg4 = static_cast<int >(SWIG_As_int(obj3));
7242 if (SWIG_arg_fail(4)) SWIG_fail;
7243 }
7244 }
7245 if (obj4) {
7246 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7247 if (SWIG_arg_fail(5)) SWIG_fail;
7248 }
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257 wxTreeItemId * resultptr;
7258 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7260 }
7261 {
7262 if (temp2)
7263 delete arg2;
7264 }
7265 return resultobj;
7266 fail:
7267 {
7268 if (temp2)
7269 delete arg2;
7270 }
7271 return NULL;
7272}
7273
7274
7275static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = NULL;
7277 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7278 wxTreeItemId *arg2 = 0 ;
7279 wxString *arg3 = 0 ;
7280 int arg4 = (int) -1 ;
7281 int arg5 = (int) -1 ;
7282 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7283 wxTreeItemId result;
7284 bool temp3 = false ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj2 = 0 ;
7288 PyObject * obj3 = 0 ;
7289 PyObject * obj4 = 0 ;
7290 PyObject * obj5 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7297 if (SWIG_arg_fail(1)) SWIG_fail;
7298 {
7299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7300 if (SWIG_arg_fail(2)) SWIG_fail;
7301 if (arg2 == NULL) {
7302 SWIG_null_ref("wxTreeItemId");
7303 }
7304 if (SWIG_arg_fail(2)) SWIG_fail;
7305 }
7306 {
7307 arg3 = wxString_in_helper(obj2);
7308 if (arg3 == NULL) SWIG_fail;
7309 temp3 = true;
7310 }
7311 if (obj3) {
7312 {
7313 arg4 = static_cast<int >(SWIG_As_int(obj3));
7314 if (SWIG_arg_fail(4)) SWIG_fail;
7315 }
7316 }
7317 if (obj4) {
7318 {
7319 arg5 = static_cast<int >(SWIG_As_int(obj4));
7320 if (SWIG_arg_fail(5)) SWIG_fail;
7321 }
7322 }
7323 if (obj5) {
7324 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7325 if (SWIG_arg_fail(6)) SWIG_fail;
7326 }
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 wxTreeItemId * resultptr;
7336 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7338 }
7339 {
7340 if (temp3)
7341 delete arg3;
7342 }
7343 return resultobj;
7344 fail:
7345 {
7346 if (temp3)
7347 delete arg3;
7348 }
7349 return NULL;
7350}
7351
7352
7353static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj = NULL;
7355 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7356 wxTreeItemId *arg2 = 0 ;
7357 wxTreeItemId *arg3 = 0 ;
7358 wxString *arg4 = 0 ;
7359 int arg5 = (int) -1 ;
7360 int arg6 = (int) -1 ;
7361 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7362 wxTreeItemId result;
7363 bool temp4 = false ;
7364 PyObject * obj0 = 0 ;
7365 PyObject * obj1 = 0 ;
7366 PyObject * obj2 = 0 ;
7367 PyObject * obj3 = 0 ;
7368 PyObject * obj4 = 0 ;
7369 PyObject * obj5 = 0 ;
7370 PyObject * obj6 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7377 if (SWIG_arg_fail(1)) SWIG_fail;
7378 {
7379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7380 if (SWIG_arg_fail(2)) SWIG_fail;
7381 if (arg2 == NULL) {
7382 SWIG_null_ref("wxTreeItemId");
7383 }
7384 if (SWIG_arg_fail(2)) SWIG_fail;
7385 }
7386 {
7387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7388 if (SWIG_arg_fail(3)) SWIG_fail;
7389 if (arg3 == NULL) {
7390 SWIG_null_ref("wxTreeItemId");
7391 }
7392 if (SWIG_arg_fail(3)) SWIG_fail;
7393 }
7394 {
7395 arg4 = wxString_in_helper(obj3);
7396 if (arg4 == NULL) SWIG_fail;
7397 temp4 = true;
7398 }
7399 if (obj4) {
7400 {
7401 arg5 = static_cast<int >(SWIG_As_int(obj4));
7402 if (SWIG_arg_fail(5)) SWIG_fail;
7403 }
7404 }
7405 if (obj5) {
7406 {
7407 arg6 = static_cast<int >(SWIG_As_int(obj5));
7408 if (SWIG_arg_fail(6)) SWIG_fail;
7409 }
7410 }
7411 if (obj6) {
7412 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7413 if (SWIG_arg_fail(7)) SWIG_fail;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423 wxTreeItemId * resultptr;
7424 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7426 }
7427 {
7428 if (temp4)
7429 delete arg4;
7430 }
7431 return resultobj;
7432 fail:
7433 {
7434 if (temp4)
7435 delete arg4;
7436 }
7437 return NULL;
7438}
7439
7440
7441static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj = NULL;
7443 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7444 wxTreeItemId *arg2 = 0 ;
7445 size_t arg3 ;
7446 wxString *arg4 = 0 ;
7447 int arg5 = (int) -1 ;
7448 int arg6 = (int) -1 ;
7449 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7450 wxTreeItemId result;
7451 bool temp4 = false ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 PyObject * obj2 = 0 ;
7455 PyObject * obj3 = 0 ;
7456 PyObject * obj4 = 0 ;
7457 PyObject * obj5 = 0 ;
7458 PyObject * obj6 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7465 if (SWIG_arg_fail(1)) SWIG_fail;
7466 {
7467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7468 if (SWIG_arg_fail(2)) SWIG_fail;
7469 if (arg2 == NULL) {
7470 SWIG_null_ref("wxTreeItemId");
7471 }
7472 if (SWIG_arg_fail(2)) SWIG_fail;
7473 }
7474 {
7475 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
7476 if (SWIG_arg_fail(3)) SWIG_fail;
7477 }
7478 {
7479 arg4 = wxString_in_helper(obj3);
7480 if (arg4 == NULL) SWIG_fail;
7481 temp4 = true;
7482 }
7483 if (obj4) {
7484 {
7485 arg5 = static_cast<int >(SWIG_As_int(obj4));
7486 if (SWIG_arg_fail(5)) SWIG_fail;
7487 }
7488 }
7489 if (obj5) {
7490 {
7491 arg6 = static_cast<int >(SWIG_As_int(obj5));
7492 if (SWIG_arg_fail(6)) SWIG_fail;
7493 }
7494 }
7495 if (obj6) {
7496 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7497 if (SWIG_arg_fail(7)) SWIG_fail;
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 {
7507 wxTreeItemId * resultptr;
7508 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7510 }
7511 {
7512 if (temp4)
7513 delete arg4;
7514 }
7515 return resultobj;
7516 fail:
7517 {
7518 if (temp4)
7519 delete arg4;
7520 }
7521 return NULL;
7522}
7523
7524
7525static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj = NULL;
7527 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7528 wxTreeItemId *arg2 = 0 ;
7529 wxString *arg3 = 0 ;
7530 int arg4 = (int) -1 ;
7531 int arg5 = (int) -1 ;
7532 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7533 wxTreeItemId result;
7534 bool temp3 = false ;
7535 PyObject * obj0 = 0 ;
7536 PyObject * obj1 = 0 ;
7537 PyObject * obj2 = 0 ;
7538 PyObject * obj3 = 0 ;
7539 PyObject * obj4 = 0 ;
7540 PyObject * obj5 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7543 };
7544
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7547 if (SWIG_arg_fail(1)) SWIG_fail;
7548 {
7549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(2)) SWIG_fail;
7551 if (arg2 == NULL) {
7552 SWIG_null_ref("wxTreeItemId");
7553 }
7554 if (SWIG_arg_fail(2)) SWIG_fail;
7555 }
7556 {
7557 arg3 = wxString_in_helper(obj2);
7558 if (arg3 == NULL) SWIG_fail;
7559 temp3 = true;
7560 }
7561 if (obj3) {
7562 {
7563 arg4 = static_cast<int >(SWIG_As_int(obj3));
7564 if (SWIG_arg_fail(4)) SWIG_fail;
7565 }
7566 }
7567 if (obj4) {
7568 {
7569 arg5 = static_cast<int >(SWIG_As_int(obj4));
7570 if (SWIG_arg_fail(5)) SWIG_fail;
7571 }
7572 }
7573 if (obj5) {
7574 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7575 if (SWIG_arg_fail(6)) SWIG_fail;
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 {
7585 wxTreeItemId * resultptr;
7586 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7588 }
7589 {
7590 if (temp3)
7591 delete arg3;
7592 }
7593 return resultobj;
7594 fail:
7595 {
7596 if (temp3)
7597 delete arg3;
7598 }
7599 return NULL;
7600}
7601
7602
7603static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj = NULL;
7605 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7606 wxTreeItemId *arg2 = 0 ;
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "item", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
7614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail;
7616 {
7617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7618 if (SWIG_arg_fail(2)) SWIG_fail;
7619 if (arg2 == NULL) {
7620 SWIG_null_ref("wxTreeItemId");
7621 }
7622 if (SWIG_arg_fail(2)) SWIG_fail;
7623 }
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->Delete((wxTreeItemId const &)*arg2);
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 Py_INCREF(Py_None); resultobj = Py_None;
7632 return resultobj;
7633 fail:
7634 return NULL;
7635}
7636
7637
7638static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj = NULL;
7640 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7641 wxTreeItemId *arg2 = 0 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self",(char *) "item", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
7649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7650 if (SWIG_arg_fail(1)) SWIG_fail;
7651 {
7652 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7653 if (SWIG_arg_fail(2)) SWIG_fail;
7654 if (arg2 == NULL) {
7655 SWIG_null_ref("wxTreeItemId");
7656 }
7657 if (SWIG_arg_fail(2)) SWIG_fail;
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
7673static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj = NULL;
7675 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7676 PyObject * obj0 = 0 ;
7677 char *kwnames[] = {
7678 (char *) "self", NULL
7679 };
7680
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
7682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7683 if (SWIG_arg_fail(1)) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->DeleteAllItems();
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 Py_INCREF(Py_None); resultobj = Py_None;
7692 return resultobj;
7693 fail:
7694 return NULL;
7695}
7696
7697
7698static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj = NULL;
7700 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7701 wxTreeItemId *arg2 = 0 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self",(char *) "item", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
7709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7710 if (SWIG_arg_fail(1)) SWIG_fail;
7711 {
7712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7713 if (SWIG_arg_fail(2)) SWIG_fail;
7714 if (arg2 == NULL) {
7715 SWIG_null_ref("wxTreeItemId");
7716 }
7717 if (SWIG_arg_fail(2)) SWIG_fail;
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->Expand((wxTreeItemId const &)*arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj = NULL;
7735 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7736 wxTreeItemId *arg2 = 0 ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "item", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
7744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail;
7746 {
7747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7748 if (SWIG_arg_fail(2)) SWIG_fail;
7749 if (arg2 == NULL) {
7750 SWIG_null_ref("wxTreeItemId");
7751 }
7752 if (SWIG_arg_fail(2)) SWIG_fail;
7753 }
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 Py_INCREF(Py_None); resultobj = Py_None;
7762 return resultobj;
7763 fail:
7764 return NULL;
7765}
7766
7767
7768static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj = NULL;
7770 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7771 wxTreeItemId *arg2 = 0 ;
7772 PyObject * obj0 = 0 ;
7773 PyObject * obj1 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "self",(char *) "item", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
7779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7780 if (SWIG_arg_fail(1)) SWIG_fail;
7781 {
7782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(2)) SWIG_fail;
7784 if (arg2 == NULL) {
7785 SWIG_null_ref("wxTreeItemId");
7786 }
7787 if (SWIG_arg_fail(2)) SWIG_fail;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800}
7801
7802
7803static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj = NULL;
7805 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7806 wxTreeItemId *arg2 = 0 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self",(char *) "item", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
7814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7815 if (SWIG_arg_fail(1)) SWIG_fail;
7816 {
7817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7818 if (SWIG_arg_fail(2)) SWIG_fail;
7819 if (arg2 == NULL) {
7820 SWIG_null_ref("wxTreeItemId");
7821 }
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 }
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
7838static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = NULL;
7840 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7841 wxTreeItemId *arg2 = 0 ;
7842 PyObject * obj0 = 0 ;
7843 PyObject * obj1 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "item", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
7849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail;
7851 {
7852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7853 if (SWIG_arg_fail(2)) SWIG_fail;
7854 if (arg2 == NULL) {
7855 SWIG_null_ref("wxTreeItemId");
7856 }
7857 if (SWIG_arg_fail(2)) SWIG_fail;
7858 }
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 Py_INCREF(Py_None); resultobj = Py_None;
7867 return resultobj;
7868 fail:
7869 return NULL;
7870}
7871
7872
7873static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj = NULL;
7875 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
7882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail;
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 (arg1)->Unselect();
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 Py_INCREF(Py_None); resultobj = Py_None;
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj = NULL;
7900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7901 PyObject * obj0 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
7907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail;
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->UnselectAll();
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj = NULL;
7925 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7926 wxTreeItemId *arg2 = 0 ;
7927 bool arg3 = (bool) true ;
7928 bool arg4 = (bool) false ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 PyObject * obj2 = 0 ;
7932 PyObject * obj3 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail;
7940 {
7941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(2)) SWIG_fail;
7943 if (arg2 == NULL) {
7944 SWIG_null_ref("wxTreeItemId");
7945 }
7946 if (SWIG_arg_fail(2)) SWIG_fail;
7947 }
7948 if (obj2) {
7949 {
7950 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7951 if (SWIG_arg_fail(3)) SWIG_fail;
7952 }
7953 }
7954 if (obj3) {
7955 {
7956 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
7957 if (SWIG_arg_fail(4)) SWIG_fail;
7958 }
7959 }
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 Py_INCREF(Py_None); resultobj = Py_None;
7968 return resultobj;
7969 fail:
7970 return NULL;
7971}
7972
7973
7974static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj = NULL;
7976 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7977 bool arg2 = (bool) false ;
7978 PyObject * obj0 = 0 ;
7979 PyObject * obj1 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self",(char *) "extended_select", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
7985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail;
7987 if (obj1) {
7988 {
7989 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7990 if (SWIG_arg_fail(2)) SWIG_fail;
7991 }
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SelectAll(arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004}
8005
8006
8007static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj = NULL;
8009 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8010 wxTreeItemId *arg2 = 0 ;
8011 PyObject * obj0 = 0 ;
8012 PyObject * obj1 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "item", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
8020 {
8021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(2)) SWIG_fail;
8023 if (arg2 == NULL) {
8024 SWIG_null_ref("wxTreeItemId");
8025 }
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 return resultobj;
8037 fail:
8038 return NULL;
8039}
8040
8041
8042static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
8043 PyObject *resultobj = NULL;
8044 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8045 wxTreeItemId *arg2 = 0 ;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self",(char *) "item", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
8053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail;
8055 {
8056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8057 if (SWIG_arg_fail(2)) SWIG_fail;
8058 if (arg2 == NULL) {
8059 SWIG_null_ref("wxTreeItemId");
8060 }
8061 if (SWIG_arg_fail(2)) SWIG_fail;
8062 }
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074}
8075
8076
8077static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj = NULL;
8079 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8080 wxPoint *arg2 = 0 ;
8081 int *arg3 = 0 ;
8082 int *arg4 = 0 ;
8083 wxTreeItemId result;
8084 wxPoint temp2 ;
8085 int temp3 ;
8086 int res3 = 0 ;
8087 int temp4 ;
8088 int res4 = 0 ;
8089 PyObject * obj0 = 0 ;
8090 PyObject * obj1 = 0 ;
8091 char *kwnames[] = {
8092 (char *) "self",(char *) "point", NULL
8093 };
8094
8095 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8096 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail;
8100 {
8101 arg2 = &temp2;
8102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 {
8112 wxTreeItemId * resultptr;
8113 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8115 }
8116 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8117 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
8118 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8119 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
8126static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj = NULL;
8128 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8129 wxTreeItemId *arg2 = 0 ;
8130 bool arg3 = (bool) false ;
8131 PyObject *result;
8132 PyObject * obj0 = 0 ;
8133 PyObject * obj1 = 0 ;
8134 PyObject * obj2 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "self",(char *) "item",(char *) "textOnly", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
8140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8141 if (SWIG_arg_fail(1)) SWIG_fail;
8142 {
8143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8144 if (SWIG_arg_fail(2)) SWIG_fail;
8145 if (arg2 == NULL) {
8146 SWIG_null_ref("wxTreeItemId");
8147 }
8148 if (SWIG_arg_fail(2)) SWIG_fail;
8149 }
8150 if (obj2) {
8151 {
8152 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8153 if (SWIG_arg_fail(3)) SWIG_fail;
8154 }
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 resultobj = result;
8164 return resultobj;
8165 fail:
8166 return NULL;
8167}
8168
8169
8170static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj = NULL;
8172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8173 wxTreeItemId *arg2 = 0 ;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self",(char *) "item", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
8181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8182 if (SWIG_arg_fail(1)) SWIG_fail;
8183 {
8184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8185 if (SWIG_arg_fail(2)) SWIG_fail;
8186 if (arg2 == NULL) {
8187 SWIG_null_ref("wxTreeItemId");
8188 }
8189 if (SWIG_arg_fail(2)) SWIG_fail;
8190 }
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
8199 return resultobj;
8200 fail:
8201 return NULL;
8202}
8203
8204
8205static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj = NULL;
8207 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8208 wxTreeItemId *arg2 = 0 ;
8209 PyObject * obj0 = 0 ;
8210 PyObject * obj1 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self",(char *) "item", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
8216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail;
8218 {
8219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(2)) SWIG_fail;
8221 if (arg2 == NULL) {
8222 SWIG_null_ref("wxTreeItemId");
8223 }
8224 if (SWIG_arg_fail(2)) SWIG_fail;
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 (arg1)->Edit((wxTreeItemId const &)*arg2);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
8240static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj = NULL;
8242 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8243 wxTreeItemId *arg2 = 0 ;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "item", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
8251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail;
8253 {
8254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8255 if (SWIG_arg_fail(2)) SWIG_fail;
8256 if (arg2 == NULL) {
8257 SWIG_null_ref("wxTreeItemId");
8258 }
8259 if (SWIG_arg_fail(2)) SWIG_fail;
8260 }
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272}
8273
8274
8275static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj = NULL;
8277 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8278 wxTreeItemId *arg2 = 0 ;
8279 wxString *arg3 = 0 ;
8280 int arg4 = (int) 0 ;
8281 wxTreeItemId result;
8282 bool temp3 = false ;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 PyObject * obj2 = 0 ;
8286 PyObject * obj3 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail;
8294 {
8295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8296 if (SWIG_arg_fail(2)) SWIG_fail;
8297 if (arg2 == NULL) {
8298 SWIG_null_ref("wxTreeItemId");
8299 }
8300 if (SWIG_arg_fail(2)) SWIG_fail;
8301 }
8302 {
8303 arg3 = wxString_in_helper(obj2);
8304 if (arg3 == NULL) SWIG_fail;
8305 temp3 = true;
8306 }
8307 if (obj3) {
8308 {
8309 arg4 = static_cast<int >(SWIG_As_int(obj3));
8310 if (SWIG_arg_fail(4)) SWIG_fail;
8311 }
8312 }
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 {
8321 wxTreeItemId * resultptr;
8322 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8324 }
8325 {
8326 if (temp3)
8327 delete arg3;
8328 }
8329 return resultobj;
8330 fail:
8331 {
8332 if (temp3)
8333 delete arg3;
8334 }
8335 return NULL;
8336}
8337
8338
8339static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj = NULL;
8341 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8342 wxWindow *result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
8349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8350 if (SWIG_arg_fail(1)) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 resultobj = wxPyMake_wxObject(result, 0);
8360 }
8361 return resultobj;
8362 fail:
8363 return NULL;
8364}
8365
8366
8367static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj = NULL;
8369 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8370 wxScrolledWindow *result;
8371 PyObject * obj0 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
8377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8378 if (SWIG_arg_fail(1)) SWIG_fail;
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 {
8387 resultobj = wxPyMake_wxObject(result, 0);
8388 }
8389 return resultobj;
8390 fail:
8391 return NULL;
8392}
8393
8394
8395static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
8396 PyObject *obj;
8397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8398 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8399 Py_INCREF(obj);
8400 return Py_BuildValue((char *)"");
8401}
8402static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj = NULL;
8404 wxWindow *arg1 = (wxWindow *) 0 ;
8405 int arg2 = (int) -1 ;
8406 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8407 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8410 wxSize const &arg5_defvalue = wxDefaultSize ;
8411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8412 long arg6 = (long) 0 ;
8413 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
8414 wxString *arg7 = (wxString *) &arg7_defvalue ;
8415 wxStaticPicture *result;
8416 wxPoint temp4 ;
8417 wxSize temp5 ;
8418 bool temp7 = false ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 PyObject * obj4 = 0 ;
8424 PyObject * obj5 = 0 ;
8425 PyObject * obj6 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8432 if (SWIG_arg_fail(1)) SWIG_fail;
8433 if (obj1) {
8434 {
8435 arg2 = static_cast<int >(SWIG_As_int(obj1));
8436 if (SWIG_arg_fail(2)) SWIG_fail;
8437 }
8438 }
8439 if (obj2) {
8440 {
8441 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8442 if (SWIG_arg_fail(3)) SWIG_fail;
8443 if (arg3 == NULL) {
8444 SWIG_null_ref("wxBitmap");
8445 }
8446 if (SWIG_arg_fail(3)) SWIG_fail;
8447 }
8448 }
8449 if (obj3) {
8450 {
8451 arg4 = &temp4;
8452 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8453 }
8454 }
8455 if (obj4) {
8456 {
8457 arg5 = &temp5;
8458 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8459 }
8460 }
8461 if (obj5) {
8462 {
8463 arg6 = static_cast<long >(SWIG_As_long(obj5));
8464 if (SWIG_arg_fail(6)) SWIG_fail;
8465 }
8466 }
8467 if (obj6) {
8468 {
8469 arg7 = wxString_in_helper(obj6);
8470 if (arg7 == NULL) SWIG_fail;
8471 temp7 = true;
8472 }
8473 }
8474 {
8475 if (!wxPyCheckForApp()) SWIG_fail;
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8483 {
8484 if (temp7)
8485 delete arg7;
8486 }
8487 return resultobj;
8488 fail:
8489 {
8490 if (temp7)
8491 delete arg7;
8492 }
8493 return NULL;
8494}
8495
8496
8497static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8498 PyObject *resultobj = NULL;
8499 wxStaticPicture *result;
8500 char *kwnames[] = {
8501 NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail;
8505 {
8506 if (!wxPyCheckForApp()) SWIG_fail;
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (wxStaticPicture *)new wxStaticPicture();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
8520static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj = NULL;
8522 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8523 wxWindow *arg2 = (wxWindow *) 0 ;
8524 int arg3 = (int) -1 ;
8525 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8526 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8529 wxSize const &arg6_defvalue = wxDefaultSize ;
8530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8531 long arg7 = (long) 0 ;
8532 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
8533 wxString *arg8 = (wxString *) &arg8_defvalue ;
8534 bool result;
8535 wxPoint temp5 ;
8536 wxSize temp6 ;
8537 bool temp8 = false ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 PyObject * obj2 = 0 ;
8541 PyObject * obj3 = 0 ;
8542 PyObject * obj4 = 0 ;
8543 PyObject * obj5 = 0 ;
8544 PyObject * obj6 = 0 ;
8545 PyObject * obj7 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail;
8553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(2)) SWIG_fail;
8555 if (obj2) {
8556 {
8557 arg3 = static_cast<int >(SWIG_As_int(obj2));
8558 if (SWIG_arg_fail(3)) SWIG_fail;
8559 }
8560 }
8561 if (obj3) {
8562 {
8563 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8564 if (SWIG_arg_fail(4)) SWIG_fail;
8565 if (arg4 == NULL) {
8566 SWIG_null_ref("wxBitmap");
8567 }
8568 if (SWIG_arg_fail(4)) SWIG_fail;
8569 }
8570 }
8571 if (obj4) {
8572 {
8573 arg5 = &temp5;
8574 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8575 }
8576 }
8577 if (obj5) {
8578 {
8579 arg6 = &temp6;
8580 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8581 }
8582 }
8583 if (obj6) {
8584 {
8585 arg7 = static_cast<long >(SWIG_As_long(obj6));
8586 if (SWIG_arg_fail(7)) SWIG_fail;
8587 }
8588 }
8589 if (obj7) {
8590 {
8591 arg8 = wxString_in_helper(obj7);
8592 if (arg8 == NULL) SWIG_fail;
8593 temp8 = true;
8594 }
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 {
8604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8605 }
8606 {
8607 if (temp8)
8608 delete arg8;
8609 }
8610 return resultobj;
8611 fail:
8612 {
8613 if (temp8)
8614 delete arg8;
8615 }
8616 return NULL;
8617}
8618
8619
8620static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj = NULL;
8622 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8623 wxBitmap *arg2 = 0 ;
8624 PyObject * obj0 = 0 ;
8625 PyObject * obj1 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "bmp", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
8633 {
8634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8635 if (SWIG_arg_fail(2)) SWIG_fail;
8636 if (arg2 == NULL) {
8637 SWIG_null_ref("wxBitmap");
8638 }
8639 if (SWIG_arg_fail(2)) SWIG_fail;
8640 }
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 Py_INCREF(Py_None); resultobj = Py_None;
8649 return resultobj;
8650 fail:
8651 return NULL;
8652}
8653
8654
8655static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj = NULL;
8657 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8658 wxBitmap result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail;
8665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8666 if (SWIG_arg_fail(1)) SWIG_fail;
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = ((wxStaticPicture const *)arg1)->GetBitmap();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 {
8675 wxBitmap * resultptr;
8676 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
8677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8678 }
8679 return resultobj;
8680 fail:
8681 return NULL;
8682}
8683
8684
8685static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8686 PyObject *resultobj = NULL;
8687 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8688 wxIcon *arg2 = 0 ;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "icon", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail;
8696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8697 if (SWIG_arg_fail(1)) SWIG_fail;
8698 {
8699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
8700 if (SWIG_arg_fail(2)) SWIG_fail;
8701 if (arg2 == NULL) {
8702 SWIG_null_ref("wxIcon");
8703 }
8704 if (SWIG_arg_fail(2)) SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 (arg1)->SetIcon((wxIcon const &)*arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 return resultobj;
8715 fail:
8716 return NULL;
8717}
8718
8719
8720static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj = NULL;
8722 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8723 wxIcon result;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail;
8730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = ((wxStaticPicture const *)arg1)->GetIcon();
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 {
8740 wxIcon * resultptr;
8741 resultptr = new wxIcon(static_cast<wxIcon & >(result));
8742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
8743 }
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
8750static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj = NULL;
8752 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8753 int arg2 ;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "self",(char *) "align", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8762 if (SWIG_arg_fail(1)) SWIG_fail;
8763 {
8764 arg2 = static_cast<int >(SWIG_As_int(obj1));
8765 if (SWIG_arg_fail(2)) SWIG_fail;
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->SetAlignment(arg2);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 return resultobj;
8776 fail:
8777 return NULL;
8778}
8779
8780
8781static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj = NULL;
8783 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8784 int result;
8785 PyObject * obj0 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail;
8791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 {
8801 resultobj = SWIG_From_int(static_cast<int >(result));
8802 }
8803 return resultobj;
8804 fail:
8805 return NULL;
8806}
8807
8808
8809static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj = NULL;
8811 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8812 int arg2 ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self",(char *) "scale", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail;
8820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail;
8822 {
8823 arg2 = static_cast<int >(SWIG_As_int(obj1));
8824 if (SWIG_arg_fail(2)) SWIG_fail;
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->SetScale(arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837}
8838
8839
8840static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj = NULL;
8842 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8843 int result;
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail;
8850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8851 if (SWIG_arg_fail(1)) SWIG_fail;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (int)((wxStaticPicture const *)arg1)->GetScale();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 resultobj = SWIG_From_int(static_cast<int >(result));
8861 }
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
8868static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj = NULL;
8870 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8871 float arg2 ;
8872 float arg3 ;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "sx",(char *) "sy", NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail;
8883 {
8884 arg2 = static_cast<float >(SWIG_As_float(obj1));
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 }
8887 {
8888 arg3 = static_cast<float >(SWIG_As_float(obj2));
8889 if (SWIG_arg_fail(3)) SWIG_fail;
8890 }
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->SetCustomScale(arg2,arg3);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902}
8903
8904
8905static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj = NULL;
8907 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8908 float *arg2 = (float *) 0 ;
8909 float *arg3 = (float *) 0 ;
8910 float temp2 ;
8911 int res2 = 0 ;
8912 float temp3 ;
8913 int res3 = 0 ;
8914 PyObject * obj0 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self", NULL
8917 };
8918
8919 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8920 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail;
8922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail;
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8933 SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0)));
8934 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8935 SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0)));
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) {
8943 PyObject *obj;
8944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8945 SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj);
8946 Py_INCREF(obj);
8947 return Py_BuildValue((char *)"");
8948}
8949static PyMethodDef SwigMethods[] = {
8950 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8951 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8952 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8953 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8954 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8955 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8956 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8957 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8958 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8959 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8960 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8961 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8962 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8963 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8964 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8965 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8966 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8967 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8968 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8969 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8970 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8971 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8972 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8973 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8974 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8975 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8976 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8977 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8978 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8979 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8980 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8981 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8982 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8983 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8984 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8985 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8986 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8987 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8988 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8989 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8990 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8991 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8992 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8993 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8994 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8995 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8996 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
8997 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8998 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8999 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9000 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
9001 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9002 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9003 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9004 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
9005 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9006 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
9007 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9008 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9009 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9010 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
9011 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9012 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9013 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9014 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9015 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
9016 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9017 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9018 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9019 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9020 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9021 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9022 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9023 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9024 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9025 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9026 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9027 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9028 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9029 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9030 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9031 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9032 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9033 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9034 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
9035 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9036 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9037 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9038 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9039 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9040 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9041 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9042 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9043 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9044 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9045 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9046 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9047 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9048 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
9049 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9050 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9051 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9052 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9053 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9054 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9055 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9056 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9057 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9058 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9059 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9060 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9061 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9062 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9063 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9064 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9065 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9066 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9067 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9068 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
9069 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
9070 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
9071 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
9072 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
9073 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
9074 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
9075 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
9076 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
9077 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
9078 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
9079 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9080 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9081 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
9082 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9083 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9084 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
9085 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
9086 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
9087 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
9088 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
9089 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
9090 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
9091 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9092 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
9093 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
9094 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
9095 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
9096 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
9097 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
9098 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
9099 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9100 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
9101 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9102 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9103 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
9104 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
9105 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
9106 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
9107 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
9108 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9109 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
9110 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9111 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9112 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
9113 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9114 { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9115 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9116 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9117 { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9118 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9119 { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9120 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9121 { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9122 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9123 { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9124 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9125 { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9126 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
9127 { NULL, NULL, 0, NULL }
9128};
9129
9130
9131/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9132
9133static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
9134 return (void *)((wxValidator *) ((wxPyValidator *) x));
9135}
9136static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
9137 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
9138}
9139static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
9140 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
9141}
9142static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
9143 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9144}
9145static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
9146 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9147}
9148static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
9149 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9150}
9151static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
9152 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9153}
9154static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
9155 return (void *)((wxPanel *) ((wxPyPanel *) x));
9156}
9157static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
9158 return (void *)((wxPanel *) ((wxEditableListBox *) x));
9159}
9160static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
9161 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
9162}
9163static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
9164 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
9165}
9166static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
9167 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9168}
9169static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
9170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9171}
9172static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
9173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9174}
9175static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
9176 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
9177}
9178static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
9179 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
9180}
9181static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
9182 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9183}
9184static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
9185 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
9186}
9187static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
9188 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
9189}
9190static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
9191 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9192}
9193static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
9194 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
9195}
9196static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
9197 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
9198}
9199static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
9200 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9201}
9202static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
9203 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
9204}
9205static void *_p_wxControlTo_p_wxWindow(void *x) {
9206 return (void *)((wxWindow *) ((wxControl *) x));
9207}
9208static void *_p_wxPyControlTo_p_wxWindow(void *x) {
9209 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
9210}
9211static void *_p_wxGaugeTo_p_wxWindow(void *x) {
9212 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
9213}
9214static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
9215 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
9216}
9217static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
9218 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
9219}
9220static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
9221 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
9222}
9223static void *_p_wxChoiceTo_p_wxWindow(void *x) {
9224 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9225}
9226static void *_p_wxListViewTo_p_wxWindow(void *x) {
9227 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9228}
9229static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
9230 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
9231}
9232static void *_p_wxNotebookTo_p_wxWindow(void *x) {
9233 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9234}
9235static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
9236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9237}
9238static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
9239 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9240}
9241static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
9242 return (void *)((wxWindow *) ((wxPyWindow *) x));
9243}
9244static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
9245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9246}
9247static void *_p_wxListbookTo_p_wxWindow(void *x) {
9248 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9249}
9250static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
9251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9252}
9253static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
9254 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9255}
9256static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
9257 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9258}
9259static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
9260 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9261}
9262static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
9263 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9264}
9265static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9267}
9268static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9270}
9271static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9273}
9274static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9275 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9276}
9277static void *_p_wxSliderTo_p_wxWindow(void *x) {
9278 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9279}
9280static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9281 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9282}
9283static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9284 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9285}
9286static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9287 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9288}
9289static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9290 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9291}
9292static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9293 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9294}
9295static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9296 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9297}
9298static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9299 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9300}
9301static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9302 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9303}
9304static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9305 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9306}
9307static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9308 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9309}
9310static void *_p_wxButtonTo_p_wxWindow(void *x) {
9311 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9312}
9313static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9314 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9315}
9316static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9317 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9318}
9319static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9320 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9321}
9322static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9323 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
9324}
9325static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9326 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9327}
9328static void *_p_wxFrameTo_p_wxWindow(void *x) {
9329 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9330}
9331static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9332 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9333}
9334static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9335 return (void *)((wxWindow *) ((wxStatusBar *) x));
9336}
9337static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9339}
9340static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9341 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9342}
9343static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9344 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9345}
9346static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9347 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9348}
9349static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9350 return (void *)((wxWindow *) ((wxSashWindow *) x));
9351}
9352static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9353 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9354}
9355static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9356 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9357}
9358static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9359 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9360}
9361static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9362 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9363}
9364static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9365 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9366}
9367static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9368 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9369}
9370static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9371 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9372}
9373static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9374 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9375}
9376static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9377 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9378}
9379static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9380 return (void *)((wxWindow *) ((wxMenuBar *) x));
9381}
9382static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9383 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9384}
9385static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9386 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9387}
9388static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9389 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9390}
9391static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9392 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9393}
9394static void *_p_wxDialogTo_p_wxWindow(void *x) {
9395 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9396}
9397static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9398 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9399}
9400static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9401 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9402}
9403static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9404 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9405}
9406static void *_p_wxPanelTo_p_wxWindow(void *x) {
9407 return (void *)((wxWindow *) ((wxPanel *) x));
9408}
9409static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9410 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9411}
9412static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9413 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9414}
9415static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9416 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9417}
9418static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9419 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9420}
9421static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9422 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9423}
9424static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9425 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9426}
9427static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9428 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9429}
9430static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9431 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9432}
9433static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9434 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9435}
9436static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9437 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9438}
9439static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9440 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
9441}
9442static void *_p_wxToolBarTo_p_wxControl(void *x) {
9443 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9444}
9445static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9446 return (void *)((wxControl *) ((wxToggleButton *) x));
9447}
9448static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9449 return (void *)((wxControl *) ((wxRadioButton *) x));
9450}
9451static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9452 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9453}
9454static void *_p_wxPyControlTo_p_wxControl(void *x) {
9455 return (void *)((wxControl *) ((wxPyControl *) x));
9456}
9457static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9458 return (void *)((wxControl *) ((wxToolBarBase *) x));
9459}
9460static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9461 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9462}
9463static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9464 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9465}
9466static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9467 return (void *)((wxControl *) ((wxComboBox *) x));
9468}
9469static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9470 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9471}
9472static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9473 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9474}
9475static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9476 return (void *)((wxControl *) ((wxScrollBar *) x));
9477}
9478static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9479 return (void *)((wxControl *) ((wxControlWithItems *) x));
9480}
9481static void *_p_wxGaugeTo_p_wxControl(void *x) {
9482 return (void *)((wxControl *) ((wxGauge *) x));
9483}
9484static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9485 return (void *)((wxControl *) ((wxStaticLine *) x));
9486}
9487static void *_p_wxChoicebookTo_p_wxControl(void *x) {
9488 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
9489}
9490static void *_p_wxListbookTo_p_wxControl(void *x) {
9491 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
9492}
9493static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9494 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9495}
9496static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9497 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9498}
9499static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9500 return (void *)((wxControl *) ((wxCheckBox *) x));
9501}
9502static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9503 return (void *)((wxControl *) ((wxRadioBox *) x));
9504}
9505static void *_p_wxChoiceTo_p_wxControl(void *x) {
9506 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9507}
9508static void *_p_wxListBoxTo_p_wxControl(void *x) {
9509 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9510}
9511static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9512 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9513}
9514static void *_p_wxListViewTo_p_wxControl(void *x) {
9515 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9516}
9517static void *_p_wxNotebookTo_p_wxControl(void *x) {
9518 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
9519}
9520static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9521 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9522}
9523static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9524 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9525}
9526static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9527 return (void *)((wxControl *) ((wxStaticText *) x));
9528}
9529static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9530 return (void *)((wxControl *) ((wxStaticBox *) x));
9531}
9532static void *_p_wxSliderTo_p_wxControl(void *x) {
9533 return (void *)((wxControl *) ((wxSlider *) x));
9534}
9535static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9536 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9537}
9538static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9539 return (void *)((wxControl *) ((wxSpinButton *) x));
9540}
9541static void *_p_wxButtonTo_p_wxControl(void *x) {
9542 return (void *)((wxControl *) ((wxButton *) x));
9543}
9544static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9545 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9546}
9547static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9548 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9549}
9550static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9551 return (void *)((wxControl *) ((wxStaticPicture *) x));
9552}
9553static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9554 return (void *)((wxControl *) ((wxTextCtrl *) x));
9555}
9556static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9557 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9558}
9559static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9561}
9562static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9563 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9564}
9565static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9566 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9567}
9568static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9569 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9570}
9571static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9572 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9573}
9574static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9575 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9576}
9577static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9578 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9579}
9580static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9581 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9582}
9583static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9584 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9585}
9586static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9587 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9588}
9589static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9590 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9591}
9592static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9593 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9594}
9595static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9596 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9597}
9598static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9599 return (void *)((wxEvent *) ((wxPyEvent *) x));
9600}
9601static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9603}
9604static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9605 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9606}
9607static void *_p_wxListEventTo_p_wxEvent(void *x) {
9608 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9609}
9610static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9612}
9613static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9614 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9615}
9616static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
9617 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
9618}
9619static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
9620 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
9621}
9622static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
9623 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
9624}
9625static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9626 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9627}
9628static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9629 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9630}
9631static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9632 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9633}
9634static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9635 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9636}
9637static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9638 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9639}
9640static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9641 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9642}
9643static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9644 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9645}
9646static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9647 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9648}
9649static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9650 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9651}
9652static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9653 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9654}
9655static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9656 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9657}
9658static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9659 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9660}
9661static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9663}
9664static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9665 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9666}
9667static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9668 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9669}
9670static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9671 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9672}
9673static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9674 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9675}
9676static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9677 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9678}
9679static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9680 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9681}
9682static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9684}
9685static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9687}
9688static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9689 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9690}
9691static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9692 return (void *)((wxEvent *) ((wxShowEvent *) x));
9693}
9694static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9695 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9696}
9697static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9698 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9699}
9700static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9702}
9703static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9704 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9705}
9706static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9707 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9708}
9709static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9710 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9711}
9712static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9713 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9714}
9715static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9716 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9717}
9718static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9720}
9721static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9723}
9724static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9726}
9727static void *_p_wxEventTo_p_wxObject(void *x) {
9728 return (void *)((wxObject *) ((wxEvent *) x));
9729}
9730static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9732}
9733static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9734 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9735}
9736static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9737 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9738}
9739static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9741}
9742static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9744}
9745static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9747}
9748static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9749 return (void *)((wxObject *) ((wxMenuItem *) x));
9750}
9751static void *_p_wxImageTo_p_wxObject(void *x) {
9752 return (void *)((wxObject *) ((wxImage *) x));
9753}
9754static void *_p_wxPySizerTo_p_wxObject(void *x) {
9755 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9756}
9757static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9759}
9760static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9761 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9762}
9763static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
9765}
9766static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9767 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
9768}
9769static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9770 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9771}
9772static void *_p_wxPyAppTo_p_wxObject(void *x) {
9773 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9774}
9775static void *_p_wxNotebookTo_p_wxObject(void *x) {
9776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9777}
9778static void *_p_wxListItemTo_p_wxObject(void *x) {
9779 return (void *)((wxObject *) ((wxListItem *) x));
9780}
9781static void *_p_wxChoicebookTo_p_wxObject(void *x) {
9782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9783}
9784static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
9786}
9787static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9789}
9790static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9792}
9793static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9795}
9796static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9798}
9799static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9800 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9801}
9802static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9804}
9805static void *_p_wxValidatorTo_p_wxObject(void *x) {
9806 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9807}
9808static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9809 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9810}
9811static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9812 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9813}
9814static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9815 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9816}
9817static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9818 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9819}
9820static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9822}
9823static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9825}
9826static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9828}
9829static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9831}
9832static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9833 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9834}
9835static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9836 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9837}
9838static void *_p_wxPrinterTo_p_wxObject(void *x) {
9839 return (void *)((wxObject *) ((wxPrinter *) x));
9840}
9841static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9843}
9844static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9846}
9847static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9848 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9849}
9850static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9851 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9852}
9853static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9854 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9855}
9856static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9857 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9858}
9859static void *_p_wxControlTo_p_wxObject(void *x) {
9860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9861}
9862static void *_p_wxPyControlTo_p_wxObject(void *x) {
9863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9864}
9865static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9866 return (void *)((wxObject *) ((wxContextHelp *) x));
9867}
9868static void *_p_wxColourDataTo_p_wxObject(void *x) {
9869 return (void *)((wxObject *) ((wxColourData *) x));
9870}
9871static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9872 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9873}
9874static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9875 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9876}
9877static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9878 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9879}
9880static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9881 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9882}
9883static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9884 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9885}
9886static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9887 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9888}
9889static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9891}
9892static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9893 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9894}
9895static void *_p_wxDateEventTo_p_wxObject(void *x) {
9896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9897}
9898static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9900}
9901static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9902 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9903}
9904static void *_p_wxListEventTo_p_wxObject(void *x) {
9905 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9906}
9907static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9908 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9909}
9910static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9911 return (void *)((wxObject *) ((wxPyPrintout *) x));
9912}
9913static void *_p_wxGaugeTo_p_wxObject(void *x) {
9914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9915}
9916static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9918}
9919static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9920 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9921}
9922static void *_p_wxChoiceTo_p_wxObject(void *x) {
9923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9924}
9925static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9927}
9928static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9930}
9931static void *_p_wxButtonTo_p_wxObject(void *x) {
9932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9933}
9934static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9936}
9937static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9938 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9939}
9940static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9941 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9942}
9943static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9945}
9946static void *_p_wxSashEventTo_p_wxObject(void *x) {
9947 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9948}
9949static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9951}
9952static void *_p_wxListBoxTo_p_wxObject(void *x) {
9953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9954}
9955static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9957}
9958static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9960}
9961static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9962 return (void *)((wxObject *) ((wxPrintData *) x));
9963}
9964static void *_p_wxFontDataTo_p_wxObject(void *x) {
9965 return (void *)((wxObject *) ((wxFontData *) x));
9966}
9967static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9969}
9970static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9972}
9973static void *_p_wxListbookTo_p_wxObject(void *x) {
9974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9975}
9976static void *_p_wxFrameTo_p_wxObject(void *x) {
9977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9978}
9979static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9981}
9982static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
9983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
9984}
9985static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9986 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9987}
9988static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
9989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9990}
9991static void *_p_wxFileSystemTo_p_wxObject(void *x) {
9992 return (void *)((wxObject *) ((wxFileSystem *) x));
9993}
9994static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
9995 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
9996}
9997static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
9998 return (void *)((wxObject *) ((wxPrintPreview *) x));
9999}
10000static void *_p_wxListViewTo_p_wxObject(void *x) {
10001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10002}
10003static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10004 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10005}
10006static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
10007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10008}
10009static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
10010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10011}
10012static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
10013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10014}
10015static void *_p_wxSizerTo_p_wxObject(void *x) {
10016 return (void *)((wxObject *) ((wxSizer *) x));
10017}
10018static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10019 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10020}
10021static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10022 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10023}
10024static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10025 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10026}
10027static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10028 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10029}
10030static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10031 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10032}
10033static void *_p_wxFSFileTo_p_wxObject(void *x) {
10034 return (void *)((wxObject *) ((wxFSFile *) x));
10035}
10036static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10037 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10038}
10039static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10040 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10041}
10042static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
10043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10044}
10045static void *_p_wxMenuTo_p_wxObject(void *x) {
10046 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10047}
10048static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
10049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
10050}
10051static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
10052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
10053}
10054static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10055 return (void *)((wxObject *) ((wxSizerItem *) x));
10056}
10057static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10058 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10059}
10060static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10061 return (void *)((wxObject *) ((wxPrintDialog *) x));
10062}
10063static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10064 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
10065}
10066static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10068}
10069static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10071}
10072static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10074}
10075static void *_p_wxDialogTo_p_wxObject(void *x) {
10076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10077}
10078static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10080}
10081static void *_p_wxPyEventTo_p_wxObject(void *x) {
10082 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10083}
10084static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
10085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10086}
10087static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
10088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10089}
10090static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
10091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10092}
10093static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10094 return (void *)((wxObject *) ((wxEvtHandler *) x));
10095}
10096static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10097 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10098}
10099static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10100 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10101}
10102static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10103 return (void *)((wxObject *) ((wxImageHandler *) x));
10104}
10105static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
10106 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
10107}
10108static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10109 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10110}
10111static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10112 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10113}
10114static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10115 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10116}
10117static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10118 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10119}
10120static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10121 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10122}
10123static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10124 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10125}
10126static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10127 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10128}
10129static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10130 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10131}
10132static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10133 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10134}
10135static void *_p_wxShowEventTo_p_wxObject(void *x) {
10136 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10137}
10138static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
10139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10140}
10141static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10143}
10144static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10146}
10147static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10149}
10150static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10152}
10153static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10155}
10156static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10158}
10159static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10161}
10162static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10164}
10165static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10167}
10168static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10170}
10171static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10173}
10174static void *_p_wxWindowTo_p_wxObject(void *x) {
10175 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10176}
10177static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
10178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
10179}
10180static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
10181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
10182}
10183static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
10184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10185}
10186static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
10187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10188}
10189static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
10190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10191}
10192static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
10193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10194}
10195static void *_p_wxListbookEventTo_p_wxObject(void *x) {
10196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10197}
10198static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
10199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10200}
10201static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10203}
10204static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10206}
10207static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10209}
10210static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
10211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10212}
10213static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10215}
10216static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10218}
10219static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10221}
10222static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10224}
10225static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
10226 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
10227}
10228static void *_p_wxSliderTo_p_wxObject(void *x) {
10229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
10230}
10231static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10233}
10234static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
10235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10236}
10237static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10238 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10239}
10240static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10241 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10242}
10243static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10244 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10245}
10246static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10247 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10248}
10249static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
10250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
10251}
10252static void *_p_wxHelpEventTo_p_wxObject(void *x) {
10253 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
10254}
10255static void *_p_wxPanelTo_p_wxObject(void *x) {
10256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10257}
10258static void *_p_wxSpinEventTo_p_wxObject(void *x) {
10259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
10260}
10261static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10262 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10263}
10264static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10265 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10266}
10267static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10268 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10269}
10270static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10272}
10273static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10275}
10276static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10277 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10278}
10279static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10280 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10281}
10282static void *_p_wxToolBarTo_p_wxObject(void *x) {
10283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10284}
10285static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10287}
10288static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10290}
10291static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10292 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10293}
10294static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10295 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10296}
10297static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10299}
10300static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10302}
10303static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10304 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10305}
10306static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10308}
10309static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10310 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10311}
10312static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10313 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10314}
10315static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10317}
10318static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10319 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10320}
10321static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10322 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10323}
10324static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10326}
10327static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10328 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10329}
10330static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10332}
10333static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10335}
10336static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10337 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10338}
10339static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10341}
10342static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10343 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10344}
10345static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10347}
10348static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10350}
10351static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10353}
10354static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10356}
10357static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10359}
10360static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10362}
10363static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10365}
10366static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10368}
10369static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
10370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
10371}
10372static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10373 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10374}
10375static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
10376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
10377}
10378static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10379 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10380}
10381static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10382 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10383}
10384static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
10385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
10386}
10387static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10388 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10389}
10390static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10391 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10392}
10393static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10394 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10395}
10396static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10397 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10398}
10399static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10400 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10401}
10402static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10403 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10404}
10405static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10406 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10407}
10408static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10409 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10410}
10411static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10413}
10414static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10416}
10417static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10419}
10420static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10422}
10423static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10425}
10426static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10428}
10429static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10430 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10431}
10432static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10433 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10434}
10435static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10436 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10437}
10438static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10439 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10440}
10441static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10443}
10444static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10446}
10447static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10449}
10450static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10452}
10453static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10455}
10456static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10458}
10459static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
10461}
10462static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10463 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10464}
10465static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10467}
10468static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10470}
10471static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10472 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10473}
10474static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10475 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10476}
10477static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10479}
10480static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10481 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10482}
10483static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10484 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10485}
10486static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10487 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10488}
10489static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10490 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10491}
10492static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10493 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10494}
10495static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10497}
10498static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10500}
10501static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10502 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10503}
10504static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10505 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10506}
10507static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10508 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10509}
10510static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10511 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10512}
10513static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10515}
10516static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10517 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10518}
10519static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10520 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10521}
10522static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10523 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10524}
10525static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10527}
10528static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10530}
10531static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10532 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10533}
10534static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10536}
10537static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10538 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10539}
10540static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10541 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10542}
10543static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10544 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10545}
10546static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10547 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10548}
10549static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10551}
10552static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10553 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10554}
10555static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10556 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10557}
10558static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10559 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10560}
10561static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10562 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10563}
10564static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10565 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10566}
10567static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10568 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10569}
10570static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10571 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10572}
10573static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10574 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10575}
10576static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10577 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10578}
10579static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10580 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10581}
10582static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10583 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10584}
10585static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10586 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10587}
10588static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10589 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10590}
10591static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10592 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10593}
10594static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10595 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10596}
10597static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10598 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10599}
10600static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10601 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10602}
10603static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10604 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10605}
10606static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
10607 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10608}
10609static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
10610 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10611}
10612static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
10613 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10614}
10615static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10616 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10617}
10618static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10619 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10620}
10621static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10622 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10623}
10624static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10625 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10626}
10627static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10628 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10629}
10630static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10631 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10632}
10633static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10634 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10635}
10636static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10637 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10638}
10639static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10640 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10641}
10642static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10643 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10644}
10645static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10646 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10647}
10648static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10649 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10650}
10651static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
10652static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, 0};
10653static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
10654static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
10655static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
10656static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
10657static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
10658static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
10659static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
10660static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
10661static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
10662static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
10663static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
10664static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
10665static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0};
10666static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
10667static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
10668static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
10669static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
10670static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0};
10671static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0};
10672static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0};
10673static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
10674static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
10675static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0};
10676static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0};
10677static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0};
10678static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0};
10679static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0};
10680static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
10681static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
10682static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
10683static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
10684static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0};
10685static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0};
10686static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0};
10687static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0};
10688static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0};
10689static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0};
10690static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0};
10691static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0};
10692static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0};
10693static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
10694static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0};
10695static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0};
10696static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0};
10697static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0};
10698static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0};
10699static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0};
10700static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0};
10701static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0};
10702static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0};
10703static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0};
10704static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0};
10705static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0};
10706static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0};
10707static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0};
10708static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0};
10709static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0};
10710static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0};
10711static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0};
10712static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0};
10713static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0};
10714static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0};
10715static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0};
10716static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
10717static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0};
10718static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0};
10719static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0};
10720static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, 0};
10721static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
10722static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
10723static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
10724static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
10725static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
10726static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
10727static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
10728static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
10729static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
10730static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
10731static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
10732static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
10733static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
10734static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
10735static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
10736static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
10737static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
10738static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
10739static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
10740static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
10741static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
10742static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
10743static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
10744static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
10745static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
10746static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
10747static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
10748static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
10749static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
10750static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
10751static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
10752static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
10753static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
10754static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
10755static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
10756static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
10757static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
10758static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
10759static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
10760static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
10761static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
10762static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
10763static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
10764static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
10765static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
10766static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
10767static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
10768static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
10769static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
10770static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
10771static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
10772static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
10773static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
10774static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
10775static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
10776static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
10777static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
10778static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
10779static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
10780static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
10781static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
10782static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
10783static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0};
10784static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
10785static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
10786static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0};
10787static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
10788static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
10789static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
10790static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
10791static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
10792static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
10793static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
10794static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
10795static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
10796static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
10797static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0};
10798static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
10799static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
10800static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
10801static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
10802static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
10803static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0};
10804static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
10805static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0};
10806static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
10807static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
10808static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
10809static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
10810static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
10811static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
10812static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
10813static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0};
10814static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
10815static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
10816static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
10817static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
10818static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
10819static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
10820static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
10821static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
10822static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
10823static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
10824static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
10825static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
10826static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
10827static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
10828static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
10829static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
10830static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
10831static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
10832static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
10833static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
10834static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
10835static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
10836static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
10837static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
10838static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
10839static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
10840static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
10841static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
10842static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
10843static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
10844static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
10845static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0};
10846static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
10847static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
10848static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
10849static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0};
10850static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
10851static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
10852static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0};
10853static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0};
10854static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
10855static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
10856static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0};
10857static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
10858static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0};
10859static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0};
10860static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
10861static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0};
10862static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
10863static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
10864static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
10865static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
10866static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
10867
10868static swig_type_info *swig_type_initial[] = {
10869 &_swigt__p_char,
10870 &_swigt__p_float,
10871 &_swigt__p_form_ops_t,
10872 &_swigt__p_int,
10873 &_swigt__p_unsigned_char,
10874 &_swigt__p_unsigned_int,
10875 &_swigt__p_unsigned_long,
10876 &_swigt__p_wxANIHandler,
10877 &_swigt__p_wxAcceleratorTable,
10878 &_swigt__p_wxActivateEvent,
10879 &_swigt__p_wxArrayString,
10880 &_swigt__p_wxBMPHandler,
10881 &_swigt__p_wxBitmap,
10882 &_swigt__p_wxBitmapButton,
10883 &_swigt__p_wxBookCtrlBase,
10884 &_swigt__p_wxBookCtrlBaseEvent,
10885 &_swigt__p_wxBoxSizer,
10886 &_swigt__p_wxButton,
10887 &_swigt__p_wxCURHandler,
10888 &_swigt__p_wxCalculateLayoutEvent,
10889 &_swigt__p_wxCheckBox,
10890 &_swigt__p_wxCheckListBox,
10891 &_swigt__p_wxChildFocusEvent,
10892 &_swigt__p_wxChoice,
10893 &_swigt__p_wxChoicebook,
10894 &_swigt__p_wxChoicebookEvent,
10895 &_swigt__p_wxCloseEvent,
10896 &_swigt__p_wxColour,
10897 &_swigt__p_wxColourData,
10898 &_swigt__p_wxColourDialog,
10899 &_swigt__p_wxComboBox,
10900 &_swigt__p_wxCommandEvent,
10901 &_swigt__p_wxContextHelp,
10902 &_swigt__p_wxContextHelpButton,
10903 &_swigt__p_wxContextMenuEvent,
10904 &_swigt__p_wxControl,
10905 &_swigt__p_wxControlWithItems,
10906 &_swigt__p_wxDateEvent,
10907 &_swigt__p_wxDatePickerCtrl,
10908 &_swigt__p_wxDialog,
10909 &_swigt__p_wxDirDialog,
10910 &_swigt__p_wxDirFilterListCtrl,
10911 &_swigt__p_wxDisplayChangedEvent,
10912 &_swigt__p_wxDropFilesEvent,
10913 &_swigt__p_wxDuplexMode,
10914 &_swigt__p_wxDynamicSashSplitEvent,
10915 &_swigt__p_wxDynamicSashUnifyEvent,
10916 &_swigt__p_wxDynamicSashWindow,
10917 &_swigt__p_wxEditableListBox,
10918 &_swigt__p_wxEraseEvent,
10919 &_swigt__p_wxEvent,
10920 &_swigt__p_wxEvtHandler,
10921 &_swigt__p_wxFSFile,
10922 &_swigt__p_wxFileDialog,
10923 &_swigt__p_wxFileSystem,
10924 &_swigt__p_wxFindDialogEvent,
10925 &_swigt__p_wxFindReplaceData,
10926 &_swigt__p_wxFindReplaceDialog,
10927 &_swigt__p_wxFlexGridSizer,
10928 &_swigt__p_wxFocusEvent,
10929 &_swigt__p_wxFont,
10930 &_swigt__p_wxFontData,
10931 &_swigt__p_wxFontDialog,
10932 &_swigt__p_wxFrame,
10933 &_swigt__p_wxGBSizerItem,
10934 &_swigt__p_wxGIFHandler,
10935 &_swigt__p_wxGauge,
10936 &_swigt__p_wxGenericDirCtrl,
10937 &_swigt__p_wxGenericDragImage,
10938 &_swigt__p_wxGridBagSizer,
10939 &_swigt__p_wxGridSizer,
10940 &_swigt__p_wxHelpEvent,
10941 &_swigt__p_wxICOHandler,
10942 &_swigt__p_wxIcon,
10943 &_swigt__p_wxIconizeEvent,
10944 &_swigt__p_wxIdleEvent,
10945 &_swigt__p_wxImage,
10946 &_swigt__p_wxImageHandler,
10947 &_swigt__p_wxImageList,
10948 &_swigt__p_wxIndividualLayoutConstraint,
10949 &_swigt__p_wxInitDialogEvent,
10950 &_swigt__p_wxJPEGHandler,
10951 &_swigt__p_wxKeyEvent,
10952 &_swigt__p_wxLEDNumberCtrl,
10953 &_swigt__p_wxLayoutAlgorithm,
10954 &_swigt__p_wxLayoutConstraints,
10955 &_swigt__p_wxListBox,
10956 &_swigt__p_wxListEvent,
10957 &_swigt__p_wxListItem,
10958 &_swigt__p_wxListView,
10959 &_swigt__p_wxListbook,
10960 &_swigt__p_wxListbookEvent,
10961 &_swigt__p_wxMDIChildFrame,
10962 &_swigt__p_wxMDIClientWindow,
10963 &_swigt__p_wxMDIParentFrame,
10964 &_swigt__p_wxMaximizeEvent,
10965 &_swigt__p_wxMenu,
10966 &_swigt__p_wxMenuBar,
10967 &_swigt__p_wxMenuEvent,
10968 &_swigt__p_wxMenuItem,
10969 &_swigt__p_wxMessageDialog,
10970 &_swigt__p_wxMiniFrame,
10971 &_swigt__p_wxMouseCaptureChangedEvent,
10972 &_swigt__p_wxMouseEvent,
10973 &_swigt__p_wxMoveEvent,
10974 &_swigt__p_wxMultiChoiceDialog,
10975 &_swigt__p_wxNavigationKeyEvent,
10976 &_swigt__p_wxNcPaintEvent,
10977 &_swigt__p_wxNotebook,
10978 &_swigt__p_wxNotebookEvent,
10979 &_swigt__p_wxNotifyEvent,
10980 &_swigt__p_wxObject,
10981 &_swigt__p_wxPCXHandler,
10982 &_swigt__p_wxPNGHandler,
10983 &_swigt__p_wxPNMHandler,
10984 &_swigt__p_wxPageSetupDialog,
10985 &_swigt__p_wxPageSetupDialogData,
10986 &_swigt__p_wxPaintEvent,
10987 &_swigt__p_wxPaletteChangedEvent,
10988 &_swigt__p_wxPanel,
10989 &_swigt__p_wxPaperSize,
10990 &_swigt__p_wxPasswordEntryDialog,
10991 &_swigt__p_wxPopupWindow,
10992 &_swigt__p_wxPreviewCanvas,
10993 &_swigt__p_wxPreviewControlBar,
10994 &_swigt__p_wxPreviewFrame,
10995 &_swigt__p_wxPrintData,
10996 &_swigt__p_wxPrintDialog,
10997 &_swigt__p_wxPrintDialogData,
10998 &_swigt__p_wxPrintPreview,
10999 &_swigt__p_wxPrinter,
11000 &_swigt__p_wxProgressDialog,
11001 &_swigt__p_wxPyApp,
11002 &_swigt__p_wxPyCommandEvent,
11003 &_swigt__p_wxPyControl,
11004 &_swigt__p_wxPyEvent,
11005 &_swigt__p_wxPyHtmlListBox,
11006 &_swigt__p_wxPyImageHandler,
11007 &_swigt__p_wxPyListCtrl,
11008 &_swigt__p_wxPyPanel,
11009 &_swigt__p_wxPyPopupTransientWindow,
11010 &_swigt__p_wxPyPreviewControlBar,
11011 &_swigt__p_wxPyPreviewFrame,
11012 &_swigt__p_wxPyPrintPreview,
11013 &_swigt__p_wxPyPrintout,
11014 &_swigt__p_wxPyScrolledWindow,
11015 &_swigt__p_wxPySizer,
11016 &_swigt__p_wxPyTaskBarIcon,
11017 &_swigt__p_wxPyTreeCompanionWindow,
11018 &_swigt__p_wxPyTreeCtrl,
11019 &_swigt__p_wxPyTreeItemData,
11020 &_swigt__p_wxPyTreeListCtrl,
11021 &_swigt__p_wxPyVListBox,
11022 &_swigt__p_wxPyVScrolledWindow,
11023 &_swigt__p_wxPyValidator,
11024 &_swigt__p_wxPyWindow,
11025 &_swigt__p_wxQueryLayoutInfoEvent,
11026 &_swigt__p_wxQueryNewPaletteEvent,
11027 &_swigt__p_wxRadioBox,
11028 &_swigt__p_wxRadioButton,
11029 &_swigt__p_wxRemotelyScrolledTreeCtrl,
11030 &_swigt__p_wxSashEvent,
11031 &_swigt__p_wxSashLayoutWindow,
11032 &_swigt__p_wxSashWindow,
11033 &_swigt__p_wxScrollBar,
11034 &_swigt__p_wxScrollEvent,
11035 &_swigt__p_wxScrollWinEvent,
11036 &_swigt__p_wxScrolledWindow,
11037 &_swigt__p_wxSetCursorEvent,
11038 &_swigt__p_wxShowEvent,
11039 &_swigt__p_wxSingleChoiceDialog,
11040 &_swigt__p_wxSizeEvent,
11041 &_swigt__p_wxSizer,
11042 &_swigt__p_wxSizerItem,
11043 &_swigt__p_wxSlider,
11044 &_swigt__p_wxSpinButton,
11045 &_swigt__p_wxSpinCtrl,
11046 &_swigt__p_wxSpinEvent,
11047 &_swigt__p_wxSplashScreen,
11048 &_swigt__p_wxSplashScreenWindow,
11049 &_swigt__p_wxSplitterEvent,
11050 &_swigt__p_wxSplitterScrolledWindow,
11051 &_swigt__p_wxSplitterWindow,
11052 &_swigt__p_wxStaticBitmap,
11053 &_swigt__p_wxStaticBox,
11054 &_swigt__p_wxStaticBoxSizer,
11055 &_swigt__p_wxStaticLine,
11056 &_swigt__p_wxStaticPicture,
11057 &_swigt__p_wxStaticText,
11058 &_swigt__p_wxStatusBar,
11059 &_swigt__p_wxStdDialogButtonSizer,
11060 &_swigt__p_wxSysColourChangedEvent,
11061 &_swigt__p_wxTIFFHandler,
11062 &_swigt__p_wxTaskBarIconEvent,
11063 &_swigt__p_wxTextCtrl,
11064 &_swigt__p_wxTextEntryDialog,
11065 &_swigt__p_wxTextUrlEvent,
11066 &_swigt__p_wxThinSplitterWindow,
11067 &_swigt__p_wxTipWindow,
11068 &_swigt__p_wxToggleButton,
11069 &_swigt__p_wxToolBar,
11070 &_swigt__p_wxToolBarBase,
11071 &_swigt__p_wxToolBarToolBase,
11072 &_swigt__p_wxTopLevelWindow,
11073 &_swigt__p_wxTreeEvent,
11074 &_swigt__p_wxTreeItemId,
11075 &_swigt__p_wxTreeListColumnInfo,
11076 &_swigt__p_wxUpdateUIEvent,
11077 &_swigt__p_wxValidator,
11078 &_swigt__p_wxWindow,
11079 &_swigt__p_wxWindowCreateEvent,
11080 &_swigt__p_wxWindowDestroyEvent,
11081 &_swigt__p_wxXPMHandler,
11082 &_swigt__ptrdiff_t,
11083 &_swigt__std__ptrdiff_t,
11084 &_swigt__unsigned_int,
11085};
11086
11087static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11088static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
11089static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11090static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11091static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11092static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11093static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11094static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
11095static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
11096static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11097static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11098static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11099static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11100static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
11101static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11102static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11103static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11104static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11105static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11106static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
11107static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11108static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11109static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11110static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
11111static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
11112static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
11113static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
11114static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
11115static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11116static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11117static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11118static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
11119static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
11120static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
11121static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
11122static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
11123static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
11124static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
11125static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11126static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
11127static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
11128static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
11129static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
11130static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
11131static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
11132static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
11133static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
11134static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
11135static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
11136static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
11137static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
11138static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
11139static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
11140static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
11141static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
11142static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
11143static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
11144static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
11145static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
11146static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
11147static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
11148static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
11149static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
11150static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
11151static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
11152static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11153static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
11154static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11155static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11156static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
11157static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11158static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11159static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11160static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11161static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11162static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11163static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11164static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11165static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11166static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11167static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11168static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11169static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11170static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11171static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11172static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11173static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11174static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11175static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11176static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11177static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11178static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11179static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11180static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11181static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11182static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11183static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11184static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11185static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11186static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
11187static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11188static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11189static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11190static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
11191static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
11192static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
11193static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
11194static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
11195static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11196static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11197static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11198static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
11199static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11200static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11201static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11202static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11203static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11204static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
11205static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
11206static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
11207static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
11208static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
11209static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
11210static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
11211static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11212static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
11213static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
11214static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
11215static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
11216static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11217static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11218static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
11219static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
11220static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11221static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
11222static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
11223static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
11224static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
11225static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
11226static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11227static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11228static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11229static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
11230static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
11231static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
11232static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
11233static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
11234static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
11235static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
11236static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
11237static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
11238static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
11239static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
11240static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
11241static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
11242static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
11243static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
11244static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
11245static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11246static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11247static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
11248static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
11249static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
11250static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
11251static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
11252static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
11253static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
11254static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
11255static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11256static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11257static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
11258static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
11259static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11260static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11261static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
11262static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
11263static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11264static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11265static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
11266static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
11267static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
11268static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
11269static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
11270static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
11271static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
11272static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
11273static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
11274static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
11275static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
11276static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11277static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11278static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
11279static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
11280static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
11281static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
11282static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
11283static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
11284static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
11285static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
11286static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}};
11287static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
11288static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11289static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
11290static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
11291static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
11292static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11293static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}};
11294static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
11295static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
11296static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
11297static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
11298static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
11299static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
11300static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11301static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11302static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11303
11304static swig_cast_info *swig_cast_initial[] = {
11305 _swigc__p_char,
11306 _swigc__p_float,
11307 _swigc__p_form_ops_t,
11308 _swigc__p_int,
11309 _swigc__p_unsigned_char,
11310 _swigc__p_unsigned_int,
11311 _swigc__p_unsigned_long,
11312 _swigc__p_wxANIHandler,
11313 _swigc__p_wxAcceleratorTable,
11314 _swigc__p_wxActivateEvent,
11315 _swigc__p_wxArrayString,
11316 _swigc__p_wxBMPHandler,
11317 _swigc__p_wxBitmap,
11318 _swigc__p_wxBitmapButton,
11319 _swigc__p_wxBookCtrlBase,
11320 _swigc__p_wxBookCtrlBaseEvent,
11321 _swigc__p_wxBoxSizer,
11322 _swigc__p_wxButton,
11323 _swigc__p_wxCURHandler,
11324 _swigc__p_wxCalculateLayoutEvent,
11325 _swigc__p_wxCheckBox,
11326 _swigc__p_wxCheckListBox,
11327 _swigc__p_wxChildFocusEvent,
11328 _swigc__p_wxChoice,
11329 _swigc__p_wxChoicebook,
11330 _swigc__p_wxChoicebookEvent,
11331 _swigc__p_wxCloseEvent,
11332 _swigc__p_wxColour,
11333 _swigc__p_wxColourData,
11334 _swigc__p_wxColourDialog,
11335 _swigc__p_wxComboBox,
11336 _swigc__p_wxCommandEvent,
11337 _swigc__p_wxContextHelp,
11338 _swigc__p_wxContextHelpButton,
11339 _swigc__p_wxContextMenuEvent,
11340 _swigc__p_wxControl,
11341 _swigc__p_wxControlWithItems,
11342 _swigc__p_wxDateEvent,
11343 _swigc__p_wxDatePickerCtrl,
11344 _swigc__p_wxDialog,
11345 _swigc__p_wxDirDialog,
11346 _swigc__p_wxDirFilterListCtrl,
11347 _swigc__p_wxDisplayChangedEvent,
11348 _swigc__p_wxDropFilesEvent,
11349 _swigc__p_wxDuplexMode,
11350 _swigc__p_wxDynamicSashSplitEvent,
11351 _swigc__p_wxDynamicSashUnifyEvent,
11352 _swigc__p_wxDynamicSashWindow,
11353 _swigc__p_wxEditableListBox,
11354 _swigc__p_wxEraseEvent,
11355 _swigc__p_wxEvent,
11356 _swigc__p_wxEvtHandler,
11357 _swigc__p_wxFSFile,
11358 _swigc__p_wxFileDialog,
11359 _swigc__p_wxFileSystem,
11360 _swigc__p_wxFindDialogEvent,
11361 _swigc__p_wxFindReplaceData,
11362 _swigc__p_wxFindReplaceDialog,
11363 _swigc__p_wxFlexGridSizer,
11364 _swigc__p_wxFocusEvent,
11365 _swigc__p_wxFont,
11366 _swigc__p_wxFontData,
11367 _swigc__p_wxFontDialog,
11368 _swigc__p_wxFrame,
11369 _swigc__p_wxGBSizerItem,
11370 _swigc__p_wxGIFHandler,
11371 _swigc__p_wxGauge,
11372 _swigc__p_wxGenericDirCtrl,
11373 _swigc__p_wxGenericDragImage,
11374 _swigc__p_wxGridBagSizer,
11375 _swigc__p_wxGridSizer,
11376 _swigc__p_wxHelpEvent,
11377 _swigc__p_wxICOHandler,
11378 _swigc__p_wxIcon,
11379 _swigc__p_wxIconizeEvent,
11380 _swigc__p_wxIdleEvent,
11381 _swigc__p_wxImage,
11382 _swigc__p_wxImageHandler,
11383 _swigc__p_wxImageList,
11384 _swigc__p_wxIndividualLayoutConstraint,
11385 _swigc__p_wxInitDialogEvent,
11386 _swigc__p_wxJPEGHandler,
11387 _swigc__p_wxKeyEvent,
11388 _swigc__p_wxLEDNumberCtrl,
11389 _swigc__p_wxLayoutAlgorithm,
11390 _swigc__p_wxLayoutConstraints,
11391 _swigc__p_wxListBox,
11392 _swigc__p_wxListEvent,
11393 _swigc__p_wxListItem,
11394 _swigc__p_wxListView,
11395 _swigc__p_wxListbook,
11396 _swigc__p_wxListbookEvent,
11397 _swigc__p_wxMDIChildFrame,
11398 _swigc__p_wxMDIClientWindow,
11399 _swigc__p_wxMDIParentFrame,
11400 _swigc__p_wxMaximizeEvent,
11401 _swigc__p_wxMenu,
11402 _swigc__p_wxMenuBar,
11403 _swigc__p_wxMenuEvent,
11404 _swigc__p_wxMenuItem,
11405 _swigc__p_wxMessageDialog,
11406 _swigc__p_wxMiniFrame,
11407 _swigc__p_wxMouseCaptureChangedEvent,
11408 _swigc__p_wxMouseEvent,
11409 _swigc__p_wxMoveEvent,
11410 _swigc__p_wxMultiChoiceDialog,
11411 _swigc__p_wxNavigationKeyEvent,
11412 _swigc__p_wxNcPaintEvent,
11413 _swigc__p_wxNotebook,
11414 _swigc__p_wxNotebookEvent,
11415 _swigc__p_wxNotifyEvent,
11416 _swigc__p_wxObject,
11417 _swigc__p_wxPCXHandler,
11418 _swigc__p_wxPNGHandler,
11419 _swigc__p_wxPNMHandler,
11420 _swigc__p_wxPageSetupDialog,
11421 _swigc__p_wxPageSetupDialogData,
11422 _swigc__p_wxPaintEvent,
11423 _swigc__p_wxPaletteChangedEvent,
11424 _swigc__p_wxPanel,
11425 _swigc__p_wxPaperSize,
11426 _swigc__p_wxPasswordEntryDialog,
11427 _swigc__p_wxPopupWindow,
11428 _swigc__p_wxPreviewCanvas,
11429 _swigc__p_wxPreviewControlBar,
11430 _swigc__p_wxPreviewFrame,
11431 _swigc__p_wxPrintData,
11432 _swigc__p_wxPrintDialog,
11433 _swigc__p_wxPrintDialogData,
11434 _swigc__p_wxPrintPreview,
11435 _swigc__p_wxPrinter,
11436 _swigc__p_wxProgressDialog,
11437 _swigc__p_wxPyApp,
11438 _swigc__p_wxPyCommandEvent,
11439 _swigc__p_wxPyControl,
11440 _swigc__p_wxPyEvent,
11441 _swigc__p_wxPyHtmlListBox,
11442 _swigc__p_wxPyImageHandler,
11443 _swigc__p_wxPyListCtrl,
11444 _swigc__p_wxPyPanel,
11445 _swigc__p_wxPyPopupTransientWindow,
11446 _swigc__p_wxPyPreviewControlBar,
11447 _swigc__p_wxPyPreviewFrame,
11448 _swigc__p_wxPyPrintPreview,
11449 _swigc__p_wxPyPrintout,
11450 _swigc__p_wxPyScrolledWindow,
11451 _swigc__p_wxPySizer,
11452 _swigc__p_wxPyTaskBarIcon,
11453 _swigc__p_wxPyTreeCompanionWindow,
11454 _swigc__p_wxPyTreeCtrl,
11455 _swigc__p_wxPyTreeItemData,
11456 _swigc__p_wxPyTreeListCtrl,
11457 _swigc__p_wxPyVListBox,
11458 _swigc__p_wxPyVScrolledWindow,
11459 _swigc__p_wxPyValidator,
11460 _swigc__p_wxPyWindow,
11461 _swigc__p_wxQueryLayoutInfoEvent,
11462 _swigc__p_wxQueryNewPaletteEvent,
11463 _swigc__p_wxRadioBox,
11464 _swigc__p_wxRadioButton,
11465 _swigc__p_wxRemotelyScrolledTreeCtrl,
11466 _swigc__p_wxSashEvent,
11467 _swigc__p_wxSashLayoutWindow,
11468 _swigc__p_wxSashWindow,
11469 _swigc__p_wxScrollBar,
11470 _swigc__p_wxScrollEvent,
11471 _swigc__p_wxScrollWinEvent,
11472 _swigc__p_wxScrolledWindow,
11473 _swigc__p_wxSetCursorEvent,
11474 _swigc__p_wxShowEvent,
11475 _swigc__p_wxSingleChoiceDialog,
11476 _swigc__p_wxSizeEvent,
11477 _swigc__p_wxSizer,
11478 _swigc__p_wxSizerItem,
11479 _swigc__p_wxSlider,
11480 _swigc__p_wxSpinButton,
11481 _swigc__p_wxSpinCtrl,
11482 _swigc__p_wxSpinEvent,
11483 _swigc__p_wxSplashScreen,
11484 _swigc__p_wxSplashScreenWindow,
11485 _swigc__p_wxSplitterEvent,
11486 _swigc__p_wxSplitterScrolledWindow,
11487 _swigc__p_wxSplitterWindow,
11488 _swigc__p_wxStaticBitmap,
11489 _swigc__p_wxStaticBox,
11490 _swigc__p_wxStaticBoxSizer,
11491 _swigc__p_wxStaticLine,
11492 _swigc__p_wxStaticPicture,
11493 _swigc__p_wxStaticText,
11494 _swigc__p_wxStatusBar,
11495 _swigc__p_wxStdDialogButtonSizer,
11496 _swigc__p_wxSysColourChangedEvent,
11497 _swigc__p_wxTIFFHandler,
11498 _swigc__p_wxTaskBarIconEvent,
11499 _swigc__p_wxTextCtrl,
11500 _swigc__p_wxTextEntryDialog,
11501 _swigc__p_wxTextUrlEvent,
11502 _swigc__p_wxThinSplitterWindow,
11503 _swigc__p_wxTipWindow,
11504 _swigc__p_wxToggleButton,
11505 _swigc__p_wxToolBar,
11506 _swigc__p_wxToolBarBase,
11507 _swigc__p_wxToolBarToolBase,
11508 _swigc__p_wxTopLevelWindow,
11509 _swigc__p_wxTreeEvent,
11510 _swigc__p_wxTreeItemId,
11511 _swigc__p_wxTreeListColumnInfo,
11512 _swigc__p_wxUpdateUIEvent,
11513 _swigc__p_wxValidator,
11514 _swigc__p_wxWindow,
11515 _swigc__p_wxWindowCreateEvent,
11516 _swigc__p_wxWindowDestroyEvent,
11517 _swigc__p_wxXPMHandler,
11518 _swigc__ptrdiff_t,
11519 _swigc__std__ptrdiff_t,
11520 _swigc__unsigned_int,
11521};
11522
11523
11524/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11525
11526static swig_const_info swig_const_table[] = {
11527{0, 0, 0, 0.0, 0, 0}};
11528
11529#ifdef __cplusplus
11530}
11531#endif
11532/*************************************************************************
11533 * Type initialization:
11534 * This problem is tough by the requirement that no dynamic
11535 * memory is used. Also, since swig_type_info structures store pointers to
11536 * swig_cast_info structures and swig_cast_info structures store pointers back
11537 * to swig_type_info structures, we need some lookup code at initialization.
11538 * The idea is that swig generates all the structures that are needed.
11539 * The runtime then collects these partially filled structures.
11540 * The SWIG_InitializeModule function takes these initial arrays out of
11541 * swig_module, and does all the lookup, filling in the swig_module.types
11542 * array with the correct data and linking the correct swig_cast_info
11543 * structures together.
11544
11545 * The generated swig_type_info structures are assigned staticly to an initial
11546 * array. We just loop though that array, and handle each type individually.
11547 * First we lookup if this type has been already loaded, and if so, use the
11548 * loaded structure instead of the generated one. Then we have to fill in the
11549 * cast linked list. The cast data is initially stored in something like a
11550 * two-dimensional array. Each row corresponds to a type (there are the same
11551 * number of rows as there are in the swig_type_initial array). Each entry in
11552 * a column is one of the swig_cast_info structures for that type.
11553 * The cast_initial array is actually an array of arrays, because each row has
11554 * a variable number of columns. So to actually build the cast linked list,
11555 * we find the array of casts associated with the type, and loop through it
11556 * adding the casts to the list. The one last trick we need to do is making
11557 * sure the type pointer in the swig_cast_info struct is correct.
11558
11559 * First off, we lookup the cast->type name to see if it is already loaded.
11560 * There are three cases to handle:
11561 * 1) If the cast->type has already been loaded AND the type we are adding
11562 * casting info to has not been loaded (it is in this module), THEN we
11563 * replace the cast->type pointer with the type pointer that has already
11564 * been loaded.
11565 * 2) If BOTH types (the one we are adding casting info to, and the
11566 * cast->type) are loaded, THEN the cast info has already been loaded by
11567 * the previous module so we just ignore it.
11568 * 3) Finally, if cast->type has not already been loaded, then we add that
11569 * swig_cast_info to the linked list (because the cast->type) pointer will
11570 * be correct.
11571**/
11572
11573#ifdef __cplusplus
11574extern "C" {
11575#if 0
11576} /* c-mode */
11577#endif
11578#endif
11579
11580#if 0
11581#define SWIGRUNTIME_DEBUG
11582#endif
11583
11584SWIGRUNTIME void
11585SWIG_InitializeModule(void *clientdata) {
11586 size_t i;
11587 swig_module_info *module_head;
11588 static int init_run = 0;
11589
11590 clientdata = clientdata;
11591
11592 if (init_run) return;
11593 init_run = 1;
11594
11595 /* Initialize the swig_module */
11596 swig_module.type_initial = swig_type_initial;
11597 swig_module.cast_initial = swig_cast_initial;
11598
11599 /* Try and load any already created modules */
11600 module_head = SWIG_GetModule(clientdata);
11601 if (module_head) {
11602 swig_module.next = module_head->next;
11603 module_head->next = &swig_module;
11604 } else {
11605 /* This is the first module loaded */
11606 swig_module.next = &swig_module;
11607 SWIG_SetModule(clientdata, &swig_module);
11608 }
11609
11610 /* Now work on filling in swig_module.types */
11611#ifdef SWIGRUNTIME_DEBUG
11612 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11613#endif
11614 for (i = 0; i < swig_module.size; ++i) {
11615 swig_type_info *type = 0;
11616 swig_type_info *ret;
11617 swig_cast_info *cast;
11618
11619#ifdef SWIGRUNTIME_DEBUG
11620 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11621#endif
11622
11623 /* if there is another module already loaded */
11624 if (swig_module.next != &swig_module) {
11625 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11626 }
11627 if (type) {
11628 /* Overwrite clientdata field */
11629#ifdef SWIGRUNTIME_DEBUG
11630 printf("SWIG_InitializeModule: found type %s\n", type->name);
11631#endif
11632 if (swig_module.type_initial[i]->clientdata) {
11633 type->clientdata = swig_module.type_initial[i]->clientdata;
11634#ifdef SWIGRUNTIME_DEBUG
11635 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11636#endif
11637 }
11638 } else {
11639 type = swig_module.type_initial[i];
11640 }
11641
11642 /* Insert casting types */
11643 cast = swig_module.cast_initial[i];
11644 while (cast->type) {
11645 /* Don't need to add information already in the list */
11646 ret = 0;
11647#ifdef SWIGRUNTIME_DEBUG
11648 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
11649#endif
11650 if (swig_module.next != &swig_module) {
11651 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
11652#ifdef SWIGRUNTIME_DEBUG
11653 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
11654#endif
11655 }
11656 if (ret) {
11657 if (type == swig_module.type_initial[i]) {
11658#ifdef SWIGRUNTIME_DEBUG
11659 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
11660#endif
11661 cast->type = ret;
11662 ret = 0;
11663 } else {
11664 /* Check for casting already in the list */
11665 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
11666#ifdef SWIGRUNTIME_DEBUG
11667 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
11668#endif
11669 if (!ocast) ret = 0;
11670 }
11671 }
11672
11673 if (!ret) {
11674#ifdef SWIGRUNTIME_DEBUG
11675 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
11676#endif
11677 if (type->cast) {
11678 type->cast->prev = cast;
11679 cast->next = type->cast;
11680 }
11681 type->cast = cast;
11682 }
11683 cast++;
11684 }
11685 /* Set entry in modules->types array equal to the type */
11686 swig_module.types[i] = type;
11687 }
11688 swig_module.types[i] = 0;
11689
11690#ifdef SWIGRUNTIME_DEBUG
11691 printf("**** SWIG_InitializeModule: Cast List ******\n");
11692 for (i = 0; i < swig_module.size; ++i) {
11693 int j = 0;
11694 swig_cast_info *cast = swig_module.cast_initial[i];
11695 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11696 while (cast->type) {
11697 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
11698 cast++;
11699 ++j;
11700 }
11701 printf("---- Total casts: %d\n",j);
11702 }
11703 printf("**** SWIG_InitializeModule: Cast List ******\n");
11704#endif
11705}
11706
11707/* This function will propagate the clientdata field of type to
11708* any new swig_type_info structures that have been added into the list
11709* of equivalent types. It is like calling
11710* SWIG_TypeClientData(type, clientdata) a second time.
11711*/
11712SWIGRUNTIME void
11713SWIG_PropagateClientData(void) {
11714 size_t i;
11715 swig_cast_info *equiv;
11716 static int init_run = 0;
11717
11718 if (init_run) return;
11719 init_run = 1;
11720
11721 for (i = 0; i < swig_module.size; i++) {
11722 if (swig_module.types[i]->clientdata) {
11723 equiv = swig_module.types[i]->cast;
11724 while (equiv) {
11725 if (!equiv->converter) {
11726 if (equiv->type && !equiv->type->clientdata)
11727 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11728 }
11729 equiv = equiv->next;
11730 }
11731 }
11732 }
11733}
11734
11735#ifdef __cplusplus
11736#if 0
11737{
11738 /* c-mode */
11739#endif
11740}
11741#endif
11742
11743
11744
11745#ifdef __cplusplus
11746extern "C" {
11747#endif
11748
11749 /* Python-specific SWIG API */
11750#define SWIG_newvarlink() SWIG_Python_newvarlink()
11751#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
11752#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
11753
11754 /* -----------------------------------------------------------------------------
11755 * global variable support code.
11756 * ----------------------------------------------------------------------------- */
11757
11758 typedef struct swig_globalvar {
11759 char *name; /* Name of global variable */
11760 PyObject *(*get_attr)(void); /* Return the current value */
11761 int (*set_attr)(PyObject *); /* Set the value */
11762 struct swig_globalvar *next;
11763 } swig_globalvar;
11764
11765 typedef struct swig_varlinkobject {
11766 PyObject_HEAD
11767 swig_globalvar *vars;
11768 } swig_varlinkobject;
11769
11770 SWIGINTERN PyObject *
11771 swig_varlink_repr(swig_varlinkobject *v) {
11772 v = v;
11773 return PyString_FromString("<Swig global variables>");
11774 }
11775
11776 SWIGINTERN int
11777 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
11778 swig_globalvar *var;
11779 flags = flags;
11780 fprintf(fp,"Swig global variables { ");
11781 for (var = v->vars; var; var=var->next) {
11782 fprintf(fp,"%s", var->name);
11783 if (var->next) fprintf(fp,", ");
11784 }
11785 fprintf(fp," }\n");
11786 return 0;
11787 }
11788
11789 SWIGINTERN PyObject *
11790 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
11791 swig_globalvar *var = v->vars;
11792 while (var) {
11793 if (strcmp(var->name,n) == 0) {
11794 return (*var->get_attr)();
11795 }
11796 var = var->next;
11797 }
11798 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11799 return NULL;
11800 }
11801
11802 SWIGINTERN int
11803 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
11804 swig_globalvar *var = v->vars;
11805 while (var) {
11806 if (strcmp(var->name,n) == 0) {
11807 return (*var->set_attr)(p);
11808 }
11809 var = var->next;
11810 }
11811 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11812 return 1;
11813 }
11814
11815 SWIGINTERN PyTypeObject*
11816 swig_varlink_type(void) {
11817 static char varlink__doc__[] = "Swig var link object";
11818 static PyTypeObject varlink_type
11819#if !defined(__cplusplus)
11820 ;
11821 static int type_init = 0;
11822 if (!type_init) {
11823 PyTypeObject tmp
11824#endif
11825 = {
11826 PyObject_HEAD_INIT(&PyType_Type)
11827 0, /* Number of items in variable part (ob_size) */
11828 (char *)"swigvarlink", /* Type name (tp_name) */
11829 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
11830 0, /* Itemsize (tp_itemsize) */
11831 0, /* Deallocator (tp_dealloc) */
11832 (printfunc) swig_varlink_print, /* Print (tp_print) */
11833 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
11834 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
11835 0, /* tp_compare */
11836 (reprfunc) swig_varlink_repr, /* tp_repr */
11837 0, /* tp_as_number */
11838 0, /* tp_as_sequence */
11839 0, /* tp_as_mapping */
11840 0, /* tp_hash */
11841 0, /* tp_call */
11842 0, /* tp_str */
11843 0, /* tp_getattro */
11844 0, /* tp_setattro */
11845 0, /* tp_as_buffer */
11846 0, /* tp_flags */
11847 varlink__doc__, /* tp_doc */
11848#if PY_VERSION_HEX >= 0x02000000
11849 0, /* tp_traverse */
11850 0, /* tp_clear */
11851#endif
11852#if PY_VERSION_HEX >= 0x02010000
11853 0, /* tp_richcompare */
11854 0, /* tp_weaklistoffset */
11855#endif
11856#if PY_VERSION_HEX >= 0x02020000
11857 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
11858#endif
11859#if PY_VERSION_HEX >= 0x02030000
11860 0, /* tp_del */
11861#endif
11862#ifdef COUNT_ALLOCS
11863 0,0,0,0 /* tp_alloc -> tp_next */
11864#endif
11865 };
11866#if !defined(__cplusplus)
11867 varlink_type = tmp;
11868 type_init = 1;
11869 }
11870#endif
11871 return &varlink_type;
11872 }
11873
11874 /* Create a variable linking object for use later */
11875 SWIGINTERN PyObject *
11876 SWIG_Python_newvarlink(void) {
11877 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
11878 if (result) {
11879 result->vars = 0;
11880 }
11881 return ((PyObject*) result);
11882 }
11883
11884 SWIGINTERN void
11885 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
11886 swig_varlinkobject *v = (swig_varlinkobject *) p;
11887 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
11888 if (gv) {
11889 size_t size = strlen(name)+1;
11890 gv->name = (char *)malloc(size);
11891 if (gv->name) {
11892 strncpy(gv->name,name,size);
11893 gv->get_attr = get_attr;
11894 gv->set_attr = set_attr;
11895 gv->next = v->vars;
11896 }
11897 }
11898 v->vars = gv;
11899 }
11900
11901 /* -----------------------------------------------------------------------------
11902 * constants/methods manipulation
11903 * ----------------------------------------------------------------------------- */
11904
11905 /* Install Constants */
11906 SWIGINTERN void
11907 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
11908 PyObject *obj = 0;
11909 size_t i;
11910 for (i = 0; constants[i].type; ++i) {
11911 switch(constants[i].type) {
11912 case SWIG_PY_INT:
11913 obj = PyInt_FromLong(constants[i].lvalue);
11914 break;
11915 case SWIG_PY_FLOAT:
11916 obj = PyFloat_FromDouble(constants[i].dvalue);
11917 break;
11918 case SWIG_PY_STRING:
11919 if (constants[i].pvalue) {
11920 obj = PyString_FromString((char *) constants[i].pvalue);
11921 } else {
11922 Py_INCREF(Py_None);
11923 obj = Py_None;
11924 }
11925 break;
11926 case SWIG_PY_POINTER:
11927 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
11928 break;
11929 case SWIG_PY_BINARY:
11930 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
11931 break;
11932 default:
11933 obj = 0;
11934 break;
11935 }
11936 if (obj) {
11937 PyDict_SetItemString(d,constants[i].name,obj);
11938 Py_DECREF(obj);
11939 }
11940 }
11941 }
11942
11943 /* -----------------------------------------------------------------------------*/
11944 /* Fix SwigMethods to carry the callback ptrs when needed */
11945 /* -----------------------------------------------------------------------------*/
11946
11947 SWIGINTERN void
11948 SWIG_Python_FixMethods(PyMethodDef *methods,
11949 swig_const_info *const_table,
11950 swig_type_info **types,
11951 swig_type_info **types_initial) {
11952 size_t i;
11953 for (i = 0; methods[i].ml_name; ++i) {
11954 char *c = methods[i].ml_doc;
11955 if (c && (c = strstr(c, "swig_ptr: "))) {
11956 int j;
11957 swig_const_info *ci = 0;
11958 char *name = c + 10;
11959 for (j = 0; const_table[j].type; ++j) {
11960 if (strncmp(const_table[j].name, name,
11961 strlen(const_table[j].name)) == 0) {
11962 ci = &(const_table[j]);
11963 break;
11964 }
11965 }
11966 if (ci) {
11967 size_t shift = (ci->ptype) - types;
11968 swig_type_info *ty = types_initial[shift];
11969 size_t ldoc = (c - methods[i].ml_doc);
11970 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
11971 char *ndoc = (char*)malloc(ldoc + lptr + 10);
11972 if (ndoc) {
11973 char *buff = ndoc;
11974 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
11975 if (ptr) {
11976 strncpy(buff, methods[i].ml_doc, ldoc);
11977 buff += ldoc;
11978 strncpy(buff, "swig_ptr: ", 10);
11979 buff += 10;
11980 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
11981 methods[i].ml_doc = ndoc;
11982 }
11983 }
11984 }
11985 }
11986 }
11987 }
11988
11989 /* -----------------------------------------------------------------------------*
11990 * Initialize type list
11991 * -----------------------------------------------------------------------------*/
11992
11993#ifdef __cplusplus
11994}
11995#endif
11996
11997/* -----------------------------------------------------------------------------*
11998 * Partial Init method
11999 * -----------------------------------------------------------------------------*/
12000
12001#ifdef __cplusplus
12002extern "C"
12003#endif
12004SWIGEXPORT void SWIG_init(void) {
12005 static PyObject *SWIG_globals = 0;
12006 PyObject *m, *d;
12007 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12008
12009 /* Fix SwigMethods to carry the callback ptrs when needed */
12010 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12011
12012 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12013 d = PyModule_GetDict(m);
12014
12015 SWIG_InitializeModule(0);
12016 SWIG_InstallConstants(d,swig_const_table);
12017
12018 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12019 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
12020 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
12021 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
12022 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
12023 {
12024 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast<int >(wxDS_MANAGE_SCROLLBARS)));
12025 }
12026 {
12027 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast<int >(wxDS_DRAG_CORNER)));
12028 }
12029 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
12030 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
12031 {
12032 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast<int >(wxEL_ALLOW_NEW)));
12033 }
12034 {
12035 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast<int >(wxEL_ALLOW_EDIT)));
12036 }
12037 {
12038 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast<int >(wxEL_ALLOW_DELETE)));
12039 }
12040 {
12041 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_LEFT)));
12042 }
12043 {
12044 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_RIGHT)));
12045 }
12046 {
12047 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxLED_ALIGN_CENTER)));
12048 }
12049 {
12050 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLED_ALIGN_MASK)));
12051 }
12052 {
12053 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast<int >(wxLED_DRAW_FADED)));
12054 }
12055 {
12056 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_LEFT)));
12057 }
12058 {
12059 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_RIGHT)));
12060 }
12061 {
12062 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxTL_ALIGN_CENTER)));
12063 }
12064 {
12065 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMCOLUMN)));
12066 }
12067 {
12068 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_VISIBLE)));
12069 }
12070 {
12071 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_LEVEL)));
12072 }
12073 {
12074 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_FULL)));
12075 }
12076 {
12077 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_PARTIAL)));
12078 }
12079 {
12080 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_NOCASE)));
12081 }
12082 {
12083 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast<int >(wxTR_DONT_ADJUST_MAC)));
12084 }
12085 {
12086 PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSCALE_HORIZONTAL)));
12087 }
12088 {
12089 PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast<int >(wxSCALE_VERTICAL)));
12090 }
12091 {
12092 PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast<int >(wxSCALE_UNIFORM)));
12093 }
12094 {
12095 PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast<int >(wxSCALE_CUSTOM)));
12096 }
12097
12098
12099 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
12100 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
12101
12102}
12103