]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
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
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
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; }
24 private:
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
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef 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 */
156 typedef 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.*/
166 typedef 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 */
183 SWIGRUNTIME int
184 SWIG_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 */
198 SWIGRUNTIME int
199 SWIG_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 */
217 SWIGRUNTIME int
218 SWIG_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 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_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 */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_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 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_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 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_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 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_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 */
303 SWIGRUNTIME const char *
304 SWIG_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 */
323 SWIGRUNTIME void
324 SWIG_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 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_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 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_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 */
423 SWIGRUNTIME char *
424 SWIG_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 */
439 SWIGRUNTIME const char *
440 SWIG_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 */
467 SWIGRUNTIME char *
468 SWIG_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
478 SWIGRUNTIME const char *
479 SWIG_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
491 SWIGRUNTIME char *
492 SWIG_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
506 SWIGRUNTIME const char *
507 SWIG_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
528 extern "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 */
571 typedef 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
640 extern "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
652 static PyObject *
653 PyString_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
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_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
695 SWIGRUNTIME PyObject *
696 PySwigObject_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
703 SWIGRUNTIME PyObject *
704 PySwigObject_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
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_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
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_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
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_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
855 SWIGRUNTIME PyObject *
856 PySwigObject_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
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_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
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_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
910 SWIGRUNTIME PyObject *
911 PySwigPacked_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
921 SWIGRUNTIME PyObject *
922 PySwigPacked_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
932 SWIGRUNTIME int
933 PySwigPacked_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
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_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
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_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
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_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
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_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
1070 SWIGRUNTIME void
1071 SWIG_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
1106 SWIGRUNTIMEINLINE void
1107 SWIG_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
1116 SWIGRUNTIME int
1117 SWIG_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
1141 SWIGRUNTIME int
1142 SWIG_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 */
1160 SWIGRUNTIME int
1161 SWIG_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
1212 type_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
1225 type_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 */
1251 SWIGRUNTIME void *
1252 SWIG_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 */
1265 SWIGRUNTIME int
1266 SWIG_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
1285 type_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 */
1298 SWIGRUNTIME PyObject *
1299 SWIG_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
1337 SWIGRUNTIME PyObject *
1338 SWIG_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
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_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
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_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
1415 SWIGRUNTIME void
1416 SWIG_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_wxToolbook swig_types[203]
1638 #define SWIGTYPE_p_wxToolbookEvent swig_types[204]
1639 #define SWIGTYPE_p_wxTopLevelWindow swig_types[205]
1640 #define SWIGTYPE_p_wxTreeEvent swig_types[206]
1641 #define SWIGTYPE_p_wxTreeItemId swig_types[207]
1642 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[208]
1643 #define SWIGTYPE_p_wxTreebook swig_types[209]
1644 #define SWIGTYPE_p_wxTreebookEvent swig_types[210]
1645 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[211]
1646 #define SWIGTYPE_p_wxValidator swig_types[212]
1647 #define SWIGTYPE_p_wxWindow swig_types[213]
1648 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[214]
1649 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[215]
1650 #define SWIGTYPE_p_wxXPMHandler swig_types[216]
1651 #define SWIGTYPE_ptrdiff_t swig_types[217]
1652 #define SWIGTYPE_std__ptrdiff_t swig_types[218]
1653 #define SWIGTYPE_unsigned_int swig_types[219]
1654 static swig_type_info *swig_types[221];
1655 static swig_module_info swig_module = {swig_types, 220, 0, 0, 0, 0};
1656 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1657 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1658
1659 /* -------- TYPES TABLE (END) -------- */
1660
1661
1662 /*-----------------------------------------------
1663 @(target):= _gizmos.so
1664 ------------------------------------------------*/
1665 #define SWIG_init init_gizmos
1666
1667 #define SWIG_name "_gizmos"
1668
1669 #include "wx/wxPython/wxPython.h"
1670 #include "wx/wxPython/pyclasses.h"
1671
1672 #include <wx/gizmos/dynamicsash.h>
1673 #include <wx/gizmos/editlbox.h>
1674 #include <wx/gizmos/splittree.h>
1675 #include <wx/gizmos/ledctrl.h>
1676 #include <wx/gizmos/statpict.h>
1677
1678 #include <wx/listctrl.h>
1679 #include <wx/treectrl.h>
1680 #include <wx/imaglist.h>
1681
1682 #include "wx/treelistctrl.h"
1683 #include "wx/wxPython/pytree.h"
1684
1685
1686 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1687 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1688 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1689 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
1690 static const wxString wxPyEmptyString(wxEmptyString);
1691
1692 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1693 #define SWIG_From_int PyInt_FromLong
1694 /*@@*/
1695
1696
1697 #include <limits.h>
1698
1699
1700 SWIGINTERN int
1701 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1702 const char *errmsg)
1703 {
1704 if (value < min_value) {
1705 if (errmsg) {
1706 PyErr_Format(PyExc_OverflowError,
1707 "value %ld is less than '%s' minimum %ld",
1708 value, errmsg, min_value);
1709 }
1710 return 0;
1711 } else if (value > max_value) {
1712 if (errmsg) {
1713 PyErr_Format(PyExc_OverflowError,
1714 "value %ld is greater than '%s' maximum %ld",
1715 value, errmsg, max_value);
1716 }
1717 return 0;
1718 }
1719 return 1;
1720 }
1721
1722
1723 SWIGINTERN int
1724 SWIG_AsVal_long(PyObject* obj, long* val)
1725 {
1726 if (PyNumber_Check(obj)) {
1727 if (val) *val = PyInt_AsLong(obj);
1728 return 1;
1729 }
1730 else {
1731 SWIG_Python_TypeError("number", obj);
1732 }
1733 return 0;
1734 }
1735
1736
1737 #if INT_MAX != LONG_MAX
1738 SWIGINTERN int
1739 SWIG_AsVal_int(PyObject *obj, int *val)
1740 {
1741 const char* errmsg = val ? "int" : (char*)0;
1742 long v;
1743 if (SWIG_AsVal_long(obj, &v)) {
1744 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1745 if (val) *val = static_cast<int >(v);
1746 return 1;
1747 } else {
1748 return 0;
1749 }
1750 } else {
1751 PyErr_Clear();
1752 }
1753 if (val) {
1754 SWIG_type_error(errmsg, obj);
1755 }
1756 return 0;
1757 }
1758 #else
1759 SWIGINTERNINLINE int
1760 SWIG_AsVal_int(PyObject *obj, int *val)
1761 {
1762 return SWIG_AsVal_long(obj,(long*)val);
1763 }
1764 #endif
1765
1766
1767 SWIGINTERNINLINE int
1768 SWIG_As_int(PyObject* obj)
1769 {
1770 int v;
1771 if (!SWIG_AsVal_int(obj, &v)) {
1772 /*
1773 this is needed to make valgrind/purify happier.
1774 */
1775 memset((void*)&v, 0, sizeof(int));
1776 }
1777 return v;
1778 }
1779
1780
1781 SWIGINTERNINLINE long
1782 SWIG_As_long(PyObject* obj)
1783 {
1784 long v;
1785 if (!SWIG_AsVal_long(obj, &v)) {
1786 /*
1787 this is needed to make valgrind/purify happier.
1788 */
1789 memset((void*)&v, 0, sizeof(long));
1790 }
1791 return v;
1792 }
1793
1794
1795 SWIGINTERNINLINE int
1796 SWIG_Check_int(PyObject* obj)
1797 {
1798 return SWIG_AsVal_int(obj, (int*)0);
1799 }
1800
1801
1802 SWIGINTERNINLINE int
1803 SWIG_Check_long(PyObject* obj)
1804 {
1805 return SWIG_AsVal_long(obj, (long*)0);
1806 }
1807
1808 static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
1809 wxArrayString strings;
1810 self->GetStrings(strings);
1811 return wxArrayString2PyList_helper(strings);
1812 }
1813
1814 typedef wxTreeCtrl wxPyTreeCtrl;
1815
1816
1817 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1818 {
1819 public:
1820 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1821 const wxPoint& pos = wxDefaultPosition,
1822 const wxSize& size = wxDefaultSize,
1823 long style = 0)
1824 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1825
1826
1827 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1828 bool found;
1829 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1830 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
1831 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
1832 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1833 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
1834 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1835 Py_DECREF(dcobj);
1836 Py_DECREF(idobj);
1837 Py_DECREF(recobj);
1838 }
1839 wxPyEndBlockThreads(blocked);
1840 if (! found)
1841 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1842 }
1843
1844 PYPRIVATE;
1845 };
1846
1847
1848 SWIGINTERN int
1849 SWIG_AsVal_bool(PyObject *obj, bool *val)
1850 {
1851 if (obj == Py_True) {
1852 if (val) *val = true;
1853 return 1;
1854 }
1855 if (obj == Py_False) {
1856 if (val) *val = false;
1857 return 1;
1858 }
1859 int res = 0;
1860 if (SWIG_AsVal_int(obj, &res)) {
1861 if (val) *val = res ? true : false;
1862 return 1;
1863 } else {
1864 PyErr_Clear();
1865 }
1866 if (val) {
1867 SWIG_type_error("bool", obj);
1868 }
1869 return 0;
1870 }
1871
1872
1873 SWIGINTERNINLINE bool
1874 SWIG_As_bool(PyObject* obj)
1875 {
1876 bool v;
1877 if (!SWIG_AsVal_bool(obj, &v)) {
1878 /*
1879 this is needed to make valgrind/purify happier.
1880 */
1881 memset((void*)&v, 0, sizeof(bool));
1882 }
1883 return v;
1884 }
1885
1886
1887 SWIGINTERNINLINE int
1888 SWIG_Check_bool(PyObject* obj)
1889 {
1890 return SWIG_AsVal_bool(obj, (bool*)0);
1891 }
1892
1893
1894 SWIGINTERN int
1895 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1896 {
1897 long v = 0;
1898 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1899 SWIG_Python_TypeError("unsigned number", obj);
1900 }
1901 else if (val)
1902 *val = (unsigned long)v;
1903 return 1;
1904 }
1905
1906
1907 SWIGINTERNINLINE unsigned long
1908 SWIG_As_unsigned_SS_long(PyObject* obj)
1909 {
1910 unsigned long v;
1911 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1912 /*
1913 this is needed to make valgrind/purify happier.
1914 */
1915 memset((void*)&v, 0, sizeof(unsigned long));
1916 }
1917 return v;
1918 }
1919
1920
1921 SWIGINTERNINLINE int
1922 SWIG_Check_unsigned_SS_long(PyObject* obj)
1923 {
1924 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1925 }
1926
1927
1928 SWIGINTERNINLINE PyObject*
1929 SWIG_From_unsigned_SS_long(unsigned long value)
1930 {
1931 return (value > LONG_MAX) ?
1932 PyLong_FromUnsignedLong(value)
1933 : PyInt_FromLong(static_cast<long >(value));
1934 }
1935
1936 // C++ version of Python aware control
1937 class wxPyTreeListCtrl : public wxTreeListCtrl {
1938 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1939 public:
1940 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1941 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1942 const wxPoint& pos,
1943 const wxSize& size,
1944 long style,
1945 const wxValidator &validator,
1946 const wxString& name) :
1947 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1948
1949 int OnCompareItems(const wxTreeItemId& item1,
1950 const wxTreeItemId& item2) {
1951 int rval = 0;
1952 bool found;
1953 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1954 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1955 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1956 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1957 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1958 Py_DECREF(o1);
1959 Py_DECREF(o2);
1960 }
1961 wxPyEndBlockThreads(blocked);
1962 if (! found)
1963 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1964 return rval;
1965 }
1966 PYPRIVATE;
1967 };
1968
1969 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1970
1971
1972
1973 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1974 #define SWIG_From_long PyInt_FromLong
1975 /*@@*/
1976
1977
1978 #if UINT_MAX < LONG_MAX
1979 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1980 #define SWIG_From_unsigned_SS_int SWIG_From_long
1981 /*@@*/
1982 #else
1983 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1984 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1985 /*@@*/
1986 #endif
1987
1988
1989 SWIGINTERNINLINE int
1990 SWIG_CheckUnsignedLongInRange(unsigned long value,
1991 unsigned long max_value,
1992 const char *errmsg)
1993 {
1994 if (value > max_value) {
1995 if (errmsg) {
1996 PyErr_Format(PyExc_OverflowError,
1997 "value %lu is greater than '%s' minimum %lu",
1998 value, errmsg, max_value);
1999 }
2000 return 0;
2001 }
2002 return 1;
2003 }
2004
2005
2006 #if UINT_MAX != ULONG_MAX
2007 SWIGINTERN int
2008 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2009 {
2010 const char* errmsg = val ? "unsigned int" : (char*)0;
2011 unsigned long v;
2012 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2013 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2014 if (val) *val = static_cast<unsigned int >(v);
2015 return 1;
2016 }
2017 } else {
2018 PyErr_Clear();
2019 }
2020 if (val) {
2021 SWIG_type_error(errmsg, obj);
2022 }
2023 return 0;
2024 }
2025 #else
2026 SWIGINTERNINLINE unsigned int
2027 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2028 {
2029 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2030 }
2031 #endif
2032
2033
2034 SWIGINTERNINLINE unsigned int
2035 SWIG_As_unsigned_SS_int(PyObject* obj)
2036 {
2037 unsigned int v;
2038 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2039 /*
2040 this is needed to make valgrind/purify happier.
2041 */
2042 memset((void*)&v, 0, sizeof(unsigned int));
2043 }
2044 return v;
2045 }
2046
2047
2048 SWIGINTERNINLINE int
2049 SWIG_Check_unsigned_SS_int(PyObject* obj)
2050 {
2051 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2052 }
2053
2054 static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
2055 if (column < 0) column = self->GetMainColumn();
2056 return self->GetItemText(item, column);
2057 }
2058 static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2059 if (column < 0) column = self->GetMainColumn();
2060 return self->GetItemImage(item, column, which);
2061 }
2062 static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
2063 if (column < 0) column = self->GetMainColumn();
2064 self->SetItemText(item, column, text);
2065 }
2066 static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2067 if (column < 0) column = self->GetMainColumn();
2068 self->SetItemImage(item, column, image, which);
2069 }
2070 static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2071 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2072 if (data == NULL) {
2073 data = new wxPyTreeItemData();
2074 data->SetId(item); // set the id
2075 self->SetItemData(item, data);
2076 }
2077 return data;
2078 }
2079 static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2080 data->SetId(item); // set the id
2081 self->SetItemData(item, data);
2082 }
2083 static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2084 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2085 if (data == NULL) {
2086 data = new wxPyTreeItemData();
2087 data->SetId(item); // set the id
2088 self->SetItemData(item, data);
2089 }
2090 return data->GetData();
2091 }
2092 static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
2093 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2094 if (data == NULL) {
2095 data = new wxPyTreeItemData(obj);
2096 data->SetId(item); // set the id
2097 self->SetItemData(item, data);
2098 } else
2099 data->SetData(obj);
2100 }
2101 static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
2102 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2103 PyObject* rval = PyList_New(0);
2104 wxArrayTreeItemIds array;
2105 size_t num, x;
2106 num = self->GetSelections(array);
2107 for (x=0; x < num; x++) {
2108 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2109 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2110 PyList_Append(rval, item);
2111 }
2112 wxPyEndBlockThreads(blocked);
2113 return rval;
2114 }
2115 static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2116 void* cookie = 0;
2117 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2118 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2119 PyObject* tup = PyTuple_New(2);
2120 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2121 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2122 wxPyEndBlockThreads(blocked);
2123 return tup;
2124 }
2125 static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
2126 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2127 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2128 PyObject* tup = PyTuple_New(2);
2129 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2130 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2131 wxPyEndBlockThreads(blocked);
2132 return tup;
2133 }
2134
2135 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
2136 {
2137 PyObject* o2;
2138 PyObject* o3;
2139 if (!result) {
2140 result = obj;
2141 } else if (result == Py_None) {
2142 Py_DECREF(result);
2143 result = obj;
2144 } else {
2145 if (!PyTuple_Check(result)) {
2146 o2 = result;
2147 result = PyTuple_New(1);
2148 PyTuple_SET_ITEM(result, 0, o2);
2149 }
2150 o3 = PyTuple_New(1);
2151 PyTuple_SetItem(o3, 0, obj);
2152 o2 = result;
2153 result = PySequence_Concat(o2, o3);
2154 Py_DECREF(o2);
2155 Py_DECREF(o3);
2156 }
2157 return result;
2158 }
2159
2160
2161 static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2162 wxRect rect;
2163 if (self->GetBoundingRect(item, rect, textOnly)) {
2164 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2165 wxRect* r = new wxRect(rect);
2166 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
2167 wxPyEndBlockThreads(blocked);
2168 return val;
2169 }
2170 else {
2171 RETURN_NONE();
2172 }
2173 }
2174
2175 #include <float.h>
2176 SWIGINTERN int
2177 SWIG_CheckDoubleInRange(double value, double min_value,
2178 double max_value, const char* errmsg)
2179 {
2180 if (value < min_value) {
2181 if (errmsg) {
2182 PyErr_Format(PyExc_OverflowError,
2183 "value %g is less than %s minimum %g",
2184 value, errmsg, min_value);
2185 }
2186 return 0;
2187 } else if (value > max_value) {
2188 if (errmsg) {
2189 PyErr_Format(PyExc_OverflowError,
2190 "value %g is greater than %s maximum %g",
2191 value, errmsg, max_value);
2192 }
2193 return 0;
2194 }
2195 return 1;
2196 }
2197
2198
2199 SWIGINTERN int
2200 SWIG_AsVal_double(PyObject *obj, double* val)
2201 {
2202 if (PyNumber_Check(obj)) {
2203 if (val) *val = PyFloat_AsDouble(obj);
2204 return 1;
2205 }
2206 else {
2207 SWIG_Python_TypeError("number", obj);
2208 }
2209 return 0;
2210 }
2211
2212
2213 SWIGINTERN int
2214 SWIG_AsVal_float(PyObject *obj, float *val)
2215 {
2216 const char* errmsg = val ? "float" : (char*)0;
2217 double v;
2218 if (SWIG_AsVal_double(obj, &v)) {
2219 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2220 if (val) *val = static_cast<float >(v);
2221 return 1;
2222 } else {
2223 return 0;
2224 }
2225 } else {
2226 PyErr_Clear();
2227 }
2228 if (val) {
2229 SWIG_type_error(errmsg, obj);
2230 }
2231 return 0;
2232 }
2233
2234
2235 SWIGINTERNINLINE float
2236 SWIG_As_float(PyObject* obj)
2237 {
2238 float v;
2239 if (!SWIG_AsVal_float(obj, &v)) {
2240 /*
2241 this is needed to make valgrind/purify happier.
2242 */
2243 memset((void*)&v, 0, sizeof(float));
2244 }
2245 return v;
2246 }
2247
2248
2249 SWIGINTERNINLINE int
2250 SWIG_Check_float(PyObject* obj)
2251 {
2252 return SWIG_AsVal_float(obj, (float*)0);
2253 }
2254
2255
2256 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2257 #define SWIG_From_float PyFloat_FromDouble
2258 /*@@*/
2259
2260
2261 #ifdef __cplusplus
2262 extern "C" {
2263 #endif
2264 static int _wrap_DynamicSashNameStr_set(PyObject *) {
2265 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
2266 return 1;
2267 }
2268
2269
2270 static PyObject *_wrap_DynamicSashNameStr_get(void) {
2271 PyObject *pyobj = NULL;
2272
2273 {
2274 #if wxUSE_UNICODE
2275 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2276 #else
2277 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2278 #endif
2279 }
2280 return pyobj;
2281 }
2282
2283
2284 static int _wrap_EditableListBoxNameStr_set(PyObject *) {
2285 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2286 return 1;
2287 }
2288
2289
2290 static PyObject *_wrap_EditableListBoxNameStr_get(void) {
2291 PyObject *pyobj = NULL;
2292
2293 {
2294 #if wxUSE_UNICODE
2295 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2296 #else
2297 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2298 #endif
2299 }
2300 return pyobj;
2301 }
2302
2303
2304 static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
2305 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2306 return 1;
2307 }
2308
2309
2310 static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
2311 PyObject *pyobj = NULL;
2312
2313 {
2314 #if wxUSE_UNICODE
2315 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2316 #else
2317 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2318 #endif
2319 }
2320 return pyobj;
2321 }
2322
2323
2324 static int _wrap_StaticPictureNameStr_set(PyObject *) {
2325 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2326 return 1;
2327 }
2328
2329
2330 static PyObject *_wrap_StaticPictureNameStr_get(void) {
2331 PyObject *pyobj = NULL;
2332
2333 {
2334 #if wxUSE_UNICODE
2335 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2336 #else
2337 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2338 #endif
2339 }
2340 return pyobj;
2341 }
2342
2343
2344 static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj = NULL;
2346 wxObject *arg1 = (wxObject *) 0 ;
2347 wxDynamicSashSplitEvent *result;
2348 PyObject * obj0 = 0 ;
2349 char *kwnames[] = {
2350 (char *) "target", NULL
2351 };
2352
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
2354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2355 if (SWIG_arg_fail(1)) SWIG_fail;
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 }
2363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
2364 return resultobj;
2365 fail:
2366 return NULL;
2367 }
2368
2369
2370 static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
2371 PyObject *obj;
2372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2373 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
2374 Py_INCREF(obj);
2375 return Py_BuildValue((char *)"");
2376 }
2377 static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2378 PyObject *resultobj = NULL;
2379 wxObject *arg1 = (wxObject *) 0 ;
2380 wxDynamicSashUnifyEvent *result;
2381 PyObject * obj0 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "target", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
2387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2388 if (SWIG_arg_fail(1)) SWIG_fail;
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
2404 PyObject *obj;
2405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2406 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2407 Py_INCREF(obj);
2408 return Py_BuildValue((char *)"");
2409 }
2410 static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj = NULL;
2412 wxWindow *arg1 = (wxWindow *) 0 ;
2413 int arg2 = (int) -1 ;
2414 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2415 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2416 wxSize const &arg4_defvalue = wxDefaultSize ;
2417 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2418 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2419 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2420 wxString *arg6 = (wxString *) &arg6_defvalue ;
2421 wxDynamicSashWindow *result;
2422 wxPoint temp3 ;
2423 wxSize temp4 ;
2424 bool temp6 = false ;
2425 PyObject * obj0 = 0 ;
2426 PyObject * obj1 = 0 ;
2427 PyObject * obj2 = 0 ;
2428 PyObject * obj3 = 0 ;
2429 PyObject * obj4 = 0 ;
2430 PyObject * obj5 = 0 ;
2431 char *kwnames[] = {
2432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2437 if (SWIG_arg_fail(1)) SWIG_fail;
2438 if (obj1) {
2439 {
2440 arg2 = static_cast<int >(SWIG_As_int(obj1));
2441 if (SWIG_arg_fail(2)) SWIG_fail;
2442 }
2443 }
2444 if (obj2) {
2445 {
2446 arg3 = &temp3;
2447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2448 }
2449 }
2450 if (obj3) {
2451 {
2452 arg4 = &temp4;
2453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2454 }
2455 }
2456 if (obj4) {
2457 {
2458 arg5 = static_cast<long >(SWIG_As_long(obj4));
2459 if (SWIG_arg_fail(5)) SWIG_fail;
2460 }
2461 }
2462 if (obj5) {
2463 {
2464 arg6 = wxString_in_helper(obj5);
2465 if (arg6 == NULL) SWIG_fail;
2466 temp6 = true;
2467 }
2468 }
2469 {
2470 if (!wxPyCheckForApp()) SWIG_fail;
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2478 {
2479 if (temp6)
2480 delete arg6;
2481 }
2482 return resultobj;
2483 fail:
2484 {
2485 if (temp6)
2486 delete arg6;
2487 }
2488 return NULL;
2489 }
2490
2491
2492 static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj = NULL;
2494 wxDynamicSashWindow *result;
2495 char *kwnames[] = {
2496 NULL
2497 };
2498
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2500 {
2501 if (!wxPyCheckForApp()) SWIG_fail;
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2509 return resultobj;
2510 fail:
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj = NULL;
2517 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2518 wxWindow *arg2 = (wxWindow *) 0 ;
2519 int arg3 = (int) -1 ;
2520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2522 wxSize const &arg5_defvalue = wxDefaultSize ;
2523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2524 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2525 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2526 wxString *arg7 = (wxString *) &arg7_defvalue ;
2527 bool result;
2528 wxPoint temp4 ;
2529 wxSize temp5 ;
2530 bool temp7 = false ;
2531 PyObject * obj0 = 0 ;
2532 PyObject * obj1 = 0 ;
2533 PyObject * obj2 = 0 ;
2534 PyObject * obj3 = 0 ;
2535 PyObject * obj4 = 0 ;
2536 PyObject * obj5 = 0 ;
2537 PyObject * obj6 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail;
2545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2546 if (SWIG_arg_fail(2)) SWIG_fail;
2547 if (obj2) {
2548 {
2549 arg3 = static_cast<int >(SWIG_As_int(obj2));
2550 if (SWIG_arg_fail(3)) SWIG_fail;
2551 }
2552 }
2553 if (obj3) {
2554 {
2555 arg4 = &temp4;
2556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2557 }
2558 }
2559 if (obj4) {
2560 {
2561 arg5 = &temp5;
2562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2563 }
2564 }
2565 if (obj5) {
2566 {
2567 arg6 = static_cast<long >(SWIG_As_long(obj5));
2568 if (SWIG_arg_fail(6)) SWIG_fail;
2569 }
2570 }
2571 if (obj6) {
2572 {
2573 arg7 = wxString_in_helper(obj6);
2574 if (arg7 == NULL) SWIG_fail;
2575 temp7 = true;
2576 }
2577 }
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 {
2586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2587 }
2588 {
2589 if (temp7)
2590 delete arg7;
2591 }
2592 return resultobj;
2593 fail:
2594 {
2595 if (temp7)
2596 delete arg7;
2597 }
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj = NULL;
2604 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2605 wxWindow *arg2 = (wxWindow *) 0 ;
2606 wxScrollBar *result;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self",(char *) "child", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
2614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2615 if (SWIG_arg_fail(1)) SWIG_fail;
2616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2617 if (SWIG_arg_fail(2)) SWIG_fail;
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj = NULL;
2634 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2635 wxWindow *arg2 = (wxWindow *) 0 ;
2636 wxScrollBar *result;
2637 PyObject * obj0 = 0 ;
2638 PyObject * obj1 = 0 ;
2639 char *kwnames[] = {
2640 (char *) "self",(char *) "child", NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
2644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2645 if (SWIG_arg_fail(1)) SWIG_fail;
2646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2647 if (SWIG_arg_fail(2)) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
2663 PyObject *obj;
2664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2665 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2666 Py_INCREF(obj);
2667 return Py_BuildValue((char *)"");
2668 }
2669 static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj = NULL;
2671 wxWindow *arg1 = (wxWindow *) 0 ;
2672 int arg2 = (int) -1 ;
2673 wxString const &arg3_defvalue = wxPyEmptyString ;
2674 wxString *arg3 = (wxString *) &arg3_defvalue ;
2675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2677 wxSize const &arg5_defvalue = wxDefaultSize ;
2678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2679 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2680 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2681 wxString *arg7 = (wxString *) &arg7_defvalue ;
2682 wxEditableListBox *result;
2683 bool temp3 = false ;
2684 wxPoint temp4 ;
2685 wxSize temp5 ;
2686 bool temp7 = false ;
2687 PyObject * obj0 = 0 ;
2688 PyObject * obj1 = 0 ;
2689 PyObject * obj2 = 0 ;
2690 PyObject * obj3 = 0 ;
2691 PyObject * obj4 = 0 ;
2692 PyObject * obj5 = 0 ;
2693 PyObject * obj6 = 0 ;
2694 char *kwnames[] = {
2695 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2696 };
2697
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2700 if (SWIG_arg_fail(1)) SWIG_fail;
2701 if (obj1) {
2702 {
2703 arg2 = static_cast<int >(SWIG_As_int(obj1));
2704 if (SWIG_arg_fail(2)) SWIG_fail;
2705 }
2706 }
2707 if (obj2) {
2708 {
2709 arg3 = wxString_in_helper(obj2);
2710 if (arg3 == NULL) SWIG_fail;
2711 temp3 = true;
2712 }
2713 }
2714 if (obj3) {
2715 {
2716 arg4 = &temp4;
2717 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2718 }
2719 }
2720 if (obj4) {
2721 {
2722 arg5 = &temp5;
2723 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2724 }
2725 }
2726 if (obj5) {
2727 {
2728 arg6 = static_cast<long >(SWIG_As_long(obj5));
2729 if (SWIG_arg_fail(6)) SWIG_fail;
2730 }
2731 }
2732 if (obj6) {
2733 {
2734 arg7 = wxString_in_helper(obj6);
2735 if (arg7 == NULL) SWIG_fail;
2736 temp7 = true;
2737 }
2738 }
2739 {
2740 if (!wxPyCheckForApp()) SWIG_fail;
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
2748 {
2749 if (temp3)
2750 delete arg3;
2751 }
2752 {
2753 if (temp7)
2754 delete arg7;
2755 }
2756 return resultobj;
2757 fail:
2758 {
2759 if (temp3)
2760 delete arg3;
2761 }
2762 {
2763 if (temp7)
2764 delete arg7;
2765 }
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj = NULL;
2772 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2773 wxArrayString *arg2 = 0 ;
2774 bool temp2 = false ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "strings", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
2782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2783 if (SWIG_arg_fail(1)) SWIG_fail;
2784 {
2785 if (! PySequence_Check(obj1)) {
2786 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2787 SWIG_fail;
2788 }
2789 arg2 = new wxArrayString;
2790 temp2 = true;
2791 int i, len=PySequence_Length(obj1);
2792 for (i=0; i<len; i++) {
2793 PyObject* item = PySequence_GetItem(obj1, i);
2794 wxString* s = wxString_in_helper(item);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 arg2->Add(*s);
2797 delete s;
2798 Py_DECREF(item);
2799 }
2800 }
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->SetStrings((wxArrayString const &)*arg2);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 {
2810 if (temp2) delete arg2;
2811 }
2812 return resultobj;
2813 fail:
2814 {
2815 if (temp2) delete arg2;
2816 }
2817 return NULL;
2818 }
2819
2820
2821 static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj = NULL;
2823 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2824 PyObject *result;
2825 PyObject * obj0 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "self", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
2831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail;
2833 {
2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
2835 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2836
2837 wxPyEndAllowThreads(__tstate);
2838 if (PyErr_Occurred()) SWIG_fail;
2839 }
2840 resultobj = result;
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj = NULL;
2849 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2850 wxPyListCtrl *result;
2851 PyObject * obj0 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
2857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2858 if (SWIG_arg_fail(1)) SWIG_fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj = NULL;
2875 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2876 wxBitmapButton *result;
2877 PyObject * obj0 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
2883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail;
2885 {
2886 PyThreadState* __tstate = wxPyBeginAllowThreads();
2887 result = (wxBitmapButton *)(arg1)->GetDelButton();
2888
2889 wxPyEndAllowThreads(__tstate);
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 {
2893 resultobj = wxPyMake_wxObject(result, 0);
2894 }
2895 return resultobj;
2896 fail:
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj = NULL;
2903 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2904 wxBitmapButton *result;
2905 PyObject * obj0 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
2911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2912 if (SWIG_arg_fail(1)) SWIG_fail;
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 result = (wxBitmapButton *)(arg1)->GetNewButton();
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 {
2921 resultobj = wxPyMake_wxObject(result, 0);
2922 }
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
2930 PyObject *resultobj = NULL;
2931 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2932 wxBitmapButton *result;
2933 PyObject * obj0 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
2939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2940 if (SWIG_arg_fail(1)) SWIG_fail;
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 result = (wxBitmapButton *)(arg1)->GetUpButton();
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 {
2949 resultobj = wxPyMake_wxObject(result, 0);
2950 }
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj = NULL;
2959 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2960 wxBitmapButton *result;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
2967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2968 if (SWIG_arg_fail(1)) SWIG_fail;
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 result = (wxBitmapButton *)(arg1)->GetDownButton();
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 {
2977 resultobj = wxPyMake_wxObject(result, 0);
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj = NULL;
2987 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2988 wxBitmapButton *result;
2989 PyObject * obj0 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
2995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail;
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 result = (wxBitmapButton *)(arg1)->GetEditButton();
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 {
3005 resultobj = wxPyMake_wxObject(result, 0);
3006 }
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
3014 PyObject *obj;
3015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3016 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
3017 Py_INCREF(obj);
3018 return Py_BuildValue((char *)"");
3019 }
3020 static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3021 PyObject *resultobj = NULL;
3022 wxWindow *arg1 = (wxWindow *) 0 ;
3023 int arg2 ;
3024 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3025 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3026 wxSize const &arg4_defvalue = wxDefaultSize ;
3027 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3028 long arg5 = (long) wxTR_HAS_BUTTONS ;
3029 wxRemotelyScrolledTreeCtrl *result;
3030 wxPoint temp3 ;
3031 wxSize temp4 ;
3032 PyObject * obj0 = 0 ;
3033 PyObject * obj1 = 0 ;
3034 PyObject * obj2 = 0 ;
3035 PyObject * obj3 = 0 ;
3036 PyObject * obj4 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3043 if (SWIG_arg_fail(1)) SWIG_fail;
3044 {
3045 arg2 = static_cast<int >(SWIG_As_int(obj1));
3046 if (SWIG_arg_fail(2)) SWIG_fail;
3047 }
3048 if (obj2) {
3049 {
3050 arg3 = &temp3;
3051 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3052 }
3053 }
3054 if (obj3) {
3055 {
3056 arg4 = &temp4;
3057 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3058 }
3059 }
3060 if (obj4) {
3061 {
3062 arg5 = static_cast<long >(SWIG_As_long(obj4));
3063 if (SWIG_arg_fail(5)) SWIG_fail;
3064 }
3065 }
3066 {
3067 if (!wxPyCheckForApp()) SWIG_fail;
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj = NULL;
3083 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3084 PyObject * obj0 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "self", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
3090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3091 if (SWIG_arg_fail(1)) SWIG_fail;
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 (arg1)->HideVScrollbar();
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj = NULL;
3108 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
3115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->AdjustRemoteScrollbars();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj = NULL;
3133 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3134 wxScrolledWindow *result;
3135 PyObject * obj0 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 {
3151 resultobj = wxPyMake_wxObject(result, 0);
3152 }
3153 return resultobj;
3154 fail:
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj = NULL;
3161 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3162 int arg2 ;
3163 int arg3 ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
3172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail;
3174 {
3175 arg2 = static_cast<int >(SWIG_As_int(obj1));
3176 if (SWIG_arg_fail(2)) SWIG_fail;
3177 }
3178 {
3179 arg3 = static_cast<int >(SWIG_As_int(obj2));
3180 if (SWIG_arg_fail(3)) SWIG_fail;
3181 }
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 (arg1)->ScrollToLine(arg2,arg3);
3185
3186 wxPyEndAllowThreads(__tstate);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 Py_INCREF(Py_None); resultobj = Py_None;
3190 return resultobj;
3191 fail:
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj = NULL;
3198 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3199 wxWindow *arg2 = (wxWindow *) 0 ;
3200 PyObject * obj0 = 0 ;
3201 PyObject * obj1 = 0 ;
3202 char *kwnames[] = {
3203 (char *) "self",(char *) "companion", NULL
3204 };
3205
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
3207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail;
3209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(2)) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 (arg1)->SetCompanionWindow(arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 Py_INCREF(Py_None); resultobj = Py_None;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj = NULL;
3227 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3228 wxWindow *result;
3229 PyObject * obj0 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "self", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
3235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3236 if (SWIG_arg_fail(1)) SWIG_fail;
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 {
3245 resultobj = wxPyMake_wxObject(result, 0);
3246 }
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
3254 PyObject *obj;
3255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3256 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
3257 Py_INCREF(obj);
3258 return Py_BuildValue((char *)"");
3259 }
3260 static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj = NULL;
3262 wxWindow *arg1 = (wxWindow *) 0 ;
3263 int arg2 = (int) -1 ;
3264 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3265 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3266 wxSize const &arg4_defvalue = wxDefaultSize ;
3267 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3268 long arg5 = (long) 0 ;
3269 wxPyTreeCompanionWindow *result;
3270 wxPoint temp3 ;
3271 wxSize temp4 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 PyObject * obj2 = 0 ;
3275 PyObject * obj3 = 0 ;
3276 PyObject * obj4 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3283 if (SWIG_arg_fail(1)) SWIG_fail;
3284 if (obj1) {
3285 {
3286 arg2 = static_cast<int >(SWIG_As_int(obj1));
3287 if (SWIG_arg_fail(2)) SWIG_fail;
3288 }
3289 }
3290 if (obj2) {
3291 {
3292 arg3 = &temp3;
3293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3294 }
3295 }
3296 if (obj3) {
3297 {
3298 arg4 = &temp4;
3299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3300 }
3301 }
3302 if (obj4) {
3303 {
3304 arg5 = static_cast<long >(SWIG_As_long(obj4));
3305 if (SWIG_arg_fail(5)) SWIG_fail;
3306 }
3307 }
3308 {
3309 if (!wxPyCheckForApp()) SWIG_fail;
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj = NULL;
3325 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3326 PyObject *arg2 = (PyObject *) 0 ;
3327 PyObject *arg3 = (PyObject *) 0 ;
3328 PyObject * obj0 = 0 ;
3329 PyObject * obj1 = 0 ;
3330 PyObject * obj2 = 0 ;
3331 char *kwnames[] = {
3332 (char *) "self",(char *) "self",(char *) "_class", NULL
3333 };
3334
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail;
3338 arg2 = obj1;
3339 arg3 = obj2;
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 (arg1)->_setCallbackInfo(arg2,arg3);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 Py_INCREF(Py_None); resultobj = Py_None;
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj = NULL;
3356 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3357 wxRemotelyScrolledTreeCtrl *result;
3358 PyObject * obj0 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
3364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
3374 return resultobj;
3375 fail:
3376 return NULL;
3377 }
3378
3379
3380 static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj = NULL;
3382 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3383 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3384 PyObject * obj0 = 0 ;
3385 PyObject * obj1 = 0 ;
3386 char *kwnames[] = {
3387 (char *) "self",(char *) "treeCtrl", NULL
3388 };
3389
3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
3391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3392 if (SWIG_arg_fail(1)) SWIG_fail;
3393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3394 if (SWIG_arg_fail(2)) SWIG_fail;
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetTreeCtrl(arg2);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 return resultobj;
3404 fail:
3405 return NULL;
3406 }
3407
3408
3409 static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
3410 PyObject *obj;
3411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3413 Py_INCREF(obj);
3414 return Py_BuildValue((char *)"");
3415 }
3416 static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj = NULL;
3418 wxWindow *arg1 = (wxWindow *) 0 ;
3419 int arg2 = (int) -1 ;
3420 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3421 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3422 wxSize const &arg4_defvalue = wxDefaultSize ;
3423 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3424 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3425 wxThinSplitterWindow *result;
3426 wxPoint temp3 ;
3427 wxSize temp4 ;
3428 PyObject * obj0 = 0 ;
3429 PyObject * obj1 = 0 ;
3430 PyObject * obj2 = 0 ;
3431 PyObject * obj3 = 0 ;
3432 PyObject * obj4 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail;
3440 if (obj1) {
3441 {
3442 arg2 = static_cast<int >(SWIG_As_int(obj1));
3443 if (SWIG_arg_fail(2)) SWIG_fail;
3444 }
3445 }
3446 if (obj2) {
3447 {
3448 arg3 = &temp3;
3449 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3450 }
3451 }
3452 if (obj3) {
3453 {
3454 arg4 = &temp4;
3455 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3456 }
3457 }
3458 if (obj4) {
3459 {
3460 arg5 = static_cast<long >(SWIG_As_long(obj4));
3461 if (SWIG_arg_fail(5)) SWIG_fail;
3462 }
3463 }
3464 {
3465 if (!wxPyCheckForApp()) SWIG_fail;
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
3480 PyObject *obj;
3481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3482 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3483 Py_INCREF(obj);
3484 return Py_BuildValue((char *)"");
3485 }
3486 static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj = NULL;
3488 wxWindow *arg1 = (wxWindow *) 0 ;
3489 int arg2 = (int) -1 ;
3490 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3491 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3492 wxSize const &arg4_defvalue = wxDefaultSize ;
3493 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3494 long arg5 = (long) 0 ;
3495 wxSplitterScrolledWindow *result;
3496 wxPoint temp3 ;
3497 wxSize temp4 ;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 PyObject * obj2 = 0 ;
3501 PyObject * obj3 = 0 ;
3502 PyObject * obj4 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
3510 if (obj1) {
3511 {
3512 arg2 = static_cast<int >(SWIG_As_int(obj1));
3513 if (SWIG_arg_fail(2)) SWIG_fail;
3514 }
3515 }
3516 if (obj2) {
3517 {
3518 arg3 = &temp3;
3519 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3520 }
3521 }
3522 if (obj3) {
3523 {
3524 arg4 = &temp4;
3525 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3526 }
3527 }
3528 if (obj4) {
3529 {
3530 arg5 = static_cast<long >(SWIG_As_long(obj4));
3531 if (SWIG_arg_fail(5)) SWIG_fail;
3532 }
3533 }
3534 {
3535 if (!wxPyCheckForApp()) SWIG_fail;
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
3543 return resultobj;
3544 fail:
3545 return NULL;
3546 }
3547
3548
3549 static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
3550 PyObject *obj;
3551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3552 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3553 Py_INCREF(obj);
3554 return Py_BuildValue((char *)"");
3555 }
3556 static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj = NULL;
3558 wxWindow *arg1 = (wxWindow *) 0 ;
3559 int arg2 = (int) -1 ;
3560 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3561 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3562 wxSize const &arg4_defvalue = wxDefaultSize ;
3563 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3564 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3565 wxLEDNumberCtrl *result;
3566 wxPoint temp3 ;
3567 wxSize temp4 ;
3568 PyObject * obj0 = 0 ;
3569 PyObject * obj1 = 0 ;
3570 PyObject * obj2 = 0 ;
3571 PyObject * obj3 = 0 ;
3572 PyObject * obj4 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3579 if (SWIG_arg_fail(1)) SWIG_fail;
3580 if (obj1) {
3581 {
3582 arg2 = static_cast<int >(SWIG_As_int(obj1));
3583 if (SWIG_arg_fail(2)) SWIG_fail;
3584 }
3585 }
3586 if (obj2) {
3587 {
3588 arg3 = &temp3;
3589 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3590 }
3591 }
3592 if (obj3) {
3593 {
3594 arg4 = &temp4;
3595 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3596 }
3597 }
3598 if (obj4) {
3599 {
3600 arg5 = static_cast<long >(SWIG_As_long(obj4));
3601 if (SWIG_arg_fail(5)) SWIG_fail;
3602 }
3603 }
3604 {
3605 if (!wxPyCheckForApp()) SWIG_fail;
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj = NULL;
3621 wxLEDNumberCtrl *result;
3622 char *kwnames[] = {
3623 NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3627 {
3628 if (!wxPyCheckForApp()) SWIG_fail;
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj = NULL;
3644 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3645 wxWindow *arg2 = (wxWindow *) 0 ;
3646 int arg3 = (int) -1 ;
3647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3649 wxSize const &arg5_defvalue = wxDefaultSize ;
3650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3651 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3652 bool result;
3653 wxPoint temp4 ;
3654 wxSize temp5 ;
3655 PyObject * obj0 = 0 ;
3656 PyObject * obj1 = 0 ;
3657 PyObject * obj2 = 0 ;
3658 PyObject * obj3 = 0 ;
3659 PyObject * obj4 = 0 ;
3660 PyObject * obj5 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail;
3668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3669 if (SWIG_arg_fail(2)) SWIG_fail;
3670 if (obj2) {
3671 {
3672 arg3 = static_cast<int >(SWIG_As_int(obj2));
3673 if (SWIG_arg_fail(3)) SWIG_fail;
3674 }
3675 }
3676 if (obj3) {
3677 {
3678 arg4 = &temp4;
3679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3680 }
3681 }
3682 if (obj4) {
3683 {
3684 arg5 = &temp5;
3685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3686 }
3687 }
3688 if (obj5) {
3689 {
3690 arg6 = static_cast<long >(SWIG_As_long(obj5));
3691 if (SWIG_arg_fail(6)) SWIG_fail;
3692 }
3693 }
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3703 }
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj = NULL;
3712 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3713 wxLEDValueAlign result;
3714 PyObject * obj0 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "self", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
3720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3721 if (SWIG_arg_fail(1)) SWIG_fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = SWIG_From_int((result));
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj = NULL;
3738 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3739 bool result;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3757 }
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj = NULL;
3766 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3767 wxString *result;
3768 PyObject * obj0 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 {
3779 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3780 result = (wxString *) &_result_ref;
3781 }
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 {
3787 #if wxUSE_UNICODE
3788 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3789 #else
3790 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3791 #endif
3792 }
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj = NULL;
3801 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3802 wxLEDValueAlign arg2 ;
3803 bool arg3 = (bool) true ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 PyObject * obj2 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 {
3815 arg2 = static_cast<wxLEDValueAlign >(SWIG_As_int(obj1));
3816 if (SWIG_arg_fail(2)) SWIG_fail;
3817 }
3818 if (obj2) {
3819 {
3820 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3821 if (SWIG_arg_fail(3)) SWIG_fail;
3822 }
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 (arg1)->SetAlignment(arg2,arg3);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj = NULL;
3840 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3841 bool arg2 ;
3842 bool arg3 = (bool) true ;
3843 PyObject * obj0 = 0 ;
3844 PyObject * obj1 = 0 ;
3845 PyObject * obj2 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
3851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail;
3853 {
3854 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3855 if (SWIG_arg_fail(2)) SWIG_fail;
3856 }
3857 if (obj2) {
3858 {
3859 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3860 if (SWIG_arg_fail(3)) SWIG_fail;
3861 }
3862 }
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 (arg1)->SetDrawFaded(arg2,arg3);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj = NULL;
3879 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3880 wxString *arg2 = 0 ;
3881 bool arg3 = (bool) true ;
3882 bool temp2 = false ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
3891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3892 if (SWIG_arg_fail(1)) SWIG_fail;
3893 {
3894 arg2 = wxString_in_helper(obj1);
3895 if (arg2 == NULL) SWIG_fail;
3896 temp2 = true;
3897 }
3898 if (obj2) {
3899 {
3900 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3901 if (SWIG_arg_fail(3)) SWIG_fail;
3902 }
3903 }
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 (arg1)->SetValue((wxString const &)*arg2,arg3);
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 Py_INCREF(Py_None); resultobj = Py_None;
3912 {
3913 if (temp2)
3914 delete arg2;
3915 }
3916 return resultobj;
3917 fail:
3918 {
3919 if (temp2)
3920 delete arg2;
3921 }
3922 return NULL;
3923 }
3924
3925
3926 static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
3927 PyObject *obj;
3928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3930 Py_INCREF(obj);
3931 return Py_BuildValue((char *)"");
3932 }
3933 static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj = NULL;
3935 wxString const &arg1_defvalue = wxPyEmptyString ;
3936 wxString *arg1 = (wxString *) &arg1_defvalue ;
3937 int arg2 = (int) -1 ;
3938 size_t arg3 = (size_t) 100 ;
3939 bool arg4 = (bool) true ;
3940 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
3941 wxTreeListColumnInfo *result;
3942 bool temp1 = false ;
3943 PyObject * obj0 = 0 ;
3944 PyObject * obj1 = 0 ;
3945 PyObject * obj2 = 0 ;
3946 PyObject * obj3 = 0 ;
3947 PyObject * obj4 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3953 if (obj0) {
3954 {
3955 arg1 = wxString_in_helper(obj0);
3956 if (arg1 == NULL) SWIG_fail;
3957 temp1 = true;
3958 }
3959 }
3960 if (obj1) {
3961 {
3962 arg2 = static_cast<int >(SWIG_As_int(obj1));
3963 if (SWIG_arg_fail(2)) SWIG_fail;
3964 }
3965 }
3966 if (obj2) {
3967 {
3968 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
3969 if (SWIG_arg_fail(3)) SWIG_fail;
3970 }
3971 }
3972 if (obj3) {
3973 {
3974 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
3975 if (SWIG_arg_fail(4)) SWIG_fail;
3976 }
3977 }
3978 if (obj4) {
3979 {
3980 arg5 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj4));
3981 if (SWIG_arg_fail(5)) SWIG_fail;
3982 }
3983 }
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
3992 {
3993 if (temp1)
3994 delete arg1;
3995 }
3996 return resultobj;
3997 fail:
3998 {
3999 if (temp1)
4000 delete arg1;
4001 }
4002 return NULL;
4003 }
4004
4005
4006 static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4007 PyObject *resultobj = NULL;
4008 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4009 bool result;
4010 PyObject * obj0 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
4016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4017 if (SWIG_arg_fail(1)) SWIG_fail;
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 {
4026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4027 }
4028 return resultobj;
4029 fail:
4030 return NULL;
4031 }
4032
4033
4034 static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = NULL;
4036 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4037 wxTreeListColumnAlign result;
4038 PyObject * obj0 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
4044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4045 if (SWIG_arg_fail(1)) SWIG_fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 resultobj = SWIG_From_int((result));
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj = NULL;
4062 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4063 wxString result;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
4070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 {
4080 #if wxUSE_UNICODE
4081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4082 #else
4083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4084 #endif
4085 }
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj = NULL;
4094 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4095 int result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
4102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail;
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 {
4112 resultobj = SWIG_From_int(static_cast<int >(result));
4113 }
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = NULL;
4122 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4123 int result;
4124 PyObject * obj0 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
4130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail;
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 {
4140 resultobj = SWIG_From_int(static_cast<int >(result));
4141 }
4142 return resultobj;
4143 fail:
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj = NULL;
4150 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4151 size_t result;
4152 PyObject * obj0 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
4158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4159 if (SWIG_arg_fail(1)) SWIG_fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 {
4168 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4169 }
4170 return resultobj;
4171 fail:
4172 return NULL;
4173 }
4174
4175
4176 static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj = NULL;
4178 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4179 bool arg2 ;
4180 PyObject * obj0 = 0 ;
4181 PyObject * obj1 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "shown", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
4187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail;
4189 {
4190 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4191 if (SWIG_arg_fail(2)) SWIG_fail;
4192 }
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetShown(arg2);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj = NULL;
4209 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4210 wxTreeListColumnAlign arg2 ;
4211 PyObject * obj0 = 0 ;
4212 PyObject * obj1 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self",(char *) "alignment", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
4218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4219 if (SWIG_arg_fail(1)) SWIG_fail;
4220 {
4221 arg2 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj1));
4222 if (SWIG_arg_fail(2)) SWIG_fail;
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 (arg1)->SetAlignment(arg2);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 Py_INCREF(Py_None); resultobj = Py_None;
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = NULL;
4240 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4241 wxString *arg2 = 0 ;
4242 bool temp2 = false ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "text", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
4250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4251 if (SWIG_arg_fail(1)) SWIG_fail;
4252 {
4253 arg2 = wxString_in_helper(obj1);
4254 if (arg2 == NULL) SWIG_fail;
4255 temp2 = true;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetText((wxString const &)*arg2);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 Py_INCREF(Py_None); resultobj = Py_None;
4265 {
4266 if (temp2)
4267 delete arg2;
4268 }
4269 return resultobj;
4270 fail:
4271 {
4272 if (temp2)
4273 delete arg2;
4274 }
4275 return NULL;
4276 }
4277
4278
4279 static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj = NULL;
4281 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4282 int arg2 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "image", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
4290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4291 if (SWIG_arg_fail(1)) SWIG_fail;
4292 {
4293 arg2 = static_cast<int >(SWIG_As_int(obj1));
4294 if (SWIG_arg_fail(2)) SWIG_fail;
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->SetImage(arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj = NULL;
4312 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4313 int arg2 ;
4314 PyObject * obj0 = 0 ;
4315 PyObject * obj1 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "image", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 {
4324 arg2 = static_cast<int >(SWIG_As_int(obj1));
4325 if (SWIG_arg_fail(2)) SWIG_fail;
4326 }
4327 {
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 (arg1)->SetSelectedImage(arg2);
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 Py_INCREF(Py_None); resultobj = Py_None;
4335 return resultobj;
4336 fail:
4337 return NULL;
4338 }
4339
4340
4341 static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj = NULL;
4343 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4344 size_t arg2 ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 char *kwnames[] = {
4348 (char *) "self",(char *) "with", NULL
4349 };
4350
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
4352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail;
4354 {
4355 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
4356 if (SWIG_arg_fail(2)) SWIG_fail;
4357 }
4358 {
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 (arg1)->SetWidth(arg2);
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 Py_INCREF(Py_None); resultobj = Py_None;
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
4373 PyObject *obj;
4374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4375 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
4376 Py_INCREF(obj);
4377 return Py_BuildValue((char *)"");
4378 }
4379 static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4380 PyObject *resultobj = NULL;
4381 wxWindow *arg1 = (wxWindow *) 0 ;
4382 int arg2 = (int) -1 ;
4383 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4384 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4385 wxSize const &arg4_defvalue = wxDefaultSize ;
4386 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4387 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4388 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4389 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4390 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4391 wxString *arg7 = (wxString *) &arg7_defvalue ;
4392 wxPyTreeListCtrl *result;
4393 wxPoint temp3 ;
4394 wxSize temp4 ;
4395 bool temp7 = false ;
4396 PyObject * obj0 = 0 ;
4397 PyObject * obj1 = 0 ;
4398 PyObject * obj2 = 0 ;
4399 PyObject * obj3 = 0 ;
4400 PyObject * obj4 = 0 ;
4401 PyObject * obj5 = 0 ;
4402 PyObject * obj6 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4409 if (SWIG_arg_fail(1)) SWIG_fail;
4410 if (obj1) {
4411 {
4412 arg2 = static_cast<int >(SWIG_As_int(obj1));
4413 if (SWIG_arg_fail(2)) SWIG_fail;
4414 }
4415 }
4416 if (obj2) {
4417 {
4418 arg3 = &temp3;
4419 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4420 }
4421 }
4422 if (obj3) {
4423 {
4424 arg4 = &temp4;
4425 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4426 }
4427 }
4428 if (obj4) {
4429 {
4430 arg5 = static_cast<long >(SWIG_As_long(obj4));
4431 if (SWIG_arg_fail(5)) SWIG_fail;
4432 }
4433 }
4434 if (obj5) {
4435 {
4436 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4437 if (SWIG_arg_fail(6)) SWIG_fail;
4438 if (arg6 == NULL) {
4439 SWIG_null_ref("wxValidator");
4440 }
4441 if (SWIG_arg_fail(6)) SWIG_fail;
4442 }
4443 }
4444 if (obj6) {
4445 {
4446 arg7 = wxString_in_helper(obj6);
4447 if (arg7 == NULL) SWIG_fail;
4448 temp7 = true;
4449 }
4450 }
4451 {
4452 if (!wxPyCheckForApp()) SWIG_fail;
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4460 {
4461 if (temp7)
4462 delete arg7;
4463 }
4464 return resultobj;
4465 fail:
4466 {
4467 if (temp7)
4468 delete arg7;
4469 }
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj = NULL;
4476 wxPyTreeListCtrl *result;
4477 char *kwnames[] = {
4478 NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4482 {
4483 if (!wxPyCheckForApp()) SWIG_fail;
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4491 return resultobj;
4492 fail:
4493 return NULL;
4494 }
4495
4496
4497 static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj = NULL;
4499 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4500 wxWindow *arg2 = (wxWindow *) 0 ;
4501 int arg3 = (int) -1 ;
4502 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4503 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4504 wxSize const &arg5_defvalue = wxDefaultSize ;
4505 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4506 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4507 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4508 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4509 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4510 wxString *arg8 = (wxString *) &arg8_defvalue ;
4511 bool result;
4512 wxPoint temp4 ;
4513 wxSize temp5 ;
4514 bool temp8 = false ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 PyObject * obj2 = 0 ;
4518 PyObject * obj3 = 0 ;
4519 PyObject * obj4 = 0 ;
4520 PyObject * obj5 = 0 ;
4521 PyObject * obj6 = 0 ;
4522 PyObject * obj7 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail;
4530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4531 if (SWIG_arg_fail(2)) SWIG_fail;
4532 if (obj2) {
4533 {
4534 arg3 = static_cast<int >(SWIG_As_int(obj2));
4535 if (SWIG_arg_fail(3)) SWIG_fail;
4536 }
4537 }
4538 if (obj3) {
4539 {
4540 arg4 = &temp4;
4541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4542 }
4543 }
4544 if (obj4) {
4545 {
4546 arg5 = &temp5;
4547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4548 }
4549 }
4550 if (obj5) {
4551 {
4552 arg6 = static_cast<long >(SWIG_As_long(obj5));
4553 if (SWIG_arg_fail(6)) SWIG_fail;
4554 }
4555 }
4556 if (obj6) {
4557 {
4558 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4559 if (SWIG_arg_fail(7)) SWIG_fail;
4560 if (arg7 == NULL) {
4561 SWIG_null_ref("wxValidator");
4562 }
4563 if (SWIG_arg_fail(7)) SWIG_fail;
4564 }
4565 }
4566 if (obj7) {
4567 {
4568 arg8 = wxString_in_helper(obj7);
4569 if (arg8 == NULL) SWIG_fail;
4570 temp8 = true;
4571 }
4572 }
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 {
4581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4582 }
4583 {
4584 if (temp8)
4585 delete arg8;
4586 }
4587 return resultobj;
4588 fail:
4589 {
4590 if (temp8)
4591 delete arg8;
4592 }
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj = NULL;
4599 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4600 PyObject *arg2 = (PyObject *) 0 ;
4601 PyObject *arg3 = (PyObject *) 0 ;
4602 PyObject * obj0 = 0 ;
4603 PyObject * obj1 = 0 ;
4604 PyObject * obj2 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self",(char *) "self",(char *) "_class", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4611 if (SWIG_arg_fail(1)) SWIG_fail;
4612 arg2 = obj1;
4613 arg3 = obj2;
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 (arg1)->_setCallbackInfo(arg2,arg3);
4617
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 Py_INCREF(Py_None); resultobj = Py_None;
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
4629 PyObject *resultobj = NULL;
4630 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4631 size_t result;
4632 PyObject * obj0 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "self", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
4638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4639 if (SWIG_arg_fail(1)) SWIG_fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 {
4648 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = NULL;
4658 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4659 unsigned int result;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
4666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4667 if (SWIG_arg_fail(1)) SWIG_fail;
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 {
4676 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4677 }
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj = NULL;
4686 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4687 unsigned int arg2 ;
4688 PyObject * obj0 = 0 ;
4689 PyObject * obj1 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self",(char *) "indent", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail;
4697 {
4698 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4699 if (SWIG_arg_fail(2)) SWIG_fail;
4700 }
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetIndent(arg2);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 Py_INCREF(Py_None); resultobj = Py_None;
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj = NULL;
4717 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4718 unsigned int result;
4719 PyObject * obj0 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
4725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4736 }
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj = NULL;
4745 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4746 unsigned int arg2 ;
4747 PyObject * obj0 = 0 ;
4748 PyObject * obj1 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self",(char *) "spacing", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
4754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail;
4756 {
4757 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4758 if (SWIG_arg_fail(2)) SWIG_fail;
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->SetLineSpacing(arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj = NULL;
4776 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4777 wxImageList *result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 {
4794 resultobj = wxPyMake_wxObject(result, (bool)0);
4795 }
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj = NULL;
4804 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4805 wxImageList *result;
4806 PyObject * obj0 = 0 ;
4807 char *kwnames[] = {
4808 (char *) "self", NULL
4809 };
4810
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
4812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4813 if (SWIG_arg_fail(1)) SWIG_fail;
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = wxPyMake_wxObject(result, (bool)0);
4823 }
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj = NULL;
4832 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4833 wxImageList *result;
4834 PyObject * obj0 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
4840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(1)) SWIG_fail;
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 {
4850 resultobj = wxPyMake_wxObject(result, (bool)0);
4851 }
4852 return resultobj;
4853 fail:
4854 return NULL;
4855 }
4856
4857
4858 static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj = NULL;
4860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4861 wxImageList *arg2 = (wxImageList *) 0 ;
4862 PyObject * obj0 = 0 ;
4863 PyObject * obj1 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "self",(char *) "imageList", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
4869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail;
4871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4872 if (SWIG_arg_fail(2)) SWIG_fail;
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->SetImageList(arg2);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj = NULL;
4889 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4890 wxImageList *arg2 = (wxImageList *) 0 ;
4891 PyObject * obj0 = 0 ;
4892 PyObject * obj1 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "imageList", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
4898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4899 if (SWIG_arg_fail(1)) SWIG_fail;
4900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4901 if (SWIG_arg_fail(2)) SWIG_fail;
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->SetStateImageList(arg2);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 Py_INCREF(Py_None); resultobj = Py_None;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913 }
4914
4915
4916 static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj = NULL;
4918 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4919 wxImageList *arg2 = (wxImageList *) 0 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "imageList", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
4927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail;
4929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(2)) SWIG_fail;
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->SetButtonsImageList(arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj = NULL;
4947 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4948 wxImageList *arg2 = (wxImageList *) 0 ;
4949 PyObject * obj0 = 0 ;
4950 PyObject * obj1 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self",(char *) "imageList", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
4956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail;
4958 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4959 if (SWIG_arg_fail(2)) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 (arg1)->AssignImageList(arg2);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj = NULL;
4976 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4977 wxImageList *arg2 = (wxImageList *) 0 ;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "imageList", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
4985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail;
4987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4988 if (SWIG_arg_fail(2)) SWIG_fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 (arg1)->AssignStateImageList(arg2);
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 Py_INCREF(Py_None); resultobj = Py_None;
4997 return resultobj;
4998 fail:
4999 return NULL;
5000 }
5001
5002
5003 static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
5004 PyObject *resultobj = NULL;
5005 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5006 wxImageList *arg2 = (wxImageList *) 0 ;
5007 PyObject * obj0 = 0 ;
5008 PyObject * obj1 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "self",(char *) "imageList", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
5014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail;
5016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
5017 if (SWIG_arg_fail(2)) SWIG_fail;
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 (arg1)->AssignButtonsImageList(arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = NULL;
5034 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5035 wxString *arg2 = 0 ;
5036 bool temp2 = false ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj1 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "text", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
5044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5045 if (SWIG_arg_fail(1)) SWIG_fail;
5046 {
5047 arg2 = wxString_in_helper(obj1);
5048 if (arg2 == NULL) SWIG_fail;
5049 temp2 = true;
5050 }
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 (arg1)->AddColumn((wxString const &)*arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 Py_INCREF(Py_None); resultobj = Py_None;
5059 {
5060 if (temp2)
5061 delete arg2;
5062 }
5063 return resultobj;
5064 fail:
5065 {
5066 if (temp2)
5067 delete arg2;
5068 }
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj = NULL;
5075 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5076 wxTreeListColumnInfo *arg2 = 0 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "col", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
5084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5085 if (SWIG_arg_fail(1)) SWIG_fail;
5086 {
5087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5088 if (SWIG_arg_fail(2)) SWIG_fail;
5089 if (arg2 == NULL) {
5090 SWIG_null_ref("wxTreeListColumnInfo");
5091 }
5092 if (SWIG_arg_fail(2)) SWIG_fail;
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj = NULL;
5110 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5111 size_t arg2 ;
5112 wxString *arg3 = 0 ;
5113 bool temp3 = false ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 PyObject * obj2 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self",(char *) "before",(char *) "text", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail;
5124 {
5125 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5126 if (SWIG_arg_fail(2)) SWIG_fail;
5127 }
5128 {
5129 arg3 = wxString_in_helper(obj2);
5130 if (arg3 == NULL) SWIG_fail;
5131 temp3 = true;
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 {
5142 if (temp3)
5143 delete arg3;
5144 }
5145 return resultobj;
5146 fail:
5147 {
5148 if (temp3)
5149 delete arg3;
5150 }
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj = NULL;
5157 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5158 size_t arg2 ;
5159 wxTreeListColumnInfo *arg3 = 0 ;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 PyObject * obj2 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self",(char *) "before",(char *) "col", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail;
5170 {
5171 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5172 if (SWIG_arg_fail(2)) SWIG_fail;
5173 }
5174 {
5175 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5176 if (SWIG_arg_fail(3)) SWIG_fail;
5177 if (arg3 == NULL) {
5178 SWIG_null_ref("wxTreeListColumnInfo");
5179 }
5180 if (SWIG_arg_fail(3)) SWIG_fail;
5181 }
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 Py_INCREF(Py_None); resultobj = Py_None;
5190 return resultobj;
5191 fail:
5192 return NULL;
5193 }
5194
5195
5196 static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj = NULL;
5198 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5199 size_t arg2 ;
5200 PyObject * obj0 = 0 ;
5201 PyObject * obj1 = 0 ;
5202 char *kwnames[] = {
5203 (char *) "self",(char *) "column", NULL
5204 };
5205
5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
5207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5208 if (SWIG_arg_fail(1)) SWIG_fail;
5209 {
5210 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5211 if (SWIG_arg_fail(2)) SWIG_fail;
5212 }
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 (arg1)->RemoveColumn(arg2);
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 Py_INCREF(Py_None); resultobj = Py_None;
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj = NULL;
5229 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5230 size_t result;
5231 PyObject * obj0 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
5237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail;
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
5242
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 {
5247 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5248 }
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj = NULL;
5257 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5258 size_t arg2 ;
5259 size_t arg3 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 PyObject * obj2 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "column",(char *) "width", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
5268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail;
5270 {
5271 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5272 if (SWIG_arg_fail(2)) SWIG_fail;
5273 }
5274 {
5275 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
5276 if (SWIG_arg_fail(3)) SWIG_fail;
5277 }
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 (arg1)->SetColumnWidth(arg2,arg3);
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 Py_INCREF(Py_None); resultobj = Py_None;
5286 return resultobj;
5287 fail:
5288 return NULL;
5289 }
5290
5291
5292 static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj = NULL;
5294 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5295 size_t arg2 ;
5296 int result;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "column", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
5304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail;
5306 {
5307 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5308 if (SWIG_arg_fail(2)) SWIG_fail;
5309 }
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5313
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 {
5318 resultobj = SWIG_From_int(static_cast<int >(result));
5319 }
5320 return resultobj;
5321 fail:
5322 return NULL;
5323 }
5324
5325
5326 static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj = NULL;
5328 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5329 size_t arg2 ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self",(char *) "column", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
5337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail;
5339 {
5340 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5341 if (SWIG_arg_fail(2)) SWIG_fail;
5342 }
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->SetMainColumn(arg2);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 Py_INCREF(Py_None); resultobj = Py_None;
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj = NULL;
5359 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5360 size_t result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
5367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 {
5377 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5378 }
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj = NULL;
5387 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5388 size_t arg2 ;
5389 wxString *arg3 = 0 ;
5390 bool temp3 = false ;
5391 PyObject * obj0 = 0 ;
5392 PyObject * obj1 = 0 ;
5393 PyObject * obj2 = 0 ;
5394 char *kwnames[] = {
5395 (char *) "self",(char *) "column",(char *) "text", NULL
5396 };
5397
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5400 if (SWIG_arg_fail(1)) SWIG_fail;
5401 {
5402 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5403 if (SWIG_arg_fail(2)) SWIG_fail;
5404 }
5405 {
5406 arg3 = wxString_in_helper(obj2);
5407 if (arg3 == NULL) SWIG_fail;
5408 temp3 = true;
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 {
5419 if (temp3)
5420 delete arg3;
5421 }
5422 return resultobj;
5423 fail:
5424 {
5425 if (temp3)
5426 delete arg3;
5427 }
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj = NULL;
5434 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5435 size_t arg2 ;
5436 wxString result;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "column", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
5444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail;
5446 {
5447 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5448 if (SWIG_arg_fail(2)) SWIG_fail;
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 {
5458 #if wxUSE_UNICODE
5459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5460 #else
5461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5462 #endif
5463 }
5464 return resultobj;
5465 fail:
5466 return NULL;
5467 }
5468
5469
5470 static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj = NULL;
5472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5473 size_t arg2 ;
5474 wxTreeListColumnInfo *arg3 = 0 ;
5475 PyObject * obj0 = 0 ;
5476 PyObject * obj1 = 0 ;
5477 PyObject * obj2 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self",(char *) "column",(char *) "info", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5484 if (SWIG_arg_fail(1)) SWIG_fail;
5485 {
5486 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5487 if (SWIG_arg_fail(2)) SWIG_fail;
5488 }
5489 {
5490 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5491 if (SWIG_arg_fail(3)) SWIG_fail;
5492 if (arg3 == NULL) {
5493 SWIG_null_ref("wxTreeListColumnInfo");
5494 }
5495 if (SWIG_arg_fail(3)) SWIG_fail;
5496 }
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 Py_INCREF(Py_None); resultobj = Py_None;
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj = NULL;
5513 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5514 size_t arg2 ;
5515 wxTreeListColumnInfo *result;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "column", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
5523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5524 if (SWIG_arg_fail(1)) SWIG_fail;
5525 {
5526 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5527 if (SWIG_arg_fail(2)) SWIG_fail;
5528 }
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 {
5532 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5533 result = (wxTreeListColumnInfo *) &_result_ref;
5534 }
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
5540 return resultobj;
5541 fail:
5542 return NULL;
5543 }
5544
5545
5546 static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj = NULL;
5548 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5549 size_t arg2 ;
5550 wxTreeListColumnAlign arg3 ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 PyObject * obj2 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "column",(char *) "align", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
5559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5560 if (SWIG_arg_fail(1)) SWIG_fail;
5561 {
5562 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5563 if (SWIG_arg_fail(2)) SWIG_fail;
5564 }
5565 {
5566 arg3 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj2));
5567 if (SWIG_arg_fail(3)) SWIG_fail;
5568 }
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->SetColumnAlignment(arg2,arg3);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj = NULL;
5585 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5586 size_t arg2 ;
5587 wxTreeListColumnAlign result;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 char *kwnames[] = {
5591 (char *) "self",(char *) "column", NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
5595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5596 if (SWIG_arg_fail(1)) SWIG_fail;
5597 {
5598 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5599 if (SWIG_arg_fail(2)) SWIG_fail;
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_From_int((result));
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj = NULL;
5617 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5618 size_t arg2 ;
5619 int arg3 ;
5620 PyObject * obj0 = 0 ;
5621 PyObject * obj1 = 0 ;
5622 PyObject * obj2 = 0 ;
5623 char *kwnames[] = {
5624 (char *) "self",(char *) "column",(char *) "image", NULL
5625 };
5626
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5629 if (SWIG_arg_fail(1)) SWIG_fail;
5630 {
5631 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5632 if (SWIG_arg_fail(2)) SWIG_fail;
5633 }
5634 {
5635 arg3 = static_cast<int >(SWIG_As_int(obj2));
5636 if (SWIG_arg_fail(3)) SWIG_fail;
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->SetColumnImage(arg2,arg3);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 Py_INCREF(Py_None); resultobj = Py_None;
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj = NULL;
5654 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5655 size_t arg2 ;
5656 int result;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "column", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
5664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5665 if (SWIG_arg_fail(1)) SWIG_fail;
5666 {
5667 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5668 if (SWIG_arg_fail(2)) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 {
5678 resultobj = SWIG_From_int(static_cast<int >(result));
5679 }
5680 return resultobj;
5681 fail:
5682 return NULL;
5683 }
5684
5685
5686 static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj = NULL;
5688 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5689 size_t arg2 ;
5690 bool arg3 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 PyObject * obj2 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self",(char *) "column",(char *) "shown", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5700 if (SWIG_arg_fail(1)) SWIG_fail;
5701 {
5702 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5703 if (SWIG_arg_fail(2)) SWIG_fail;
5704 }
5705 {
5706 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5707 if (SWIG_arg_fail(3)) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->ShowColumn(arg2,arg3);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 Py_INCREF(Py_None); resultobj = Py_None;
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj = NULL;
5725 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5726 size_t arg2 ;
5727 bool result;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj1 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "column", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
5735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail;
5737 {
5738 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5739 if (SWIG_arg_fail(2)) SWIG_fail;
5740 }
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5744
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = NULL;
5759 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5760 wxTreeItemId *arg2 = 0 ;
5761 int arg3 = (int) -1 ;
5762 wxString result;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 PyObject * obj2 = 0 ;
5766 char *kwnames[] = {
5767 (char *) "self",(char *) "item",(char *) "column", NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(1)) SWIG_fail;
5773 {
5774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5775 if (SWIG_arg_fail(2)) SWIG_fail;
5776 if (arg2 == NULL) {
5777 SWIG_null_ref("wxTreeItemId");
5778 }
5779 if (SWIG_arg_fail(2)) SWIG_fail;
5780 }
5781 if (obj2) {
5782 {
5783 arg3 = static_cast<int >(SWIG_As_int(obj2));
5784 if (SWIG_arg_fail(3)) SWIG_fail;
5785 }
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 #if wxUSE_UNICODE
5796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5797 #else
5798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5799 #endif
5800 }
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj = NULL;
5809 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5810 wxTreeItemId *arg2 = 0 ;
5811 int arg3 = (int) -1 ;
5812 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5813 int result;
5814 PyObject * obj0 = 0 ;
5815 PyObject * obj1 = 0 ;
5816 PyObject * obj2 = 0 ;
5817 PyObject * obj3 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5824 if (SWIG_arg_fail(1)) SWIG_fail;
5825 {
5826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5827 if (SWIG_arg_fail(2)) SWIG_fail;
5828 if (arg2 == NULL) {
5829 SWIG_null_ref("wxTreeItemId");
5830 }
5831 if (SWIG_arg_fail(2)) SWIG_fail;
5832 }
5833 if (obj2) {
5834 {
5835 arg3 = static_cast<int >(SWIG_As_int(obj2));
5836 if (SWIG_arg_fail(3)) SWIG_fail;
5837 }
5838 }
5839 if (obj3) {
5840 {
5841 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
5842 if (SWIG_arg_fail(4)) SWIG_fail;
5843 }
5844 }
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 resultobj = SWIG_From_int(static_cast<int >(result));
5854 }
5855 return resultobj;
5856 fail:
5857 return NULL;
5858 }
5859
5860
5861 static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = NULL;
5863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5864 wxTreeItemId *arg2 = 0 ;
5865 wxString *arg3 = 0 ;
5866 int arg4 = (int) -1 ;
5867 bool temp3 = false ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 PyObject * obj2 = 0 ;
5871 PyObject * obj3 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5878 if (SWIG_arg_fail(1)) SWIG_fail;
5879 {
5880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5881 if (SWIG_arg_fail(2)) SWIG_fail;
5882 if (arg2 == NULL) {
5883 SWIG_null_ref("wxTreeItemId");
5884 }
5885 if (SWIG_arg_fail(2)) SWIG_fail;
5886 }
5887 {
5888 arg3 = wxString_in_helper(obj2);
5889 if (arg3 == NULL) SWIG_fail;
5890 temp3 = true;
5891 }
5892 if (obj3) {
5893 {
5894 arg4 = static_cast<int >(SWIG_As_int(obj3));
5895 if (SWIG_arg_fail(4)) SWIG_fail;
5896 }
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 Py_INCREF(Py_None); resultobj = Py_None;
5906 {
5907 if (temp3)
5908 delete arg3;
5909 }
5910 return resultobj;
5911 fail:
5912 {
5913 if (temp3)
5914 delete arg3;
5915 }
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj = NULL;
5922 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5923 wxTreeItemId *arg2 = 0 ;
5924 int arg3 ;
5925 int arg4 = (int) -1 ;
5926 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 PyObject * obj2 = 0 ;
5930 PyObject * obj3 = 0 ;
5931 PyObject * obj4 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail;
5939 {
5940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5941 if (SWIG_arg_fail(2)) SWIG_fail;
5942 if (arg2 == NULL) {
5943 SWIG_null_ref("wxTreeItemId");
5944 }
5945 if (SWIG_arg_fail(2)) SWIG_fail;
5946 }
5947 {
5948 arg3 = static_cast<int >(SWIG_As_int(obj2));
5949 if (SWIG_arg_fail(3)) SWIG_fail;
5950 }
5951 if (obj3) {
5952 {
5953 arg4 = static_cast<int >(SWIG_As_int(obj3));
5954 if (SWIG_arg_fail(4)) SWIG_fail;
5955 }
5956 }
5957 if (obj4) {
5958 {
5959 arg5 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj4));
5960 if (SWIG_arg_fail(5)) SWIG_fail;
5961 }
5962 }
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 Py_INCREF(Py_None); resultobj = Py_None;
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj = NULL;
5979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5980 wxTreeItemId *arg2 = 0 ;
5981 wxPyTreeItemData *result;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "item", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
5989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5990 if (SWIG_arg_fail(1)) SWIG_fail;
5991 {
5992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5993 if (SWIG_arg_fail(2)) SWIG_fail;
5994 if (arg2 == NULL) {
5995 SWIG_null_ref("wxTreeItemId");
5996 }
5997 if (SWIG_arg_fail(2)) SWIG_fail;
5998 }
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj = NULL;
6015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6016 wxTreeItemId *arg2 = 0 ;
6017 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 PyObject * obj2 = 0 ;
6021 char *kwnames[] = {
6022 (char *) "self",(char *) "item",(char *) "data", NULL
6023 };
6024
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6027 if (SWIG_arg_fail(1)) SWIG_fail;
6028 {
6029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6030 if (SWIG_arg_fail(2)) SWIG_fail;
6031 if (arg2 == NULL) {
6032 SWIG_null_ref("wxTreeItemId");
6033 }
6034 if (SWIG_arg_fail(2)) SWIG_fail;
6035 }
6036 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6037 if (SWIG_arg_fail(3)) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 Py_INCREF(Py_None); resultobj = Py_None;
6046 return resultobj;
6047 fail:
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj = NULL;
6054 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6055 wxTreeItemId *arg2 = 0 ;
6056 PyObject *result;
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "self",(char *) "item", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
6064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6065 if (SWIG_arg_fail(1)) SWIG_fail;
6066 {
6067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6068 if (SWIG_arg_fail(2)) SWIG_fail;
6069 if (arg2 == NULL) {
6070 SWIG_null_ref("wxTreeItemId");
6071 }
6072 if (SWIG_arg_fail(2)) SWIG_fail;
6073 }
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = result;
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj = NULL;
6090 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6091 wxTreeItemId *arg2 = 0 ;
6092 PyObject *arg3 = (PyObject *) 0 ;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 PyObject * obj2 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self",(char *) "item",(char *) "obj", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6102 if (SWIG_arg_fail(1)) SWIG_fail;
6103 {
6104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6105 if (SWIG_arg_fail(2)) SWIG_fail;
6106 if (arg2 == NULL) {
6107 SWIG_null_ref("wxTreeItemId");
6108 }
6109 if (SWIG_arg_fail(2)) SWIG_fail;
6110 }
6111 arg3 = obj2;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj = NULL;
6128 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6129 wxTreeItemId *arg2 = 0 ;
6130 bool arg3 = (bool) true ;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 PyObject * obj2 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self",(char *) "item",(char *) "has", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
6139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6140 if (SWIG_arg_fail(1)) SWIG_fail;
6141 {
6142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6143 if (SWIG_arg_fail(2)) SWIG_fail;
6144 if (arg2 == NULL) {
6145 SWIG_null_ref("wxTreeItemId");
6146 }
6147 if (SWIG_arg_fail(2)) SWIG_fail;
6148 }
6149 if (obj2) {
6150 {
6151 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6152 if (SWIG_arg_fail(3)) SWIG_fail;
6153 }
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj = NULL;
6171 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6172 wxTreeItemId *arg2 = 0 ;
6173 bool arg3 = (bool) true ;
6174 PyObject * obj0 = 0 ;
6175 PyObject * obj1 = 0 ;
6176 PyObject * obj2 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "item",(char *) "bold", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
6182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail;
6184 {
6185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6186 if (SWIG_arg_fail(2)) SWIG_fail;
6187 if (arg2 == NULL) {
6188 SWIG_null_ref("wxTreeItemId");
6189 }
6190 if (SWIG_arg_fail(2)) SWIG_fail;
6191 }
6192 if (obj2) {
6193 {
6194 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6195 if (SWIG_arg_fail(3)) SWIG_fail;
6196 }
6197 }
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 Py_INCREF(Py_None); resultobj = Py_None;
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj = NULL;
6214 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6215 wxTreeItemId *arg2 = 0 ;
6216 wxColour *arg3 = 0 ;
6217 wxColour temp3 ;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 PyObject * obj2 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self",(char *) "item",(char *) "colour", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail;
6228 {
6229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6230 if (SWIG_arg_fail(2)) SWIG_fail;
6231 if (arg2 == NULL) {
6232 SWIG_null_ref("wxTreeItemId");
6233 }
6234 if (SWIG_arg_fail(2)) SWIG_fail;
6235 }
6236 {
6237 arg3 = &temp3;
6238 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6239 }
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 Py_INCREF(Py_None); resultobj = Py_None;
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj = NULL;
6256 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6257 wxTreeItemId *arg2 = 0 ;
6258 wxColour *arg3 = 0 ;
6259 wxColour temp3 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "item",(char *) "colour", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail;
6270 {
6271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6272 if (SWIG_arg_fail(2)) SWIG_fail;
6273 if (arg2 == NULL) {
6274 SWIG_null_ref("wxTreeItemId");
6275 }
6276 if (SWIG_arg_fail(2)) SWIG_fail;
6277 }
6278 {
6279 arg3 = &temp3;
6280 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6281 }
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 Py_INCREF(Py_None); resultobj = Py_None;
6290 return resultobj;
6291 fail:
6292 return NULL;
6293 }
6294
6295
6296 static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6297 PyObject *resultobj = NULL;
6298 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6299 wxTreeItemId *arg2 = 0 ;
6300 wxFont *arg3 = 0 ;
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 PyObject * obj2 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self",(char *) "item",(char *) "font", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6310 if (SWIG_arg_fail(1)) SWIG_fail;
6311 {
6312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6313 if (SWIG_arg_fail(2)) SWIG_fail;
6314 if (arg2 == NULL) {
6315 SWIG_null_ref("wxTreeItemId");
6316 }
6317 if (SWIG_arg_fail(2)) SWIG_fail;
6318 }
6319 {
6320 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
6321 if (SWIG_arg_fail(3)) SWIG_fail;
6322 if (arg3 == NULL) {
6323 SWIG_null_ref("wxFont");
6324 }
6325 if (SWIG_arg_fail(3)) SWIG_fail;
6326 }
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 Py_INCREF(Py_None); resultobj = Py_None;
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj = NULL;
6343 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6344 wxTreeItemId *arg2 = 0 ;
6345 bool result;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 char *kwnames[] = {
6349 (char *) "self",(char *) "item", NULL
6350 };
6351
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
6353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail;
6355 {
6356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(2)) SWIG_fail;
6358 if (arg2 == NULL) {
6359 SWIG_null_ref("wxTreeItemId");
6360 }
6361 if (SWIG_arg_fail(2)) SWIG_fail;
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 {
6371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6372 }
6373 return resultobj;
6374 fail:
6375 return NULL;
6376 }
6377
6378
6379 static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6380 PyObject *resultobj = NULL;
6381 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6382 wxTreeItemId *arg2 = 0 ;
6383 wxColour result;
6384 PyObject * obj0 = 0 ;
6385 PyObject * obj1 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self",(char *) "item", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
6391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail;
6393 {
6394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(2)) SWIG_fail;
6396 if (arg2 == NULL) {
6397 SWIG_null_ref("wxTreeItemId");
6398 }
6399 if (SWIG_arg_fail(2)) SWIG_fail;
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 {
6409 wxColour * resultptr;
6410 resultptr = new wxColour(static_cast<wxColour & >(result));
6411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6412 }
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj = NULL;
6421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6422 wxTreeItemId *arg2 = 0 ;
6423 wxColour result;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "item", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6432 if (SWIG_arg_fail(1)) SWIG_fail;
6433 {
6434 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6435 if (SWIG_arg_fail(2)) SWIG_fail;
6436 if (arg2 == NULL) {
6437 SWIG_null_ref("wxTreeItemId");
6438 }
6439 if (SWIG_arg_fail(2)) SWIG_fail;
6440 }
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 wxColour * resultptr;
6450 resultptr = new wxColour(static_cast<wxColour & >(result));
6451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6452 }
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj = NULL;
6461 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6462 wxTreeItemId *arg2 = 0 ;
6463 wxFont result;
6464 PyObject * obj0 = 0 ;
6465 PyObject * obj1 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self",(char *) "item", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
6471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6472 if (SWIG_arg_fail(1)) SWIG_fail;
6473 {
6474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6475 if (SWIG_arg_fail(2)) SWIG_fail;
6476 if (arg2 == NULL) {
6477 SWIG_null_ref("wxTreeItemId");
6478 }
6479 if (SWIG_arg_fail(2)) SWIG_fail;
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 wxFont * resultptr;
6490 resultptr = new wxFont(static_cast<wxFont & >(result));
6491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496 }
6497
6498
6499 static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj = NULL;
6501 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6502 wxTreeItemId *arg2 = 0 ;
6503 bool result;
6504 PyObject * obj0 = 0 ;
6505 PyObject * obj1 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "self",(char *) "item", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
6511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6512 if (SWIG_arg_fail(1)) SWIG_fail;
6513 {
6514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail;
6516 if (arg2 == NULL) {
6517 SWIG_null_ref("wxTreeItemId");
6518 }
6519 if (SWIG_arg_fail(2)) SWIG_fail;
6520 }
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 {
6529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6530 }
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj = NULL;
6539 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6540 wxTreeItemId *arg2 = 0 ;
6541 bool result;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self",(char *) "item", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
6549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail;
6551 {
6552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6553 if (SWIG_arg_fail(2)) SWIG_fail;
6554 if (arg2 == NULL) {
6555 SWIG_null_ref("wxTreeItemId");
6556 }
6557 if (SWIG_arg_fail(2)) SWIG_fail;
6558 }
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6562
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 {
6567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6568 }
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj = NULL;
6577 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6578 wxTreeItemId *arg2 = 0 ;
6579 bool result;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self",(char *) "item", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
6587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail;
6589 {
6590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6591 if (SWIG_arg_fail(2)) SWIG_fail;
6592 if (arg2 == NULL) {
6593 SWIG_null_ref("wxTreeItemId");
6594 }
6595 if (SWIG_arg_fail(2)) SWIG_fail;
6596 }
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 {
6605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6606 }
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj = NULL;
6615 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6616 wxTreeItemId *arg2 = 0 ;
6617 bool result;
6618 PyObject * obj0 = 0 ;
6619 PyObject * obj1 = 0 ;
6620 char *kwnames[] = {
6621 (char *) "self",(char *) "item", NULL
6622 };
6623
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail;
6627 {
6628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6629 if (SWIG_arg_fail(2)) SWIG_fail;
6630 if (arg2 == NULL) {
6631 SWIG_null_ref("wxTreeItemId");
6632 }
6633 if (SWIG_arg_fail(2)) SWIG_fail;
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6644 }
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj = NULL;
6653 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6654 wxTreeItemId *arg2 = 0 ;
6655 bool result;
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "item", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
6663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail;
6665 {
6666 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6667 if (SWIG_arg_fail(2)) SWIG_fail;
6668 if (arg2 == NULL) {
6669 SWIG_null_ref("wxTreeItemId");
6670 }
6671 if (SWIG_arg_fail(2)) SWIG_fail;
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 {
6681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6682 }
6683 return resultobj;
6684 fail:
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj = NULL;
6691 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6692 wxTreeItemId *arg2 = 0 ;
6693 bool arg3 = (bool) true ;
6694 size_t result;
6695 PyObject * obj0 = 0 ;
6696 PyObject * obj1 = 0 ;
6697 PyObject * obj2 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self",(char *) "item",(char *) "recursively", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
6703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6704 if (SWIG_arg_fail(1)) SWIG_fail;
6705 {
6706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6707 if (SWIG_arg_fail(2)) SWIG_fail;
6708 if (arg2 == NULL) {
6709 SWIG_null_ref("wxTreeItemId");
6710 }
6711 if (SWIG_arg_fail(2)) SWIG_fail;
6712 }
6713 if (obj2) {
6714 {
6715 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6716 if (SWIG_arg_fail(3)) SWIG_fail;
6717 }
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = NULL;
6737 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6738 wxTreeItemId result;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
6745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6746 if (SWIG_arg_fail(1)) SWIG_fail;
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755 wxTreeItemId * resultptr;
6756 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj = NULL;
6767 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6768 wxTreeItemId result;
6769 PyObject * obj0 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 {
6785 wxTreeItemId * resultptr;
6786 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6788 }
6789 return resultobj;
6790 fail:
6791 return NULL;
6792 }
6793
6794
6795 static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj = NULL;
6797 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6798 PyObject *result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 resultobj = result;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj = NULL;
6823 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6824 wxTreeItemId *arg2 = 0 ;
6825 wxTreeItemId result;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self",(char *) "item", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
6835 {
6836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6837 if (SWIG_arg_fail(2)) SWIG_fail;
6838 if (arg2 == NULL) {
6839 SWIG_null_ref("wxTreeItemId");
6840 }
6841 if (SWIG_arg_fail(2)) SWIG_fail;
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 {
6851 wxTreeItemId * resultptr;
6852 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6854 }
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj = NULL;
6863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6864 wxTreeItemId *arg2 = 0 ;
6865 PyObject *result;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "item", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
6873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail;
6875 {
6876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6877 if (SWIG_arg_fail(2)) SWIG_fail;
6878 if (arg2 == NULL) {
6879 SWIG_null_ref("wxTreeItemId");
6880 }
6881 if (SWIG_arg_fail(2)) SWIG_fail;
6882 }
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 resultobj = result;
6891 return resultobj;
6892 fail:
6893 return NULL;
6894 }
6895
6896
6897 static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
6898 PyObject *resultobj = NULL;
6899 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6900 wxTreeItemId *arg2 = 0 ;
6901 void *arg3 = (void *) 0 ;
6902 PyObject *result;
6903 PyObject * obj0 = 0 ;
6904 PyObject * obj1 = 0 ;
6905 PyObject * obj2 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self",(char *) "item",(char *) "cookie", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6912 if (SWIG_arg_fail(1)) SWIG_fail;
6913 {
6914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6915 if (SWIG_arg_fail(2)) SWIG_fail;
6916 if (arg2 == NULL) {
6917 SWIG_null_ref("wxTreeItemId");
6918 }
6919 if (SWIG_arg_fail(2)) SWIG_fail;
6920 }
6921 {
6922 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6923 SWIG_arg_fail(3);SWIG_fail;
6924 }
6925 }
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 resultobj = result;
6934 return resultobj;
6935 fail:
6936 return NULL;
6937 }
6938
6939
6940 static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj = NULL;
6942 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6943 wxTreeItemId *arg2 = 0 ;
6944 wxTreeItemId result;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self",(char *) "item", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
6952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6953 if (SWIG_arg_fail(1)) SWIG_fail;
6954 {
6955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(2)) SWIG_fail;
6957 if (arg2 == NULL) {
6958 SWIG_null_ref("wxTreeItemId");
6959 }
6960 if (SWIG_arg_fail(2)) SWIG_fail;
6961 }
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 {
6970 wxTreeItemId * resultptr;
6971 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6973 }
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj = NULL;
6982 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6983 wxTreeItemId *arg2 = 0 ;
6984 wxTreeItemId result;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "item", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
6992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6993 if (SWIG_arg_fail(1)) SWIG_fail;
6994 {
6995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6996 if (SWIG_arg_fail(2)) SWIG_fail;
6997 if (arg2 == NULL) {
6998 SWIG_null_ref("wxTreeItemId");
6999 }
7000 if (SWIG_arg_fail(2)) SWIG_fail;
7001 }
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 {
7010 wxTreeItemId * resultptr;
7011 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7013 }
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj = NULL;
7022 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7023 wxTreeItemId *arg2 = 0 ;
7024 wxTreeItemId result;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self",(char *) "item", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
7032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7033 if (SWIG_arg_fail(1)) SWIG_fail;
7034 {
7035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7036 if (SWIG_arg_fail(2)) SWIG_fail;
7037 if (arg2 == NULL) {
7038 SWIG_null_ref("wxTreeItemId");
7039 }
7040 if (SWIG_arg_fail(2)) SWIG_fail;
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 {
7050 wxTreeItemId * resultptr;
7051 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7053 }
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = NULL;
7062 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7063 wxTreeItemId result;
7064 PyObject * obj0 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "self", NULL
7067 };
7068
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
7070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7071 if (SWIG_arg_fail(1)) SWIG_fail;
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 {
7080 wxTreeItemId * resultptr;
7081 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj = NULL;
7092 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7093 wxTreeItemId *arg2 = 0 ;
7094 wxTreeItemId result;
7095 PyObject * obj0 = 0 ;
7096 PyObject * obj1 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "self",(char *) "item", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
7102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail;
7104 {
7105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7106 if (SWIG_arg_fail(2)) SWIG_fail;
7107 if (arg2 == NULL) {
7108 SWIG_null_ref("wxTreeItemId");
7109 }
7110 if (SWIG_arg_fail(2)) SWIG_fail;
7111 }
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 {
7120 wxTreeItemId * resultptr;
7121 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7123 }
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = NULL;
7132 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7133 wxTreeItemId *arg2 = 0 ;
7134 wxTreeItemId result;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj1 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self",(char *) "item", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
7142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail;
7144 {
7145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7146 if (SWIG_arg_fail(2)) SWIG_fail;
7147 if (arg2 == NULL) {
7148 SWIG_null_ref("wxTreeItemId");
7149 }
7150 if (SWIG_arg_fail(2)) SWIG_fail;
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 {
7160 wxTreeItemId * resultptr;
7161 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7163 }
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj = NULL;
7172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7173 wxTreeItemId *arg2 = 0 ;
7174 wxTreeItemId result;
7175 PyObject * obj0 = 0 ;
7176 PyObject * obj1 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "item", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
7182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail;
7184 {
7185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7186 if (SWIG_arg_fail(2)) SWIG_fail;
7187 if (arg2 == NULL) {
7188 SWIG_null_ref("wxTreeItemId");
7189 }
7190 if (SWIG_arg_fail(2)) SWIG_fail;
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 {
7200 wxTreeItemId * resultptr;
7201 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7203 }
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj = NULL;
7212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7213 wxString *arg2 = 0 ;
7214 int arg3 = (int) -1 ;
7215 int arg4 = (int) -1 ;
7216 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
7217 wxTreeItemId result;
7218 bool temp2 = false ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 PyObject * obj2 = 0 ;
7222 PyObject * obj3 = 0 ;
7223 PyObject * obj4 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail;
7231 {
7232 arg2 = wxString_in_helper(obj1);
7233 if (arg2 == NULL) SWIG_fail;
7234 temp2 = true;
7235 }
7236 if (obj2) {
7237 {
7238 arg3 = static_cast<int >(SWIG_As_int(obj2));
7239 if (SWIG_arg_fail(3)) SWIG_fail;
7240 }
7241 }
7242 if (obj3) {
7243 {
7244 arg4 = static_cast<int >(SWIG_As_int(obj3));
7245 if (SWIG_arg_fail(4)) SWIG_fail;
7246 }
7247 }
7248 if (obj4) {
7249 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7250 if (SWIG_arg_fail(5)) SWIG_fail;
7251 }
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 {
7260 wxTreeItemId * resultptr;
7261 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7263 }
7264 {
7265 if (temp2)
7266 delete arg2;
7267 }
7268 return resultobj;
7269 fail:
7270 {
7271 if (temp2)
7272 delete arg2;
7273 }
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj = NULL;
7280 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7281 wxTreeItemId *arg2 = 0 ;
7282 wxString *arg3 = 0 ;
7283 int arg4 = (int) -1 ;
7284 int arg5 = (int) -1 ;
7285 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7286 wxTreeItemId result;
7287 bool temp3 = false ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 PyObject * obj4 = 0 ;
7293 PyObject * obj5 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail;
7301 {
7302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7303 if (SWIG_arg_fail(2)) SWIG_fail;
7304 if (arg2 == NULL) {
7305 SWIG_null_ref("wxTreeItemId");
7306 }
7307 if (SWIG_arg_fail(2)) SWIG_fail;
7308 }
7309 {
7310 arg3 = wxString_in_helper(obj2);
7311 if (arg3 == NULL) SWIG_fail;
7312 temp3 = true;
7313 }
7314 if (obj3) {
7315 {
7316 arg4 = static_cast<int >(SWIG_As_int(obj3));
7317 if (SWIG_arg_fail(4)) SWIG_fail;
7318 }
7319 }
7320 if (obj4) {
7321 {
7322 arg5 = static_cast<int >(SWIG_As_int(obj4));
7323 if (SWIG_arg_fail(5)) SWIG_fail;
7324 }
7325 }
7326 if (obj5) {
7327 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7328 if (SWIG_arg_fail(6)) SWIG_fail;
7329 }
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 {
7338 wxTreeItemId * resultptr;
7339 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7341 }
7342 {
7343 if (temp3)
7344 delete arg3;
7345 }
7346 return resultobj;
7347 fail:
7348 {
7349 if (temp3)
7350 delete arg3;
7351 }
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj = NULL;
7358 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7359 wxTreeItemId *arg2 = 0 ;
7360 wxTreeItemId *arg3 = 0 ;
7361 wxString *arg4 = 0 ;
7362 int arg5 = (int) -1 ;
7363 int arg6 = (int) -1 ;
7364 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7365 wxTreeItemId result;
7366 bool temp4 = false ;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 PyObject * obj2 = 0 ;
7370 PyObject * obj3 = 0 ;
7371 PyObject * obj4 = 0 ;
7372 PyObject * obj5 = 0 ;
7373 PyObject * obj6 = 0 ;
7374 char *kwnames[] = {
7375 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail;
7381 {
7382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7383 if (SWIG_arg_fail(2)) SWIG_fail;
7384 if (arg2 == NULL) {
7385 SWIG_null_ref("wxTreeItemId");
7386 }
7387 if (SWIG_arg_fail(2)) SWIG_fail;
7388 }
7389 {
7390 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7391 if (SWIG_arg_fail(3)) SWIG_fail;
7392 if (arg3 == NULL) {
7393 SWIG_null_ref("wxTreeItemId");
7394 }
7395 if (SWIG_arg_fail(3)) SWIG_fail;
7396 }
7397 {
7398 arg4 = wxString_in_helper(obj3);
7399 if (arg4 == NULL) SWIG_fail;
7400 temp4 = true;
7401 }
7402 if (obj4) {
7403 {
7404 arg5 = static_cast<int >(SWIG_As_int(obj4));
7405 if (SWIG_arg_fail(5)) SWIG_fail;
7406 }
7407 }
7408 if (obj5) {
7409 {
7410 arg6 = static_cast<int >(SWIG_As_int(obj5));
7411 if (SWIG_arg_fail(6)) SWIG_fail;
7412 }
7413 }
7414 if (obj6) {
7415 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(7)) SWIG_fail;
7417 }
7418 {
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 {
7426 wxTreeItemId * resultptr;
7427 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7429 }
7430 {
7431 if (temp4)
7432 delete arg4;
7433 }
7434 return resultobj;
7435 fail:
7436 {
7437 if (temp4)
7438 delete arg4;
7439 }
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj = NULL;
7446 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7447 wxTreeItemId *arg2 = 0 ;
7448 size_t arg3 ;
7449 wxString *arg4 = 0 ;
7450 int arg5 = (int) -1 ;
7451 int arg6 = (int) -1 ;
7452 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7453 wxTreeItemId result;
7454 bool temp4 = false ;
7455 PyObject * obj0 = 0 ;
7456 PyObject * obj1 = 0 ;
7457 PyObject * obj2 = 0 ;
7458 PyObject * obj3 = 0 ;
7459 PyObject * obj4 = 0 ;
7460 PyObject * obj5 = 0 ;
7461 PyObject * obj6 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7468 if (SWIG_arg_fail(1)) SWIG_fail;
7469 {
7470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7471 if (SWIG_arg_fail(2)) SWIG_fail;
7472 if (arg2 == NULL) {
7473 SWIG_null_ref("wxTreeItemId");
7474 }
7475 if (SWIG_arg_fail(2)) SWIG_fail;
7476 }
7477 {
7478 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
7479 if (SWIG_arg_fail(3)) SWIG_fail;
7480 }
7481 {
7482 arg4 = wxString_in_helper(obj3);
7483 if (arg4 == NULL) SWIG_fail;
7484 temp4 = true;
7485 }
7486 if (obj4) {
7487 {
7488 arg5 = static_cast<int >(SWIG_As_int(obj4));
7489 if (SWIG_arg_fail(5)) SWIG_fail;
7490 }
7491 }
7492 if (obj5) {
7493 {
7494 arg6 = static_cast<int >(SWIG_As_int(obj5));
7495 if (SWIG_arg_fail(6)) SWIG_fail;
7496 }
7497 }
7498 if (obj6) {
7499 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7500 if (SWIG_arg_fail(7)) SWIG_fail;
7501 }
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 {
7510 wxTreeItemId * resultptr;
7511 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7513 }
7514 {
7515 if (temp4)
7516 delete arg4;
7517 }
7518 return resultobj;
7519 fail:
7520 {
7521 if (temp4)
7522 delete arg4;
7523 }
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj = NULL;
7530 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7531 wxTreeItemId *arg2 = 0 ;
7532 wxString *arg3 = 0 ;
7533 int arg4 = (int) -1 ;
7534 int arg5 = (int) -1 ;
7535 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7536 wxTreeItemId result;
7537 bool temp3 = false ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 PyObject * obj2 = 0 ;
7541 PyObject * obj3 = 0 ;
7542 PyObject * obj4 = 0 ;
7543 PyObject * obj5 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
7551 {
7552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7553 if (SWIG_arg_fail(2)) SWIG_fail;
7554 if (arg2 == NULL) {
7555 SWIG_null_ref("wxTreeItemId");
7556 }
7557 if (SWIG_arg_fail(2)) SWIG_fail;
7558 }
7559 {
7560 arg3 = wxString_in_helper(obj2);
7561 if (arg3 == NULL) SWIG_fail;
7562 temp3 = true;
7563 }
7564 if (obj3) {
7565 {
7566 arg4 = static_cast<int >(SWIG_As_int(obj3));
7567 if (SWIG_arg_fail(4)) SWIG_fail;
7568 }
7569 }
7570 if (obj4) {
7571 {
7572 arg5 = static_cast<int >(SWIG_As_int(obj4));
7573 if (SWIG_arg_fail(5)) SWIG_fail;
7574 }
7575 }
7576 if (obj5) {
7577 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7578 if (SWIG_arg_fail(6)) SWIG_fail;
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 {
7588 wxTreeItemId * resultptr;
7589 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7591 }
7592 {
7593 if (temp3)
7594 delete arg3;
7595 }
7596 return resultobj;
7597 fail:
7598 {
7599 if (temp3)
7600 delete arg3;
7601 }
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj = NULL;
7608 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7609 wxTreeItemId *arg2 = 0 ;
7610 PyObject * obj0 = 0 ;
7611 PyObject * obj1 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self",(char *) "item", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
7617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail;
7619 {
7620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(2)) SWIG_fail;
7622 if (arg2 == NULL) {
7623 SWIG_null_ref("wxTreeItemId");
7624 }
7625 if (SWIG_arg_fail(2)) SWIG_fail;
7626 }
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->Delete((wxTreeItemId const &)*arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = NULL;
7643 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7644 wxTreeItemId *arg2 = 0 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "item", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
7652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7653 if (SWIG_arg_fail(1)) SWIG_fail;
7654 {
7655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7656 if (SWIG_arg_fail(2)) SWIG_fail;
7657 if (arg2 == NULL) {
7658 SWIG_null_ref("wxTreeItemId");
7659 }
7660 if (SWIG_arg_fail(2)) SWIG_fail;
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj = NULL;
7678 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7679 PyObject * obj0 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
7685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->DeleteAllItems();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj = NULL;
7703 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7704 wxTreeItemId *arg2 = 0 ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "self",(char *) "item", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
7712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7713 if (SWIG_arg_fail(1)) SWIG_fail;
7714 {
7715 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7716 if (SWIG_arg_fail(2)) SWIG_fail;
7717 if (arg2 == NULL) {
7718 SWIG_null_ref("wxTreeItemId");
7719 }
7720 if (SWIG_arg_fail(2)) SWIG_fail;
7721 }
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 (arg1)->Expand((wxTreeItemId const &)*arg2);
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 Py_INCREF(Py_None); resultobj = Py_None;
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj = NULL;
7738 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7739 wxTreeItemId *arg2 = 0 ;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 char *kwnames[] = {
7743 (char *) "self",(char *) "item", NULL
7744 };
7745
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
7747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7748 if (SWIG_arg_fail(1)) SWIG_fail;
7749 {
7750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7751 if (SWIG_arg_fail(2)) SWIG_fail;
7752 if (arg2 == NULL) {
7753 SWIG_null_ref("wxTreeItemId");
7754 }
7755 if (SWIG_arg_fail(2)) SWIG_fail;
7756 }
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 Py_INCREF(Py_None); resultobj = Py_None;
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj = NULL;
7773 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7774 wxTreeItemId *arg2 = 0 ;
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self",(char *) "item", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
7782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail;
7784 {
7785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(2)) SWIG_fail;
7787 if (arg2 == NULL) {
7788 SWIG_null_ref("wxTreeItemId");
7789 }
7790 if (SWIG_arg_fail(2)) SWIG_fail;
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj = NULL;
7808 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7809 wxTreeItemId *arg2 = 0 ;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "item", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
7817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail;
7819 {
7820 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(2)) SWIG_fail;
7822 if (arg2 == NULL) {
7823 SWIG_null_ref("wxTreeItemId");
7824 }
7825 if (SWIG_arg_fail(2)) SWIG_fail;
7826 }
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 Py_INCREF(Py_None); resultobj = Py_None;
7835 return resultobj;
7836 fail:
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj = NULL;
7843 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7844 wxTreeItemId *arg2 = 0 ;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "self",(char *) "item", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
7852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail;
7854 {
7855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(2)) SWIG_fail;
7857 if (arg2 == NULL) {
7858 SWIG_null_ref("wxTreeItemId");
7859 }
7860 if (SWIG_arg_fail(2)) SWIG_fail;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 Py_INCREF(Py_None); resultobj = Py_None;
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj = NULL;
7878 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
7885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 (arg1)->Unselect();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = NULL;
7903 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7904 PyObject * obj0 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
7910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail;
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 (arg1)->UnselectAll();
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 Py_INCREF(Py_None); resultobj = Py_None;
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj = NULL;
7928 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7929 wxTreeItemId *arg2 = 0 ;
7930 bool arg3 = (bool) true ;
7931 bool arg4 = (bool) false ;
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 PyObject * obj2 = 0 ;
7935 PyObject * obj3 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail;
7943 {
7944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7945 if (SWIG_arg_fail(2)) SWIG_fail;
7946 if (arg2 == NULL) {
7947 SWIG_null_ref("wxTreeItemId");
7948 }
7949 if (SWIG_arg_fail(2)) SWIG_fail;
7950 }
7951 if (obj2) {
7952 {
7953 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7954 if (SWIG_arg_fail(3)) SWIG_fail;
7955 }
7956 }
7957 if (obj3) {
7958 {
7959 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
7960 if (SWIG_arg_fail(4)) SWIG_fail;
7961 }
7962 }
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 Py_INCREF(Py_None); resultobj = Py_None;
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj = NULL;
7979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7980 bool arg2 = (bool) false ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "extended_select", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
7990 if (obj1) {
7991 {
7992 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7993 if (SWIG_arg_fail(2)) SWIG_fail;
7994 }
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->SelectAll(arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = NULL;
8012 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8013 wxTreeItemId *arg2 = 0 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "item", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 {
8024 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8025 if (SWIG_arg_fail(2)) SWIG_fail;
8026 if (arg2 == NULL) {
8027 SWIG_null_ref("wxTreeItemId");
8028 }
8029 if (SWIG_arg_fail(2)) SWIG_fail;
8030 }
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 Py_INCREF(Py_None); resultobj = Py_None;
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = NULL;
8047 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8048 wxTreeItemId *arg2 = 0 ;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "item", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
8056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8057 if (SWIG_arg_fail(1)) SWIG_fail;
8058 {
8059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(2)) SWIG_fail;
8061 if (arg2 == NULL) {
8062 SWIG_null_ref("wxTreeItemId");
8063 }
8064 if (SWIG_arg_fail(2)) SWIG_fail;
8065 }
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj = NULL;
8082 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8083 wxPoint *arg2 = 0 ;
8084 int *arg3 = 0 ;
8085 int *arg4 = 0 ;
8086 wxTreeItemId result;
8087 wxPoint temp2 ;
8088 int temp3 ;
8089 int res3 = 0 ;
8090 int temp4 ;
8091 int res4 = 0 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self",(char *) "point", NULL
8096 };
8097
8098 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8099 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8102 if (SWIG_arg_fail(1)) SWIG_fail;
8103 {
8104 arg2 = &temp2;
8105 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8106 }
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 {
8115 wxTreeItemId * resultptr;
8116 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8118 }
8119 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8120 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
8121 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8122 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
8123 return resultobj;
8124 fail:
8125 return NULL;
8126 }
8127
8128
8129 static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8130 PyObject *resultobj = NULL;
8131 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8132 wxTreeItemId *arg2 = 0 ;
8133 bool arg3 = (bool) false ;
8134 PyObject *result;
8135 PyObject * obj0 = 0 ;
8136 PyObject * obj1 = 0 ;
8137 PyObject * obj2 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "item",(char *) "textOnly", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
8143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8144 if (SWIG_arg_fail(1)) SWIG_fail;
8145 {
8146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8147 if (SWIG_arg_fail(2)) SWIG_fail;
8148 if (arg2 == NULL) {
8149 SWIG_null_ref("wxTreeItemId");
8150 }
8151 if (SWIG_arg_fail(2)) SWIG_fail;
8152 }
8153 if (obj2) {
8154 {
8155 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8156 if (SWIG_arg_fail(3)) SWIG_fail;
8157 }
8158 }
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 resultobj = result;
8167 return resultobj;
8168 fail:
8169 return NULL;
8170 }
8171
8172
8173 static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj = NULL;
8175 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8176 wxTreeItemId *arg2 = 0 ;
8177 PyObject * obj0 = 0 ;
8178 PyObject * obj1 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self",(char *) "item", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
8184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail;
8186 {
8187 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8188 if (SWIG_arg_fail(2)) SWIG_fail;
8189 if (arg2 == NULL) {
8190 SWIG_null_ref("wxTreeItemId");
8191 }
8192 if (SWIG_arg_fail(2)) SWIG_fail;
8193 }
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj = NULL;
8210 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8211 wxTreeItemId *arg2 = 0 ;
8212 PyObject * obj0 = 0 ;
8213 PyObject * obj1 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self",(char *) "item", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
8221 {
8222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8223 if (SWIG_arg_fail(2)) SWIG_fail;
8224 if (arg2 == NULL) {
8225 SWIG_null_ref("wxTreeItemId");
8226 }
8227 if (SWIG_arg_fail(2)) SWIG_fail;
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 (arg1)->Edit((wxTreeItemId const &)*arg2);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 Py_INCREF(Py_None); resultobj = Py_None;
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj = NULL;
8245 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8246 wxTreeItemId *arg2 = 0 ;
8247 PyObject * obj0 = 0 ;
8248 PyObject * obj1 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "self",(char *) "item", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
8254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8255 if (SWIG_arg_fail(1)) SWIG_fail;
8256 {
8257 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8258 if (SWIG_arg_fail(2)) SWIG_fail;
8259 if (arg2 == NULL) {
8260 SWIG_null_ref("wxTreeItemId");
8261 }
8262 if (SWIG_arg_fail(2)) SWIG_fail;
8263 }
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 Py_INCREF(Py_None); resultobj = Py_None;
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj = NULL;
8280 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8281 wxTreeItemId *arg2 = 0 ;
8282 wxString *arg3 = 0 ;
8283 int arg4 = (int) 0 ;
8284 wxTreeItemId result;
8285 bool temp3 = false ;
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 PyObject * obj2 = 0 ;
8289 PyObject * obj3 = 0 ;
8290 char *kwnames[] = {
8291 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
8292 };
8293
8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8296 if (SWIG_arg_fail(1)) SWIG_fail;
8297 {
8298 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8299 if (SWIG_arg_fail(2)) SWIG_fail;
8300 if (arg2 == NULL) {
8301 SWIG_null_ref("wxTreeItemId");
8302 }
8303 if (SWIG_arg_fail(2)) SWIG_fail;
8304 }
8305 {
8306 arg3 = wxString_in_helper(obj2);
8307 if (arg3 == NULL) SWIG_fail;
8308 temp3 = true;
8309 }
8310 if (obj3) {
8311 {
8312 arg4 = static_cast<int >(SWIG_As_int(obj3));
8313 if (SWIG_arg_fail(4)) SWIG_fail;
8314 }
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
8324 wxTreeItemId * resultptr;
8325 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8327 }
8328 {
8329 if (temp3)
8330 delete arg3;
8331 }
8332 return resultobj;
8333 fail:
8334 {
8335 if (temp3)
8336 delete arg3;
8337 }
8338 return NULL;
8339 }
8340
8341
8342 static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj = NULL;
8344 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8345 wxWindow *result;
8346 PyObject * obj0 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
8352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail;
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 {
8362 resultobj = wxPyMake_wxObject(result, 0);
8363 }
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj = NULL;
8372 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8373 wxScrolledWindow *result;
8374 PyObject * obj0 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
8380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 {
8390 resultobj = wxPyMake_wxObject(result, 0);
8391 }
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
8399 PyObject *obj;
8400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8401 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8402 Py_INCREF(obj);
8403 return Py_BuildValue((char *)"");
8404 }
8405 static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj = NULL;
8407 wxWindow *arg1 = (wxWindow *) 0 ;
8408 int arg2 = (int) -1 ;
8409 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8410 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8413 wxSize const &arg5_defvalue = wxDefaultSize ;
8414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8415 long arg6 = (long) 0 ;
8416 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
8417 wxString *arg7 = (wxString *) &arg7_defvalue ;
8418 wxStaticPicture *result;
8419 wxPoint temp4 ;
8420 wxSize temp5 ;
8421 bool temp7 = false ;
8422 PyObject * obj0 = 0 ;
8423 PyObject * obj1 = 0 ;
8424 PyObject * obj2 = 0 ;
8425 PyObject * obj3 = 0 ;
8426 PyObject * obj4 = 0 ;
8427 PyObject * obj5 = 0 ;
8428 PyObject * obj6 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail;
8436 if (obj1) {
8437 {
8438 arg2 = static_cast<int >(SWIG_As_int(obj1));
8439 if (SWIG_arg_fail(2)) SWIG_fail;
8440 }
8441 }
8442 if (obj2) {
8443 {
8444 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8445 if (SWIG_arg_fail(3)) SWIG_fail;
8446 if (arg3 == NULL) {
8447 SWIG_null_ref("wxBitmap");
8448 }
8449 if (SWIG_arg_fail(3)) SWIG_fail;
8450 }
8451 }
8452 if (obj3) {
8453 {
8454 arg4 = &temp4;
8455 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8456 }
8457 }
8458 if (obj4) {
8459 {
8460 arg5 = &temp5;
8461 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8462 }
8463 }
8464 if (obj5) {
8465 {
8466 arg6 = static_cast<long >(SWIG_As_long(obj5));
8467 if (SWIG_arg_fail(6)) SWIG_fail;
8468 }
8469 }
8470 if (obj6) {
8471 {
8472 arg7 = wxString_in_helper(obj6);
8473 if (arg7 == NULL) SWIG_fail;
8474 temp7 = true;
8475 }
8476 }
8477 {
8478 if (!wxPyCheckForApp()) SWIG_fail;
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8486 {
8487 if (temp7)
8488 delete arg7;
8489 }
8490 return resultobj;
8491 fail:
8492 {
8493 if (temp7)
8494 delete arg7;
8495 }
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj = NULL;
8502 wxStaticPicture *result;
8503 char *kwnames[] = {
8504 NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail;
8508 {
8509 if (!wxPyCheckForApp()) SWIG_fail;
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxStaticPicture *)new wxStaticPicture();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj = NULL;
8525 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8526 wxWindow *arg2 = (wxWindow *) 0 ;
8527 int arg3 = (int) -1 ;
8528 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8529 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8530 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8531 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8532 wxSize const &arg6_defvalue = wxDefaultSize ;
8533 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8534 long arg7 = (long) 0 ;
8535 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
8536 wxString *arg8 = (wxString *) &arg8_defvalue ;
8537 bool result;
8538 wxPoint temp5 ;
8539 wxSize temp6 ;
8540 bool temp8 = false ;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 PyObject * obj3 = 0 ;
8545 PyObject * obj4 = 0 ;
8546 PyObject * obj5 = 0 ;
8547 PyObject * obj6 = 0 ;
8548 PyObject * obj7 = 0 ;
8549 char *kwnames[] = {
8550 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8551 };
8552
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8555 if (SWIG_arg_fail(1)) SWIG_fail;
8556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8557 if (SWIG_arg_fail(2)) SWIG_fail;
8558 if (obj2) {
8559 {
8560 arg3 = static_cast<int >(SWIG_As_int(obj2));
8561 if (SWIG_arg_fail(3)) SWIG_fail;
8562 }
8563 }
8564 if (obj3) {
8565 {
8566 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8567 if (SWIG_arg_fail(4)) SWIG_fail;
8568 if (arg4 == NULL) {
8569 SWIG_null_ref("wxBitmap");
8570 }
8571 if (SWIG_arg_fail(4)) SWIG_fail;
8572 }
8573 }
8574 if (obj4) {
8575 {
8576 arg5 = &temp5;
8577 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8578 }
8579 }
8580 if (obj5) {
8581 {
8582 arg6 = &temp6;
8583 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8584 }
8585 }
8586 if (obj6) {
8587 {
8588 arg7 = static_cast<long >(SWIG_As_long(obj6));
8589 if (SWIG_arg_fail(7)) SWIG_fail;
8590 }
8591 }
8592 if (obj7) {
8593 {
8594 arg8 = wxString_in_helper(obj7);
8595 if (arg8 == NULL) SWIG_fail;
8596 temp8 = true;
8597 }
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8608 }
8609 {
8610 if (temp8)
8611 delete arg8;
8612 }
8613 return resultobj;
8614 fail:
8615 {
8616 if (temp8)
8617 delete arg8;
8618 }
8619 return NULL;
8620 }
8621
8622
8623 static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8624 PyObject *resultobj = NULL;
8625 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8626 wxBitmap *arg2 = 0 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self",(char *) "bmp", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
8634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail;
8636 {
8637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8638 if (SWIG_arg_fail(2)) SWIG_fail;
8639 if (arg2 == NULL) {
8640 SWIG_null_ref("wxBitmap");
8641 }
8642 if (SWIG_arg_fail(2)) SWIG_fail;
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 Py_INCREF(Py_None); resultobj = Py_None;
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj = NULL;
8660 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8661 wxBitmap result;
8662 PyObject * obj0 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail;
8668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = ((wxStaticPicture const *)arg1)->GetBitmap();
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 {
8678 wxBitmap * resultptr;
8679 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
8680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8681 }
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj = NULL;
8690 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8691 wxIcon *arg2 = 0 ;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "icon", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail;
8699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8700 if (SWIG_arg_fail(1)) SWIG_fail;
8701 {
8702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
8703 if (SWIG_arg_fail(2)) SWIG_fail;
8704 if (arg2 == NULL) {
8705 SWIG_null_ref("wxIcon");
8706 }
8707 if (SWIG_arg_fail(2)) SWIG_fail;
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 (arg1)->SetIcon((wxIcon const &)*arg2);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 Py_INCREF(Py_None); resultobj = Py_None;
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj = NULL;
8725 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8726 wxIcon result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail;
8733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = ((wxStaticPicture const *)arg1)->GetIcon();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 wxIcon * resultptr;
8744 resultptr = new wxIcon(static_cast<wxIcon & >(result));
8745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
8746 }
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj = NULL;
8755 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8756 int arg2 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "align", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail;
8766 {
8767 arg2 = static_cast<int >(SWIG_As_int(obj1));
8768 if (SWIG_arg_fail(2)) SWIG_fail;
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetAlignment(arg2);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj = NULL;
8786 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8787 int result;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail;
8794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8795 if (SWIG_arg_fail(1)) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 resultobj = SWIG_From_int(static_cast<int >(result));
8805 }
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = NULL;
8814 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8815 int arg2 ;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self",(char *) "scale", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail;
8823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8824 if (SWIG_arg_fail(1)) SWIG_fail;
8825 {
8826 arg2 = static_cast<int >(SWIG_As_int(obj1));
8827 if (SWIG_arg_fail(2)) SWIG_fail;
8828 }
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 (arg1)->SetScale(arg2);
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj = NULL;
8845 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8846 int result;
8847 PyObject * obj0 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail;
8853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 result = (int)((wxStaticPicture const *)arg1)->GetScale();
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 {
8863 resultobj = SWIG_From_int(static_cast<int >(result));
8864 }
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj = NULL;
8873 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8874 float arg2 ;
8875 float arg3 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 PyObject * obj2 = 0 ;
8879 char *kwnames[] = {
8880 (char *) "self",(char *) "sx",(char *) "sy", NULL
8881 };
8882
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8885 if (SWIG_arg_fail(1)) SWIG_fail;
8886 {
8887 arg2 = static_cast<float >(SWIG_As_float(obj1));
8888 if (SWIG_arg_fail(2)) SWIG_fail;
8889 }
8890 {
8891 arg3 = static_cast<float >(SWIG_As_float(obj2));
8892 if (SWIG_arg_fail(3)) SWIG_fail;
8893 }
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->SetCustomScale(arg2,arg3);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj = NULL;
8910 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8911 float *arg2 = (float *) 0 ;
8912 float *arg3 = (float *) 0 ;
8913 float temp2 ;
8914 int res2 = 0 ;
8915 float temp3 ;
8916 int res3 = 0 ;
8917 PyObject * obj0 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self", NULL
8920 };
8921
8922 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8923 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail;
8925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8936 SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0)));
8937 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8938 SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0)));
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) {
8946 PyObject *obj;
8947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8948 SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj);
8949 Py_INCREF(obj);
8950 return Py_BuildValue((char *)"");
8951 }
8952 static PyMethodDef SwigMethods[] = {
8953 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8954 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8955 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8956 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8957 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8958 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8959 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8960 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8961 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8962 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8963 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8964 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8965 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8966 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8967 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8968 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8969 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8970 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8971 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8972 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8973 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8974 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8975 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8976 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8977 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8978 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8979 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8980 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8981 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8982 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8983 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8984 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8985 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8986 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8987 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8988 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8989 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8990 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8991 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8992 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8993 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8994 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8995 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8996 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8997 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8998 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8999 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
9000 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9001 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
9002 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9003 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
9004 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9005 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9006 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9007 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
9008 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9009 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
9010 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9011 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9012 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9013 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
9014 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9015 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9016 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9017 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9018 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
9019 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9020 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9021 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9022 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9023 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9024 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9025 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9026 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9027 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9028 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9029 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9030 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9031 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9032 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9033 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9034 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9035 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9036 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9037 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
9038 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9039 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9040 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9041 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9042 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9043 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9044 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9045 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9046 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9047 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9048 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9049 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9050 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9051 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
9052 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9053 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9054 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9055 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9056 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9057 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9058 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9059 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9060 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9061 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9062 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9063 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9064 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9065 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9066 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9067 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9068 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9069 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9070 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9071 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
9072 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
9073 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
9074 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
9075 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
9076 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
9077 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
9078 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
9079 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
9080 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
9081 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
9082 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9083 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9084 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
9085 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9086 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9087 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
9088 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
9089 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
9090 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
9091 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
9092 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
9093 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
9094 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9095 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
9096 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
9097 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
9098 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
9099 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
9100 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
9101 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
9102 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9103 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
9104 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9105 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9106 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
9107 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
9108 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
9109 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
9110 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
9111 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9112 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
9113 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9114 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9115 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
9116 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9117 { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9118 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9119 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9120 { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9121 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9122 { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9123 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9124 { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9125 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9126 { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9127 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9128 { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9129 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
9130 { NULL, NULL, 0, NULL }
9131 };
9132
9133
9134 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9135
9136 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
9137 return (void *)((wxValidator *) ((wxPyValidator *) x));
9138 }
9139 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
9140 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
9141 }
9142 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
9143 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
9144 }
9145 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
9146 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9147 }
9148 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
9149 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9150 }
9151 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
9152 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9153 }
9154 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
9155 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9156 }
9157 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
9158 return (void *)((wxPanel *) ((wxPyPanel *) x));
9159 }
9160 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
9161 return (void *)((wxPanel *) ((wxEditableListBox *) x));
9162 }
9163 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
9164 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
9165 }
9166 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
9167 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
9168 }
9169 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
9170 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9171 }
9172 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
9173 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
9174 }
9175 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
9176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9177 }
9178 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
9179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9180 }
9181 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
9182 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
9183 }
9184 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
9185 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
9186 }
9187 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
9188 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9189 }
9190 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
9191 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
9192 }
9193 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
9194 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
9195 }
9196 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
9197 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
9198 }
9199 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
9200 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9201 }
9202 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
9203 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
9204 }
9205 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
9206 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9207 }
9208 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
9209 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
9210 }
9211 static void *_p_wxControlTo_p_wxWindow(void *x) {
9212 return (void *)((wxWindow *) ((wxControl *) x));
9213 }
9214 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
9215 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
9216 }
9217 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
9218 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
9219 }
9220 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
9221 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
9222 }
9223 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
9224 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
9225 }
9226 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
9227 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
9228 }
9229 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
9230 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9231 }
9232 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
9233 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
9234 }
9235 static void *_p_wxListViewTo_p_wxWindow(void *x) {
9236 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9237 }
9238 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
9239 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
9240 }
9241 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
9242 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9243 }
9244 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
9245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9246 }
9247 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
9248 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9249 }
9250 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
9251 return (void *)((wxWindow *) ((wxPyWindow *) x));
9252 }
9253 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
9254 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9255 }
9256 static void *_p_wxListbookTo_p_wxWindow(void *x) {
9257 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9258 }
9259 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
9260 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9261 }
9262 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
9263 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9264 }
9265 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
9266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9267 }
9268 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
9269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9270 }
9271 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
9272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9273 }
9274 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9276 }
9277 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9279 }
9280 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9281 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9282 }
9283 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9284 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9285 }
9286 static void *_p_wxSliderTo_p_wxWindow(void *x) {
9287 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9288 }
9289 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9290 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9291 }
9292 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9293 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9294 }
9295 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9296 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9297 }
9298 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9299 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9300 }
9301 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9302 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9303 }
9304 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9305 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9306 }
9307 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9308 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9309 }
9310 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9311 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9312 }
9313 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9314 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9315 }
9316 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9317 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9318 }
9319 static void *_p_wxButtonTo_p_wxWindow(void *x) {
9320 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9321 }
9322 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9323 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9324 }
9325 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9326 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9327 }
9328 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9329 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9330 }
9331 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9332 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9333 }
9334 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9336 }
9337 static void *_p_wxFrameTo_p_wxWindow(void *x) {
9338 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9339 }
9340 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9341 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9342 }
9343 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9344 return (void *)((wxWindow *) ((wxStatusBar *) x));
9345 }
9346 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9347 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9348 }
9349 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9350 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9351 }
9352 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9353 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9354 }
9355 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9356 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9357 }
9358 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9359 return (void *)((wxWindow *) ((wxSashWindow *) x));
9360 }
9361 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9362 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9363 }
9364 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9365 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9366 }
9367 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9368 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9369 }
9370 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9371 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9372 }
9373 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9374 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9375 }
9376 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9377 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9378 }
9379 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9380 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9381 }
9382 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9383 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
9384 }
9385 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9386 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9387 }
9388 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9389 return (void *)((wxWindow *) ((wxMenuBar *) x));
9390 }
9391 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9392 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9393 }
9394 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9395 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9396 }
9397 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9398 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9399 }
9400 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9401 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9402 }
9403 static void *_p_wxDialogTo_p_wxWindow(void *x) {
9404 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9405 }
9406 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9407 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9408 }
9409 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9410 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9411 }
9412 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9413 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9414 }
9415 static void *_p_wxPanelTo_p_wxWindow(void *x) {
9416 return (void *)((wxWindow *) ((wxPanel *) x));
9417 }
9418 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9419 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9420 }
9421 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9422 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9423 }
9424 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9425 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9426 }
9427 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9428 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9429 }
9430 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9431 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9432 }
9433 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9434 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9435 }
9436 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9437 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9438 }
9439 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9440 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9441 }
9442 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9443 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9444 }
9445 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9446 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9447 }
9448 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9449 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
9450 }
9451 static void *_p_wxToolBarTo_p_wxControl(void *x) {
9452 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9453 }
9454 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9455 return (void *)((wxControl *) ((wxToggleButton *) x));
9456 }
9457 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9458 return (void *)((wxControl *) ((wxRadioButton *) x));
9459 }
9460 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9461 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9462 }
9463 static void *_p_wxToolbookTo_p_wxControl(void *x) {
9464 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
9465 }
9466 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9467 return (void *)((wxControl *) ((wxToolBarBase *) x));
9468 }
9469 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9470 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9471 }
9472 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9473 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9474 }
9475 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9476 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9477 }
9478 static void *_p_wxPyControlTo_p_wxControl(void *x) {
9479 return (void *)((wxControl *) ((wxPyControl *) x));
9480 }
9481 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9482 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9483 }
9484 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9485 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9486 }
9487 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9488 return (void *)((wxControl *) ((wxScrollBar *) x));
9489 }
9490 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9491 return (void *)((wxControl *) ((wxControlWithItems *) x));
9492 }
9493 static void *_p_wxGaugeTo_p_wxControl(void *x) {
9494 return (void *)((wxControl *) ((wxGauge *) x));
9495 }
9496 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9497 return (void *)((wxControl *) ((wxStaticLine *) x));
9498 }
9499 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
9500 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
9501 }
9502 static void *_p_wxListbookTo_p_wxControl(void *x) {
9503 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
9504 }
9505 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9506 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9507 }
9508 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9509 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9510 }
9511 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9512 return (void *)((wxControl *) ((wxCheckBox *) x));
9513 }
9514 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9515 return (void *)((wxControl *) ((wxRadioBox *) x));
9516 }
9517 static void *_p_wxChoiceTo_p_wxControl(void *x) {
9518 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9519 }
9520 static void *_p_wxListBoxTo_p_wxControl(void *x) {
9521 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9522 }
9523 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9524 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9525 }
9526 static void *_p_wxListViewTo_p_wxControl(void *x) {
9527 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9528 }
9529 static void *_p_wxNotebookTo_p_wxControl(void *x) {
9530 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
9531 }
9532 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9533 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9534 }
9535 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9536 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9537 }
9538 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9539 return (void *)((wxControl *) ((wxStaticText *) x));
9540 }
9541 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9542 return (void *)((wxControl *) ((wxStaticBox *) x));
9543 }
9544 static void *_p_wxSliderTo_p_wxControl(void *x) {
9545 return (void *)((wxControl *) ((wxSlider *) x));
9546 }
9547 static void *_p_wxTreebookTo_p_wxControl(void *x) {
9548 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
9549 }
9550 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9551 return (void *)((wxControl *) ((wxSpinButton *) x));
9552 }
9553 static void *_p_wxButtonTo_p_wxControl(void *x) {
9554 return (void *)((wxControl *) ((wxButton *) x));
9555 }
9556 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9557 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9558 }
9559 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9560 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9561 }
9562 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9563 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9564 }
9565 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9566 return (void *)((wxControl *) ((wxStaticPicture *) x));
9567 }
9568 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9569 return (void *)((wxControl *) ((wxTextCtrl *) x));
9570 }
9571 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9572 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9573 }
9574 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9575 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9576 }
9577 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9578 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9579 }
9580 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9581 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9582 }
9583 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9584 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9585 }
9586 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9587 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9588 }
9589 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9590 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9591 }
9592 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9593 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9594 }
9595 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9596 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9597 }
9598 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9599 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9600 }
9601 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9602 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9603 }
9604 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9605 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9606 }
9607 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9608 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9609 }
9610 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9612 }
9613 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9614 return (void *)((wxEvent *) ((wxPyEvent *) x));
9615 }
9616 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9618 }
9619 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9620 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9621 }
9622 static void *_p_wxListEventTo_p_wxEvent(void *x) {
9623 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9624 }
9625 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9626 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9627 }
9628 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9629 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9630 }
9631 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
9632 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
9633 }
9634 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
9635 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
9636 }
9637 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
9638 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
9639 }
9640 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
9641 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
9642 }
9643 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
9644 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
9645 }
9646 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9648 }
9649 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9650 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9651 }
9652 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9653 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9654 }
9655 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9656 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9657 }
9658 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9659 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9660 }
9661 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9662 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9663 }
9664 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9665 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9666 }
9667 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9668 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9669 }
9670 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9671 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9672 }
9673 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9674 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9675 }
9676 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9677 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9678 }
9679 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9680 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9681 }
9682 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9684 }
9685 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9686 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9687 }
9688 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9689 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9690 }
9691 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9692 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9693 }
9694 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9695 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9696 }
9697 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9698 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9699 }
9700 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9701 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9702 }
9703 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9704 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9705 }
9706 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9707 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9708 }
9709 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9710 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9711 }
9712 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9713 return (void *)((wxEvent *) ((wxShowEvent *) x));
9714 }
9715 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9716 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9717 }
9718 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9719 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9720 }
9721 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9723 }
9724 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9725 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9726 }
9727 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9728 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9729 }
9730 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9731 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9732 }
9733 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9734 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9735 }
9736 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9737 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9738 }
9739 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9741 }
9742 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9744 }
9745 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9747 }
9748 static void *_p_wxEventTo_p_wxObject(void *x) {
9749 return (void *)((wxObject *) ((wxEvent *) x));
9750 }
9751 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9752 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9753 }
9754 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9755 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9756 }
9757 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9758 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9759 }
9760 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9762 }
9763 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9765 }
9766 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9768 }
9769 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9770 return (void *)((wxObject *) ((wxMenuItem *) x));
9771 }
9772 static void *_p_wxImageTo_p_wxObject(void *x) {
9773 return (void *)((wxObject *) ((wxImage *) x));
9774 }
9775 static void *_p_wxPySizerTo_p_wxObject(void *x) {
9776 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9777 }
9778 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9780 }
9781 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9782 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9783 }
9784 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9786 }
9787 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9788 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
9789 }
9790 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9791 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9792 }
9793 static void *_p_wxPyAppTo_p_wxObject(void *x) {
9794 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9795 }
9796 static void *_p_wxTreebookTo_p_wxObject(void *x) {
9797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
9798 }
9799 static void *_p_wxNotebookTo_p_wxObject(void *x) {
9800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9801 }
9802 static void *_p_wxListItemTo_p_wxObject(void *x) {
9803 return (void *)((wxObject *) ((wxListItem *) x));
9804 }
9805 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
9806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9807 }
9808 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
9810 }
9811 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9813 }
9814 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9816 }
9817 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9819 }
9820 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9822 }
9823 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9824 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9825 }
9826 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9828 }
9829 static void *_p_wxValidatorTo_p_wxObject(void *x) {
9830 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9831 }
9832 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9833 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9834 }
9835 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9836 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9837 }
9838 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9839 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9840 }
9841 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9842 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9843 }
9844 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9846 }
9847 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9849 }
9850 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9851 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9852 }
9853 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9855 }
9856 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9857 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9858 }
9859 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9860 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9861 }
9862 static void *_p_wxPrinterTo_p_wxObject(void *x) {
9863 return (void *)((wxObject *) ((wxPrinter *) x));
9864 }
9865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9867 }
9868 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9870 }
9871 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9872 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9873 }
9874 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9875 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9876 }
9877 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9878 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9879 }
9880 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9881 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9882 }
9883 static void *_p_wxControlTo_p_wxObject(void *x) {
9884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9885 }
9886 static void *_p_wxPyControlTo_p_wxObject(void *x) {
9887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9888 }
9889 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9890 return (void *)((wxObject *) ((wxContextHelp *) x));
9891 }
9892 static void *_p_wxColourDataTo_p_wxObject(void *x) {
9893 return (void *)((wxObject *) ((wxColourData *) x));
9894 }
9895 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9896 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9897 }
9898 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9899 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9900 }
9901 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9902 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9903 }
9904 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9905 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9906 }
9907 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9908 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9909 }
9910 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9911 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9912 }
9913 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9915 }
9916 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9917 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9918 }
9919 static void *_p_wxDateEventTo_p_wxObject(void *x) {
9920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9921 }
9922 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9924 }
9925 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9926 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9927 }
9928 static void *_p_wxListEventTo_p_wxObject(void *x) {
9929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9930 }
9931 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9933 }
9934 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9935 return (void *)((wxObject *) ((wxPyPrintout *) x));
9936 }
9937 static void *_p_wxGaugeTo_p_wxObject(void *x) {
9938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9939 }
9940 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9942 }
9943 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9944 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9945 }
9946 static void *_p_wxChoiceTo_p_wxObject(void *x) {
9947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9948 }
9949 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9951 }
9952 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9954 }
9955 static void *_p_wxButtonTo_p_wxObject(void *x) {
9956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9957 }
9958 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9960 }
9961 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9962 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9963 }
9964 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9965 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9966 }
9967 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9969 }
9970 static void *_p_wxSashEventTo_p_wxObject(void *x) {
9971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9972 }
9973 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9975 }
9976 static void *_p_wxListBoxTo_p_wxObject(void *x) {
9977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9978 }
9979 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9981 }
9982 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9984 }
9985 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9986 return (void *)((wxObject *) ((wxPrintData *) x));
9987 }
9988 static void *_p_wxFontDataTo_p_wxObject(void *x) {
9989 return (void *)((wxObject *) ((wxFontData *) x));
9990 }
9991 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9993 }
9994 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9996 }
9997 static void *_p_wxListbookTo_p_wxObject(void *x) {
9998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9999 }
10000 static void *_p_wxFrameTo_p_wxObject(void *x) {
10001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10002 }
10003 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10005 }
10006 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
10007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
10008 }
10009 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10010 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10011 }
10012 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10014 }
10015 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10016 return (void *)((wxObject *) ((wxFileSystem *) x));
10017 }
10018 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10019 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10020 }
10021 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10022 return (void *)((wxObject *) ((wxPrintPreview *) x));
10023 }
10024 static void *_p_wxListViewTo_p_wxObject(void *x) {
10025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10026 }
10027 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10028 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10029 }
10030 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
10031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10032 }
10033 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
10034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10035 }
10036 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
10037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10038 }
10039 static void *_p_wxSizerTo_p_wxObject(void *x) {
10040 return (void *)((wxObject *) ((wxSizer *) x));
10041 }
10042 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10043 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10044 }
10045 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10046 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10047 }
10048 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10049 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10050 }
10051 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10052 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10053 }
10054 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10055 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10056 }
10057 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10058 return (void *)((wxObject *) ((wxFSFile *) x));
10059 }
10060 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10061 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10062 }
10063 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10064 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10065 }
10066 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
10067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10068 }
10069 static void *_p_wxMenuTo_p_wxObject(void *x) {
10070 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10071 }
10072 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
10073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
10074 }
10075 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
10076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
10077 }
10078 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10079 return (void *)((wxObject *) ((wxSizerItem *) x));
10080 }
10081 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10082 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10083 }
10084 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10085 return (void *)((wxObject *) ((wxPrintDialog *) x));
10086 }
10087 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10088 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
10089 }
10090 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10092 }
10093 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10095 }
10096 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10098 }
10099 static void *_p_wxDialogTo_p_wxObject(void *x) {
10100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10101 }
10102 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10103 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10104 }
10105 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10106 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10107 }
10108 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
10109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10110 }
10111 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
10112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10113 }
10114 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
10115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10116 }
10117 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10118 return (void *)((wxObject *) ((wxEvtHandler *) x));
10119 }
10120 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10121 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10122 }
10123 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10124 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10125 }
10126 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10127 return (void *)((wxObject *) ((wxImageHandler *) x));
10128 }
10129 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
10130 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
10131 }
10132 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10133 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10134 }
10135 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10136 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10137 }
10138 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10139 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10140 }
10141 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10142 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10143 }
10144 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10145 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10146 }
10147 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10148 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10149 }
10150 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10151 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10152 }
10153 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10154 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10155 }
10156 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10157 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10158 }
10159 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10160 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10161 }
10162 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
10163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10164 }
10165 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10167 }
10168 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10170 }
10171 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10173 }
10174 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10176 }
10177 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10179 }
10180 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10182 }
10183 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10185 }
10186 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10188 }
10189 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10191 }
10192 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10194 }
10195 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10197 }
10198 static void *_p_wxWindowTo_p_wxObject(void *x) {
10199 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10200 }
10201 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
10202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
10203 }
10204 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
10205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
10206 }
10207 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
10208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10209 }
10210 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
10211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10212 }
10213 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
10214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10215 }
10216 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
10217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10218 }
10219 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
10220 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10221 }
10222 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
10223 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10224 }
10225 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
10226 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
10227 }
10228 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
10229 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
10230 }
10231 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10233 }
10234 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10236 }
10237 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10239 }
10240 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
10241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10242 }
10243 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10245 }
10246 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10248 }
10249 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10251 }
10252 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10254 }
10255 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
10256 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
10257 }
10258 static void *_p_wxSliderTo_p_wxObject(void *x) {
10259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
10260 }
10261 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10263 }
10264 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
10265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10266 }
10267 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10268 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10269 }
10270 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10271 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10272 }
10273 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10274 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10275 }
10276 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10277 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10278 }
10279 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
10280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
10281 }
10282 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
10283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
10284 }
10285 static void *_p_wxPanelTo_p_wxObject(void *x) {
10286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10287 }
10288 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
10289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
10290 }
10291 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10292 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10293 }
10294 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10295 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10296 }
10297 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10298 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10299 }
10300 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10301 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10302 }
10303 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10305 }
10306 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10307 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10308 }
10309 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10311 }
10312 static void *_p_wxToolbookTo_p_wxObject(void *x) {
10313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
10314 }
10315 static void *_p_wxToolBarTo_p_wxObject(void *x) {
10316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10317 }
10318 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10320 }
10321 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10323 }
10324 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10325 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10326 }
10327 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10328 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10329 }
10330 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10332 }
10333 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10335 }
10336 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
10337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
10338 }
10339 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10340 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10341 }
10342 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10344 }
10345 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10347 }
10348 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10350 }
10351 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10353 }
10354 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10355 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10356 }
10357 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10358 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10359 }
10360 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10362 }
10363 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10365 }
10366 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10368 }
10369 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10371 }
10372 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10373 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10374 }
10375 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10377 }
10378 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10379 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10380 }
10381 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10383 }
10384 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10386 }
10387 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10389 }
10390 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10392 }
10393 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10395 }
10396 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10398 }
10399 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
10400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
10401 }
10402 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10404 }
10405 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10407 }
10408 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
10409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
10410 }
10411 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10412 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10413 }
10414 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
10415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
10416 }
10417 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10418 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10419 }
10420 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10421 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10422 }
10423 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
10424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
10425 }
10426 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10428 }
10429 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10430 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10431 }
10432 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10433 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10434 }
10435 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10437 }
10438 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10439 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10440 }
10441 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10442 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10443 }
10444 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10445 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10446 }
10447 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10449 }
10450 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10452 }
10453 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10455 }
10456 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10458 }
10459 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10461 }
10462 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10464 }
10465 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10467 }
10468 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10469 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10470 }
10471 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10472 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10473 }
10474 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10475 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10476 }
10477 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10479 }
10480 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10482 }
10483 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10485 }
10486 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10488 }
10489 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10491 }
10492 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10494 }
10495 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10497 }
10498 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
10500 }
10501 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10502 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10503 }
10504 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10505 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10506 }
10507 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10509 }
10510 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10512 }
10513 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10515 }
10516 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10518 }
10519 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10520 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10521 }
10522 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10523 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10524 }
10525 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10527 }
10528 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10529 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10530 }
10531 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10532 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10533 }
10534 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10536 }
10537 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10539 }
10540 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10541 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10542 }
10543 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10544 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10545 }
10546 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10547 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10548 }
10549 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10550 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10551 }
10552 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10553 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10554 }
10555 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10556 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10557 }
10558 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10559 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10560 }
10561 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10562 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10563 }
10564 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10565 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10566 }
10567 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10568 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10569 }
10570 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10571 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10572 }
10573 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10574 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10575 }
10576 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10577 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10578 }
10579 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10580 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10581 }
10582 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10584 }
10585 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10587 }
10588 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10589 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10590 }
10591 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10592 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10593 }
10594 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10596 }
10597 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10598 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10599 }
10600 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10601 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10602 }
10603 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10605 }
10606 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10607 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10608 }
10609 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10611 }
10612 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10613 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10614 }
10615 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10616 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10617 }
10618 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10619 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10620 }
10621 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10622 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10623 }
10624 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10625 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10626 }
10627 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10628 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10629 }
10630 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10631 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10632 }
10633 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10634 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10635 }
10636 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10637 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10638 }
10639 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10640 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10641 }
10642 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10643 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10644 }
10645 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
10646 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10647 }
10648 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
10649 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10650 }
10651 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
10652 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10653 }
10654 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
10655 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
10656 }
10657 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
10658 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
10659 }
10660 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10661 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10662 }
10663 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10664 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10665 }
10666 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10667 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10668 }
10669 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10670 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10671 }
10672 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10673 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10674 }
10675 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10676 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10677 }
10678 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10679 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10680 }
10681 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10682 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10683 }
10684 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10685 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10686 }
10687 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10688 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10689 }
10690 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10691 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10692 }
10693 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10694 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10695 }
10696 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
10697 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, 0};
10698 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
10699 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
10700 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
10701 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
10702 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
10703 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
10704 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
10705 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
10706 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
10707 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
10708 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
10709 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
10710 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0};
10711 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
10712 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
10713 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
10714 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
10715 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0};
10716 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0};
10717 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0};
10718 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0};
10719 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0};
10720 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
10721 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
10722 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0};
10723 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0};
10724 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0};
10725 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0};
10726 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0};
10727 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
10728 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
10729 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
10730 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
10731 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0};
10732 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0};
10733 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0};
10734 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0};
10735 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0};
10736 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0};
10737 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0};
10738 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0};
10739 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0};
10740 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0};
10741 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
10742 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0};
10743 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0};
10744 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0};
10745 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0};
10746 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0};
10747 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0};
10748 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0};
10749 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0};
10750 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0};
10751 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0};
10752 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0};
10753 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0};
10754 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0};
10755 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0};
10756 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0};
10757 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0};
10758 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0};
10759 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0};
10760 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0};
10761 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0};
10762 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0};
10763 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0};
10764 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0};
10765 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
10766 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0};
10767 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0};
10768 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0};
10769 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, 0};
10770 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
10771 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
10772 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
10773 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
10774 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
10775 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
10776 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
10777 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
10778 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
10779 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
10780 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
10781 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
10782 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
10783 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
10784 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
10785 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
10786 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
10787 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
10788 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
10789 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
10790 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
10791 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
10792 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
10793 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
10794 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
10795 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
10796 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
10797 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
10798 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
10799 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
10800 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
10801 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
10802 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
10803 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
10804 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
10805 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
10806 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
10807 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
10808 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
10809 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
10810 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
10811 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
10812 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
10813 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
10814 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
10815 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
10816 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
10817 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
10818 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
10819 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
10820 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
10821 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
10822 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
10823 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
10824 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
10825 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
10826 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
10827 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
10828 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
10829 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
10830 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
10831 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
10832 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0};
10833 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
10834 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
10835 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0};
10836 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
10837 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
10838 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
10839 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
10840 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
10841 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
10842 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
10843 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
10844 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
10845 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
10846 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0};
10847 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
10848 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
10849 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
10850 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
10851 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
10852 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0};
10853 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
10854 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0};
10855 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
10856 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
10857 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
10858 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
10859 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
10860 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
10861 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
10862 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0};
10863 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
10864 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
10865 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
10866 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
10867 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
10868 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
10869 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
10870 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
10871 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
10872 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
10873 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
10874 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
10875 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
10876 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
10877 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
10878 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
10879 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
10880 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
10881 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
10882 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
10883 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
10884 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
10885 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
10886 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
10887 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
10888 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
10889 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
10890 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
10891 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
10892 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
10893 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
10894 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0};
10895 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
10896 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
10897 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
10898 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0};
10899 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
10900 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
10901 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0};
10902 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0};
10903 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
10904 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
10905 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0};
10906 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
10907 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0};
10908 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0};
10909 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
10910 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0};
10911 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
10912 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
10913 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
10914 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
10915 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
10916
10917 static swig_type_info *swig_type_initial[] = {
10918 &_swigt__p_char,
10919 &_swigt__p_float,
10920 &_swigt__p_form_ops_t,
10921 &_swigt__p_int,
10922 &_swigt__p_unsigned_char,
10923 &_swigt__p_unsigned_int,
10924 &_swigt__p_unsigned_long,
10925 &_swigt__p_wxANIHandler,
10926 &_swigt__p_wxAcceleratorTable,
10927 &_swigt__p_wxActivateEvent,
10928 &_swigt__p_wxArrayString,
10929 &_swigt__p_wxBMPHandler,
10930 &_swigt__p_wxBitmap,
10931 &_swigt__p_wxBitmapButton,
10932 &_swigt__p_wxBookCtrlBase,
10933 &_swigt__p_wxBookCtrlBaseEvent,
10934 &_swigt__p_wxBoxSizer,
10935 &_swigt__p_wxButton,
10936 &_swigt__p_wxCURHandler,
10937 &_swigt__p_wxCalculateLayoutEvent,
10938 &_swigt__p_wxCheckBox,
10939 &_swigt__p_wxCheckListBox,
10940 &_swigt__p_wxChildFocusEvent,
10941 &_swigt__p_wxChoice,
10942 &_swigt__p_wxChoicebook,
10943 &_swigt__p_wxChoicebookEvent,
10944 &_swigt__p_wxCloseEvent,
10945 &_swigt__p_wxColour,
10946 &_swigt__p_wxColourData,
10947 &_swigt__p_wxColourDialog,
10948 &_swigt__p_wxComboBox,
10949 &_swigt__p_wxCommandEvent,
10950 &_swigt__p_wxContextHelp,
10951 &_swigt__p_wxContextHelpButton,
10952 &_swigt__p_wxContextMenuEvent,
10953 &_swigt__p_wxControl,
10954 &_swigt__p_wxControlWithItems,
10955 &_swigt__p_wxDateEvent,
10956 &_swigt__p_wxDatePickerCtrl,
10957 &_swigt__p_wxDialog,
10958 &_swigt__p_wxDirDialog,
10959 &_swigt__p_wxDirFilterListCtrl,
10960 &_swigt__p_wxDisplayChangedEvent,
10961 &_swigt__p_wxDropFilesEvent,
10962 &_swigt__p_wxDuplexMode,
10963 &_swigt__p_wxDynamicSashSplitEvent,
10964 &_swigt__p_wxDynamicSashUnifyEvent,
10965 &_swigt__p_wxDynamicSashWindow,
10966 &_swigt__p_wxEditableListBox,
10967 &_swigt__p_wxEraseEvent,
10968 &_swigt__p_wxEvent,
10969 &_swigt__p_wxEvtHandler,
10970 &_swigt__p_wxFSFile,
10971 &_swigt__p_wxFileDialog,
10972 &_swigt__p_wxFileSystem,
10973 &_swigt__p_wxFindDialogEvent,
10974 &_swigt__p_wxFindReplaceData,
10975 &_swigt__p_wxFindReplaceDialog,
10976 &_swigt__p_wxFlexGridSizer,
10977 &_swigt__p_wxFocusEvent,
10978 &_swigt__p_wxFont,
10979 &_swigt__p_wxFontData,
10980 &_swigt__p_wxFontDialog,
10981 &_swigt__p_wxFrame,
10982 &_swigt__p_wxGBSizerItem,
10983 &_swigt__p_wxGIFHandler,
10984 &_swigt__p_wxGauge,
10985 &_swigt__p_wxGenericDirCtrl,
10986 &_swigt__p_wxGenericDragImage,
10987 &_swigt__p_wxGridBagSizer,
10988 &_swigt__p_wxGridSizer,
10989 &_swigt__p_wxHelpEvent,
10990 &_swigt__p_wxICOHandler,
10991 &_swigt__p_wxIcon,
10992 &_swigt__p_wxIconizeEvent,
10993 &_swigt__p_wxIdleEvent,
10994 &_swigt__p_wxImage,
10995 &_swigt__p_wxImageHandler,
10996 &_swigt__p_wxImageList,
10997 &_swigt__p_wxIndividualLayoutConstraint,
10998 &_swigt__p_wxInitDialogEvent,
10999 &_swigt__p_wxJPEGHandler,
11000 &_swigt__p_wxKeyEvent,
11001 &_swigt__p_wxLEDNumberCtrl,
11002 &_swigt__p_wxLayoutAlgorithm,
11003 &_swigt__p_wxLayoutConstraints,
11004 &_swigt__p_wxListBox,
11005 &_swigt__p_wxListEvent,
11006 &_swigt__p_wxListItem,
11007 &_swigt__p_wxListView,
11008 &_swigt__p_wxListbook,
11009 &_swigt__p_wxListbookEvent,
11010 &_swigt__p_wxMDIChildFrame,
11011 &_swigt__p_wxMDIClientWindow,
11012 &_swigt__p_wxMDIParentFrame,
11013 &_swigt__p_wxMaximizeEvent,
11014 &_swigt__p_wxMenu,
11015 &_swigt__p_wxMenuBar,
11016 &_swigt__p_wxMenuEvent,
11017 &_swigt__p_wxMenuItem,
11018 &_swigt__p_wxMessageDialog,
11019 &_swigt__p_wxMiniFrame,
11020 &_swigt__p_wxMouseCaptureChangedEvent,
11021 &_swigt__p_wxMouseEvent,
11022 &_swigt__p_wxMoveEvent,
11023 &_swigt__p_wxMultiChoiceDialog,
11024 &_swigt__p_wxNavigationKeyEvent,
11025 &_swigt__p_wxNcPaintEvent,
11026 &_swigt__p_wxNotebook,
11027 &_swigt__p_wxNotebookEvent,
11028 &_swigt__p_wxNotifyEvent,
11029 &_swigt__p_wxObject,
11030 &_swigt__p_wxPCXHandler,
11031 &_swigt__p_wxPNGHandler,
11032 &_swigt__p_wxPNMHandler,
11033 &_swigt__p_wxPageSetupDialog,
11034 &_swigt__p_wxPageSetupDialogData,
11035 &_swigt__p_wxPaintEvent,
11036 &_swigt__p_wxPaletteChangedEvent,
11037 &_swigt__p_wxPanel,
11038 &_swigt__p_wxPaperSize,
11039 &_swigt__p_wxPasswordEntryDialog,
11040 &_swigt__p_wxPopupWindow,
11041 &_swigt__p_wxPreviewCanvas,
11042 &_swigt__p_wxPreviewControlBar,
11043 &_swigt__p_wxPreviewFrame,
11044 &_swigt__p_wxPrintData,
11045 &_swigt__p_wxPrintDialog,
11046 &_swigt__p_wxPrintDialogData,
11047 &_swigt__p_wxPrintPreview,
11048 &_swigt__p_wxPrinter,
11049 &_swigt__p_wxProgressDialog,
11050 &_swigt__p_wxPyApp,
11051 &_swigt__p_wxPyCommandEvent,
11052 &_swigt__p_wxPyControl,
11053 &_swigt__p_wxPyEvent,
11054 &_swigt__p_wxPyHtmlListBox,
11055 &_swigt__p_wxPyImageHandler,
11056 &_swigt__p_wxPyListCtrl,
11057 &_swigt__p_wxPyPanel,
11058 &_swigt__p_wxPyPopupTransientWindow,
11059 &_swigt__p_wxPyPreviewControlBar,
11060 &_swigt__p_wxPyPreviewFrame,
11061 &_swigt__p_wxPyPrintPreview,
11062 &_swigt__p_wxPyPrintout,
11063 &_swigt__p_wxPyScrolledWindow,
11064 &_swigt__p_wxPySizer,
11065 &_swigt__p_wxPyTaskBarIcon,
11066 &_swigt__p_wxPyTreeCompanionWindow,
11067 &_swigt__p_wxPyTreeCtrl,
11068 &_swigt__p_wxPyTreeItemData,
11069 &_swigt__p_wxPyTreeListCtrl,
11070 &_swigt__p_wxPyVListBox,
11071 &_swigt__p_wxPyVScrolledWindow,
11072 &_swigt__p_wxPyValidator,
11073 &_swigt__p_wxPyWindow,
11074 &_swigt__p_wxQueryLayoutInfoEvent,
11075 &_swigt__p_wxQueryNewPaletteEvent,
11076 &_swigt__p_wxRadioBox,
11077 &_swigt__p_wxRadioButton,
11078 &_swigt__p_wxRemotelyScrolledTreeCtrl,
11079 &_swigt__p_wxSashEvent,
11080 &_swigt__p_wxSashLayoutWindow,
11081 &_swigt__p_wxSashWindow,
11082 &_swigt__p_wxScrollBar,
11083 &_swigt__p_wxScrollEvent,
11084 &_swigt__p_wxScrollWinEvent,
11085 &_swigt__p_wxScrolledWindow,
11086 &_swigt__p_wxSetCursorEvent,
11087 &_swigt__p_wxShowEvent,
11088 &_swigt__p_wxSingleChoiceDialog,
11089 &_swigt__p_wxSizeEvent,
11090 &_swigt__p_wxSizer,
11091 &_swigt__p_wxSizerItem,
11092 &_swigt__p_wxSlider,
11093 &_swigt__p_wxSpinButton,
11094 &_swigt__p_wxSpinCtrl,
11095 &_swigt__p_wxSpinEvent,
11096 &_swigt__p_wxSplashScreen,
11097 &_swigt__p_wxSplashScreenWindow,
11098 &_swigt__p_wxSplitterEvent,
11099 &_swigt__p_wxSplitterScrolledWindow,
11100 &_swigt__p_wxSplitterWindow,
11101 &_swigt__p_wxStaticBitmap,
11102 &_swigt__p_wxStaticBox,
11103 &_swigt__p_wxStaticBoxSizer,
11104 &_swigt__p_wxStaticLine,
11105 &_swigt__p_wxStaticPicture,
11106 &_swigt__p_wxStaticText,
11107 &_swigt__p_wxStatusBar,
11108 &_swigt__p_wxStdDialogButtonSizer,
11109 &_swigt__p_wxSysColourChangedEvent,
11110 &_swigt__p_wxTIFFHandler,
11111 &_swigt__p_wxTaskBarIconEvent,
11112 &_swigt__p_wxTextCtrl,
11113 &_swigt__p_wxTextEntryDialog,
11114 &_swigt__p_wxTextUrlEvent,
11115 &_swigt__p_wxThinSplitterWindow,
11116 &_swigt__p_wxTipWindow,
11117 &_swigt__p_wxToggleButton,
11118 &_swigt__p_wxToolBar,
11119 &_swigt__p_wxToolBarBase,
11120 &_swigt__p_wxToolBarToolBase,
11121 &_swigt__p_wxToolbook,
11122 &_swigt__p_wxToolbookEvent,
11123 &_swigt__p_wxTopLevelWindow,
11124 &_swigt__p_wxTreeEvent,
11125 &_swigt__p_wxTreeItemId,
11126 &_swigt__p_wxTreeListColumnInfo,
11127 &_swigt__p_wxTreebook,
11128 &_swigt__p_wxTreebookEvent,
11129 &_swigt__p_wxUpdateUIEvent,
11130 &_swigt__p_wxValidator,
11131 &_swigt__p_wxWindow,
11132 &_swigt__p_wxWindowCreateEvent,
11133 &_swigt__p_wxWindowDestroyEvent,
11134 &_swigt__p_wxXPMHandler,
11135 &_swigt__ptrdiff_t,
11136 &_swigt__std__ptrdiff_t,
11137 &_swigt__unsigned_int,
11138 };
11139
11140 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11141 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
11142 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11143 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11144 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11145 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11146 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11147 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
11148 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
11149 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11150 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11151 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11152 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11153 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
11154 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11155 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11156 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11157 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11158 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11159 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
11160 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11161 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11162 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
11163 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11164 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11165 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
11166 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
11167 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
11168 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
11169 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
11170 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11171 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11172 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11173 static 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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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}};
11174 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
11175 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
11176 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
11177 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
11178 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
11179 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
11180 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
11181 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11182 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
11183 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
11184 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
11185 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
11186 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
11187 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
11188 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
11189 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
11190 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
11191 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
11192 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
11193 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
11194 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
11195 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
11196 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
11197 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
11198 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
11199 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
11200 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
11201 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
11202 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
11203 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
11204 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
11205 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
11206 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
11207 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
11208 static 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_wxToolbook, _p_wxToolbookTo_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_wxTreebook, _p_wxTreebookTo_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_wxContextHelpButton, _p_wxContextHelpButtonTo_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}};
11209 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11210 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
11211 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11212 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11213 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
11214 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11215 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11216 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11217 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11218 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11219 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11220 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11221 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11222 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11223 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11224 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11225 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11226 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11227 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11228 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11229 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11230 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11231 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11232 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11233 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11234 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11235 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11236 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11237 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11238 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11239 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11240 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11241 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11242 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11243 static 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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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}};
11244 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11245 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11246 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11247 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
11248 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
11249 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
11250 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
11251 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
11252 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11253 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
11254 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11255 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11256 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11257 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11258 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11259 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11260 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11261 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
11262 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
11263 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
11264 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
11265 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
11266 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
11267 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11268 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
11269 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
11270 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
11271 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
11272 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
11273 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11274 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11275 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
11276 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
11277 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11278 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
11279 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
11280 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
11281 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
11282 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
11283 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11284 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11285 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11286 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_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_wxTreebook, _p_wxTreebookTo_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_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_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_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_wxContextHelpButton, _p_wxContextHelpButtonTo_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_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_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_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_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}};
11287 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
11288 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
11289 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
11290 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
11291 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
11292 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
11293 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
11294 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
11295 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
11296 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
11297 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
11298 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
11299 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
11300 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
11301 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
11302 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11303 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11304 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
11305 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
11306 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
11307 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
11308 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
11309 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
11310 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
11311 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
11312 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11313 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11314 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
11315 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
11316 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11317 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11318 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
11319 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
11320 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11321 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11322 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
11323 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
11324 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
11325 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
11326 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
11327 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
11328 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
11329 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
11330 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
11331 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
11332 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
11333 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11334 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11335 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
11336 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
11337 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
11338 static 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_wxTreebook, _p_wxTreebookTo_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_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_wxMaximizeEvent, _p_wxMaximizeEventTo_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_wxDateEvent, _p_wxDateEventTo_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_wxContextHelpButton, _p_wxContextHelpButtonTo_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_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_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_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_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_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_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_wxToolbook, _p_wxToolbookTo_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}};
11339 static 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}};
11340 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
11341 static 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}};
11342 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
11343 static 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}};
11344 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
11345 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11346 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
11347 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
11348 static 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}};
11349 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11350 static 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}};
11351 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
11352 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
11353 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
11354 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
11355 static 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}};
11356 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_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_wxTreebook, _p_wxTreebookTo_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_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxContextHelpButton, _p_wxContextHelpButtonTo_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_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_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_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_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}};
11357 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11358 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11359 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11360
11361 static swig_cast_info *swig_cast_initial[] = {
11362 _swigc__p_char,
11363 _swigc__p_float,
11364 _swigc__p_form_ops_t,
11365 _swigc__p_int,
11366 _swigc__p_unsigned_char,
11367 _swigc__p_unsigned_int,
11368 _swigc__p_unsigned_long,
11369 _swigc__p_wxANIHandler,
11370 _swigc__p_wxAcceleratorTable,
11371 _swigc__p_wxActivateEvent,
11372 _swigc__p_wxArrayString,
11373 _swigc__p_wxBMPHandler,
11374 _swigc__p_wxBitmap,
11375 _swigc__p_wxBitmapButton,
11376 _swigc__p_wxBookCtrlBase,
11377 _swigc__p_wxBookCtrlBaseEvent,
11378 _swigc__p_wxBoxSizer,
11379 _swigc__p_wxButton,
11380 _swigc__p_wxCURHandler,
11381 _swigc__p_wxCalculateLayoutEvent,
11382 _swigc__p_wxCheckBox,
11383 _swigc__p_wxCheckListBox,
11384 _swigc__p_wxChildFocusEvent,
11385 _swigc__p_wxChoice,
11386 _swigc__p_wxChoicebook,
11387 _swigc__p_wxChoicebookEvent,
11388 _swigc__p_wxCloseEvent,
11389 _swigc__p_wxColour,
11390 _swigc__p_wxColourData,
11391 _swigc__p_wxColourDialog,
11392 _swigc__p_wxComboBox,
11393 _swigc__p_wxCommandEvent,
11394 _swigc__p_wxContextHelp,
11395 _swigc__p_wxContextHelpButton,
11396 _swigc__p_wxContextMenuEvent,
11397 _swigc__p_wxControl,
11398 _swigc__p_wxControlWithItems,
11399 _swigc__p_wxDateEvent,
11400 _swigc__p_wxDatePickerCtrl,
11401 _swigc__p_wxDialog,
11402 _swigc__p_wxDirDialog,
11403 _swigc__p_wxDirFilterListCtrl,
11404 _swigc__p_wxDisplayChangedEvent,
11405 _swigc__p_wxDropFilesEvent,
11406 _swigc__p_wxDuplexMode,
11407 _swigc__p_wxDynamicSashSplitEvent,
11408 _swigc__p_wxDynamicSashUnifyEvent,
11409 _swigc__p_wxDynamicSashWindow,
11410 _swigc__p_wxEditableListBox,
11411 _swigc__p_wxEraseEvent,
11412 _swigc__p_wxEvent,
11413 _swigc__p_wxEvtHandler,
11414 _swigc__p_wxFSFile,
11415 _swigc__p_wxFileDialog,
11416 _swigc__p_wxFileSystem,
11417 _swigc__p_wxFindDialogEvent,
11418 _swigc__p_wxFindReplaceData,
11419 _swigc__p_wxFindReplaceDialog,
11420 _swigc__p_wxFlexGridSizer,
11421 _swigc__p_wxFocusEvent,
11422 _swigc__p_wxFont,
11423 _swigc__p_wxFontData,
11424 _swigc__p_wxFontDialog,
11425 _swigc__p_wxFrame,
11426 _swigc__p_wxGBSizerItem,
11427 _swigc__p_wxGIFHandler,
11428 _swigc__p_wxGauge,
11429 _swigc__p_wxGenericDirCtrl,
11430 _swigc__p_wxGenericDragImage,
11431 _swigc__p_wxGridBagSizer,
11432 _swigc__p_wxGridSizer,
11433 _swigc__p_wxHelpEvent,
11434 _swigc__p_wxICOHandler,
11435 _swigc__p_wxIcon,
11436 _swigc__p_wxIconizeEvent,
11437 _swigc__p_wxIdleEvent,
11438 _swigc__p_wxImage,
11439 _swigc__p_wxImageHandler,
11440 _swigc__p_wxImageList,
11441 _swigc__p_wxIndividualLayoutConstraint,
11442 _swigc__p_wxInitDialogEvent,
11443 _swigc__p_wxJPEGHandler,
11444 _swigc__p_wxKeyEvent,
11445 _swigc__p_wxLEDNumberCtrl,
11446 _swigc__p_wxLayoutAlgorithm,
11447 _swigc__p_wxLayoutConstraints,
11448 _swigc__p_wxListBox,
11449 _swigc__p_wxListEvent,
11450 _swigc__p_wxListItem,
11451 _swigc__p_wxListView,
11452 _swigc__p_wxListbook,
11453 _swigc__p_wxListbookEvent,
11454 _swigc__p_wxMDIChildFrame,
11455 _swigc__p_wxMDIClientWindow,
11456 _swigc__p_wxMDIParentFrame,
11457 _swigc__p_wxMaximizeEvent,
11458 _swigc__p_wxMenu,
11459 _swigc__p_wxMenuBar,
11460 _swigc__p_wxMenuEvent,
11461 _swigc__p_wxMenuItem,
11462 _swigc__p_wxMessageDialog,
11463 _swigc__p_wxMiniFrame,
11464 _swigc__p_wxMouseCaptureChangedEvent,
11465 _swigc__p_wxMouseEvent,
11466 _swigc__p_wxMoveEvent,
11467 _swigc__p_wxMultiChoiceDialog,
11468 _swigc__p_wxNavigationKeyEvent,
11469 _swigc__p_wxNcPaintEvent,
11470 _swigc__p_wxNotebook,
11471 _swigc__p_wxNotebookEvent,
11472 _swigc__p_wxNotifyEvent,
11473 _swigc__p_wxObject,
11474 _swigc__p_wxPCXHandler,
11475 _swigc__p_wxPNGHandler,
11476 _swigc__p_wxPNMHandler,
11477 _swigc__p_wxPageSetupDialog,
11478 _swigc__p_wxPageSetupDialogData,
11479 _swigc__p_wxPaintEvent,
11480 _swigc__p_wxPaletteChangedEvent,
11481 _swigc__p_wxPanel,
11482 _swigc__p_wxPaperSize,
11483 _swigc__p_wxPasswordEntryDialog,
11484 _swigc__p_wxPopupWindow,
11485 _swigc__p_wxPreviewCanvas,
11486 _swigc__p_wxPreviewControlBar,
11487 _swigc__p_wxPreviewFrame,
11488 _swigc__p_wxPrintData,
11489 _swigc__p_wxPrintDialog,
11490 _swigc__p_wxPrintDialogData,
11491 _swigc__p_wxPrintPreview,
11492 _swigc__p_wxPrinter,
11493 _swigc__p_wxProgressDialog,
11494 _swigc__p_wxPyApp,
11495 _swigc__p_wxPyCommandEvent,
11496 _swigc__p_wxPyControl,
11497 _swigc__p_wxPyEvent,
11498 _swigc__p_wxPyHtmlListBox,
11499 _swigc__p_wxPyImageHandler,
11500 _swigc__p_wxPyListCtrl,
11501 _swigc__p_wxPyPanel,
11502 _swigc__p_wxPyPopupTransientWindow,
11503 _swigc__p_wxPyPreviewControlBar,
11504 _swigc__p_wxPyPreviewFrame,
11505 _swigc__p_wxPyPrintPreview,
11506 _swigc__p_wxPyPrintout,
11507 _swigc__p_wxPyScrolledWindow,
11508 _swigc__p_wxPySizer,
11509 _swigc__p_wxPyTaskBarIcon,
11510 _swigc__p_wxPyTreeCompanionWindow,
11511 _swigc__p_wxPyTreeCtrl,
11512 _swigc__p_wxPyTreeItemData,
11513 _swigc__p_wxPyTreeListCtrl,
11514 _swigc__p_wxPyVListBox,
11515 _swigc__p_wxPyVScrolledWindow,
11516 _swigc__p_wxPyValidator,
11517 _swigc__p_wxPyWindow,
11518 _swigc__p_wxQueryLayoutInfoEvent,
11519 _swigc__p_wxQueryNewPaletteEvent,
11520 _swigc__p_wxRadioBox,
11521 _swigc__p_wxRadioButton,
11522 _swigc__p_wxRemotelyScrolledTreeCtrl,
11523 _swigc__p_wxSashEvent,
11524 _swigc__p_wxSashLayoutWindow,
11525 _swigc__p_wxSashWindow,
11526 _swigc__p_wxScrollBar,
11527 _swigc__p_wxScrollEvent,
11528 _swigc__p_wxScrollWinEvent,
11529 _swigc__p_wxScrolledWindow,
11530 _swigc__p_wxSetCursorEvent,
11531 _swigc__p_wxShowEvent,
11532 _swigc__p_wxSingleChoiceDialog,
11533 _swigc__p_wxSizeEvent,
11534 _swigc__p_wxSizer,
11535 _swigc__p_wxSizerItem,
11536 _swigc__p_wxSlider,
11537 _swigc__p_wxSpinButton,
11538 _swigc__p_wxSpinCtrl,
11539 _swigc__p_wxSpinEvent,
11540 _swigc__p_wxSplashScreen,
11541 _swigc__p_wxSplashScreenWindow,
11542 _swigc__p_wxSplitterEvent,
11543 _swigc__p_wxSplitterScrolledWindow,
11544 _swigc__p_wxSplitterWindow,
11545 _swigc__p_wxStaticBitmap,
11546 _swigc__p_wxStaticBox,
11547 _swigc__p_wxStaticBoxSizer,
11548 _swigc__p_wxStaticLine,
11549 _swigc__p_wxStaticPicture,
11550 _swigc__p_wxStaticText,
11551 _swigc__p_wxStatusBar,
11552 _swigc__p_wxStdDialogButtonSizer,
11553 _swigc__p_wxSysColourChangedEvent,
11554 _swigc__p_wxTIFFHandler,
11555 _swigc__p_wxTaskBarIconEvent,
11556 _swigc__p_wxTextCtrl,
11557 _swigc__p_wxTextEntryDialog,
11558 _swigc__p_wxTextUrlEvent,
11559 _swigc__p_wxThinSplitterWindow,
11560 _swigc__p_wxTipWindow,
11561 _swigc__p_wxToggleButton,
11562 _swigc__p_wxToolBar,
11563 _swigc__p_wxToolBarBase,
11564 _swigc__p_wxToolBarToolBase,
11565 _swigc__p_wxToolbook,
11566 _swigc__p_wxToolbookEvent,
11567 _swigc__p_wxTopLevelWindow,
11568 _swigc__p_wxTreeEvent,
11569 _swigc__p_wxTreeItemId,
11570 _swigc__p_wxTreeListColumnInfo,
11571 _swigc__p_wxTreebook,
11572 _swigc__p_wxTreebookEvent,
11573 _swigc__p_wxUpdateUIEvent,
11574 _swigc__p_wxValidator,
11575 _swigc__p_wxWindow,
11576 _swigc__p_wxWindowCreateEvent,
11577 _swigc__p_wxWindowDestroyEvent,
11578 _swigc__p_wxXPMHandler,
11579 _swigc__ptrdiff_t,
11580 _swigc__std__ptrdiff_t,
11581 _swigc__unsigned_int,
11582 };
11583
11584
11585 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11586
11587 static swig_const_info swig_const_table[] = {
11588 {0, 0, 0, 0.0, 0, 0}};
11589
11590 #ifdef __cplusplus
11591 }
11592 #endif
11593 /*************************************************************************
11594 * Type initialization:
11595 * This problem is tough by the requirement that no dynamic
11596 * memory is used. Also, since swig_type_info structures store pointers to
11597 * swig_cast_info structures and swig_cast_info structures store pointers back
11598 * to swig_type_info structures, we need some lookup code at initialization.
11599 * The idea is that swig generates all the structures that are needed.
11600 * The runtime then collects these partially filled structures.
11601 * The SWIG_InitializeModule function takes these initial arrays out of
11602 * swig_module, and does all the lookup, filling in the swig_module.types
11603 * array with the correct data and linking the correct swig_cast_info
11604 * structures together.
11605
11606 * The generated swig_type_info structures are assigned staticly to an initial
11607 * array. We just loop though that array, and handle each type individually.
11608 * First we lookup if this type has been already loaded, and if so, use the
11609 * loaded structure instead of the generated one. Then we have to fill in the
11610 * cast linked list. The cast data is initially stored in something like a
11611 * two-dimensional array. Each row corresponds to a type (there are the same
11612 * number of rows as there are in the swig_type_initial array). Each entry in
11613 * a column is one of the swig_cast_info structures for that type.
11614 * The cast_initial array is actually an array of arrays, because each row has
11615 * a variable number of columns. So to actually build the cast linked list,
11616 * we find the array of casts associated with the type, and loop through it
11617 * adding the casts to the list. The one last trick we need to do is making
11618 * sure the type pointer in the swig_cast_info struct is correct.
11619
11620 * First off, we lookup the cast->type name to see if it is already loaded.
11621 * There are three cases to handle:
11622 * 1) If the cast->type has already been loaded AND the type we are adding
11623 * casting info to has not been loaded (it is in this module), THEN we
11624 * replace the cast->type pointer with the type pointer that has already
11625 * been loaded.
11626 * 2) If BOTH types (the one we are adding casting info to, and the
11627 * cast->type) are loaded, THEN the cast info has already been loaded by
11628 * the previous module so we just ignore it.
11629 * 3) Finally, if cast->type has not already been loaded, then we add that
11630 * swig_cast_info to the linked list (because the cast->type) pointer will
11631 * be correct.
11632 **/
11633
11634 #ifdef __cplusplus
11635 extern "C" {
11636 #if 0
11637 } /* c-mode */
11638 #endif
11639 #endif
11640
11641 #if 0
11642 #define SWIGRUNTIME_DEBUG
11643 #endif
11644
11645 SWIGRUNTIME void
11646 SWIG_InitializeModule(void *clientdata) {
11647 size_t i;
11648 swig_module_info *module_head;
11649 static int init_run = 0;
11650
11651 clientdata = clientdata;
11652
11653 if (init_run) return;
11654 init_run = 1;
11655
11656 /* Initialize the swig_module */
11657 swig_module.type_initial = swig_type_initial;
11658 swig_module.cast_initial = swig_cast_initial;
11659
11660 /* Try and load any already created modules */
11661 module_head = SWIG_GetModule(clientdata);
11662 if (module_head) {
11663 swig_module.next = module_head->next;
11664 module_head->next = &swig_module;
11665 } else {
11666 /* This is the first module loaded */
11667 swig_module.next = &swig_module;
11668 SWIG_SetModule(clientdata, &swig_module);
11669 }
11670
11671 /* Now work on filling in swig_module.types */
11672 #ifdef SWIGRUNTIME_DEBUG
11673 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11674 #endif
11675 for (i = 0; i < swig_module.size; ++i) {
11676 swig_type_info *type = 0;
11677 swig_type_info *ret;
11678 swig_cast_info *cast;
11679
11680 #ifdef SWIGRUNTIME_DEBUG
11681 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11682 #endif
11683
11684 /* if there is another module already loaded */
11685 if (swig_module.next != &swig_module) {
11686 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11687 }
11688 if (type) {
11689 /* Overwrite clientdata field */
11690 #ifdef SWIGRUNTIME_DEBUG
11691 printf("SWIG_InitializeModule: found type %s\n", type->name);
11692 #endif
11693 if (swig_module.type_initial[i]->clientdata) {
11694 type->clientdata = swig_module.type_initial[i]->clientdata;
11695 #ifdef SWIGRUNTIME_DEBUG
11696 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11697 #endif
11698 }
11699 } else {
11700 type = swig_module.type_initial[i];
11701 }
11702
11703 /* Insert casting types */
11704 cast = swig_module.cast_initial[i];
11705 while (cast->type) {
11706 /* Don't need to add information already in the list */
11707 ret = 0;
11708 #ifdef SWIGRUNTIME_DEBUG
11709 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
11710 #endif
11711 if (swig_module.next != &swig_module) {
11712 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
11713 #ifdef SWIGRUNTIME_DEBUG
11714 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
11715 #endif
11716 }
11717 if (ret) {
11718 if (type == swig_module.type_initial[i]) {
11719 #ifdef SWIGRUNTIME_DEBUG
11720 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
11721 #endif
11722 cast->type = ret;
11723 ret = 0;
11724 } else {
11725 /* Check for casting already in the list */
11726 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
11727 #ifdef SWIGRUNTIME_DEBUG
11728 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
11729 #endif
11730 if (!ocast) ret = 0;
11731 }
11732 }
11733
11734 if (!ret) {
11735 #ifdef SWIGRUNTIME_DEBUG
11736 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
11737 #endif
11738 if (type->cast) {
11739 type->cast->prev = cast;
11740 cast->next = type->cast;
11741 }
11742 type->cast = cast;
11743 }
11744 cast++;
11745 }
11746 /* Set entry in modules->types array equal to the type */
11747 swig_module.types[i] = type;
11748 }
11749 swig_module.types[i] = 0;
11750
11751 #ifdef SWIGRUNTIME_DEBUG
11752 printf("**** SWIG_InitializeModule: Cast List ******\n");
11753 for (i = 0; i < swig_module.size; ++i) {
11754 int j = 0;
11755 swig_cast_info *cast = swig_module.cast_initial[i];
11756 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11757 while (cast->type) {
11758 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
11759 cast++;
11760 ++j;
11761 }
11762 printf("---- Total casts: %d\n",j);
11763 }
11764 printf("**** SWIG_InitializeModule: Cast List ******\n");
11765 #endif
11766 }
11767
11768 /* This function will propagate the clientdata field of type to
11769 * any new swig_type_info structures that have been added into the list
11770 * of equivalent types. It is like calling
11771 * SWIG_TypeClientData(type, clientdata) a second time.
11772 */
11773 SWIGRUNTIME void
11774 SWIG_PropagateClientData(void) {
11775 size_t i;
11776 swig_cast_info *equiv;
11777 static int init_run = 0;
11778
11779 if (init_run) return;
11780 init_run = 1;
11781
11782 for (i = 0; i < swig_module.size; i++) {
11783 if (swig_module.types[i]->clientdata) {
11784 equiv = swig_module.types[i]->cast;
11785 while (equiv) {
11786 if (!equiv->converter) {
11787 if (equiv->type && !equiv->type->clientdata)
11788 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11789 }
11790 equiv = equiv->next;
11791 }
11792 }
11793 }
11794 }
11795
11796 #ifdef __cplusplus
11797 #if 0
11798 {
11799 /* c-mode */
11800 #endif
11801 }
11802 #endif
11803
11804
11805
11806 #ifdef __cplusplus
11807 extern "C" {
11808 #endif
11809
11810 /* Python-specific SWIG API */
11811 #define SWIG_newvarlink() SWIG_Python_newvarlink()
11812 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
11813 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
11814
11815 /* -----------------------------------------------------------------------------
11816 * global variable support code.
11817 * ----------------------------------------------------------------------------- */
11818
11819 typedef struct swig_globalvar {
11820 char *name; /* Name of global variable */
11821 PyObject *(*get_attr)(void); /* Return the current value */
11822 int (*set_attr)(PyObject *); /* Set the value */
11823 struct swig_globalvar *next;
11824 } swig_globalvar;
11825
11826 typedef struct swig_varlinkobject {
11827 PyObject_HEAD
11828 swig_globalvar *vars;
11829 } swig_varlinkobject;
11830
11831 SWIGINTERN PyObject *
11832 swig_varlink_repr(swig_varlinkobject *v) {
11833 v = v;
11834 return PyString_FromString("<Swig global variables>");
11835 }
11836
11837 SWIGINTERN int
11838 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
11839 swig_globalvar *var;
11840 flags = flags;
11841 fprintf(fp,"Swig global variables { ");
11842 for (var = v->vars; var; var=var->next) {
11843 fprintf(fp,"%s", var->name);
11844 if (var->next) fprintf(fp,", ");
11845 }
11846 fprintf(fp," }\n");
11847 return 0;
11848 }
11849
11850 SWIGINTERN PyObject *
11851 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
11852 swig_globalvar *var = v->vars;
11853 while (var) {
11854 if (strcmp(var->name,n) == 0) {
11855 return (*var->get_attr)();
11856 }
11857 var = var->next;
11858 }
11859 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11860 return NULL;
11861 }
11862
11863 SWIGINTERN int
11864 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
11865 swig_globalvar *var = v->vars;
11866 while (var) {
11867 if (strcmp(var->name,n) == 0) {
11868 return (*var->set_attr)(p);
11869 }
11870 var = var->next;
11871 }
11872 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11873 return 1;
11874 }
11875
11876 SWIGINTERN PyTypeObject*
11877 swig_varlink_type(void) {
11878 static char varlink__doc__[] = "Swig var link object";
11879 static PyTypeObject varlink_type
11880 #if !defined(__cplusplus)
11881 ;
11882 static int type_init = 0;
11883 if (!type_init) {
11884 PyTypeObject tmp
11885 #endif
11886 = {
11887 PyObject_HEAD_INIT(&PyType_Type)
11888 0, /* Number of items in variable part (ob_size) */
11889 (char *)"swigvarlink", /* Type name (tp_name) */
11890 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
11891 0, /* Itemsize (tp_itemsize) */
11892 0, /* Deallocator (tp_dealloc) */
11893 (printfunc) swig_varlink_print, /* Print (tp_print) */
11894 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
11895 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
11896 0, /* tp_compare */
11897 (reprfunc) swig_varlink_repr, /* tp_repr */
11898 0, /* tp_as_number */
11899 0, /* tp_as_sequence */
11900 0, /* tp_as_mapping */
11901 0, /* tp_hash */
11902 0, /* tp_call */
11903 0, /* tp_str */
11904 0, /* tp_getattro */
11905 0, /* tp_setattro */
11906 0, /* tp_as_buffer */
11907 0, /* tp_flags */
11908 varlink__doc__, /* tp_doc */
11909 #if PY_VERSION_HEX >= 0x02000000
11910 0, /* tp_traverse */
11911 0, /* tp_clear */
11912 #endif
11913 #if PY_VERSION_HEX >= 0x02010000
11914 0, /* tp_richcompare */
11915 0, /* tp_weaklistoffset */
11916 #endif
11917 #if PY_VERSION_HEX >= 0x02020000
11918 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
11919 #endif
11920 #if PY_VERSION_HEX >= 0x02030000
11921 0, /* tp_del */
11922 #endif
11923 #ifdef COUNT_ALLOCS
11924 0,0,0,0 /* tp_alloc -> tp_next */
11925 #endif
11926 };
11927 #if !defined(__cplusplus)
11928 varlink_type = tmp;
11929 type_init = 1;
11930 }
11931 #endif
11932 return &varlink_type;
11933 }
11934
11935 /* Create a variable linking object for use later */
11936 SWIGINTERN PyObject *
11937 SWIG_Python_newvarlink(void) {
11938 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
11939 if (result) {
11940 result->vars = 0;
11941 }
11942 return ((PyObject*) result);
11943 }
11944
11945 SWIGINTERN void
11946 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
11947 swig_varlinkobject *v = (swig_varlinkobject *) p;
11948 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
11949 if (gv) {
11950 size_t size = strlen(name)+1;
11951 gv->name = (char *)malloc(size);
11952 if (gv->name) {
11953 strncpy(gv->name,name,size);
11954 gv->get_attr = get_attr;
11955 gv->set_attr = set_attr;
11956 gv->next = v->vars;
11957 }
11958 }
11959 v->vars = gv;
11960 }
11961
11962 /* -----------------------------------------------------------------------------
11963 * constants/methods manipulation
11964 * ----------------------------------------------------------------------------- */
11965
11966 /* Install Constants */
11967 SWIGINTERN void
11968 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
11969 PyObject *obj = 0;
11970 size_t i;
11971 for (i = 0; constants[i].type; ++i) {
11972 switch(constants[i].type) {
11973 case SWIG_PY_INT:
11974 obj = PyInt_FromLong(constants[i].lvalue);
11975 break;
11976 case SWIG_PY_FLOAT:
11977 obj = PyFloat_FromDouble(constants[i].dvalue);
11978 break;
11979 case SWIG_PY_STRING:
11980 if (constants[i].pvalue) {
11981 obj = PyString_FromString((char *) constants[i].pvalue);
11982 } else {
11983 Py_INCREF(Py_None);
11984 obj = Py_None;
11985 }
11986 break;
11987 case SWIG_PY_POINTER:
11988 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
11989 break;
11990 case SWIG_PY_BINARY:
11991 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
11992 break;
11993 default:
11994 obj = 0;
11995 break;
11996 }
11997 if (obj) {
11998 PyDict_SetItemString(d,constants[i].name,obj);
11999 Py_DECREF(obj);
12000 }
12001 }
12002 }
12003
12004 /* -----------------------------------------------------------------------------*/
12005 /* Fix SwigMethods to carry the callback ptrs when needed */
12006 /* -----------------------------------------------------------------------------*/
12007
12008 SWIGINTERN void
12009 SWIG_Python_FixMethods(PyMethodDef *methods,
12010 swig_const_info *const_table,
12011 swig_type_info **types,
12012 swig_type_info **types_initial) {
12013 size_t i;
12014 for (i = 0; methods[i].ml_name; ++i) {
12015 char *c = methods[i].ml_doc;
12016 if (c && (c = strstr(c, "swig_ptr: "))) {
12017 int j;
12018 swig_const_info *ci = 0;
12019 char *name = c + 10;
12020 for (j = 0; const_table[j].type; ++j) {
12021 if (strncmp(const_table[j].name, name,
12022 strlen(const_table[j].name)) == 0) {
12023 ci = &(const_table[j]);
12024 break;
12025 }
12026 }
12027 if (ci) {
12028 size_t shift = (ci->ptype) - types;
12029 swig_type_info *ty = types_initial[shift];
12030 size_t ldoc = (c - methods[i].ml_doc);
12031 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
12032 char *ndoc = (char*)malloc(ldoc + lptr + 10);
12033 if (ndoc) {
12034 char *buff = ndoc;
12035 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
12036 if (ptr) {
12037 strncpy(buff, methods[i].ml_doc, ldoc);
12038 buff += ldoc;
12039 strncpy(buff, "swig_ptr: ", 10);
12040 buff += 10;
12041 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
12042 methods[i].ml_doc = ndoc;
12043 }
12044 }
12045 }
12046 }
12047 }
12048 }
12049
12050 /* -----------------------------------------------------------------------------*
12051 * Initialize type list
12052 * -----------------------------------------------------------------------------*/
12053
12054 #ifdef __cplusplus
12055 }
12056 #endif
12057
12058 /* -----------------------------------------------------------------------------*
12059 * Partial Init method
12060 * -----------------------------------------------------------------------------*/
12061
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 SWIGEXPORT void SWIG_init(void) {
12066 static PyObject *SWIG_globals = 0;
12067 PyObject *m, *d;
12068 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12069
12070 /* Fix SwigMethods to carry the callback ptrs when needed */
12071 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12072
12073 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12074 d = PyModule_GetDict(m);
12075
12076 SWIG_InitializeModule(0);
12077 SWIG_InstallConstants(d,swig_const_table);
12078
12079 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12080 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
12081 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
12082 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
12083 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
12084 {
12085 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast<int >(wxDS_MANAGE_SCROLLBARS)));
12086 }
12087 {
12088 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast<int >(wxDS_DRAG_CORNER)));
12089 }
12090 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
12091 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
12092 {
12093 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast<int >(wxEL_ALLOW_NEW)));
12094 }
12095 {
12096 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast<int >(wxEL_ALLOW_EDIT)));
12097 }
12098 {
12099 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast<int >(wxEL_ALLOW_DELETE)));
12100 }
12101 {
12102 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_LEFT)));
12103 }
12104 {
12105 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_RIGHT)));
12106 }
12107 {
12108 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxLED_ALIGN_CENTER)));
12109 }
12110 {
12111 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLED_ALIGN_MASK)));
12112 }
12113 {
12114 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast<int >(wxLED_DRAW_FADED)));
12115 }
12116 {
12117 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_LEFT)));
12118 }
12119 {
12120 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_RIGHT)));
12121 }
12122 {
12123 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxTL_ALIGN_CENTER)));
12124 }
12125 {
12126 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMCOLUMN)));
12127 }
12128 {
12129 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_VISIBLE)));
12130 }
12131 {
12132 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_LEVEL)));
12133 }
12134 {
12135 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_FULL)));
12136 }
12137 {
12138 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_PARTIAL)));
12139 }
12140 {
12141 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_NOCASE)));
12142 }
12143 {
12144 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast<int >(wxTR_DONT_ADJUST_MAC)));
12145 }
12146 {
12147 PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSCALE_HORIZONTAL)));
12148 }
12149 {
12150 PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast<int >(wxSCALE_VERTICAL)));
12151 }
12152 {
12153 PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast<int >(wxSCALE_UNIFORM)));
12154 }
12155 {
12156 PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast<int >(wxSCALE_CUSTOM)));
12157 }
12158
12159
12160 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
12161 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
12162
12163 }
12164