]> 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 #define SWIG_VERSION 0x010327
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
36
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # else
42 # define SWIGTEMPLATEDISAMBIGUATOR
43 # endif
44 #endif
45
46 /* inline attribute */
47 #ifndef SWIGINLINE
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
50 # else
51 # define SWIGINLINE
52 # endif
53 #endif
54
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 #ifndef SWIGUNUSED
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
59 # else
60 # define SWIGUNUSED
61 # endif
62 #endif
63
64 /* internal SWIG method */
65 #ifndef SWIGINTERN
66 # define SWIGINTERN static SWIGUNUSED
67 #endif
68
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72 #endif
73
74 /* exporting methods for Windows DLLs */
75 #ifndef SWIGEXPORT
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
78 # define SWIGEXPORT
79 # else
80 # define SWIGEXPORT __declspec(dllexport)
81 # endif
82 # else
83 # define SWIGEXPORT
84 # endif
85 #endif
86
87 /* calling conventions for Windows */
88 #ifndef SWIGSTDCALL
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
91 # else
92 # define SWIGSTDCALL
93 # endif
94 #endif
95
96
97
98 #include <Python.h>
99
100 /***********************************************************************
101 * swigrun.swg
102 *
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
105 *
106 ************************************************************************/
107
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
111
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 #else
118 # define SWIG_TYPE_TABLE_NAME
119 #endif
120
121 /*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128 */
129
130 #ifndef SWIGRUNTIME
131 # define SWIGRUNTIME SWIGINTERN
132 #endif
133
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
136 #endif
137
138 #include <string.h>
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 typedef void *(*swig_converter_func)(void *);
145 typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info {
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
154 } swig_type_info;
155
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162 } swig_cast_info;
163
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174 } swig_module_info;
175
176
177 /*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183 */
184 SWIGRUNTIME int
185 SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
190 if (*f1 != *f2) return (int)(*f1 - *f2);
191 }
192 return (l1 - f1) - (l2 - f2);
193 }
194
195 /*
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
198 */
199 SWIGRUNTIME int
200 SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
209 if (*ne) ++ne;
210 }
211 return equiv;
212 }
213
214 /*
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
217 */
218 SWIGRUNTIME int
219 SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
226 }
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
229 }
230 return equiv;
231 }
232
233
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
256 /*
257 Check the typename
258 */
259 SWIGRUNTIME swig_cast_info *
260 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262 }
263
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info *
266 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
268 }
269
270 /*
271 Cast a pointer up an inheritance hierarchy
272 */
273 SWIGRUNTIMEINLINE void *
274 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276 }
277
278 /*
279 Dynamic pointer casting. Down an inheritance hierarchy
280 */
281 SWIGRUNTIME swig_type_info *
282 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290 }
291
292 /*
293 Return the name associated with this type
294 */
295 SWIGRUNTIMEINLINE const char *
296 SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298 }
299
300 /*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303 */
304 SWIGRUNTIME const char *
305 SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319 }
320
321 /*
322 Set the clientdata field for a type
323 */
324 SWIGRUNTIME void
325 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
335 }
336 }
337 cast = cast->next;
338 }
339 }
340
341 /*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348 */
349 SWIGRUNTIME swig_type_info *
350 SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
379 }
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383 }
384
385 /*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393 */
394 SWIGRUNTIME swig_type_info *
395 SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
414 }
415
416 /* neither found a match */
417 return 0;
418 }
419
420
421 /*
422 Pack binary data into a string
423 */
424 SWIGRUNTIME char *
425 SWIG_PackData(char *c, void *ptr, size_t sz) {
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
429 for (; u != eu; ++u) {
430 register unsigned char uu = *u;
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435 }
436
437 /*
438 Unpack binary data from a string
439 */
440 SWIGRUNTIME const char *
441 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
443 register const unsigned char *eu = u + sz;
444 for (; u != eu; ++u) {
445 register char d = *(c++);
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463 }
464
465 /*
466 Pack 'void *' into a string buffer.
467 */
468 SWIGRUNTIME char *
469 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477 }
478
479 SWIGRUNTIME const char *
480 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490 }
491
492 SWIGRUNTIME char *
493 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505 }
506
507 SWIGRUNTIME const char *
508 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518 }
519
520 #ifdef __cplusplus
521 }
522 #endif
523
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528 #ifdef __cplusplus
529 extern "C" {
530 #endif
531
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536 #ifndef SWIGINTERN
537 # define SWIGINTERN static SWIGUNUSED
538 #endif
539
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
542 #endif
543
544 /*
545 Exception handling in wrappers
546 */
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554 /*
555 Contract support
556 */
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
563
564 /* Constant Types */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
570
571 /* Constant information structure */
572 typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579 } swig_const_info;
580
581
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589 #ifdef __cplusplus
590 }
591 #endif
592
593
594 /***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
603
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
608
609
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
613
614 /* Runtime API */
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621 /*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625 */
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
628 #endif
629
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
633
634
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
638 #endif
639
640 #ifdef __cplusplus
641 extern "C" {
642 #endif
643
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
649 #endif
650
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
653 static PyObject *
654 PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662 }
663 #endif
664
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
667 #endif
668
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
674
675 typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679 } PySwigObject;
680
681 /* Declarations for objects of type PySwigObject */
682
683 SWIGRUNTIME int
684 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685 {
686 char result[SWIG_BUFFER_SIZE];
687 flags = flags;
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
693 }
694 }
695
696 SWIGRUNTIME PyObject *
697 PySwigObject_repr(PySwigObject *v)
698 {
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
702 }
703
704 SWIGRUNTIME PyObject *
705 PySwigObject_str(PySwigObject *v)
706 {
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710 }
711
712 SWIGRUNTIME PyObject *
713 PySwigObject_long(PySwigObject *v)
714 {
715 return PyLong_FromVoidPtr(v->ptr);
716 }
717
718 SWIGRUNTIME PyObject *
719 PySwigObject_format(const char* fmt, PySwigObject *v)
720 {
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
732 }
733
734 SWIGRUNTIME PyObject *
735 PySwigObject_oct(PySwigObject *v)
736 {
737 return PySwigObject_format("%o",v);
738 }
739
740 SWIGRUNTIME PyObject *
741 PySwigObject_hex(PySwigObject *v)
742 {
743 return PySwigObject_format("%x",v);
744 }
745
746 SWIGRUNTIME int
747 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748 {
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
751 return (c > 0) ? 1 : -1;
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
756 }
757 }
758
759 SWIGRUNTIME void
760 PySwigObject_dealloc(PySwigObject *self)
761 {
762 PyObject_Del(self);
763 }
764
765 SWIGRUNTIME PyTypeObject*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
798 #endif
799 };
800
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
805 if (!type_init) {
806 PyTypeObject tmp
807 #endif
808 = {
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833 #endif
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837 #endif
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #endif
841 #if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843 #endif
844 #ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846 #endif
847 };
848 #if !defined(__cplusplus)
849 pyswigobject_type = tmp;
850 type_init = 1;
851 }
852 #endif
853 return &pyswigobject_type;
854 }
855
856 SWIGRUNTIME PyObject *
857 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858 {
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
864 return (PyObject *)self;
865 }
866
867 SWIGRUNTIMEINLINE void *
868 PySwigObject_AsVoidPtr(PyObject *self)
869 {
870 return ((PySwigObject *)self)->ptr;
871 }
872
873 SWIGRUNTIMEINLINE const char *
874 PySwigObject_GetDesc(PyObject *self)
875 {
876 return ((PySwigObject *)self)->desc;
877 }
878
879 SWIGRUNTIMEINLINE int
880 PySwigObject_Check(PyObject *op) {
881 return ((op)->ob_type == PySwigObject_type())
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883 }
884
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889 typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894 } PySwigPacked;
895
896 SWIGRUNTIME int
897 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898 {
899 char result[SWIG_BUFFER_SIZE];
900 flags = flags;
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909 }
910
911 SWIGRUNTIME PyObject *
912 PySwigPacked_repr(PySwigPacked *v)
913 {
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920 }
921
922 SWIGRUNTIME PyObject *
923 PySwigPacked_str(PySwigPacked *v)
924 {
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
929 return PyString_FromString(v->desc);
930 }
931 }
932
933 SWIGRUNTIME int
934 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935 {
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
938 return (c > 0) ? 1 : -1;
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945 }
946
947 SWIGRUNTIME void
948 PySwigPacked_dealloc(PySwigPacked *self)
949 {
950 free(self->pack);
951 PyObject_Del(self);
952 }
953
954 SWIGRUNTIME PyTypeObject*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
962 if (!type_init) {
963 PyTypeObject tmp
964 #endif
965 = {
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990 #endif
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994 #endif
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #endif
998 #if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000 #endif
1001 #ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003 #endif
1004 };
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
1007 type_init = 1;
1008 }
1009 #endif
1010 return &pyswigpacked_type;
1011 }
1012
1013 SWIGRUNTIME PyObject *
1014 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015 {
1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
1029 }
1030 }
1031
1032 SWIGRUNTIMEINLINE const char *
1033 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034 {
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039 }
1040
1041 SWIGRUNTIMEINLINE const char *
1042 PySwigPacked_GetDesc(PyObject *self)
1043 {
1044 return ((PySwigPacked *)self)->desc;
1045 }
1046
1047 SWIGRUNTIMEINLINE int
1048 PySwigPacked_Check(PyObject *op) {
1049 return ((op)->ob_type == PySwigPacked_type())
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051 }
1052
1053 #else
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063 #endif
1064
1065 #endif
1066
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071 SWIGRUNTIME void
1072 SWIG_Python_TypeError(const char *type, PyObject *obj)
1073 {
1074 if (type) {
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj && PySwigObject_Check(obj)) {
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084 #endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
1097 Py_XDECREF(str);
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105 }
1106
1107 SWIGRUNTIMEINLINE void
1108 SWIG_Python_NullRef(const char *type)
1109 {
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115 }
1116
1117 SWIGRUNTIME int
1118 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119 {
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140 }
1141
1142 SWIGRUNTIME int
1143 SWIG_Python_ArgFail(int argnum)
1144 {
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153 }
1154
1155
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160 /* Convert a pointer value */
1161 SWIGRUNTIME int
1162 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1163 swig_cast_info *tc;
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193 #else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
1206 c = PyString_AsString(obj);
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211 #endif
1212
1213 type_check:
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226 type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249 }
1250
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIGRUNTIME void *
1253 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263 }
1264
1265 /* Convert a packed value value */
1266 SWIGRUNTIME int
1267 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1268 swig_cast_info *tc;
1269 const char *c = 0;
1270
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273 #else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1275 c = PyString_AsString(obj);
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278 #endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286 type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296 }
1297
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject *
1300 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314 #else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320 #endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336 }
1337
1338 SWIGRUNTIME PyObject *
1339 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347 #else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353 #endif
1354 return robj;
1355 }
1356
1357 /* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1363 #endif
1364
1365 SWIGRUNTIME swig_module_info *
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372 #else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
1379 #endif
1380 }
1381 return (swig_module_info *) type_pointer;
1382 }
1383
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 SWIGINTERN int
1388 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389 {
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
1413 }
1414 #endif
1415
1416 SWIGRUNTIME void
1417 SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426 }
1427
1428 #ifdef __cplusplus
1429 }
1430 #endif
1431
1432
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1434
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_float swig_types[1]
1437 #define SWIGTYPE_p_form_ops_t swig_types[2]
1438 #define SWIGTYPE_p_int swig_types[3]
1439 #define SWIGTYPE_p_unsigned_char swig_types[4]
1440 #define SWIGTYPE_p_unsigned_int swig_types[5]
1441 #define SWIGTYPE_p_unsigned_long swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBitmap swig_types[12]
1448 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
1449 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
1450 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
1451 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
1452 #define SWIGTYPE_p_wxButton swig_types[17]
1453 #define SWIGTYPE_p_wxCURHandler swig_types[18]
1454 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
1455 #define SWIGTYPE_p_wxCheckBox swig_types[20]
1456 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
1457 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
1458 #define SWIGTYPE_p_wxChoice swig_types[23]
1459 #define SWIGTYPE_p_wxChoicebook swig_types[24]
1460 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
1461 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
1462 #define SWIGTYPE_p_wxColour swig_types[27]
1463 #define SWIGTYPE_p_wxColourData swig_types[28]
1464 #define SWIGTYPE_p_wxColourDialog swig_types[29]
1465 #define SWIGTYPE_p_wxComboBox swig_types[30]
1466 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1467 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1468 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1469 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1470 #define SWIGTYPE_p_wxControl swig_types[35]
1471 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1472 #define SWIGTYPE_p_wxDateEvent swig_types[37]
1473 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[38]
1474 #define SWIGTYPE_p_wxDialog swig_types[39]
1475 #define SWIGTYPE_p_wxDirDialog swig_types[40]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1480 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45]
1481 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46]
1482 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[47]
1483 #define SWIGTYPE_p_wxEditableListBox swig_types[48]
1484 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
1485 #define SWIGTYPE_p_wxEvent swig_types[50]
1486 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
1487 #define SWIGTYPE_p_wxFSFile swig_types[52]
1488 #define SWIGTYPE_p_wxFileDialog swig_types[53]
1489 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1490 #define SWIGTYPE_p_wxFindDialogEvent swig_types[55]
1491 #define SWIGTYPE_p_wxFindReplaceData swig_types[56]
1492 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[57]
1493 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
1494 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
1495 #define SWIGTYPE_p_wxFont swig_types[60]
1496 #define SWIGTYPE_p_wxFontData swig_types[61]
1497 #define SWIGTYPE_p_wxFontDialog swig_types[62]
1498 #define SWIGTYPE_p_wxFrame swig_types[63]
1499 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
1500 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
1501 #define SWIGTYPE_p_wxGauge swig_types[66]
1502 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
1503 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
1504 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
1505 #define SWIGTYPE_p_wxGridSizer swig_types[70]
1506 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
1507 #define SWIGTYPE_p_wxICOHandler swig_types[72]
1508 #define SWIGTYPE_p_wxIcon swig_types[73]
1509 #define SWIGTYPE_p_wxIconizeEvent swig_types[74]
1510 #define SWIGTYPE_p_wxIdleEvent swig_types[75]
1511 #define SWIGTYPE_p_wxImage swig_types[76]
1512 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1513 #define SWIGTYPE_p_wxImageList swig_types[78]
1514 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79]
1515 #define SWIGTYPE_p_wxInitDialogEvent swig_types[80]
1516 #define SWIGTYPE_p_wxJPEGHandler swig_types[81]
1517 #define SWIGTYPE_p_wxKeyEvent swig_types[82]
1518 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83]
1519 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84]
1520 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
1521 #define SWIGTYPE_p_wxListBox swig_types[86]
1522 #define SWIGTYPE_p_wxListEvent swig_types[87]
1523 #define SWIGTYPE_p_wxListItem swig_types[88]
1524 #define SWIGTYPE_p_wxListView swig_types[89]
1525 #define SWIGTYPE_p_wxListbook swig_types[90]
1526 #define SWIGTYPE_p_wxListbookEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMDIChildFrame swig_types[92]
1528 #define SWIGTYPE_p_wxMDIClientWindow swig_types[93]
1529 #define SWIGTYPE_p_wxMDIParentFrame swig_types[94]
1530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
1531 #define SWIGTYPE_p_wxMenu swig_types[96]
1532 #define SWIGTYPE_p_wxMenuBar swig_types[97]
1533 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
1534 #define SWIGTYPE_p_wxMenuItem swig_types[99]
1535 #define SWIGTYPE_p_wxMessageDialog swig_types[100]
1536 #define SWIGTYPE_p_wxMiniFrame swig_types[101]
1537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
1538 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
1539 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
1540 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105]
1541 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
1542 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
1543 #define SWIGTYPE_p_wxNotebook swig_types[108]
1544 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
1545 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
1546 #define SWIGTYPE_p_wxObject swig_types[111]
1547 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
1548 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
1549 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
1550 #define SWIGTYPE_p_wxPageSetupDialog swig_types[115]
1551 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[116]
1552 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
1553 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118]
1554 #define SWIGTYPE_p_wxPanel swig_types[119]
1555 #define SWIGTYPE_p_wxPaperSize swig_types[120]
1556 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121]
1557 #define SWIGTYPE_p_wxPopupWindow swig_types[122]
1558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
1559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
1560 #define SWIGTYPE_p_wxPreviewFrame swig_types[125]
1561 #define SWIGTYPE_p_wxPrintData swig_types[126]
1562 #define SWIGTYPE_p_wxPrintDialog swig_types[127]
1563 #define SWIGTYPE_p_wxPrintDialogData swig_types[128]
1564 #define SWIGTYPE_p_wxPrintPreview swig_types[129]
1565 #define SWIGTYPE_p_wxPrinter swig_types[130]
1566 #define SWIGTYPE_p_wxProgressDialog swig_types[131]
1567 #define SWIGTYPE_p_wxPyApp swig_types[132]
1568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
1569 #define SWIGTYPE_p_wxPyControl swig_types[134]
1570 #define SWIGTYPE_p_wxPyEvent swig_types[135]
1571 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[136]
1572 #define SWIGTYPE_p_wxPyImageHandler swig_types[137]
1573 #define SWIGTYPE_p_wxPyListCtrl swig_types[138]
1574 #define SWIGTYPE_p_wxPyPanel swig_types[139]
1575 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140]
1576 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141]
1577 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[142]
1578 #define SWIGTYPE_p_wxPyPrintPreview swig_types[143]
1579 #define SWIGTYPE_p_wxPyPrintout swig_types[144]
1580 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[145]
1581 #define SWIGTYPE_p_wxPySizer swig_types[146]
1582 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147]
1583 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148]
1584 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[149]
1585 #define SWIGTYPE_p_wxPyTreeItemData swig_types[150]
1586 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151]
1587 #define SWIGTYPE_p_wxPyVListBox swig_types[152]
1588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153]
1589 #define SWIGTYPE_p_wxPyValidator swig_types[154]
1590 #define SWIGTYPE_p_wxPyWindow swig_types[155]
1591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156]
1592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157]
1593 #define SWIGTYPE_p_wxRadioBox swig_types[158]
1594 #define SWIGTYPE_p_wxRadioButton swig_types[159]
1595 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160]
1596 #define SWIGTYPE_p_wxSashEvent swig_types[161]
1597 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
1598 #define SWIGTYPE_p_wxSashWindow swig_types[163]
1599 #define SWIGTYPE_p_wxScrollBar swig_types[164]
1600 #define SWIGTYPE_p_wxScrollEvent swig_types[165]
1601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[166]
1602 #define SWIGTYPE_p_wxScrolledWindow swig_types[167]
1603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[168]
1604 #define SWIGTYPE_p_wxShowEvent swig_types[169]
1605 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170]
1606 #define SWIGTYPE_p_wxSizeEvent swig_types[171]
1607 #define SWIGTYPE_p_wxSizer swig_types[172]
1608 #define SWIGTYPE_p_wxSizerItem swig_types[173]
1609 #define SWIGTYPE_p_wxSlider swig_types[174]
1610 #define SWIGTYPE_p_wxSpinButton swig_types[175]
1611 #define SWIGTYPE_p_wxSpinCtrl swig_types[176]
1612 #define SWIGTYPE_p_wxSpinEvent swig_types[177]
1613 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
1614 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
1615 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
1616 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181]
1617 #define SWIGTYPE_p_wxSplitterWindow swig_types[182]
1618 #define SWIGTYPE_p_wxStaticBitmap swig_types[183]
1619 #define SWIGTYPE_p_wxStaticBox swig_types[184]
1620 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[185]
1621 #define SWIGTYPE_p_wxStaticLine swig_types[186]
1622 #define SWIGTYPE_p_wxStaticPicture swig_types[187]
1623 #define SWIGTYPE_p_wxStaticText swig_types[188]
1624 #define SWIGTYPE_p_wxStatusBar swig_types[189]
1625 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190]
1626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191]
1627 #define SWIGTYPE_p_wxTIFFHandler swig_types[192]
1628 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193]
1629 #define SWIGTYPE_p_wxTextCtrl swig_types[194]
1630 #define SWIGTYPE_p_wxTextEntryDialog swig_types[195]
1631 #define SWIGTYPE_p_wxTextUrlEvent swig_types[196]
1632 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[197]
1633 #define SWIGTYPE_p_wxTipWindow swig_types[198]
1634 #define SWIGTYPE_p_wxToggleButton swig_types[199]
1635 #define SWIGTYPE_p_wxToolBar swig_types[200]
1636 #define SWIGTYPE_p_wxToolBarBase swig_types[201]
1637 #define SWIGTYPE_p_wxToolBarToolBase swig_types[202]
1638 #define SWIGTYPE_p_wxToolbook swig_types[203]
1639 #define SWIGTYPE_p_wxToolbookEvent swig_types[204]
1640 #define SWIGTYPE_p_wxTopLevelWindow swig_types[205]
1641 #define SWIGTYPE_p_wxTreeEvent swig_types[206]
1642 #define SWIGTYPE_p_wxTreeItemId swig_types[207]
1643 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[208]
1644 #define SWIGTYPE_p_wxTreebook swig_types[209]
1645 #define SWIGTYPE_p_wxTreebookEvent swig_types[210]
1646 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[211]
1647 #define SWIGTYPE_p_wxValidator swig_types[212]
1648 #define SWIGTYPE_p_wxWindow swig_types[213]
1649 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[214]
1650 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[215]
1651 #define SWIGTYPE_p_wxXPMHandler swig_types[216]
1652 #define SWIGTYPE_ptrdiff_t swig_types[217]
1653 #define SWIGTYPE_std__ptrdiff_t swig_types[218]
1654 #define SWIGTYPE_unsigned_int swig_types[219]
1655 static swig_type_info *swig_types[221];
1656 static swig_module_info swig_module = {swig_types, 220, 0, 0, 0, 0};
1657 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1658 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1659
1660 /* -------- TYPES TABLE (END) -------- */
1661
1662
1663 /*-----------------------------------------------
1664 @(target):= _gizmos.so
1665 ------------------------------------------------*/
1666 #define SWIG_init init_gizmos
1667
1668 #define SWIG_name "_gizmos"
1669
1670 #include "wx/wxPython/wxPython.h"
1671 #include "wx/wxPython/pyclasses.h"
1672
1673 #include <wx/gizmos/dynamicsash.h>
1674 #include <wx/gizmos/editlbox.h>
1675 #include <wx/gizmos/splittree.h>
1676 #include <wx/gizmos/ledctrl.h>
1677 #include <wx/gizmos/statpict.h>
1678
1679 #include <wx/listctrl.h>
1680 #include <wx/treectrl.h>
1681 #include <wx/imaglist.h>
1682
1683 #include "wx/treelistctrl.h"
1684 #include "wx/wxPython/pytree.h"
1685
1686
1687 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1688 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1689 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1690 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
1691 static const wxString wxPyEmptyString(wxEmptyString);
1692
1693 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1694 #define SWIG_From_int PyInt_FromLong
1695 /*@@*/
1696
1697
1698 #include <limits.h>
1699
1700
1701 SWIGINTERN int
1702 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1703 const char *errmsg)
1704 {
1705 if (value < min_value) {
1706 if (errmsg) {
1707 PyErr_Format(PyExc_OverflowError,
1708 "value %ld is less than '%s' minimum %ld",
1709 value, errmsg, min_value);
1710 }
1711 return 0;
1712 } else if (value > max_value) {
1713 if (errmsg) {
1714 PyErr_Format(PyExc_OverflowError,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value, errmsg, max_value);
1717 }
1718 return 0;
1719 }
1720 return 1;
1721 }
1722
1723
1724 SWIGINTERN int
1725 SWIG_AsVal_long(PyObject* obj, long* val)
1726 {
1727 if (PyNumber_Check(obj)) {
1728 if (val) *val = PyInt_AsLong(obj);
1729 return 1;
1730 }
1731 else {
1732 SWIG_Python_TypeError("number", obj);
1733 }
1734 return 0;
1735 }
1736
1737
1738 #if INT_MAX != LONG_MAX
1739 SWIGINTERN int
1740 SWIG_AsVal_int(PyObject *obj, int *val)
1741 {
1742 const char* errmsg = val ? "int" : (char*)0;
1743 long v;
1744 if (SWIG_AsVal_long(obj, &v)) {
1745 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1746 if (val) *val = static_cast<int >(v);
1747 return 1;
1748 } else {
1749 return 0;
1750 }
1751 } else {
1752 PyErr_Clear();
1753 }
1754 if (val) {
1755 SWIG_type_error(errmsg, obj);
1756 }
1757 return 0;
1758 }
1759 #else
1760 SWIGINTERNINLINE int
1761 SWIG_AsVal_int(PyObject *obj, int *val)
1762 {
1763 return SWIG_AsVal_long(obj,(long*)val);
1764 }
1765 #endif
1766
1767
1768 SWIGINTERNINLINE int
1769 SWIG_As_int(PyObject* obj)
1770 {
1771 int v;
1772 if (!SWIG_AsVal_int(obj, &v)) {
1773 /*
1774 this is needed to make valgrind/purify happier.
1775 */
1776 memset((void*)&v, 0, sizeof(int));
1777 }
1778 return v;
1779 }
1780
1781
1782 SWIGINTERNINLINE long
1783 SWIG_As_long(PyObject* obj)
1784 {
1785 long v;
1786 if (!SWIG_AsVal_long(obj, &v)) {
1787 /*
1788 this is needed to make valgrind/purify happier.
1789 */
1790 memset((void*)&v, 0, sizeof(long));
1791 }
1792 return v;
1793 }
1794
1795
1796 SWIGINTERNINLINE int
1797 SWIG_Check_int(PyObject* obj)
1798 {
1799 return SWIG_AsVal_int(obj, (int*)0);
1800 }
1801
1802
1803 SWIGINTERNINLINE int
1804 SWIG_Check_long(PyObject* obj)
1805 {
1806 return SWIG_AsVal_long(obj, (long*)0);
1807 }
1808
1809 static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
1810 wxArrayString strings;
1811 self->GetStrings(strings);
1812 return wxArrayString2PyList_helper(strings);
1813 }
1814
1815 typedef wxTreeCtrl wxPyTreeCtrl;
1816
1817
1818 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1819 {
1820 public:
1821 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1822 const wxPoint& pos = wxDefaultPosition,
1823 const wxSize& size = wxDefaultSize,
1824 long style = 0)
1825 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1826
1827
1828 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1829 bool found;
1830 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1831 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
1832 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
1833 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1834 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
1835 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1836 Py_DECREF(dcobj);
1837 Py_DECREF(idobj);
1838 Py_DECREF(recobj);
1839 }
1840 wxPyEndBlockThreads(blocked);
1841 if (! found)
1842 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1843 }
1844
1845 PYPRIVATE;
1846 };
1847
1848
1849 SWIGINTERN int
1850 SWIG_AsVal_bool(PyObject *obj, bool *val)
1851 {
1852 if (obj == Py_True) {
1853 if (val) *val = true;
1854 return 1;
1855 }
1856 if (obj == Py_False) {
1857 if (val) *val = false;
1858 return 1;
1859 }
1860 int res = 0;
1861 if (SWIG_AsVal_int(obj, &res)) {
1862 if (val) *val = res ? true : false;
1863 return 1;
1864 } else {
1865 PyErr_Clear();
1866 }
1867 if (val) {
1868 SWIG_type_error("bool", obj);
1869 }
1870 return 0;
1871 }
1872
1873
1874 SWIGINTERNINLINE bool
1875 SWIG_As_bool(PyObject* obj)
1876 {
1877 bool v;
1878 if (!SWIG_AsVal_bool(obj, &v)) {
1879 /*
1880 this is needed to make valgrind/purify happier.
1881 */
1882 memset((void*)&v, 0, sizeof(bool));
1883 }
1884 return v;
1885 }
1886
1887
1888 SWIGINTERNINLINE int
1889 SWIG_Check_bool(PyObject* obj)
1890 {
1891 return SWIG_AsVal_bool(obj, (bool*)0);
1892 }
1893
1894
1895 SWIGINTERN int
1896 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1897 {
1898 long v = 0;
1899 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1900 SWIG_Python_TypeError("unsigned number", obj);
1901 }
1902 else if (val)
1903 *val = (unsigned long)v;
1904 return 1;
1905 }
1906
1907
1908 SWIGINTERNINLINE unsigned long
1909 SWIG_As_unsigned_SS_long(PyObject* obj)
1910 {
1911 unsigned long v;
1912 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1913 /*
1914 this is needed to make valgrind/purify happier.
1915 */
1916 memset((void*)&v, 0, sizeof(unsigned long));
1917 }
1918 return v;
1919 }
1920
1921
1922 SWIGINTERNINLINE int
1923 SWIG_Check_unsigned_SS_long(PyObject* obj)
1924 {
1925 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1926 }
1927
1928
1929 SWIGINTERNINLINE PyObject*
1930 SWIG_From_unsigned_SS_long(unsigned long value)
1931 {
1932 return (value > LONG_MAX) ?
1933 PyLong_FromUnsignedLong(value)
1934 : PyInt_FromLong(static_cast<long >(value));
1935 }
1936
1937 // C++ version of Python aware control
1938 class wxPyTreeListCtrl : public wxTreeListCtrl {
1939 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1940 public:
1941 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1942 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1943 const wxPoint& pos,
1944 const wxSize& size,
1945 long style,
1946 const wxValidator &validator,
1947 const wxString& name) :
1948 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1949
1950 int OnCompareItems(const wxTreeItemId& item1,
1951 const wxTreeItemId& item2) {
1952 int rval = 0;
1953 bool found;
1954 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1955 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1956 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1957 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1958 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1959 Py_DECREF(o1);
1960 Py_DECREF(o2);
1961 }
1962 wxPyEndBlockThreads(blocked);
1963 if (! found)
1964 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1965 return rval;
1966 }
1967 PYPRIVATE;
1968 };
1969
1970 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1971
1972
1973
1974 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1975 #define SWIG_From_long PyInt_FromLong
1976 /*@@*/
1977
1978
1979 #if UINT_MAX < LONG_MAX
1980 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1981 #define SWIG_From_unsigned_SS_int SWIG_From_long
1982 /*@@*/
1983 #else
1984 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1985 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1986 /*@@*/
1987 #endif
1988
1989
1990 SWIGINTERNINLINE int
1991 SWIG_CheckUnsignedLongInRange(unsigned long value,
1992 unsigned long max_value,
1993 const char *errmsg)
1994 {
1995 if (value > max_value) {
1996 if (errmsg) {
1997 PyErr_Format(PyExc_OverflowError,
1998 "value %lu is greater than '%s' minimum %lu",
1999 value, errmsg, max_value);
2000 }
2001 return 0;
2002 }
2003 return 1;
2004 }
2005
2006
2007 #if UINT_MAX != ULONG_MAX
2008 SWIGINTERN int
2009 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2010 {
2011 const char* errmsg = val ? "unsigned int" : (char*)0;
2012 unsigned long v;
2013 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2014 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2015 if (val) *val = static_cast<unsigned int >(v);
2016 return 1;
2017 }
2018 } else {
2019 PyErr_Clear();
2020 }
2021 if (val) {
2022 SWIG_type_error(errmsg, obj);
2023 }
2024 return 0;
2025 }
2026 #else
2027 SWIGINTERNINLINE unsigned int
2028 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2029 {
2030 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2031 }
2032 #endif
2033
2034
2035 SWIGINTERNINLINE unsigned int
2036 SWIG_As_unsigned_SS_int(PyObject* obj)
2037 {
2038 unsigned int v;
2039 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2040 /*
2041 this is needed to make valgrind/purify happier.
2042 */
2043 memset((void*)&v, 0, sizeof(unsigned int));
2044 }
2045 return v;
2046 }
2047
2048
2049 SWIGINTERNINLINE int
2050 SWIG_Check_unsigned_SS_int(PyObject* obj)
2051 {
2052 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2053 }
2054
2055 static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
2056 if (column < 0) column = self->GetMainColumn();
2057 return self->GetItemText(item, column);
2058 }
2059 static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2060 if (column < 0) column = self->GetMainColumn();
2061 return self->GetItemImage(item, column, which);
2062 }
2063 static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
2064 if (column < 0) column = self->GetMainColumn();
2065 self->SetItemText(item, column, text);
2066 }
2067 static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
2068 if (column < 0) column = self->GetMainColumn();
2069 self->SetItemImage(item, column, image, which);
2070 }
2071 static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2072 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2073 if (data == NULL) {
2074 data = new wxPyTreeItemData();
2075 data->SetId(item); // set the id
2076 self->SetItemData(item, data);
2077 }
2078 return data;
2079 }
2080 static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2081 data->SetId(item); // set the id
2082 self->SetItemData(item, data);
2083 }
2084 static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2085 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2086 if (data == NULL) {
2087 data = new wxPyTreeItemData();
2088 data->SetId(item); // set the id
2089 self->SetItemData(item, data);
2090 }
2091 return data->GetData();
2092 }
2093 static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
2094 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2095 if (data == NULL) {
2096 data = new wxPyTreeItemData(obj);
2097 data->SetId(item); // set the id
2098 self->SetItemData(item, data);
2099 } else
2100 data->SetData(obj);
2101 }
2102 static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
2103 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2104 PyObject* rval = PyList_New(0);
2105 wxArrayTreeItemIds array;
2106 size_t num, x;
2107 num = self->GetSelections(array);
2108 for (x=0; x < num; x++) {
2109 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2110 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2111 PyList_Append(rval, item);
2112 }
2113 wxPyEndBlockThreads(blocked);
2114 return rval;
2115 }
2116 static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
2117 void* cookie = 0;
2118 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2119 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2120 PyObject* tup = PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2123 wxPyEndBlockThreads(blocked);
2124 return tup;
2125 }
2126 static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
2127 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2128 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2129 PyObject* tup = PyTuple_New(2);
2130 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2131 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2132 wxPyEndBlockThreads(blocked);
2133 return tup;
2134 }
2135
2136 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
2137 {
2138 PyObject* o2;
2139 PyObject* o3;
2140 if (!result) {
2141 result = obj;
2142 } else if (result == Py_None) {
2143 Py_DECREF(result);
2144 result = obj;
2145 } else {
2146 if (!PyTuple_Check(result)) {
2147 o2 = result;
2148 result = PyTuple_New(1);
2149 PyTuple_SET_ITEM(result, 0, o2);
2150 }
2151 o3 = PyTuple_New(1);
2152 PyTuple_SetItem(o3, 0, obj);
2153 o2 = result;
2154 result = PySequence_Concat(o2, o3);
2155 Py_DECREF(o2);
2156 Py_DECREF(o3);
2157 }
2158 return result;
2159 }
2160
2161
2162 static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2163 wxRect rect;
2164 if (self->GetBoundingRect(item, rect, textOnly)) {
2165 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2166 wxRect* r = new wxRect(rect);
2167 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
2168 wxPyEndBlockThreads(blocked);
2169 return val;
2170 }
2171 else {
2172 RETURN_NONE();
2173 }
2174 }
2175
2176 #include <float.h>
2177 SWIGINTERN int
2178 SWIG_CheckDoubleInRange(double value, double min_value,
2179 double max_value, const char* errmsg)
2180 {
2181 if (value < min_value) {
2182 if (errmsg) {
2183 PyErr_Format(PyExc_OverflowError,
2184 "value %g is less than %s minimum %g",
2185 value, errmsg, min_value);
2186 }
2187 return 0;
2188 } else if (value > max_value) {
2189 if (errmsg) {
2190 PyErr_Format(PyExc_OverflowError,
2191 "value %g is greater than %s maximum %g",
2192 value, errmsg, max_value);
2193 }
2194 return 0;
2195 }
2196 return 1;
2197 }
2198
2199
2200 SWIGINTERN int
2201 SWIG_AsVal_double(PyObject *obj, double* val)
2202 {
2203 if (PyNumber_Check(obj)) {
2204 if (val) *val = PyFloat_AsDouble(obj);
2205 return 1;
2206 }
2207 else {
2208 SWIG_Python_TypeError("number", obj);
2209 }
2210 return 0;
2211 }
2212
2213
2214 SWIGINTERN int
2215 SWIG_AsVal_float(PyObject *obj, float *val)
2216 {
2217 const char* errmsg = val ? "float" : (char*)0;
2218 double v;
2219 if (SWIG_AsVal_double(obj, &v)) {
2220 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2221 if (val) *val = static_cast<float >(v);
2222 return 1;
2223 } else {
2224 return 0;
2225 }
2226 } else {
2227 PyErr_Clear();
2228 }
2229 if (val) {
2230 SWIG_type_error(errmsg, obj);
2231 }
2232 return 0;
2233 }
2234
2235
2236 SWIGINTERNINLINE float
2237 SWIG_As_float(PyObject* obj)
2238 {
2239 float v;
2240 if (!SWIG_AsVal_float(obj, &v)) {
2241 /*
2242 this is needed to make valgrind/purify happier.
2243 */
2244 memset((void*)&v, 0, sizeof(float));
2245 }
2246 return v;
2247 }
2248
2249
2250 SWIGINTERNINLINE int
2251 SWIG_Check_float(PyObject* obj)
2252 {
2253 return SWIG_AsVal_float(obj, (float*)0);
2254 }
2255
2256
2257 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2258 #define SWIG_From_float PyFloat_FromDouble
2259 /*@@*/
2260
2261
2262 #ifdef __cplusplus
2263 extern "C" {
2264 #endif
2265 static int _wrap_DynamicSashNameStr_set(PyObject *) {
2266 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
2267 return 1;
2268 }
2269
2270
2271 static PyObject *_wrap_DynamicSashNameStr_get(void) {
2272 PyObject *pyobj = NULL;
2273
2274 {
2275 #if wxUSE_UNICODE
2276 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2277 #else
2278 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2279 #endif
2280 }
2281 return pyobj;
2282 }
2283
2284
2285 static int _wrap_EditableListBoxNameStr_set(PyObject *) {
2286 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2287 return 1;
2288 }
2289
2290
2291 static PyObject *_wrap_EditableListBoxNameStr_get(void) {
2292 PyObject *pyobj = NULL;
2293
2294 {
2295 #if wxUSE_UNICODE
2296 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2297 #else
2298 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2299 #endif
2300 }
2301 return pyobj;
2302 }
2303
2304
2305 static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
2306 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2307 return 1;
2308 }
2309
2310
2311 static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
2312 PyObject *pyobj = NULL;
2313
2314 {
2315 #if wxUSE_UNICODE
2316 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2317 #else
2318 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2319 #endif
2320 }
2321 return pyobj;
2322 }
2323
2324
2325 static int _wrap_StaticPictureNameStr_set(PyObject *) {
2326 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2327 return 1;
2328 }
2329
2330
2331 static PyObject *_wrap_StaticPictureNameStr_get(void) {
2332 PyObject *pyobj = NULL;
2333
2334 {
2335 #if wxUSE_UNICODE
2336 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2337 #else
2338 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2339 #endif
2340 }
2341 return pyobj;
2342 }
2343
2344
2345 static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj = NULL;
2347 wxObject *arg1 = (wxObject *) 0 ;
2348 wxDynamicSashSplitEvent *result;
2349 PyObject * obj0 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "target", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
2355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2356 if (SWIG_arg_fail(1)) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
2372 PyObject *obj;
2373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2374 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
2375 Py_INCREF(obj);
2376 return Py_BuildValue((char *)"");
2377 }
2378 static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj = NULL;
2380 wxObject *arg1 = (wxObject *) 0 ;
2381 wxDynamicSashUnifyEvent *result;
2382 PyObject * obj0 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "target", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
2388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2389 if (SWIG_arg_fail(1)) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
2398 return resultobj;
2399 fail:
2400 return NULL;
2401 }
2402
2403
2404 static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
2405 PyObject *obj;
2406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2407 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2408 Py_INCREF(obj);
2409 return Py_BuildValue((char *)"");
2410 }
2411 static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj = NULL;
2413 wxWindow *arg1 = (wxWindow *) 0 ;
2414 int arg2 = (int) -1 ;
2415 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2416 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2417 wxSize const &arg4_defvalue = wxDefaultSize ;
2418 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2419 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2420 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2421 wxString *arg6 = (wxString *) &arg6_defvalue ;
2422 wxDynamicSashWindow *result;
2423 wxPoint temp3 ;
2424 wxSize temp4 ;
2425 bool temp6 = false ;
2426 PyObject * obj0 = 0 ;
2427 PyObject * obj1 = 0 ;
2428 PyObject * obj2 = 0 ;
2429 PyObject * obj3 = 0 ;
2430 PyObject * obj4 = 0 ;
2431 PyObject * obj5 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2438 if (SWIG_arg_fail(1)) SWIG_fail;
2439 if (obj1) {
2440 {
2441 arg2 = static_cast<int >(SWIG_As_int(obj1));
2442 if (SWIG_arg_fail(2)) SWIG_fail;
2443 }
2444 }
2445 if (obj2) {
2446 {
2447 arg3 = &temp3;
2448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2449 }
2450 }
2451 if (obj3) {
2452 {
2453 arg4 = &temp4;
2454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2455 }
2456 }
2457 if (obj4) {
2458 {
2459 arg5 = static_cast<long >(SWIG_As_long(obj4));
2460 if (SWIG_arg_fail(5)) SWIG_fail;
2461 }
2462 }
2463 if (obj5) {
2464 {
2465 arg6 = wxString_in_helper(obj5);
2466 if (arg6 == NULL) SWIG_fail;
2467 temp6 = true;
2468 }
2469 }
2470 {
2471 if (!wxPyCheckForApp()) SWIG_fail;
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2479 {
2480 if (temp6)
2481 delete arg6;
2482 }
2483 return resultobj;
2484 fail:
2485 {
2486 if (temp6)
2487 delete arg6;
2488 }
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj = NULL;
2495 wxDynamicSashWindow *result;
2496 char *kwnames[] = {
2497 NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2501 {
2502 if (!wxPyCheckForApp()) SWIG_fail;
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2510 return resultobj;
2511 fail:
2512 return NULL;
2513 }
2514
2515
2516 static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2517 PyObject *resultobj = NULL;
2518 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2519 wxWindow *arg2 = (wxWindow *) 0 ;
2520 int arg3 = (int) -1 ;
2521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2523 wxSize const &arg5_defvalue = wxDefaultSize ;
2524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2525 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2526 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2527 wxString *arg7 = (wxString *) &arg7_defvalue ;
2528 bool result;
2529 wxPoint temp4 ;
2530 wxSize temp5 ;
2531 bool temp7 = false ;
2532 PyObject * obj0 = 0 ;
2533 PyObject * obj1 = 0 ;
2534 PyObject * obj2 = 0 ;
2535 PyObject * obj3 = 0 ;
2536 PyObject * obj4 = 0 ;
2537 PyObject * obj5 = 0 ;
2538 PyObject * obj6 = 0 ;
2539 char *kwnames[] = {
2540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2541 };
2542
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2545 if (SWIG_arg_fail(1)) SWIG_fail;
2546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2547 if (SWIG_arg_fail(2)) SWIG_fail;
2548 if (obj2) {
2549 {
2550 arg3 = static_cast<int >(SWIG_As_int(obj2));
2551 if (SWIG_arg_fail(3)) SWIG_fail;
2552 }
2553 }
2554 if (obj3) {
2555 {
2556 arg4 = &temp4;
2557 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2558 }
2559 }
2560 if (obj4) {
2561 {
2562 arg5 = &temp5;
2563 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2564 }
2565 }
2566 if (obj5) {
2567 {
2568 arg6 = static_cast<long >(SWIG_As_long(obj5));
2569 if (SWIG_arg_fail(6)) SWIG_fail;
2570 }
2571 }
2572 if (obj6) {
2573 {
2574 arg7 = wxString_in_helper(obj6);
2575 if (arg7 == NULL) SWIG_fail;
2576 temp7 = true;
2577 }
2578 }
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 {
2587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2588 }
2589 {
2590 if (temp7)
2591 delete arg7;
2592 }
2593 return resultobj;
2594 fail:
2595 {
2596 if (temp7)
2597 delete arg7;
2598 }
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj = NULL;
2605 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2606 wxWindow *arg2 = (wxWindow *) 0 ;
2607 wxScrollBar *result;
2608 PyObject * obj0 = 0 ;
2609 PyObject * obj1 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self",(char *) "child", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
2615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail;
2617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2618 if (SWIG_arg_fail(2)) SWIG_fail;
2619 {
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) SWIG_fail;
2625 }
2626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj = NULL;
2635 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2636 wxWindow *arg2 = (wxWindow *) 0 ;
2637 wxScrollBar *result;
2638 PyObject * obj0 = 0 ;
2639 PyObject * obj1 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self",(char *) "child", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
2645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2646 if (SWIG_arg_fail(1)) SWIG_fail;
2647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2648 if (SWIG_arg_fail(2)) SWIG_fail;
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
2664 PyObject *obj;
2665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2666 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2667 Py_INCREF(obj);
2668 return Py_BuildValue((char *)"");
2669 }
2670 static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
2671 PyObject *resultobj = NULL;
2672 wxWindow *arg1 = (wxWindow *) 0 ;
2673 int arg2 = (int) -1 ;
2674 wxString const &arg3_defvalue = wxPyEmptyString ;
2675 wxString *arg3 = (wxString *) &arg3_defvalue ;
2676 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2677 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2678 wxSize const &arg5_defvalue = wxDefaultSize ;
2679 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2680 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2681 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2682 wxString *arg7 = (wxString *) &arg7_defvalue ;
2683 wxEditableListBox *result;
2684 bool temp3 = false ;
2685 wxPoint temp4 ;
2686 wxSize temp5 ;
2687 bool temp7 = false ;
2688 PyObject * obj0 = 0 ;
2689 PyObject * obj1 = 0 ;
2690 PyObject * obj2 = 0 ;
2691 PyObject * obj3 = 0 ;
2692 PyObject * obj4 = 0 ;
2693 PyObject * obj5 = 0 ;
2694 PyObject * obj6 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2701 if (SWIG_arg_fail(1)) SWIG_fail;
2702 if (obj1) {
2703 {
2704 arg2 = static_cast<int >(SWIG_As_int(obj1));
2705 if (SWIG_arg_fail(2)) SWIG_fail;
2706 }
2707 }
2708 if (obj2) {
2709 {
2710 arg3 = wxString_in_helper(obj2);
2711 if (arg3 == NULL) SWIG_fail;
2712 temp3 = true;
2713 }
2714 }
2715 if (obj3) {
2716 {
2717 arg4 = &temp4;
2718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2719 }
2720 }
2721 if (obj4) {
2722 {
2723 arg5 = &temp5;
2724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2725 }
2726 }
2727 if (obj5) {
2728 {
2729 arg6 = static_cast<long >(SWIG_As_long(obj5));
2730 if (SWIG_arg_fail(6)) SWIG_fail;
2731 }
2732 }
2733 if (obj6) {
2734 {
2735 arg7 = wxString_in_helper(obj6);
2736 if (arg7 == NULL) SWIG_fail;
2737 temp7 = true;
2738 }
2739 }
2740 {
2741 if (!wxPyCheckForApp()) SWIG_fail;
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
2749 {
2750 if (temp3)
2751 delete arg3;
2752 }
2753 {
2754 if (temp7)
2755 delete arg7;
2756 }
2757 return resultobj;
2758 fail:
2759 {
2760 if (temp3)
2761 delete arg3;
2762 }
2763 {
2764 if (temp7)
2765 delete arg7;
2766 }
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj = NULL;
2773 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2774 wxArrayString *arg2 = 0 ;
2775 bool temp2 = false ;
2776 PyObject * obj0 = 0 ;
2777 PyObject * obj1 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "self",(char *) "strings", NULL
2780 };
2781
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
2783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail;
2785 {
2786 if (! PySequence_Check(obj1)) {
2787 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2788 SWIG_fail;
2789 }
2790 arg2 = new wxArrayString;
2791 temp2 = true;
2792 int i, len=PySequence_Length(obj1);
2793 for (i=0; i<len; i++) {
2794 PyObject* item = PySequence_GetItem(obj1, i);
2795 wxString* s = wxString_in_helper(item);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 arg2->Add(*s);
2798 delete s;
2799 Py_DECREF(item);
2800 }
2801 }
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 (arg1)->SetStrings((wxArrayString const &)*arg2);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 Py_INCREF(Py_None); resultobj = Py_None;
2810 {
2811 if (temp2) delete arg2;
2812 }
2813 return resultobj;
2814 fail:
2815 {
2816 if (temp2) delete arg2;
2817 }
2818 return NULL;
2819 }
2820
2821
2822 static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj = NULL;
2824 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2825 PyObject *result;
2826 PyObject * obj0 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "self", NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
2832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2833 if (SWIG_arg_fail(1)) SWIG_fail;
2834 {
2835 PyThreadState* __tstate = wxPyBeginAllowThreads();
2836 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2837
2838 wxPyEndAllowThreads(__tstate);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 }
2841 resultobj = result;
2842 return resultobj;
2843 fail:
2844 return NULL;
2845 }
2846
2847
2848 static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
2849 PyObject *resultobj = NULL;
2850 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2851 wxPyListCtrl *result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
2858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail;
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
2868 return resultobj;
2869 fail:
2870 return NULL;
2871 }
2872
2873
2874 static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj = NULL;
2876 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2877 wxBitmapButton *result;
2878 PyObject * obj0 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = (wxBitmapButton *)(arg1)->GetDelButton();
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 resultobj = wxPyMake_wxObject(result, 0);
2895 }
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj = NULL;
2904 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2905 wxBitmapButton *result;
2906 PyObject * obj0 = 0 ;
2907 char *kwnames[] = {
2908 (char *) "self", NULL
2909 };
2910
2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
2912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2913 if (SWIG_arg_fail(1)) SWIG_fail;
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 result = (wxBitmapButton *)(arg1)->GetNewButton();
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 {
2922 resultobj = wxPyMake_wxObject(result, 0);
2923 }
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj = NULL;
2932 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2933 wxBitmapButton *result;
2934 PyObject * obj0 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "self", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
2940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2941 if (SWIG_arg_fail(1)) SWIG_fail;
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxBitmapButton *)(arg1)->GetUpButton();
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 {
2950 resultobj = wxPyMake_wxObject(result, 0);
2951 }
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj = NULL;
2960 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2961 wxBitmapButton *result;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 result = (wxBitmapButton *)(arg1)->GetDownButton();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 resultobj = wxPyMake_wxObject(result, 0);
2979 }
2980 return resultobj;
2981 fail:
2982 return NULL;
2983 }
2984
2985
2986 static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj = NULL;
2988 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2989 wxBitmapButton *result;
2990 PyObject * obj0 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
2996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail;
2998 {
2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
3000 result = (wxBitmapButton *)(arg1)->GetEditButton();
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
3005 {
3006 resultobj = wxPyMake_wxObject(result, 0);
3007 }
3008 return resultobj;
3009 fail:
3010 return NULL;
3011 }
3012
3013
3014 static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
3015 PyObject *obj;
3016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3017 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
3018 Py_INCREF(obj);
3019 return Py_BuildValue((char *)"");
3020 }
3021 static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3022 PyObject *resultobj = NULL;
3023 wxWindow *arg1 = (wxWindow *) 0 ;
3024 int arg2 ;
3025 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3026 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3027 wxSize const &arg4_defvalue = wxDefaultSize ;
3028 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3029 long arg5 = (long) wxTR_HAS_BUTTONS ;
3030 wxRemotelyScrolledTreeCtrl *result;
3031 wxPoint temp3 ;
3032 wxSize temp4 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 PyObject * obj2 = 0 ;
3036 PyObject * obj3 = 0 ;
3037 PyObject * obj4 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3040 };
3041
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3044 if (SWIG_arg_fail(1)) SWIG_fail;
3045 {
3046 arg2 = static_cast<int >(SWIG_As_int(obj1));
3047 if (SWIG_arg_fail(2)) SWIG_fail;
3048 }
3049 if (obj2) {
3050 {
3051 arg3 = &temp3;
3052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3053 }
3054 }
3055 if (obj3) {
3056 {
3057 arg4 = &temp4;
3058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3059 }
3060 }
3061 if (obj4) {
3062 {
3063 arg5 = static_cast<long >(SWIG_As_long(obj4));
3064 if (SWIG_arg_fail(5)) SWIG_fail;
3065 }
3066 }
3067 {
3068 if (!wxPyCheckForApp()) SWIG_fail;
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
3076 return resultobj;
3077 fail:
3078 return NULL;
3079 }
3080
3081
3082 static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
3083 PyObject *resultobj = NULL;
3084 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3085 PyObject * obj0 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
3091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3092 if (SWIG_arg_fail(1)) SWIG_fail;
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 (arg1)->HideVScrollbar();
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 Py_INCREF(Py_None); resultobj = Py_None;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj = NULL;
3109 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
3116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3117 if (SWIG_arg_fail(1)) SWIG_fail;
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 (arg1)->AdjustRemoteScrollbars();
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 Py_INCREF(Py_None); resultobj = Py_None;
3126 return resultobj;
3127 fail:
3128 return NULL;
3129 }
3130
3131
3132 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj = NULL;
3134 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3135 wxScrolledWindow *result;
3136 PyObject * obj0 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
3142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail;
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 {
3152 resultobj = wxPyMake_wxObject(result, 0);
3153 }
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj = NULL;
3162 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3163 int arg2 ;
3164 int arg3 ;
3165 PyObject * obj0 = 0 ;
3166 PyObject * obj1 = 0 ;
3167 PyObject * obj2 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
3173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail;
3175 {
3176 arg2 = static_cast<int >(SWIG_As_int(obj1));
3177 if (SWIG_arg_fail(2)) SWIG_fail;
3178 }
3179 {
3180 arg3 = static_cast<int >(SWIG_As_int(obj2));
3181 if (SWIG_arg_fail(3)) SWIG_fail;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->ScrollToLine(arg2,arg3);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 return resultobj;
3192 fail:
3193 return NULL;
3194 }
3195
3196
3197 static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3198 PyObject *resultobj = NULL;
3199 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3200 wxWindow *arg2 = (wxWindow *) 0 ;
3201 PyObject * obj0 = 0 ;
3202 PyObject * obj1 = 0 ;
3203 char *kwnames[] = {
3204 (char *) "self",(char *) "companion", NULL
3205 };
3206
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
3208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3209 if (SWIG_arg_fail(1)) SWIG_fail;
3210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3211 if (SWIG_arg_fail(2)) SWIG_fail;
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 (arg1)->SetCompanionWindow(arg2);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj = NULL;
3228 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3229 wxWindow *result;
3230 PyObject * obj0 = 0 ;
3231 char *kwnames[] = {
3232 (char *) "self", NULL
3233 };
3234
3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
3236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3237 if (SWIG_arg_fail(1)) SWIG_fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 {
3246 resultobj = wxPyMake_wxObject(result, 0);
3247 }
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
3255 PyObject *obj;
3256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
3258 Py_INCREF(obj);
3259 return Py_BuildValue((char *)"");
3260 }
3261 static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = NULL;
3263 wxWindow *arg1 = (wxWindow *) 0 ;
3264 int arg2 = (int) -1 ;
3265 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3266 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3267 wxSize const &arg4_defvalue = wxDefaultSize ;
3268 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3269 long arg5 = (long) 0 ;
3270 wxPyTreeCompanionWindow *result;
3271 wxPoint temp3 ;
3272 wxSize temp4 ;
3273 PyObject * obj0 = 0 ;
3274 PyObject * obj1 = 0 ;
3275 PyObject * obj2 = 0 ;
3276 PyObject * obj3 = 0 ;
3277 PyObject * obj4 = 0 ;
3278 char *kwnames[] = {
3279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3280 };
3281
3282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3284 if (SWIG_arg_fail(1)) SWIG_fail;
3285 if (obj1) {
3286 {
3287 arg2 = static_cast<int >(SWIG_As_int(obj1));
3288 if (SWIG_arg_fail(2)) SWIG_fail;
3289 }
3290 }
3291 if (obj2) {
3292 {
3293 arg3 = &temp3;
3294 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3295 }
3296 }
3297 if (obj3) {
3298 {
3299 arg4 = &temp4;
3300 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3301 }
3302 }
3303 if (obj4) {
3304 {
3305 arg5 = static_cast<long >(SWIG_As_long(obj4));
3306 if (SWIG_arg_fail(5)) SWIG_fail;
3307 }
3308 }
3309 {
3310 if (!wxPyCheckForApp()) SWIG_fail;
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
3318 return resultobj;
3319 fail:
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj = NULL;
3326 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3327 PyObject *arg2 = (PyObject *) 0 ;
3328 PyObject *arg3 = (PyObject *) 0 ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 PyObject * obj2 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "self",(char *) "_class", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
3339 arg2 = obj1;
3340 arg3 = obj2;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->_setCallbackInfo(arg2,arg3);
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj = NULL;
3357 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3358 wxRemotelyScrolledTreeCtrl *result;
3359 PyObject * obj0 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj = NULL;
3383 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3384 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self",(char *) "treeCtrl", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
3392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3393 if (SWIG_arg_fail(1)) SWIG_fail;
3394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3395 if (SWIG_arg_fail(2)) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 (arg1)->SetTreeCtrl(arg2);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
3411 PyObject *obj;
3412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3413 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3414 Py_INCREF(obj);
3415 return Py_BuildValue((char *)"");
3416 }
3417 static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj = NULL;
3419 wxWindow *arg1 = (wxWindow *) 0 ;
3420 int arg2 = (int) -1 ;
3421 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3422 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3423 wxSize const &arg4_defvalue = wxDefaultSize ;
3424 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3425 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3426 wxThinSplitterWindow *result;
3427 wxPoint temp3 ;
3428 wxSize temp4 ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3431 PyObject * obj2 = 0 ;
3432 PyObject * obj3 = 0 ;
3433 PyObject * obj4 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3440 if (SWIG_arg_fail(1)) SWIG_fail;
3441 if (obj1) {
3442 {
3443 arg2 = static_cast<int >(SWIG_As_int(obj1));
3444 if (SWIG_arg_fail(2)) SWIG_fail;
3445 }
3446 }
3447 if (obj2) {
3448 {
3449 arg3 = &temp3;
3450 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3451 }
3452 }
3453 if (obj3) {
3454 {
3455 arg4 = &temp4;
3456 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3457 }
3458 }
3459 if (obj4) {
3460 {
3461 arg5 = static_cast<long >(SWIG_As_long(obj4));
3462 if (SWIG_arg_fail(5)) SWIG_fail;
3463 }
3464 }
3465 {
3466 if (!wxPyCheckForApp()) SWIG_fail;
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
3481 PyObject *obj;
3482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3483 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3484 Py_INCREF(obj);
3485 return Py_BuildValue((char *)"");
3486 }
3487 static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj = NULL;
3489 wxWindow *arg1 = (wxWindow *) 0 ;
3490 int arg2 = (int) -1 ;
3491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3493 wxSize const &arg4_defvalue = wxDefaultSize ;
3494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3495 long arg5 = (long) 0 ;
3496 wxSplitterScrolledWindow *result;
3497 wxPoint temp3 ;
3498 wxSize temp4 ;
3499 PyObject * obj0 = 0 ;
3500 PyObject * obj1 = 0 ;
3501 PyObject * obj2 = 0 ;
3502 PyObject * obj3 = 0 ;
3503 PyObject * obj4 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail;
3511 if (obj1) {
3512 {
3513 arg2 = static_cast<int >(SWIG_As_int(obj1));
3514 if (SWIG_arg_fail(2)) SWIG_fail;
3515 }
3516 }
3517 if (obj2) {
3518 {
3519 arg3 = &temp3;
3520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3521 }
3522 }
3523 if (obj3) {
3524 {
3525 arg4 = &temp4;
3526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3527 }
3528 }
3529 if (obj4) {
3530 {
3531 arg5 = static_cast<long >(SWIG_As_long(obj4));
3532 if (SWIG_arg_fail(5)) SWIG_fail;
3533 }
3534 }
3535 {
3536 if (!wxPyCheckForApp()) SWIG_fail;
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
3551 PyObject *obj;
3552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3553 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3554 Py_INCREF(obj);
3555 return Py_BuildValue((char *)"");
3556 }
3557 static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj = NULL;
3559 wxWindow *arg1 = (wxWindow *) 0 ;
3560 int arg2 = (int) -1 ;
3561 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3562 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3563 wxSize const &arg4_defvalue = wxDefaultSize ;
3564 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3565 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3566 wxLEDNumberCtrl *result;
3567 wxPoint temp3 ;
3568 wxSize temp4 ;
3569 PyObject * obj0 = 0 ;
3570 PyObject * obj1 = 0 ;
3571 PyObject * obj2 = 0 ;
3572 PyObject * obj3 = 0 ;
3573 PyObject * obj4 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3580 if (SWIG_arg_fail(1)) SWIG_fail;
3581 if (obj1) {
3582 {
3583 arg2 = static_cast<int >(SWIG_As_int(obj1));
3584 if (SWIG_arg_fail(2)) SWIG_fail;
3585 }
3586 }
3587 if (obj2) {
3588 {
3589 arg3 = &temp3;
3590 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3591 }
3592 }
3593 if (obj3) {
3594 {
3595 arg4 = &temp4;
3596 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3597 }
3598 }
3599 if (obj4) {
3600 {
3601 arg5 = static_cast<long >(SWIG_As_long(obj4));
3602 if (SWIG_arg_fail(5)) SWIG_fail;
3603 }
3604 }
3605 {
3606 if (!wxPyCheckForApp()) SWIG_fail;
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj = NULL;
3622 wxLEDNumberCtrl *result;
3623 char *kwnames[] = {
3624 NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3628 {
3629 if (!wxPyCheckForApp()) SWIG_fail;
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3637 return resultobj;
3638 fail:
3639 return NULL;
3640 }
3641
3642
3643 static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3644 PyObject *resultobj = NULL;
3645 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3646 wxWindow *arg2 = (wxWindow *) 0 ;
3647 int arg3 = (int) -1 ;
3648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3650 wxSize const &arg5_defvalue = wxDefaultSize ;
3651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3652 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3653 bool result;
3654 wxPoint temp4 ;
3655 wxSize temp5 ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658 PyObject * obj2 = 0 ;
3659 PyObject * obj3 = 0 ;
3660 PyObject * obj4 = 0 ;
3661 PyObject * obj5 = 0 ;
3662 char *kwnames[] = {
3663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail;
3669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3670 if (SWIG_arg_fail(2)) SWIG_fail;
3671 if (obj2) {
3672 {
3673 arg3 = static_cast<int >(SWIG_As_int(obj2));
3674 if (SWIG_arg_fail(3)) SWIG_fail;
3675 }
3676 }
3677 if (obj3) {
3678 {
3679 arg4 = &temp4;
3680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3681 }
3682 }
3683 if (obj4) {
3684 {
3685 arg5 = &temp5;
3686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3687 }
3688 }
3689 if (obj5) {
3690 {
3691 arg6 = static_cast<long >(SWIG_As_long(obj5));
3692 if (SWIG_arg_fail(6)) SWIG_fail;
3693 }
3694 }
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 {
3703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3704 }
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj = NULL;
3713 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3714 wxLEDValueAlign result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
3721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3722 if (SWIG_arg_fail(1)) SWIG_fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 resultobj = SWIG_From_int((result));
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj = NULL;
3739 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3740 bool result;
3741 PyObject * obj0 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
3747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3748 if (SWIG_arg_fail(1)) SWIG_fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 {
3757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3758 }
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj = NULL;
3767 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3768 wxString *result;
3769 PyObject * obj0 = 0 ;
3770 char *kwnames[] = {
3771 (char *) "self", NULL
3772 };
3773
3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
3775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3776 if (SWIG_arg_fail(1)) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 {
3780 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3781 result = (wxString *) &_result_ref;
3782 }
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 {
3788 #if wxUSE_UNICODE
3789 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3790 #else
3791 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3792 #endif
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj = NULL;
3802 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3803 wxLEDValueAlign arg2 ;
3804 bool arg3 = (bool) true ;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj1 = 0 ;
3807 PyObject * obj2 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
3813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail;
3815 {
3816 arg2 = static_cast<wxLEDValueAlign >(SWIG_As_int(obj1));
3817 if (SWIG_arg_fail(2)) SWIG_fail;
3818 }
3819 if (obj2) {
3820 {
3821 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3822 if (SWIG_arg_fail(3)) SWIG_fail;
3823 }
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 (arg1)->SetAlignment(arg2,arg3);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 Py_INCREF(Py_None); resultobj = Py_None;
3833 return resultobj;
3834 fail:
3835 return NULL;
3836 }
3837
3838
3839 static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
3840 PyObject *resultobj = NULL;
3841 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3842 bool arg2 ;
3843 bool arg3 = (bool) true ;
3844 PyObject * obj0 = 0 ;
3845 PyObject * obj1 = 0 ;
3846 PyObject * obj2 = 0 ;
3847 char *kwnames[] = {
3848 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
3852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail;
3854 {
3855 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3856 if (SWIG_arg_fail(2)) SWIG_fail;
3857 }
3858 if (obj2) {
3859 {
3860 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3861 if (SWIG_arg_fail(3)) SWIG_fail;
3862 }
3863 }
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 (arg1)->SetDrawFaded(arg2,arg3);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj = NULL;
3880 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3881 wxString *arg2 = 0 ;
3882 bool arg3 = (bool) true ;
3883 bool temp2 = false ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 PyObject * obj2 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
3892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail;
3894 {
3895 arg2 = wxString_in_helper(obj1);
3896 if (arg2 == NULL) SWIG_fail;
3897 temp2 = true;
3898 }
3899 if (obj2) {
3900 {
3901 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3902 if (SWIG_arg_fail(3)) SWIG_fail;
3903 }
3904 }
3905 {
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 (arg1)->SetValue((wxString const &)*arg2,arg3);
3908
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 Py_INCREF(Py_None); resultobj = Py_None;
3913 {
3914 if (temp2)
3915 delete arg2;
3916 }
3917 return resultobj;
3918 fail:
3919 {
3920 if (temp2)
3921 delete arg2;
3922 }
3923 return NULL;
3924 }
3925
3926
3927 static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
3928 PyObject *obj;
3929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3931 Py_INCREF(obj);
3932 return Py_BuildValue((char *)"");
3933 }
3934 static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj = NULL;
3936 wxString const &arg1_defvalue = wxPyEmptyString ;
3937 wxString *arg1 = (wxString *) &arg1_defvalue ;
3938 int arg2 = (int) -1 ;
3939 size_t arg3 = (size_t) 100 ;
3940 bool arg4 = (bool) true ;
3941 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
3942 wxTreeListColumnInfo *result;
3943 bool temp1 = false ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 PyObject * obj3 = 0 ;
3948 PyObject * obj4 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3954 if (obj0) {
3955 {
3956 arg1 = wxString_in_helper(obj0);
3957 if (arg1 == NULL) SWIG_fail;
3958 temp1 = true;
3959 }
3960 }
3961 if (obj1) {
3962 {
3963 arg2 = static_cast<int >(SWIG_As_int(obj1));
3964 if (SWIG_arg_fail(2)) SWIG_fail;
3965 }
3966 }
3967 if (obj2) {
3968 {
3969 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
3970 if (SWIG_arg_fail(3)) SWIG_fail;
3971 }
3972 }
3973 if (obj3) {
3974 {
3975 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
3976 if (SWIG_arg_fail(4)) SWIG_fail;
3977 }
3978 }
3979 if (obj4) {
3980 {
3981 arg5 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj4));
3982 if (SWIG_arg_fail(5)) SWIG_fail;
3983 }
3984 }
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
3993 {
3994 if (temp1)
3995 delete arg1;
3996 }
3997 return resultobj;
3998 fail:
3999 {
4000 if (temp1)
4001 delete arg1;
4002 }
4003 return NULL;
4004 }
4005
4006
4007 static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj = NULL;
4009 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4010 bool result;
4011 PyObject * obj0 = 0 ;
4012 char *kwnames[] = {
4013 (char *) "self", NULL
4014 };
4015
4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
4017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4018 if (SWIG_arg_fail(1)) SWIG_fail;
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 {
4027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4028 }
4029 return resultobj;
4030 fail:
4031 return NULL;
4032 }
4033
4034
4035 static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = NULL;
4037 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4038 wxTreeListColumnAlign result;
4039 PyObject * obj0 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
4045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4046 if (SWIG_arg_fail(1)) SWIG_fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 resultobj = SWIG_From_int((result));
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj = NULL;
4063 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4064 wxString result;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
4071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4072 if (SWIG_arg_fail(1)) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 {
4081 #if wxUSE_UNICODE
4082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4083 #else
4084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4085 #endif
4086 }
4087 return resultobj;
4088 fail:
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj = NULL;
4095 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4096 int result;
4097 PyObject * obj0 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
4103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail;
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 {
4113 resultobj = SWIG_From_int(static_cast<int >(result));
4114 }
4115 return resultobj;
4116 fail:
4117 return NULL;
4118 }
4119
4120
4121 static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj = NULL;
4123 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4124 int result;
4125 PyObject * obj0 = 0 ;
4126 char *kwnames[] = {
4127 (char *) "self", NULL
4128 };
4129
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
4131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail;
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 {
4141 resultobj = SWIG_From_int(static_cast<int >(result));
4142 }
4143 return resultobj;
4144 fail:
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj = NULL;
4151 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4152 size_t result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
4159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4160 if (SWIG_arg_fail(1)) SWIG_fail;
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 {
4169 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4170 }
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj = NULL;
4179 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4180 bool arg2 ;
4181 PyObject * obj0 = 0 ;
4182 PyObject * obj1 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "shown", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
4188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4189 if (SWIG_arg_fail(1)) SWIG_fail;
4190 {
4191 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4192 if (SWIG_arg_fail(2)) SWIG_fail;
4193 }
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->SetShown(arg2);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205 }
4206
4207
4208 static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj = NULL;
4210 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4211 wxTreeListColumnAlign arg2 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self",(char *) "alignment", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
4219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4220 if (SWIG_arg_fail(1)) SWIG_fail;
4221 {
4222 arg2 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj1));
4223 if (SWIG_arg_fail(2)) SWIG_fail;
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->SetAlignment(arg2);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 Py_INCREF(Py_None); resultobj = Py_None;
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj = NULL;
4241 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4242 wxString *arg2 = 0 ;
4243 bool temp2 = false ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "text", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
4251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail;
4253 {
4254 arg2 = wxString_in_helper(obj1);
4255 if (arg2 == NULL) SWIG_fail;
4256 temp2 = true;
4257 }
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 (arg1)->SetText((wxString const &)*arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 {
4267 if (temp2)
4268 delete arg2;
4269 }
4270 return resultobj;
4271 fail:
4272 {
4273 if (temp2)
4274 delete arg2;
4275 }
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj = NULL;
4282 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4283 int arg2 ;
4284 PyObject * obj0 = 0 ;
4285 PyObject * obj1 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self",(char *) "image", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
4291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail;
4293 {
4294 arg2 = static_cast<int >(SWIG_As_int(obj1));
4295 if (SWIG_arg_fail(2)) SWIG_fail;
4296 }
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 (arg1)->SetImage(arg2);
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 Py_INCREF(Py_None); resultobj = Py_None;
4305 return resultobj;
4306 fail:
4307 return NULL;
4308 }
4309
4310
4311 static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = NULL;
4313 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4314 int arg2 ;
4315 PyObject * obj0 = 0 ;
4316 PyObject * obj1 = 0 ;
4317 char *kwnames[] = {
4318 (char *) "self",(char *) "image", NULL
4319 };
4320
4321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
4322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail;
4324 {
4325 arg2 = static_cast<int >(SWIG_As_int(obj1));
4326 if (SWIG_arg_fail(2)) SWIG_fail;
4327 }
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->SetSelectedImage(arg2);
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj = NULL;
4344 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4345 size_t arg2 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "with", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
4355 {
4356 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
4357 if (SWIG_arg_fail(2)) SWIG_fail;
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 (arg1)->SetWidth(arg2);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 Py_INCREF(Py_None); resultobj = Py_None;
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
4374 PyObject *obj;
4375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4376 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
4377 Py_INCREF(obj);
4378 return Py_BuildValue((char *)"");
4379 }
4380 static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj = NULL;
4382 wxWindow *arg1 = (wxWindow *) 0 ;
4383 int arg2 = (int) -1 ;
4384 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4385 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4386 wxSize const &arg4_defvalue = wxDefaultSize ;
4387 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4388 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4389 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4390 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4391 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4392 wxString *arg7 = (wxString *) &arg7_defvalue ;
4393 wxPyTreeListCtrl *result;
4394 wxPoint temp3 ;
4395 wxSize temp4 ;
4396 bool temp7 = false ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 PyObject * obj3 = 0 ;
4401 PyObject * obj4 = 0 ;
4402 PyObject * obj5 = 0 ;
4403 PyObject * obj6 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4410 if (SWIG_arg_fail(1)) SWIG_fail;
4411 if (obj1) {
4412 {
4413 arg2 = static_cast<int >(SWIG_As_int(obj1));
4414 if (SWIG_arg_fail(2)) SWIG_fail;
4415 }
4416 }
4417 if (obj2) {
4418 {
4419 arg3 = &temp3;
4420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4421 }
4422 }
4423 if (obj3) {
4424 {
4425 arg4 = &temp4;
4426 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4427 }
4428 }
4429 if (obj4) {
4430 {
4431 arg5 = static_cast<long >(SWIG_As_long(obj4));
4432 if (SWIG_arg_fail(5)) SWIG_fail;
4433 }
4434 }
4435 if (obj5) {
4436 {
4437 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4438 if (SWIG_arg_fail(6)) SWIG_fail;
4439 if (arg6 == NULL) {
4440 SWIG_null_ref("wxValidator");
4441 }
4442 if (SWIG_arg_fail(6)) SWIG_fail;
4443 }
4444 }
4445 if (obj6) {
4446 {
4447 arg7 = wxString_in_helper(obj6);
4448 if (arg7 == NULL) SWIG_fail;
4449 temp7 = true;
4450 }
4451 }
4452 {
4453 if (!wxPyCheckForApp()) SWIG_fail;
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4461 {
4462 if (temp7)
4463 delete arg7;
4464 }
4465 return resultobj;
4466 fail:
4467 {
4468 if (temp7)
4469 delete arg7;
4470 }
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj = NULL;
4477 wxPyTreeListCtrl *result;
4478 char *kwnames[] = {
4479 NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4483 {
4484 if (!wxPyCheckForApp()) SWIG_fail;
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj = NULL;
4500 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4501 wxWindow *arg2 = (wxWindow *) 0 ;
4502 int arg3 = (int) -1 ;
4503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4505 wxSize const &arg5_defvalue = wxDefaultSize ;
4506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4507 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4508 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4509 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4510 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4511 wxString *arg8 = (wxString *) &arg8_defvalue ;
4512 bool result;
4513 wxPoint temp4 ;
4514 wxSize temp5 ;
4515 bool temp8 = false ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 PyObject * obj2 = 0 ;
4519 PyObject * obj3 = 0 ;
4520 PyObject * obj4 = 0 ;
4521 PyObject * obj5 = 0 ;
4522 PyObject * obj6 = 0 ;
4523 PyObject * obj7 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail;
4531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4532 if (SWIG_arg_fail(2)) SWIG_fail;
4533 if (obj2) {
4534 {
4535 arg3 = static_cast<int >(SWIG_As_int(obj2));
4536 if (SWIG_arg_fail(3)) SWIG_fail;
4537 }
4538 }
4539 if (obj3) {
4540 {
4541 arg4 = &temp4;
4542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4543 }
4544 }
4545 if (obj4) {
4546 {
4547 arg5 = &temp5;
4548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4549 }
4550 }
4551 if (obj5) {
4552 {
4553 arg6 = static_cast<long >(SWIG_As_long(obj5));
4554 if (SWIG_arg_fail(6)) SWIG_fail;
4555 }
4556 }
4557 if (obj6) {
4558 {
4559 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4560 if (SWIG_arg_fail(7)) SWIG_fail;
4561 if (arg7 == NULL) {
4562 SWIG_null_ref("wxValidator");
4563 }
4564 if (SWIG_arg_fail(7)) SWIG_fail;
4565 }
4566 }
4567 if (obj7) {
4568 {
4569 arg8 = wxString_in_helper(obj7);
4570 if (arg8 == NULL) SWIG_fail;
4571 temp8 = true;
4572 }
4573 }
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 {
4582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4583 }
4584 {
4585 if (temp8)
4586 delete arg8;
4587 }
4588 return resultobj;
4589 fail:
4590 {
4591 if (temp8)
4592 delete arg8;
4593 }
4594 return NULL;
4595 }
4596
4597
4598 static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4599 PyObject *resultobj = NULL;
4600 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4601 PyObject *arg2 = (PyObject *) 0 ;
4602 PyObject *arg3 = (PyObject *) 0 ;
4603 PyObject * obj0 = 0 ;
4604 PyObject * obj1 = 0 ;
4605 PyObject * obj2 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self",(char *) "self",(char *) "_class", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4612 if (SWIG_arg_fail(1)) SWIG_fail;
4613 arg2 = obj1;
4614 arg3 = obj2;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->_setCallbackInfo(arg2,arg3);
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 Py_INCREF(Py_None); resultobj = Py_None;
4623 return resultobj;
4624 fail:
4625 return NULL;
4626 }
4627
4628
4629 static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
4630 PyObject *resultobj = NULL;
4631 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4632 size_t result;
4633 PyObject * obj0 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
4639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4640 if (SWIG_arg_fail(1)) SWIG_fail;
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
4649 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj = NULL;
4659 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4660 unsigned int result;
4661 PyObject * obj0 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
4667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4668 if (SWIG_arg_fail(1)) SWIG_fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 {
4677 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4678 }
4679 return resultobj;
4680 fail:
4681 return NULL;
4682 }
4683
4684
4685 static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj = NULL;
4687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4688 unsigned int arg2 ;
4689 PyObject * obj0 = 0 ;
4690 PyObject * obj1 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self",(char *) "indent", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail;
4698 {
4699 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4700 if (SWIG_arg_fail(2)) SWIG_fail;
4701 }
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 (arg1)->SetIndent(arg2);
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 Py_INCREF(Py_None); resultobj = Py_None;
4710 return resultobj;
4711 fail:
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj = NULL;
4718 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4719 unsigned int result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 {
4736 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
4737 }
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj = NULL;
4746 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4747 unsigned int arg2 ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self",(char *) "spacing", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
4757 {
4758 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
4759 if (SWIG_arg_fail(2)) SWIG_fail;
4760 }
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 (arg1)->SetLineSpacing(arg2);
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 Py_INCREF(Py_None); resultobj = Py_None;
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj = NULL;
4777 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4778 wxImageList *result;
4779 PyObject * obj0 = 0 ;
4780 char *kwnames[] = {
4781 (char *) "self", NULL
4782 };
4783
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
4785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4786 if (SWIG_arg_fail(1)) SWIG_fail;
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4790
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 {
4795 resultobj = wxPyMake_wxObject(result, (bool)0);
4796 }
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj = NULL;
4805 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4806 wxImageList *result;
4807 PyObject * obj0 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
4813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4814 if (SWIG_arg_fail(1)) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = wxPyMake_wxObject(result, (bool)0);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj = NULL;
4833 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4834 wxImageList *result;
4835 PyObject * obj0 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
4841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail;
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 {
4851 resultobj = wxPyMake_wxObject(result, (bool)0);
4852 }
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj = NULL;
4861 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4862 wxImageList *arg2 = (wxImageList *) 0 ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "imageList", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
4870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4871 if (SWIG_arg_fail(1)) SWIG_fail;
4872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(2)) SWIG_fail;
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 (arg1)->SetImageList(arg2);
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 Py_INCREF(Py_None); resultobj = Py_None;
4882 return resultobj;
4883 fail:
4884 return NULL;
4885 }
4886
4887
4888 static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj = NULL;
4890 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4891 wxImageList *arg2 = (wxImageList *) 0 ;
4892 PyObject * obj0 = 0 ;
4893 PyObject * obj1 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self",(char *) "imageList", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
4899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4900 if (SWIG_arg_fail(1)) SWIG_fail;
4901 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4902 if (SWIG_arg_fail(2)) SWIG_fail;
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 (arg1)->SetStateImageList(arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 Py_INCREF(Py_None); resultobj = Py_None;
4911 return resultobj;
4912 fail:
4913 return NULL;
4914 }
4915
4916
4917 static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj = NULL;
4919 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4920 wxImageList *arg2 = (wxImageList *) 0 ;
4921 PyObject * obj0 = 0 ;
4922 PyObject * obj1 = 0 ;
4923 char *kwnames[] = {
4924 (char *) "self",(char *) "imageList", NULL
4925 };
4926
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
4928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail;
4930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4931 if (SWIG_arg_fail(2)) SWIG_fail;
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->SetButtonsImageList(arg2);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 return resultobj;
4941 fail:
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj = NULL;
4948 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4949 wxImageList *arg2 = (wxImageList *) 0 ;
4950 PyObject * obj0 = 0 ;
4951 PyObject * obj1 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self",(char *) "imageList", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
4957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail;
4959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4960 if (SWIG_arg_fail(2)) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 (arg1)->AssignImageList(arg2);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 Py_INCREF(Py_None); resultobj = Py_None;
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj = NULL;
4977 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4978 wxImageList *arg2 = (wxImageList *) 0 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self",(char *) "imageList", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
4986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail;
4988 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4989 if (SWIG_arg_fail(2)) SWIG_fail;
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 (arg1)->AssignStateImageList(arg2);
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 Py_INCREF(Py_None); resultobj = Py_None;
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj = NULL;
5006 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5007 wxImageList *arg2 = (wxImageList *) 0 ;
5008 PyObject * obj0 = 0 ;
5009 PyObject * obj1 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self",(char *) "imageList", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
5015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail;
5017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
5018 if (SWIG_arg_fail(2)) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->AssignButtonsImageList(arg2);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 Py_INCREF(Py_None); resultobj = Py_None;
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj = NULL;
5035 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5036 wxString *arg2 = 0 ;
5037 bool temp2 = false ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self",(char *) "text", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
5045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail;
5047 {
5048 arg2 = wxString_in_helper(obj1);
5049 if (arg2 == NULL) SWIG_fail;
5050 temp2 = true;
5051 }
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 (arg1)->AddColumn((wxString const &)*arg2);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 Py_INCREF(Py_None); resultobj = Py_None;
5060 {
5061 if (temp2)
5062 delete arg2;
5063 }
5064 return resultobj;
5065 fail:
5066 {
5067 if (temp2)
5068 delete arg2;
5069 }
5070 return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj = NULL;
5076 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5077 wxTreeListColumnInfo *arg2 = 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "col", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
5085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5086 if (SWIG_arg_fail(1)) SWIG_fail;
5087 {
5088 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(2)) SWIG_fail;
5090 if (arg2 == NULL) {
5091 SWIG_null_ref("wxTreeListColumnInfo");
5092 }
5093 if (SWIG_arg_fail(2)) SWIG_fail;
5094 }
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 Py_INCREF(Py_None); resultobj = Py_None;
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj = NULL;
5111 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5112 size_t arg2 ;
5113 wxString *arg3 = 0 ;
5114 bool temp3 = false ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 PyObject * obj2 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self",(char *) "before",(char *) "text", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail;
5125 {
5126 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5127 if (SWIG_arg_fail(2)) SWIG_fail;
5128 }
5129 {
5130 arg3 = wxString_in_helper(obj2);
5131 if (arg3 == NULL) SWIG_fail;
5132 temp3 = true;
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 Py_INCREF(Py_None); resultobj = Py_None;
5142 {
5143 if (temp3)
5144 delete arg3;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (temp3)
5150 delete arg3;
5151 }
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj = NULL;
5158 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5159 size_t arg2 ;
5160 wxTreeListColumnInfo *arg3 = 0 ;
5161 PyObject * obj0 = 0 ;
5162 PyObject * obj1 = 0 ;
5163 PyObject * obj2 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self",(char *) "before",(char *) "col", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5170 if (SWIG_arg_fail(1)) SWIG_fail;
5171 {
5172 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5173 if (SWIG_arg_fail(2)) SWIG_fail;
5174 }
5175 {
5176 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5177 if (SWIG_arg_fail(3)) SWIG_fail;
5178 if (arg3 == NULL) {
5179 SWIG_null_ref("wxTreeListColumnInfo");
5180 }
5181 if (SWIG_arg_fail(3)) SWIG_fail;
5182 }
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 Py_INCREF(Py_None); resultobj = Py_None;
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj = NULL;
5199 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5200 size_t arg2 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "column", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
5211 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5212 if (SWIG_arg_fail(2)) SWIG_fail;
5213 }
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 (arg1)->RemoveColumn(arg2);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 Py_INCREF(Py_None); resultobj = Py_None;
5222 return resultobj;
5223 fail:
5224 return NULL;
5225 }
5226
5227
5228 static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj = NULL;
5230 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5231 size_t result;
5232 PyObject * obj0 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
5238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail;
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 {
5248 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5249 }
5250 return resultobj;
5251 fail:
5252 return NULL;
5253 }
5254
5255
5256 static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj = NULL;
5258 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5259 size_t arg2 ;
5260 size_t arg3 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 PyObject * obj2 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "column",(char *) "width", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
5269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5270 if (SWIG_arg_fail(1)) SWIG_fail;
5271 {
5272 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5273 if (SWIG_arg_fail(2)) SWIG_fail;
5274 }
5275 {
5276 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
5277 if (SWIG_arg_fail(3)) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 (arg1)->SetColumnWidth(arg2,arg3);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 Py_INCREF(Py_None); resultobj = Py_None;
5287 return resultobj;
5288 fail:
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj = NULL;
5295 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5296 size_t arg2 ;
5297 int result;
5298 PyObject * obj0 = 0 ;
5299 PyObject * obj1 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "column", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
5305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail;
5307 {
5308 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5309 if (SWIG_arg_fail(2)) SWIG_fail;
5310 }
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5314
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 {
5319 resultobj = SWIG_From_int(static_cast<int >(result));
5320 }
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj = NULL;
5329 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5330 size_t arg2 ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "column", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
5338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5339 if (SWIG_arg_fail(1)) SWIG_fail;
5340 {
5341 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5342 if (SWIG_arg_fail(2)) SWIG_fail;
5343 }
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 (arg1)->SetMainColumn(arg2);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 Py_INCREF(Py_None); resultobj = Py_None;
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj = NULL;
5360 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5361 size_t result;
5362 PyObject * obj0 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
5368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5369 if (SWIG_arg_fail(1)) SWIG_fail;
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 {
5378 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
5379 }
5380 return resultobj;
5381 fail:
5382 return NULL;
5383 }
5384
5385
5386 static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5387 PyObject *resultobj = NULL;
5388 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5389 size_t arg2 ;
5390 wxString *arg3 = 0 ;
5391 bool temp3 = false ;
5392 PyObject * obj0 = 0 ;
5393 PyObject * obj1 = 0 ;
5394 PyObject * obj2 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self",(char *) "column",(char *) "text", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail;
5402 {
5403 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5404 if (SWIG_arg_fail(2)) SWIG_fail;
5405 }
5406 {
5407 arg3 = wxString_in_helper(obj2);
5408 if (arg3 == NULL) SWIG_fail;
5409 temp3 = true;
5410 }
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 {
5420 if (temp3)
5421 delete arg3;
5422 }
5423 return resultobj;
5424 fail:
5425 {
5426 if (temp3)
5427 delete arg3;
5428 }
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj = NULL;
5435 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5436 size_t arg2 ;
5437 wxString result;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "column", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
5445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail;
5447 {
5448 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5449 if (SWIG_arg_fail(2)) SWIG_fail;
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 {
5459 #if wxUSE_UNICODE
5460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5461 #else
5462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5463 #endif
5464 }
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj = NULL;
5473 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5474 size_t arg2 ;
5475 wxTreeListColumnInfo *arg3 = 0 ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 PyObject * obj2 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "column",(char *) "info", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail;
5486 {
5487 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5488 if (SWIG_arg_fail(2)) SWIG_fail;
5489 }
5490 {
5491 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(3)) SWIG_fail;
5493 if (arg3 == NULL) {
5494 SWIG_null_ref("wxTreeListColumnInfo");
5495 }
5496 if (SWIG_arg_fail(3)) SWIG_fail;
5497 }
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5501
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 Py_INCREF(Py_None); resultobj = Py_None;
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = NULL;
5514 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5515 size_t arg2 ;
5516 wxTreeListColumnInfo *result;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "column", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
5524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail;
5526 {
5527 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 {
5533 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5534 result = (wxTreeListColumnInfo *) &_result_ref;
5535 }
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj = NULL;
5549 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5550 size_t arg2 ;
5551 wxTreeListColumnAlign arg3 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 PyObject * obj2 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "column",(char *) "align", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
5560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail;
5562 {
5563 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5564 if (SWIG_arg_fail(2)) SWIG_fail;
5565 }
5566 {
5567 arg3 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj2));
5568 if (SWIG_arg_fail(3)) SWIG_fail;
5569 }
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 (arg1)->SetColumnAlignment(arg2,arg3);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 Py_INCREF(Py_None); resultobj = Py_None;
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = NULL;
5586 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5587 size_t arg2 ;
5588 wxTreeListColumnAlign result;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "column", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
5596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(1)) SWIG_fail;
5598 {
5599 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5600 if (SWIG_arg_fail(2)) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = SWIG_From_int((result));
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj = NULL;
5618 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5619 size_t arg2 ;
5620 int arg3 ;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 PyObject * obj2 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self",(char *) "column",(char *) "image", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail;
5631 {
5632 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5633 if (SWIG_arg_fail(2)) SWIG_fail;
5634 }
5635 {
5636 arg3 = static_cast<int >(SWIG_As_int(obj2));
5637 if (SWIG_arg_fail(3)) SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetColumnImage(arg2,arg3);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj = NULL;
5655 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5656 size_t arg2 ;
5657 int result;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "column", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
5665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail;
5667 {
5668 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5669 if (SWIG_arg_fail(2)) SWIG_fail;
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 resultobj = SWIG_From_int(static_cast<int >(result));
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj = NULL;
5689 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5690 size_t arg2 ;
5691 bool arg3 ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 PyObject * obj2 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "column",(char *) "shown", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
5700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail;
5702 {
5703 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5704 if (SWIG_arg_fail(2)) SWIG_fail;
5705 }
5706 {
5707 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5708 if (SWIG_arg_fail(3)) SWIG_fail;
5709 }
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->ShowColumn(arg2,arg3);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj = NULL;
5726 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5727 size_t arg2 ;
5728 bool result;
5729 PyObject * obj0 = 0 ;
5730 PyObject * obj1 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self",(char *) "column", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
5736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail;
5738 {
5739 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
5740 if (SWIG_arg_fail(2)) SWIG_fail;
5741 }
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
5750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5751 }
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj = NULL;
5760 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5761 wxTreeItemId *arg2 = 0 ;
5762 int arg3 = (int) -1 ;
5763 wxString result;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 PyObject * obj2 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self",(char *) "item",(char *) "column", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail;
5774 {
5775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(2)) SWIG_fail;
5777 if (arg2 == NULL) {
5778 SWIG_null_ref("wxTreeItemId");
5779 }
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 }
5782 if (obj2) {
5783 {
5784 arg3 = static_cast<int >(SWIG_As_int(obj2));
5785 if (SWIG_arg_fail(3)) SWIG_fail;
5786 }
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 #if wxUSE_UNICODE
5797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5798 #else
5799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5800 #endif
5801 }
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj = NULL;
5810 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5811 wxTreeItemId *arg2 = 0 ;
5812 int arg3 = (int) -1 ;
5813 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5814 int result;
5815 PyObject * obj0 = 0 ;
5816 PyObject * obj1 = 0 ;
5817 PyObject * obj2 = 0 ;
5818 PyObject * obj3 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5825 if (SWIG_arg_fail(1)) SWIG_fail;
5826 {
5827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5828 if (SWIG_arg_fail(2)) SWIG_fail;
5829 if (arg2 == NULL) {
5830 SWIG_null_ref("wxTreeItemId");
5831 }
5832 if (SWIG_arg_fail(2)) SWIG_fail;
5833 }
5834 if (obj2) {
5835 {
5836 arg3 = static_cast<int >(SWIG_As_int(obj2));
5837 if (SWIG_arg_fail(3)) SWIG_fail;
5838 }
5839 }
5840 if (obj3) {
5841 {
5842 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
5843 if (SWIG_arg_fail(4)) SWIG_fail;
5844 }
5845 }
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 {
5854 resultobj = SWIG_From_int(static_cast<int >(result));
5855 }
5856 return resultobj;
5857 fail:
5858 return NULL;
5859 }
5860
5861
5862 static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj = NULL;
5864 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5865 wxTreeItemId *arg2 = 0 ;
5866 wxString *arg3 = 0 ;
5867 int arg4 = (int) -1 ;
5868 bool temp3 = false ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 PyObject * obj2 = 0 ;
5872 PyObject * obj3 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail;
5880 {
5881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5882 if (SWIG_arg_fail(2)) SWIG_fail;
5883 if (arg2 == NULL) {
5884 SWIG_null_ref("wxTreeItemId");
5885 }
5886 if (SWIG_arg_fail(2)) SWIG_fail;
5887 }
5888 {
5889 arg3 = wxString_in_helper(obj2);
5890 if (arg3 == NULL) SWIG_fail;
5891 temp3 = true;
5892 }
5893 if (obj3) {
5894 {
5895 arg4 = static_cast<int >(SWIG_As_int(obj3));
5896 if (SWIG_arg_fail(4)) SWIG_fail;
5897 }
5898 }
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 Py_INCREF(Py_None); resultobj = Py_None;
5907 {
5908 if (temp3)
5909 delete arg3;
5910 }
5911 return resultobj;
5912 fail:
5913 {
5914 if (temp3)
5915 delete arg3;
5916 }
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj = NULL;
5923 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5924 wxTreeItemId *arg2 = 0 ;
5925 int arg3 ;
5926 int arg4 = (int) -1 ;
5927 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 PyObject * obj2 = 0 ;
5931 PyObject * obj3 = 0 ;
5932 PyObject * obj4 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5939 if (SWIG_arg_fail(1)) SWIG_fail;
5940 {
5941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5942 if (SWIG_arg_fail(2)) SWIG_fail;
5943 if (arg2 == NULL) {
5944 SWIG_null_ref("wxTreeItemId");
5945 }
5946 if (SWIG_arg_fail(2)) SWIG_fail;
5947 }
5948 {
5949 arg3 = static_cast<int >(SWIG_As_int(obj2));
5950 if (SWIG_arg_fail(3)) SWIG_fail;
5951 }
5952 if (obj3) {
5953 {
5954 arg4 = static_cast<int >(SWIG_As_int(obj3));
5955 if (SWIG_arg_fail(4)) SWIG_fail;
5956 }
5957 }
5958 if (obj4) {
5959 {
5960 arg5 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj4));
5961 if (SWIG_arg_fail(5)) SWIG_fail;
5962 }
5963 }
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 Py_INCREF(Py_None); resultobj = Py_None;
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj = NULL;
5980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5981 wxTreeItemId *arg2 = 0 ;
5982 wxPyTreeItemData *result;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self",(char *) "item", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
5990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5991 if (SWIG_arg_fail(1)) SWIG_fail;
5992 {
5993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5994 if (SWIG_arg_fail(2)) SWIG_fail;
5995 if (arg2 == NULL) {
5996 SWIG_null_ref("wxTreeItemId");
5997 }
5998 if (SWIG_arg_fail(2)) SWIG_fail;
5999 }
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
6003
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
6008 return resultobj;
6009 fail:
6010 return NULL;
6011 }
6012
6013
6014 static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
6015 PyObject *resultobj = NULL;
6016 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6017 wxTreeItemId *arg2 = 0 ;
6018 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 PyObject * obj2 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self",(char *) "item",(char *) "data", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail;
6029 {
6030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6031 if (SWIG_arg_fail(2)) SWIG_fail;
6032 if (arg2 == NULL) {
6033 SWIG_null_ref("wxTreeItemId");
6034 }
6035 if (SWIG_arg_fail(2)) SWIG_fail;
6036 }
6037 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(3)) SWIG_fail;
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 Py_INCREF(Py_None); resultobj = Py_None;
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj = NULL;
6055 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6056 wxTreeItemId *arg2 = 0 ;
6057 PyObject *result;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self",(char *) "item", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
6065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6066 if (SWIG_arg_fail(1)) SWIG_fail;
6067 {
6068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6069 if (SWIG_arg_fail(2)) SWIG_fail;
6070 if (arg2 == NULL) {
6071 SWIG_null_ref("wxTreeItemId");
6072 }
6073 if (SWIG_arg_fail(2)) SWIG_fail;
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = result;
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj = NULL;
6091 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6092 wxTreeItemId *arg2 = 0 ;
6093 PyObject *arg3 = (PyObject *) 0 ;
6094 PyObject * obj0 = 0 ;
6095 PyObject * obj1 = 0 ;
6096 PyObject * obj2 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "item",(char *) "obj", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
6102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6103 if (SWIG_arg_fail(1)) SWIG_fail;
6104 {
6105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6106 if (SWIG_arg_fail(2)) SWIG_fail;
6107 if (arg2 == NULL) {
6108 SWIG_null_ref("wxTreeItemId");
6109 }
6110 if (SWIG_arg_fail(2)) SWIG_fail;
6111 }
6112 arg3 = obj2;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj = NULL;
6129 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6130 wxTreeItemId *arg2 = 0 ;
6131 bool arg3 = (bool) true ;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
6134 PyObject * obj2 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "item",(char *) "has", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
6140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6141 if (SWIG_arg_fail(1)) SWIG_fail;
6142 {
6143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6144 if (SWIG_arg_fail(2)) SWIG_fail;
6145 if (arg2 == NULL) {
6146 SWIG_null_ref("wxTreeItemId");
6147 }
6148 if (SWIG_arg_fail(2)) SWIG_fail;
6149 }
6150 if (obj2) {
6151 {
6152 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6153 if (SWIG_arg_fail(3)) SWIG_fail;
6154 }
6155 }
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj = NULL;
6172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6173 wxTreeItemId *arg2 = 0 ;
6174 bool arg3 = (bool) true ;
6175 PyObject * obj0 = 0 ;
6176 PyObject * obj1 = 0 ;
6177 PyObject * obj2 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self",(char *) "item",(char *) "bold", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
6183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6184 if (SWIG_arg_fail(1)) SWIG_fail;
6185 {
6186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6187 if (SWIG_arg_fail(2)) SWIG_fail;
6188 if (arg2 == NULL) {
6189 SWIG_null_ref("wxTreeItemId");
6190 }
6191 if (SWIG_arg_fail(2)) SWIG_fail;
6192 }
6193 if (obj2) {
6194 {
6195 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6196 if (SWIG_arg_fail(3)) SWIG_fail;
6197 }
6198 }
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 Py_INCREF(Py_None); resultobj = Py_None;
6207 return resultobj;
6208 fail:
6209 return NULL;
6210 }
6211
6212
6213 static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj = NULL;
6215 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6216 wxTreeItemId *arg2 = 0 ;
6217 wxColour *arg3 = 0 ;
6218 wxColour temp3 ;
6219 PyObject * obj0 = 0 ;
6220 PyObject * obj1 = 0 ;
6221 PyObject * obj2 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "self",(char *) "item",(char *) "colour", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6228 if (SWIG_arg_fail(1)) SWIG_fail;
6229 {
6230 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6231 if (SWIG_arg_fail(2)) SWIG_fail;
6232 if (arg2 == NULL) {
6233 SWIG_null_ref("wxTreeItemId");
6234 }
6235 if (SWIG_arg_fail(2)) SWIG_fail;
6236 }
6237 {
6238 arg3 = &temp3;
6239 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6240 }
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj = NULL;
6257 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6258 wxTreeItemId *arg2 = 0 ;
6259 wxColour *arg3 = 0 ;
6260 wxColour temp3 ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 PyObject * obj2 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "item",(char *) "colour", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail;
6271 {
6272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6273 if (SWIG_arg_fail(2)) SWIG_fail;
6274 if (arg2 == NULL) {
6275 SWIG_null_ref("wxTreeItemId");
6276 }
6277 if (SWIG_arg_fail(2)) SWIG_fail;
6278 }
6279 {
6280 arg3 = &temp3;
6281 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6282 }
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 Py_INCREF(Py_None); resultobj = Py_None;
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj = NULL;
6299 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6300 wxTreeItemId *arg2 = 0 ;
6301 wxFont *arg3 = 0 ;
6302 PyObject * obj0 = 0 ;
6303 PyObject * obj1 = 0 ;
6304 PyObject * obj2 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self",(char *) "item",(char *) "font", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6311 if (SWIG_arg_fail(1)) SWIG_fail;
6312 {
6313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6314 if (SWIG_arg_fail(2)) SWIG_fail;
6315 if (arg2 == NULL) {
6316 SWIG_null_ref("wxTreeItemId");
6317 }
6318 if (SWIG_arg_fail(2)) SWIG_fail;
6319 }
6320 {
6321 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(3)) SWIG_fail;
6323 if (arg3 == NULL) {
6324 SWIG_null_ref("wxFont");
6325 }
6326 if (SWIG_arg_fail(3)) SWIG_fail;
6327 }
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 Py_INCREF(Py_None); resultobj = Py_None;
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj = NULL;
6344 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6345 wxTreeItemId *arg2 = 0 ;
6346 bool result;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "item", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
6354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail;
6356 {
6357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6358 if (SWIG_arg_fail(2)) SWIG_fail;
6359 if (arg2 == NULL) {
6360 SWIG_null_ref("wxTreeItemId");
6361 }
6362 if (SWIG_arg_fail(2)) SWIG_fail;
6363 }
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 {
6372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6373 }
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj = NULL;
6382 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6383 wxTreeItemId *arg2 = 0 ;
6384 wxColour result;
6385 PyObject * obj0 = 0 ;
6386 PyObject * obj1 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "self",(char *) "item", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
6392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail;
6394 {
6395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6396 if (SWIG_arg_fail(2)) SWIG_fail;
6397 if (arg2 == NULL) {
6398 SWIG_null_ref("wxTreeItemId");
6399 }
6400 if (SWIG_arg_fail(2)) SWIG_fail;
6401 }
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 {
6410 wxColour * resultptr;
6411 resultptr = new wxColour(static_cast<wxColour & >(result));
6412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6413 }
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj = NULL;
6422 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6423 wxTreeItemId *arg2 = 0 ;
6424 wxColour result;
6425 PyObject * obj0 = 0 ;
6426 PyObject * obj1 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "item", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6433 if (SWIG_arg_fail(1)) SWIG_fail;
6434 {
6435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6436 if (SWIG_arg_fail(2)) SWIG_fail;
6437 if (arg2 == NULL) {
6438 SWIG_null_ref("wxTreeItemId");
6439 }
6440 if (SWIG_arg_fail(2)) SWIG_fail;
6441 }
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 wxColour * resultptr;
6451 resultptr = new wxColour(static_cast<wxColour & >(result));
6452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6453 }
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6461 PyObject *resultobj = NULL;
6462 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6463 wxTreeItemId *arg2 = 0 ;
6464 wxFont result;
6465 PyObject * obj0 = 0 ;
6466 PyObject * obj1 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self",(char *) "item", NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
6472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6473 if (SWIG_arg_fail(1)) SWIG_fail;
6474 {
6475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail;
6477 if (arg2 == NULL) {
6478 SWIG_null_ref("wxTreeItemId");
6479 }
6480 if (SWIG_arg_fail(2)) SWIG_fail;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 {
6490 wxFont * resultptr;
6491 resultptr = new wxFont(static_cast<wxFont & >(result));
6492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
6493 }
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj = NULL;
6502 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6503 wxTreeItemId *arg2 = 0 ;
6504 bool result;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "item", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
6512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail;
6514 {
6515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6516 if (SWIG_arg_fail(2)) SWIG_fail;
6517 if (arg2 == NULL) {
6518 SWIG_null_ref("wxTreeItemId");
6519 }
6520 if (SWIG_arg_fail(2)) SWIG_fail;
6521 }
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 {
6530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6531 }
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj = NULL;
6540 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6541 wxTreeItemId *arg2 = 0 ;
6542 bool result;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self",(char *) "item", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
6550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6551 if (SWIG_arg_fail(1)) SWIG_fail;
6552 {
6553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6554 if (SWIG_arg_fail(2)) SWIG_fail;
6555 if (arg2 == NULL) {
6556 SWIG_null_ref("wxTreeItemId");
6557 }
6558 if (SWIG_arg_fail(2)) SWIG_fail;
6559 }
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 {
6568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6569 }
6570 return resultobj;
6571 fail:
6572 return NULL;
6573 }
6574
6575
6576 static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = NULL;
6578 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6579 wxTreeItemId *arg2 = 0 ;
6580 bool result;
6581 PyObject * obj0 = 0 ;
6582 PyObject * obj1 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self",(char *) "item", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
6588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail;
6590 {
6591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6592 if (SWIG_arg_fail(2)) SWIG_fail;
6593 if (arg2 == NULL) {
6594 SWIG_null_ref("wxTreeItemId");
6595 }
6596 if (SWIG_arg_fail(2)) SWIG_fail;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6607 }
6608 return resultobj;
6609 fail:
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj = NULL;
6616 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6617 wxTreeItemId *arg2 = 0 ;
6618 bool result;
6619 PyObject * obj0 = 0 ;
6620 PyObject * obj1 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self",(char *) "item", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail;
6628 {
6629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(2)) SWIG_fail;
6631 if (arg2 == NULL) {
6632 SWIG_null_ref("wxTreeItemId");
6633 }
6634 if (SWIG_arg_fail(2)) SWIG_fail;
6635 }
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 {
6644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6645 }
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj = NULL;
6654 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6655 wxTreeItemId *arg2 = 0 ;
6656 bool result;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj1 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self",(char *) "item", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
6664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6665 if (SWIG_arg_fail(1)) SWIG_fail;
6666 {
6667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6668 if (SWIG_arg_fail(2)) SWIG_fail;
6669 if (arg2 == NULL) {
6670 SWIG_null_ref("wxTreeItemId");
6671 }
6672 if (SWIG_arg_fail(2)) SWIG_fail;
6673 }
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 {
6682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6683 }
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj = NULL;
6692 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6693 wxTreeItemId *arg2 = 0 ;
6694 bool arg3 = (bool) true ;
6695 size_t result;
6696 PyObject * obj0 = 0 ;
6697 PyObject * obj1 = 0 ;
6698 PyObject * obj2 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self",(char *) "item",(char *) "recursively", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
6704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6705 if (SWIG_arg_fail(1)) SWIG_fail;
6706 {
6707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6708 if (SWIG_arg_fail(2)) SWIG_fail;
6709 if (arg2 == NULL) {
6710 SWIG_null_ref("wxTreeItemId");
6711 }
6712 if (SWIG_arg_fail(2)) SWIG_fail;
6713 }
6714 if (obj2) {
6715 {
6716 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6717 if (SWIG_arg_fail(3)) SWIG_fail;
6718 }
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 {
6728 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj = NULL;
6738 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6739 wxTreeItemId result;
6740 PyObject * obj0 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self", NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
6746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail;
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 {
6756 wxTreeItemId * resultptr;
6757 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6759 }
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj = NULL;
6768 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6769 wxTreeItemId result;
6770 PyObject * obj0 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "self", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
6776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6777 if (SWIG_arg_fail(1)) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 {
6786 wxTreeItemId * resultptr;
6787 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6789 }
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj = NULL;
6798 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6799 PyObject *result;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
6806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = result;
6816 return resultobj;
6817 fail:
6818 return NULL;
6819 }
6820
6821
6822 static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj = NULL;
6824 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6825 wxTreeItemId *arg2 = 0 ;
6826 wxTreeItemId result;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "item", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
6834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6835 if (SWIG_arg_fail(1)) SWIG_fail;
6836 {
6837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6838 if (SWIG_arg_fail(2)) SWIG_fail;
6839 if (arg2 == NULL) {
6840 SWIG_null_ref("wxTreeItemId");
6841 }
6842 if (SWIG_arg_fail(2)) SWIG_fail;
6843 }
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 {
6852 wxTreeItemId * resultptr;
6853 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6855 }
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj = NULL;
6864 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6865 wxTreeItemId *arg2 = 0 ;
6866 PyObject *result;
6867 PyObject * obj0 = 0 ;
6868 PyObject * obj1 = 0 ;
6869 char *kwnames[] = {
6870 (char *) "self",(char *) "item", NULL
6871 };
6872
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
6874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail;
6876 {
6877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6878 if (SWIG_arg_fail(2)) SWIG_fail;
6879 if (arg2 == NULL) {
6880 SWIG_null_ref("wxTreeItemId");
6881 }
6882 if (SWIG_arg_fail(2)) SWIG_fail;
6883 }
6884 {
6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6886 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6887
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = result;
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj = NULL;
6900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6901 wxTreeItemId *arg2 = 0 ;
6902 void *arg3 = (void *) 0 ;
6903 PyObject *result;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 PyObject * obj2 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "item",(char *) "cookie", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail;
6914 {
6915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6916 if (SWIG_arg_fail(2)) SWIG_fail;
6917 if (arg2 == NULL) {
6918 SWIG_null_ref("wxTreeItemId");
6919 }
6920 if (SWIG_arg_fail(2)) SWIG_fail;
6921 }
6922 {
6923 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6924 SWIG_arg_fail(3);SWIG_fail;
6925 }
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 resultobj = result;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj = NULL;
6943 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6944 wxTreeItemId *arg2 = 0 ;
6945 wxTreeItemId result;
6946 PyObject * obj0 = 0 ;
6947 PyObject * obj1 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self",(char *) "item", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
6953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6954 if (SWIG_arg_fail(1)) SWIG_fail;
6955 {
6956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6957 if (SWIG_arg_fail(2)) SWIG_fail;
6958 if (arg2 == NULL) {
6959 SWIG_null_ref("wxTreeItemId");
6960 }
6961 if (SWIG_arg_fail(2)) SWIG_fail;
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
6971 wxTreeItemId * resultptr;
6972 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
6973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6974 }
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj = NULL;
6983 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6984 wxTreeItemId *arg2 = 0 ;
6985 wxTreeItemId result;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "self",(char *) "item", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
6993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6994 if (SWIG_arg_fail(1)) SWIG_fail;
6995 {
6996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6997 if (SWIG_arg_fail(2)) SWIG_fail;
6998 if (arg2 == NULL) {
6999 SWIG_null_ref("wxTreeItemId");
7000 }
7001 if (SWIG_arg_fail(2)) SWIG_fail;
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 {
7011 wxTreeItemId * resultptr;
7012 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7014 }
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj = NULL;
7023 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7024 wxTreeItemId *arg2 = 0 ;
7025 wxTreeItemId result;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self",(char *) "item", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
7033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail;
7035 {
7036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7037 if (SWIG_arg_fail(2)) SWIG_fail;
7038 if (arg2 == NULL) {
7039 SWIG_null_ref("wxTreeItemId");
7040 }
7041 if (SWIG_arg_fail(2)) SWIG_fail;
7042 }
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 {
7051 wxTreeItemId * resultptr;
7052 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7054 }
7055 return resultobj;
7056 fail:
7057 return NULL;
7058 }
7059
7060
7061 static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj = NULL;
7063 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7064 wxTreeItemId result;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
7071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7072 if (SWIG_arg_fail(1)) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 {
7081 wxTreeItemId * resultptr;
7082 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7084 }
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj = NULL;
7093 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7094 wxTreeItemId *arg2 = 0 ;
7095 wxTreeItemId result;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char *kwnames[] = {
7099 (char *) "self",(char *) "item", NULL
7100 };
7101
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
7103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail;
7105 {
7106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7107 if (SWIG_arg_fail(2)) SWIG_fail;
7108 if (arg2 == NULL) {
7109 SWIG_null_ref("wxTreeItemId");
7110 }
7111 if (SWIG_arg_fail(2)) SWIG_fail;
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 {
7121 wxTreeItemId * resultptr;
7122 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7124 }
7125 return resultobj;
7126 fail:
7127 return NULL;
7128 }
7129
7130
7131 static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj = NULL;
7133 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7134 wxTreeItemId *arg2 = 0 ;
7135 wxTreeItemId result;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj1 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self",(char *) "item", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
7143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7144 if (SWIG_arg_fail(1)) SWIG_fail;
7145 {
7146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7147 if (SWIG_arg_fail(2)) SWIG_fail;
7148 if (arg2 == NULL) {
7149 SWIG_null_ref("wxTreeItemId");
7150 }
7151 if (SWIG_arg_fail(2)) SWIG_fail;
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161 wxTreeItemId * resultptr;
7162 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7164 }
7165 return resultobj;
7166 fail:
7167 return NULL;
7168 }
7169
7170
7171 static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj = NULL;
7173 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7174 wxTreeItemId *arg2 = 0 ;
7175 wxTreeItemId result;
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "item", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
7183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7184 if (SWIG_arg_fail(1)) SWIG_fail;
7185 {
7186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(2)) SWIG_fail;
7188 if (arg2 == NULL) {
7189 SWIG_null_ref("wxTreeItemId");
7190 }
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 {
7201 wxTreeItemId * resultptr;
7202 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7204 }
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj = NULL;
7213 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7214 wxString *arg2 = 0 ;
7215 int arg3 = (int) -1 ;
7216 int arg4 = (int) -1 ;
7217 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
7218 wxTreeItemId result;
7219 bool temp2 = false ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
7223 PyObject * obj3 = 0 ;
7224 PyObject * obj4 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail;
7232 {
7233 arg2 = wxString_in_helper(obj1);
7234 if (arg2 == NULL) SWIG_fail;
7235 temp2 = true;
7236 }
7237 if (obj2) {
7238 {
7239 arg3 = static_cast<int >(SWIG_As_int(obj2));
7240 if (SWIG_arg_fail(3)) SWIG_fail;
7241 }
7242 }
7243 if (obj3) {
7244 {
7245 arg4 = static_cast<int >(SWIG_As_int(obj3));
7246 if (SWIG_arg_fail(4)) SWIG_fail;
7247 }
7248 }
7249 if (obj4) {
7250 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7251 if (SWIG_arg_fail(5)) SWIG_fail;
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 {
7261 wxTreeItemId * resultptr;
7262 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7264 }
7265 {
7266 if (temp2)
7267 delete arg2;
7268 }
7269 return resultobj;
7270 fail:
7271 {
7272 if (temp2)
7273 delete arg2;
7274 }
7275 return NULL;
7276 }
7277
7278
7279 static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj = NULL;
7281 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7282 wxTreeItemId *arg2 = 0 ;
7283 wxString *arg3 = 0 ;
7284 int arg4 = (int) -1 ;
7285 int arg5 = (int) -1 ;
7286 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7287 wxTreeItemId result;
7288 bool temp3 = false ;
7289 PyObject * obj0 = 0 ;
7290 PyObject * obj1 = 0 ;
7291 PyObject * obj2 = 0 ;
7292 PyObject * obj3 = 0 ;
7293 PyObject * obj4 = 0 ;
7294 PyObject * obj5 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7301 if (SWIG_arg_fail(1)) SWIG_fail;
7302 {
7303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7304 if (SWIG_arg_fail(2)) SWIG_fail;
7305 if (arg2 == NULL) {
7306 SWIG_null_ref("wxTreeItemId");
7307 }
7308 if (SWIG_arg_fail(2)) SWIG_fail;
7309 }
7310 {
7311 arg3 = wxString_in_helper(obj2);
7312 if (arg3 == NULL) SWIG_fail;
7313 temp3 = true;
7314 }
7315 if (obj3) {
7316 {
7317 arg4 = static_cast<int >(SWIG_As_int(obj3));
7318 if (SWIG_arg_fail(4)) SWIG_fail;
7319 }
7320 }
7321 if (obj4) {
7322 {
7323 arg5 = static_cast<int >(SWIG_As_int(obj4));
7324 if (SWIG_arg_fail(5)) SWIG_fail;
7325 }
7326 }
7327 if (obj5) {
7328 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7329 if (SWIG_arg_fail(6)) SWIG_fail;
7330 }
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 {
7339 wxTreeItemId * resultptr;
7340 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7342 }
7343 {
7344 if (temp3)
7345 delete arg3;
7346 }
7347 return resultobj;
7348 fail:
7349 {
7350 if (temp3)
7351 delete arg3;
7352 }
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = NULL;
7359 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7360 wxTreeItemId *arg2 = 0 ;
7361 wxTreeItemId *arg3 = 0 ;
7362 wxString *arg4 = 0 ;
7363 int arg5 = (int) -1 ;
7364 int arg6 = (int) -1 ;
7365 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7366 wxTreeItemId result;
7367 bool temp4 = false ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 PyObject * obj2 = 0 ;
7371 PyObject * obj3 = 0 ;
7372 PyObject * obj4 = 0 ;
7373 PyObject * obj5 = 0 ;
7374 PyObject * obj6 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail;
7382 {
7383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail;
7385 if (arg2 == NULL) {
7386 SWIG_null_ref("wxTreeItemId");
7387 }
7388 if (SWIG_arg_fail(2)) SWIG_fail;
7389 }
7390 {
7391 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7392 if (SWIG_arg_fail(3)) SWIG_fail;
7393 if (arg3 == NULL) {
7394 SWIG_null_ref("wxTreeItemId");
7395 }
7396 if (SWIG_arg_fail(3)) SWIG_fail;
7397 }
7398 {
7399 arg4 = wxString_in_helper(obj3);
7400 if (arg4 == NULL) SWIG_fail;
7401 temp4 = true;
7402 }
7403 if (obj4) {
7404 {
7405 arg5 = static_cast<int >(SWIG_As_int(obj4));
7406 if (SWIG_arg_fail(5)) SWIG_fail;
7407 }
7408 }
7409 if (obj5) {
7410 {
7411 arg6 = static_cast<int >(SWIG_As_int(obj5));
7412 if (SWIG_arg_fail(6)) SWIG_fail;
7413 }
7414 }
7415 if (obj6) {
7416 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7417 if (SWIG_arg_fail(7)) SWIG_fail;
7418 }
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 {
7427 wxTreeItemId * resultptr;
7428 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7430 }
7431 {
7432 if (temp4)
7433 delete arg4;
7434 }
7435 return resultobj;
7436 fail:
7437 {
7438 if (temp4)
7439 delete arg4;
7440 }
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj = NULL;
7447 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7448 wxTreeItemId *arg2 = 0 ;
7449 size_t arg3 ;
7450 wxString *arg4 = 0 ;
7451 int arg5 = (int) -1 ;
7452 int arg6 = (int) -1 ;
7453 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7454 wxTreeItemId result;
7455 bool temp4 = false ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 PyObject * obj3 = 0 ;
7460 PyObject * obj4 = 0 ;
7461 PyObject * obj5 = 0 ;
7462 PyObject * obj6 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail;
7470 {
7471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7472 if (SWIG_arg_fail(2)) SWIG_fail;
7473 if (arg2 == NULL) {
7474 SWIG_null_ref("wxTreeItemId");
7475 }
7476 if (SWIG_arg_fail(2)) SWIG_fail;
7477 }
7478 {
7479 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
7480 if (SWIG_arg_fail(3)) SWIG_fail;
7481 }
7482 {
7483 arg4 = wxString_in_helper(obj3);
7484 if (arg4 == NULL) SWIG_fail;
7485 temp4 = true;
7486 }
7487 if (obj4) {
7488 {
7489 arg5 = static_cast<int >(SWIG_As_int(obj4));
7490 if (SWIG_arg_fail(5)) SWIG_fail;
7491 }
7492 }
7493 if (obj5) {
7494 {
7495 arg6 = static_cast<int >(SWIG_As_int(obj5));
7496 if (SWIG_arg_fail(6)) SWIG_fail;
7497 }
7498 }
7499 if (obj6) {
7500 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7501 if (SWIG_arg_fail(7)) SWIG_fail;
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 {
7511 wxTreeItemId * resultptr;
7512 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7514 }
7515 {
7516 if (temp4)
7517 delete arg4;
7518 }
7519 return resultobj;
7520 fail:
7521 {
7522 if (temp4)
7523 delete arg4;
7524 }
7525 return NULL;
7526 }
7527
7528
7529 static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj = NULL;
7531 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7532 wxTreeItemId *arg2 = 0 ;
7533 wxString *arg3 = 0 ;
7534 int arg4 = (int) -1 ;
7535 int arg5 = (int) -1 ;
7536 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7537 wxTreeItemId result;
7538 bool temp3 = false ;
7539 PyObject * obj0 = 0 ;
7540 PyObject * obj1 = 0 ;
7541 PyObject * obj2 = 0 ;
7542 PyObject * obj3 = 0 ;
7543 PyObject * obj4 = 0 ;
7544 PyObject * obj5 = 0 ;
7545 char *kwnames[] = {
7546 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7547 };
7548
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail;
7552 {
7553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7554 if (SWIG_arg_fail(2)) SWIG_fail;
7555 if (arg2 == NULL) {
7556 SWIG_null_ref("wxTreeItemId");
7557 }
7558 if (SWIG_arg_fail(2)) SWIG_fail;
7559 }
7560 {
7561 arg3 = wxString_in_helper(obj2);
7562 if (arg3 == NULL) SWIG_fail;
7563 temp3 = true;
7564 }
7565 if (obj3) {
7566 {
7567 arg4 = static_cast<int >(SWIG_As_int(obj3));
7568 if (SWIG_arg_fail(4)) SWIG_fail;
7569 }
7570 }
7571 if (obj4) {
7572 {
7573 arg5 = static_cast<int >(SWIG_As_int(obj4));
7574 if (SWIG_arg_fail(5)) SWIG_fail;
7575 }
7576 }
7577 if (obj5) {
7578 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7579 if (SWIG_arg_fail(6)) SWIG_fail;
7580 }
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
7589 wxTreeItemId * resultptr;
7590 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
7591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7592 }
7593 {
7594 if (temp3)
7595 delete arg3;
7596 }
7597 return resultobj;
7598 fail:
7599 {
7600 if (temp3)
7601 delete arg3;
7602 }
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj = NULL;
7609 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7610 wxTreeItemId *arg2 = 0 ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "item", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
7618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail;
7620 {
7621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7622 if (SWIG_arg_fail(2)) SWIG_fail;
7623 if (arg2 == NULL) {
7624 SWIG_null_ref("wxTreeItemId");
7625 }
7626 if (SWIG_arg_fail(2)) SWIG_fail;
7627 }
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 (arg1)->Delete((wxTreeItemId const &)*arg2);
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 Py_INCREF(Py_None); resultobj = Py_None;
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj = NULL;
7644 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7645 wxTreeItemId *arg2 = 0 ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self",(char *) "item", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
7653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail;
7655 {
7656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7657 if (SWIG_arg_fail(2)) SWIG_fail;
7658 if (arg2 == NULL) {
7659 SWIG_null_ref("wxTreeItemId");
7660 }
7661 if (SWIG_arg_fail(2)) SWIG_fail;
7662 }
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 Py_INCREF(Py_None); resultobj = Py_None;
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj = NULL;
7679 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
7686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 (arg1)->DeleteAllItems();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 Py_INCREF(Py_None); resultobj = Py_None;
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj = NULL;
7704 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7705 wxTreeItemId *arg2 = 0 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self",(char *) "item", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
7713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7714 if (SWIG_arg_fail(1)) SWIG_fail;
7715 {
7716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7717 if (SWIG_arg_fail(2)) SWIG_fail;
7718 if (arg2 == NULL) {
7719 SWIG_null_ref("wxTreeItemId");
7720 }
7721 if (SWIG_arg_fail(2)) SWIG_fail;
7722 }
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->Expand((wxTreeItemId const &)*arg2);
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 Py_INCREF(Py_None); resultobj = Py_None;
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj = NULL;
7739 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7740 wxTreeItemId *arg2 = 0 ;
7741 PyObject * obj0 = 0 ;
7742 PyObject * obj1 = 0 ;
7743 char *kwnames[] = {
7744 (char *) "self",(char *) "item", NULL
7745 };
7746
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
7748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7749 if (SWIG_arg_fail(1)) SWIG_fail;
7750 {
7751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7752 if (SWIG_arg_fail(2)) SWIG_fail;
7753 if (arg2 == NULL) {
7754 SWIG_null_ref("wxTreeItemId");
7755 }
7756 if (SWIG_arg_fail(2)) SWIG_fail;
7757 }
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 Py_INCREF(Py_None); resultobj = Py_None;
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj = NULL;
7774 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7775 wxTreeItemId *arg2 = 0 ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "item", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7787 if (SWIG_arg_fail(2)) SWIG_fail;
7788 if (arg2 == NULL) {
7789 SWIG_null_ref("wxTreeItemId");
7790 }
7791 if (SWIG_arg_fail(2)) SWIG_fail;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 Py_INCREF(Py_None); resultobj = Py_None;
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj = NULL;
7809 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7810 wxTreeItemId *arg2 = 0 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "item", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
7818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail;
7820 {
7821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 if (arg2 == NULL) {
7824 SWIG_null_ref("wxTreeItemId");
7825 }
7826 if (SWIG_arg_fail(2)) SWIG_fail;
7827 }
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 Py_INCREF(Py_None); resultobj = Py_None;
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj = NULL;
7844 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7845 wxTreeItemId *arg2 = 0 ;
7846 PyObject * obj0 = 0 ;
7847 PyObject * obj1 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self",(char *) "item", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
7853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail;
7855 {
7856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail;
7858 if (arg2 == NULL) {
7859 SWIG_null_ref("wxTreeItemId");
7860 }
7861 if (SWIG_arg_fail(2)) SWIG_fail;
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj = NULL;
7879 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
7886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 (arg1)->Unselect();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 Py_INCREF(Py_None); resultobj = Py_None;
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = NULL;
7904 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7905 PyObject * obj0 = 0 ;
7906 char *kwnames[] = {
7907 (char *) "self", NULL
7908 };
7909
7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
7911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7912 if (SWIG_arg_fail(1)) SWIG_fail;
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 (arg1)->UnselectAll();
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 Py_INCREF(Py_None); resultobj = Py_None;
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj = NULL;
7929 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7930 wxTreeItemId *arg2 = 0 ;
7931 bool arg3 = (bool) true ;
7932 bool arg4 = (bool) false ;
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 PyObject * obj2 = 0 ;
7936 PyObject * obj3 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7943 if (SWIG_arg_fail(1)) SWIG_fail;
7944 {
7945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7946 if (SWIG_arg_fail(2)) SWIG_fail;
7947 if (arg2 == NULL) {
7948 SWIG_null_ref("wxTreeItemId");
7949 }
7950 if (SWIG_arg_fail(2)) SWIG_fail;
7951 }
7952 if (obj2) {
7953 {
7954 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7955 if (SWIG_arg_fail(3)) SWIG_fail;
7956 }
7957 }
7958 if (obj3) {
7959 {
7960 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
7961 if (SWIG_arg_fail(4)) SWIG_fail;
7962 }
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 Py_INCREF(Py_None); resultobj = Py_None;
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj = NULL;
7980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7981 bool arg2 = (bool) false ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "extended_select", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
7989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail;
7991 if (obj1) {
7992 {
7993 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7994 if (SWIG_arg_fail(2)) SWIG_fail;
7995 }
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 (arg1)->SelectAll(arg2);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 Py_INCREF(Py_None); resultobj = Py_None;
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj = NULL;
8013 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8014 wxTreeItemId *arg2 = 0 ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "item", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
8024 {
8025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 if (arg2 == NULL) {
8028 SWIG_null_ref("wxTreeItemId");
8029 }
8030 if (SWIG_arg_fail(2)) SWIG_fail;
8031 }
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 Py_INCREF(Py_None); resultobj = Py_None;
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj = NULL;
8048 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8049 wxTreeItemId *arg2 = 0 ;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "item", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
8057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail;
8059 {
8060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(2)) SWIG_fail;
8062 if (arg2 == NULL) {
8063 SWIG_null_ref("wxTreeItemId");
8064 }
8065 if (SWIG_arg_fail(2)) SWIG_fail;
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 return resultobj;
8076 fail:
8077 return NULL;
8078 }
8079
8080
8081 static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj = NULL;
8083 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8084 wxPoint *arg2 = 0 ;
8085 int *arg3 = 0 ;
8086 int *arg4 = 0 ;
8087 wxTreeItemId result;
8088 wxPoint temp2 ;
8089 int temp3 ;
8090 int res3 = 0 ;
8091 int temp4 ;
8092 int res4 = 0 ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "point", NULL
8097 };
8098
8099 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8100 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail;
8104 {
8105 arg2 = &temp2;
8106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 {
8116 wxTreeItemId * resultptr;
8117 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8119 }
8120 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8121 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
8122 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8123 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj = NULL;
8132 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8133 wxTreeItemId *arg2 = 0 ;
8134 bool arg3 = (bool) false ;
8135 PyObject *result;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 PyObject * obj2 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "item",(char *) "textOnly", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
8144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8145 if (SWIG_arg_fail(1)) SWIG_fail;
8146 {
8147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8148 if (SWIG_arg_fail(2)) SWIG_fail;
8149 if (arg2 == NULL) {
8150 SWIG_null_ref("wxTreeItemId");
8151 }
8152 if (SWIG_arg_fail(2)) SWIG_fail;
8153 }
8154 if (obj2) {
8155 {
8156 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8157 if (SWIG_arg_fail(3)) SWIG_fail;
8158 }
8159 }
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 resultobj = result;
8168 return resultobj;
8169 fail:
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj = NULL;
8176 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8177 wxTreeItemId *arg2 = 0 ;
8178 PyObject * obj0 = 0 ;
8179 PyObject * obj1 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "self",(char *) "item", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
8185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail;
8187 {
8188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8189 if (SWIG_arg_fail(2)) SWIG_fail;
8190 if (arg2 == NULL) {
8191 SWIG_null_ref("wxTreeItemId");
8192 }
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj = NULL;
8211 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8212 wxTreeItemId *arg2 = 0 ;
8213 PyObject * obj0 = 0 ;
8214 PyObject * obj1 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self",(char *) "item", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
8220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8221 if (SWIG_arg_fail(1)) SWIG_fail;
8222 {
8223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8224 if (SWIG_arg_fail(2)) SWIG_fail;
8225 if (arg2 == NULL) {
8226 SWIG_null_ref("wxTreeItemId");
8227 }
8228 if (SWIG_arg_fail(2)) SWIG_fail;
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 (arg1)->Edit((wxTreeItemId const &)*arg2);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 Py_INCREF(Py_None); resultobj = Py_None;
8238 return resultobj;
8239 fail:
8240 return NULL;
8241 }
8242
8243
8244 static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
8245 PyObject *resultobj = NULL;
8246 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8247 wxTreeItemId *arg2 = 0 ;
8248 PyObject * obj0 = 0 ;
8249 PyObject * obj1 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "self",(char *) "item", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
8255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8256 if (SWIG_arg_fail(1)) SWIG_fail;
8257 {
8258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8259 if (SWIG_arg_fail(2)) SWIG_fail;
8260 if (arg2 == NULL) {
8261 SWIG_null_ref("wxTreeItemId");
8262 }
8263 if (SWIG_arg_fail(2)) SWIG_fail;
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj = NULL;
8281 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8282 wxTreeItemId *arg2 = 0 ;
8283 wxString *arg3 = 0 ;
8284 int arg4 = (int) 0 ;
8285 wxTreeItemId result;
8286 bool temp3 = false ;
8287 PyObject * obj0 = 0 ;
8288 PyObject * obj1 = 0 ;
8289 PyObject * obj2 = 0 ;
8290 PyObject * obj3 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8297 if (SWIG_arg_fail(1)) SWIG_fail;
8298 {
8299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8300 if (SWIG_arg_fail(2)) SWIG_fail;
8301 if (arg2 == NULL) {
8302 SWIG_null_ref("wxTreeItemId");
8303 }
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 }
8306 {
8307 arg3 = wxString_in_helper(obj2);
8308 if (arg3 == NULL) SWIG_fail;
8309 temp3 = true;
8310 }
8311 if (obj3) {
8312 {
8313 arg4 = static_cast<int >(SWIG_As_int(obj3));
8314 if (SWIG_arg_fail(4)) SWIG_fail;
8315 }
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 {
8325 wxTreeItemId * resultptr;
8326 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
8327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8328 }
8329 {
8330 if (temp3)
8331 delete arg3;
8332 }
8333 return resultobj;
8334 fail:
8335 {
8336 if (temp3)
8337 delete arg3;
8338 }
8339 return NULL;
8340 }
8341
8342
8343 static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj = NULL;
8345 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8346 wxWindow *result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
8353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 {
8363 resultobj = wxPyMake_wxObject(result, 0);
8364 }
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj = NULL;
8373 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8374 wxScrolledWindow *result;
8375 PyObject * obj0 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
8381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail;
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 {
8391 resultobj = wxPyMake_wxObject(result, 0);
8392 }
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
8400 PyObject *obj;
8401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8402 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8403 Py_INCREF(obj);
8404 return Py_BuildValue((char *)"");
8405 }
8406 static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj = NULL;
8408 wxWindow *arg1 = (wxWindow *) 0 ;
8409 int arg2 = (int) -1 ;
8410 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8411 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8414 wxSize const &arg5_defvalue = wxDefaultSize ;
8415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8416 long arg6 = (long) 0 ;
8417 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
8418 wxString *arg7 = (wxString *) &arg7_defvalue ;
8419 wxStaticPicture *result;
8420 wxPoint temp4 ;
8421 wxSize temp5 ;
8422 bool temp7 = false ;
8423 PyObject * obj0 = 0 ;
8424 PyObject * obj1 = 0 ;
8425 PyObject * obj2 = 0 ;
8426 PyObject * obj3 = 0 ;
8427 PyObject * obj4 = 0 ;
8428 PyObject * obj5 = 0 ;
8429 PyObject * obj6 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail;
8437 if (obj1) {
8438 {
8439 arg2 = static_cast<int >(SWIG_As_int(obj1));
8440 if (SWIG_arg_fail(2)) SWIG_fail;
8441 }
8442 }
8443 if (obj2) {
8444 {
8445 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8446 if (SWIG_arg_fail(3)) SWIG_fail;
8447 if (arg3 == NULL) {
8448 SWIG_null_ref("wxBitmap");
8449 }
8450 if (SWIG_arg_fail(3)) SWIG_fail;
8451 }
8452 }
8453 if (obj3) {
8454 {
8455 arg4 = &temp4;
8456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8457 }
8458 }
8459 if (obj4) {
8460 {
8461 arg5 = &temp5;
8462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8463 }
8464 }
8465 if (obj5) {
8466 {
8467 arg6 = static_cast<long >(SWIG_As_long(obj5));
8468 if (SWIG_arg_fail(6)) SWIG_fail;
8469 }
8470 }
8471 if (obj6) {
8472 {
8473 arg7 = wxString_in_helper(obj6);
8474 if (arg7 == NULL) SWIG_fail;
8475 temp7 = true;
8476 }
8477 }
8478 {
8479 if (!wxPyCheckForApp()) SWIG_fail;
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8487 {
8488 if (temp7)
8489 delete arg7;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp7)
8495 delete arg7;
8496 }
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj = NULL;
8503 wxStaticPicture *result;
8504 char *kwnames[] = {
8505 NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail;
8509 {
8510 if (!wxPyCheckForApp()) SWIG_fail;
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (wxStaticPicture *)new wxStaticPicture();
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj = NULL;
8526 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8527 wxWindow *arg2 = (wxWindow *) 0 ;
8528 int arg3 = (int) -1 ;
8529 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8530 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8531 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8532 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8533 wxSize const &arg6_defvalue = wxDefaultSize ;
8534 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8535 long arg7 = (long) 0 ;
8536 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
8537 wxString *arg8 = (wxString *) &arg8_defvalue ;
8538 bool result;
8539 wxPoint temp5 ;
8540 wxSize temp6 ;
8541 bool temp8 = false ;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 PyObject * obj2 = 0 ;
8545 PyObject * obj3 = 0 ;
8546 PyObject * obj4 = 0 ;
8547 PyObject * obj5 = 0 ;
8548 PyObject * obj6 = 0 ;
8549 PyObject * obj7 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail;
8557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8558 if (SWIG_arg_fail(2)) SWIG_fail;
8559 if (obj2) {
8560 {
8561 arg3 = static_cast<int >(SWIG_As_int(obj2));
8562 if (SWIG_arg_fail(3)) SWIG_fail;
8563 }
8564 }
8565 if (obj3) {
8566 {
8567 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8568 if (SWIG_arg_fail(4)) SWIG_fail;
8569 if (arg4 == NULL) {
8570 SWIG_null_ref("wxBitmap");
8571 }
8572 if (SWIG_arg_fail(4)) SWIG_fail;
8573 }
8574 }
8575 if (obj4) {
8576 {
8577 arg5 = &temp5;
8578 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8579 }
8580 }
8581 if (obj5) {
8582 {
8583 arg6 = &temp6;
8584 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8585 }
8586 }
8587 if (obj6) {
8588 {
8589 arg7 = static_cast<long >(SWIG_As_long(obj6));
8590 if (SWIG_arg_fail(7)) SWIG_fail;
8591 }
8592 }
8593 if (obj7) {
8594 {
8595 arg8 = wxString_in_helper(obj7);
8596 if (arg8 == NULL) SWIG_fail;
8597 temp8 = true;
8598 }
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 {
8608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8609 }
8610 {
8611 if (temp8)
8612 delete arg8;
8613 }
8614 return resultobj;
8615 fail:
8616 {
8617 if (temp8)
8618 delete arg8;
8619 }
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj = NULL;
8626 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8627 wxBitmap *arg2 = 0 ;
8628 PyObject * obj0 = 0 ;
8629 PyObject * obj1 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "bmp", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
8635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8636 if (SWIG_arg_fail(1)) SWIG_fail;
8637 {
8638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8639 if (SWIG_arg_fail(2)) SWIG_fail;
8640 if (arg2 == NULL) {
8641 SWIG_null_ref("wxBitmap");
8642 }
8643 if (SWIG_arg_fail(2)) SWIG_fail;
8644 }
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 Py_INCREF(Py_None); resultobj = Py_None;
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj = NULL;
8661 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8662 wxBitmap result;
8663 PyObject * obj0 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail;
8669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8670 if (SWIG_arg_fail(1)) SWIG_fail;
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = ((wxStaticPicture const *)arg1)->GetBitmap();
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 {
8679 wxBitmap * resultptr;
8680 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
8681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8682 }
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8690 PyObject *resultobj = NULL;
8691 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8692 wxIcon *arg2 = 0 ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "icon", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail;
8700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail;
8702 {
8703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
8704 if (SWIG_arg_fail(2)) SWIG_fail;
8705 if (arg2 == NULL) {
8706 SWIG_null_ref("wxIcon");
8707 }
8708 if (SWIG_arg_fail(2)) SWIG_fail;
8709 }
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 (arg1)->SetIcon((wxIcon const &)*arg2);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 return resultobj;
8719 fail:
8720 return NULL;
8721 }
8722
8723
8724 static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj = NULL;
8726 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8727 wxIcon result;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail;
8734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8735 if (SWIG_arg_fail(1)) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = ((wxStaticPicture const *)arg1)->GetIcon();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 wxIcon * resultptr;
8745 resultptr = new wxIcon(static_cast<wxIcon & >(result));
8746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
8747 }
8748 return resultobj;
8749 fail:
8750 return NULL;
8751 }
8752
8753
8754 static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj = NULL;
8756 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8757 int arg2 ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "align", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8766 if (SWIG_arg_fail(1)) SWIG_fail;
8767 {
8768 arg2 = static_cast<int >(SWIG_As_int(obj1));
8769 if (SWIG_arg_fail(2)) SWIG_fail;
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->SetAlignment(arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj = NULL;
8787 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8788 int result;
8789 PyObject * obj0 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail;
8795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 {
8805 resultobj = SWIG_From_int(static_cast<int >(result));
8806 }
8807 return resultobj;
8808 fail:
8809 return NULL;
8810 }
8811
8812
8813 static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8814 PyObject *resultobj = NULL;
8815 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8816 int arg2 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "scale", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail;
8824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail;
8826 {
8827 arg2 = static_cast<int >(SWIG_As_int(obj1));
8828 if (SWIG_arg_fail(2)) SWIG_fail;
8829 }
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 (arg1)->SetScale(arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 Py_INCREF(Py_None); resultobj = Py_None;
8838 return resultobj;
8839 fail:
8840 return NULL;
8841 }
8842
8843
8844 static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj = NULL;
8846 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8847 int result;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail;
8854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail;
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 result = (int)((wxStaticPicture const *)arg1)->GetScale();
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 {
8864 resultobj = SWIG_From_int(static_cast<int >(result));
8865 }
8866 return resultobj;
8867 fail:
8868 return NULL;
8869 }
8870
8871
8872 static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj = NULL;
8874 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8875 float arg2 ;
8876 float arg3 ;
8877 PyObject * obj0 = 0 ;
8878 PyObject * obj1 = 0 ;
8879 PyObject * obj2 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "sx",(char *) "sy", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail;
8887 {
8888 arg2 = static_cast<float >(SWIG_As_float(obj1));
8889 if (SWIG_arg_fail(2)) SWIG_fail;
8890 }
8891 {
8892 arg3 = static_cast<float >(SWIG_As_float(obj2));
8893 if (SWIG_arg_fail(3)) SWIG_fail;
8894 }
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 (arg1)->SetCustomScale(arg2,arg3);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj = NULL;
8911 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8912 float *arg2 = (float *) 0 ;
8913 float *arg3 = (float *) 0 ;
8914 float temp2 ;
8915 int res2 = 0 ;
8916 float temp3 ;
8917 int res3 = 0 ;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8924 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail;
8926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8937 SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0)));
8938 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8939 SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0)));
8940 return resultobj;
8941 fail:
8942 return NULL;
8943 }
8944
8945
8946 static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) {
8947 PyObject *obj;
8948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8949 SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj);
8950 Py_INCREF(obj);
8951 return Py_BuildValue((char *)"");
8952 }
8953 static PyMethodDef SwigMethods[] = {
8954 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8955 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8956 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8957 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8958 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8959 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8960 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8961 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8962 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8963 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8964 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8965 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8966 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8967 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8968 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8969 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8970 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8971 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8972 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8973 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8974 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8975 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8976 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8977 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8978 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8979 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8980 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8981 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8982 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8983 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8984 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8985 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8986 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8987 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8988 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8989 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8990 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8991 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8992 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8993 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8994 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8995 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8996 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8997 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8998 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8999 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
9000 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
9001 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9002 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
9003 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9004 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
9005 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9006 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9007 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9008 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
9009 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9010 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
9011 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
9012 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
9013 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9014 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
9015 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9016 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
9017 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9018 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9019 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
9020 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9021 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
9022 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9023 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
9024 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9025 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9026 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9027 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9028 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9029 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9030 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9031 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9032 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
9033 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9034 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9035 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9036 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
9037 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9038 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
9039 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9040 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
9041 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9042 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9043 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9044 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
9045 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9046 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9047 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9048 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9049 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9050 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
9051 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
9052 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
9053 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9054 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9055 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
9056 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
9057 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9058 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
9059 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9060 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
9061 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9062 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9063 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9064 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9065 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9066 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
9067 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
9068 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9069 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
9070 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9071 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9072 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
9073 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
9074 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
9075 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
9076 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
9077 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
9078 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
9079 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
9080 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
9081 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
9082 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
9083 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9084 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
9085 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
9086 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9087 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9088 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
9089 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
9090 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
9091 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
9092 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
9093 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
9094 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
9095 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9096 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
9097 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
9098 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
9099 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
9100 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
9101 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
9102 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
9103 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9104 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
9105 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
9106 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
9107 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
9108 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
9109 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
9110 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
9111 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
9112 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
9113 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
9114 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9115 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
9116 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
9117 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9118 { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
9119 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9120 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9121 { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
9122 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9123 { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9124 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9125 { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
9126 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9127 { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL},
9128 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9129 { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
9130 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
9131 { NULL, NULL, 0, NULL }
9132 };
9133
9134
9135 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9136
9137 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
9138 return (void *)((wxValidator *) ((wxPyValidator *) x));
9139 }
9140 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
9141 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
9142 }
9143 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
9144 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
9145 }
9146 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
9147 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9148 }
9149 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
9150 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9151 }
9152 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
9153 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9154 }
9155 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
9156 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9157 }
9158 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
9159 return (void *)((wxPanel *) ((wxPyPanel *) x));
9160 }
9161 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
9162 return (void *)((wxPanel *) ((wxEditableListBox *) x));
9163 }
9164 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
9165 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
9166 }
9167 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
9168 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
9169 }
9170 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
9171 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9172 }
9173 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
9174 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
9175 }
9176 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
9177 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9178 }
9179 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
9180 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9181 }
9182 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
9183 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
9184 }
9185 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
9186 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
9187 }
9188 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
9189 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9190 }
9191 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
9192 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
9193 }
9194 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
9195 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
9196 }
9197 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
9198 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
9199 }
9200 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
9201 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9202 }
9203 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
9204 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
9205 }
9206 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
9207 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9208 }
9209 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
9210 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
9211 }
9212 static void *_p_wxControlTo_p_wxWindow(void *x) {
9213 return (void *)((wxWindow *) ((wxControl *) x));
9214 }
9215 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
9216 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
9217 }
9218 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
9219 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
9220 }
9221 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
9222 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
9223 }
9224 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
9225 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
9226 }
9227 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
9228 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
9229 }
9230 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
9231 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9232 }
9233 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
9234 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
9235 }
9236 static void *_p_wxListViewTo_p_wxWindow(void *x) {
9237 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9238 }
9239 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
9240 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
9241 }
9242 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
9243 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9244 }
9245 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
9246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9247 }
9248 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
9249 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9250 }
9251 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
9252 return (void *)((wxWindow *) ((wxPyWindow *) x));
9253 }
9254 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
9255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9256 }
9257 static void *_p_wxListbookTo_p_wxWindow(void *x) {
9258 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9259 }
9260 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
9261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9262 }
9263 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
9264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9265 }
9266 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
9267 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9268 }
9269 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
9270 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9271 }
9272 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
9273 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9274 }
9275 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9277 }
9278 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9279 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9280 }
9281 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9282 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9283 }
9284 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9285 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9286 }
9287 static void *_p_wxSliderTo_p_wxWindow(void *x) {
9288 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9289 }
9290 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9291 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9292 }
9293 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9294 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9295 }
9296 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9297 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9298 }
9299 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9300 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9301 }
9302 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9303 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9304 }
9305 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9306 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9307 }
9308 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9309 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9310 }
9311 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9312 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9313 }
9314 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9315 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9316 }
9317 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9318 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9319 }
9320 static void *_p_wxButtonTo_p_wxWindow(void *x) {
9321 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9322 }
9323 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9324 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9325 }
9326 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9327 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9328 }
9329 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9330 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9331 }
9332 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9333 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9334 }
9335 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9336 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9337 }
9338 static void *_p_wxFrameTo_p_wxWindow(void *x) {
9339 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9340 }
9341 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9342 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9343 }
9344 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9345 return (void *)((wxWindow *) ((wxStatusBar *) x));
9346 }
9347 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9349 }
9350 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9351 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9352 }
9353 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9354 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9355 }
9356 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9357 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9358 }
9359 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9360 return (void *)((wxWindow *) ((wxSashWindow *) x));
9361 }
9362 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9363 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9364 }
9365 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9366 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9367 }
9368 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9369 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9370 }
9371 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9372 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9373 }
9374 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9375 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9376 }
9377 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9378 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9379 }
9380 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9381 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9382 }
9383 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9384 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
9385 }
9386 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9387 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9388 }
9389 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9390 return (void *)((wxWindow *) ((wxMenuBar *) x));
9391 }
9392 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9393 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9394 }
9395 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9396 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9397 }
9398 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9399 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9400 }
9401 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9402 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9403 }
9404 static void *_p_wxDialogTo_p_wxWindow(void *x) {
9405 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9406 }
9407 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9409 }
9410 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9412 }
9413 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9415 }
9416 static void *_p_wxPanelTo_p_wxWindow(void *x) {
9417 return (void *)((wxWindow *) ((wxPanel *) x));
9418 }
9419 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9420 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9421 }
9422 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9423 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9424 }
9425 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9426 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9427 }
9428 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9429 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9430 }
9431 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9432 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9433 }
9434 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9435 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9436 }
9437 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9438 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9439 }
9440 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9441 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9442 }
9443 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9444 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9445 }
9446 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9447 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9448 }
9449 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9450 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
9451 }
9452 static void *_p_wxToolBarTo_p_wxControl(void *x) {
9453 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9454 }
9455 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9456 return (void *)((wxControl *) ((wxToggleButton *) x));
9457 }
9458 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9459 return (void *)((wxControl *) ((wxRadioButton *) x));
9460 }
9461 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9462 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9463 }
9464 static void *_p_wxToolbookTo_p_wxControl(void *x) {
9465 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
9466 }
9467 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9468 return (void *)((wxControl *) ((wxToolBarBase *) x));
9469 }
9470 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9471 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9472 }
9473 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9474 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9475 }
9476 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9477 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9478 }
9479 static void *_p_wxPyControlTo_p_wxControl(void *x) {
9480 return (void *)((wxControl *) ((wxPyControl *) x));
9481 }
9482 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9483 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9484 }
9485 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9486 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9487 }
9488 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9489 return (void *)((wxControl *) ((wxScrollBar *) x));
9490 }
9491 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9492 return (void *)((wxControl *) ((wxControlWithItems *) x));
9493 }
9494 static void *_p_wxGaugeTo_p_wxControl(void *x) {
9495 return (void *)((wxControl *) ((wxGauge *) x));
9496 }
9497 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9498 return (void *)((wxControl *) ((wxStaticLine *) x));
9499 }
9500 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
9501 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
9502 }
9503 static void *_p_wxListbookTo_p_wxControl(void *x) {
9504 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
9505 }
9506 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9507 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9508 }
9509 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9510 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9511 }
9512 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9513 return (void *)((wxControl *) ((wxCheckBox *) x));
9514 }
9515 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9516 return (void *)((wxControl *) ((wxRadioBox *) x));
9517 }
9518 static void *_p_wxChoiceTo_p_wxControl(void *x) {
9519 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9520 }
9521 static void *_p_wxListBoxTo_p_wxControl(void *x) {
9522 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9523 }
9524 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9525 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9526 }
9527 static void *_p_wxListViewTo_p_wxControl(void *x) {
9528 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9529 }
9530 static void *_p_wxNotebookTo_p_wxControl(void *x) {
9531 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
9532 }
9533 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9534 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9535 }
9536 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9537 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9538 }
9539 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9540 return (void *)((wxControl *) ((wxStaticText *) x));
9541 }
9542 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9543 return (void *)((wxControl *) ((wxStaticBox *) x));
9544 }
9545 static void *_p_wxSliderTo_p_wxControl(void *x) {
9546 return (void *)((wxControl *) ((wxSlider *) x));
9547 }
9548 static void *_p_wxTreebookTo_p_wxControl(void *x) {
9549 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
9550 }
9551 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9552 return (void *)((wxControl *) ((wxSpinButton *) x));
9553 }
9554 static void *_p_wxButtonTo_p_wxControl(void *x) {
9555 return (void *)((wxControl *) ((wxButton *) x));
9556 }
9557 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9558 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9559 }
9560 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9561 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9562 }
9563 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9564 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9565 }
9566 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9567 return (void *)((wxControl *) ((wxStaticPicture *) x));
9568 }
9569 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9570 return (void *)((wxControl *) ((wxTextCtrl *) x));
9571 }
9572 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9573 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9574 }
9575 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9577 }
9578 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9579 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9580 }
9581 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9582 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9583 }
9584 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9585 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9586 }
9587 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9588 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9589 }
9590 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9592 }
9593 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9594 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9595 }
9596 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9597 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9598 }
9599 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9600 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9601 }
9602 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9603 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9604 }
9605 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9607 }
9608 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9610 }
9611 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9613 }
9614 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9615 return (void *)((wxEvent *) ((wxPyEvent *) x));
9616 }
9617 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9618 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9619 }
9620 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9621 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9622 }
9623 static void *_p_wxListEventTo_p_wxEvent(void *x) {
9624 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9625 }
9626 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9628 }
9629 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9630 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9631 }
9632 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
9633 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
9634 }
9635 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
9636 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
9637 }
9638 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
9639 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
9640 }
9641 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
9642 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
9643 }
9644 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
9645 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
9646 }
9647 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9649 }
9650 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9651 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9652 }
9653 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9654 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9655 }
9656 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9657 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9658 }
9659 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9660 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9661 }
9662 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9663 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9664 }
9665 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9666 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9667 }
9668 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9669 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9670 }
9671 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9672 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9673 }
9674 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9676 }
9677 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9678 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9679 }
9680 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9681 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9682 }
9683 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9684 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9685 }
9686 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9687 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9688 }
9689 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9690 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9691 }
9692 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9693 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9694 }
9695 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9696 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9697 }
9698 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9699 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9700 }
9701 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9702 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9703 }
9704 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9705 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9706 }
9707 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9708 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9709 }
9710 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9711 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9712 }
9713 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9714 return (void *)((wxEvent *) ((wxShowEvent *) x));
9715 }
9716 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9717 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9718 }
9719 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9721 }
9722 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9723 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9724 }
9725 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9726 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9727 }
9728 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9729 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9730 }
9731 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9732 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9733 }
9734 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9735 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9736 }
9737 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9738 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9739 }
9740 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9742 }
9743 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9745 }
9746 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9748 }
9749 static void *_p_wxEventTo_p_wxObject(void *x) {
9750 return (void *)((wxObject *) ((wxEvent *) x));
9751 }
9752 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9754 }
9755 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9756 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9757 }
9758 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9759 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9760 }
9761 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9763 }
9764 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9766 }
9767 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9769 }
9770 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9771 return (void *)((wxObject *) ((wxMenuItem *) x));
9772 }
9773 static void *_p_wxImageTo_p_wxObject(void *x) {
9774 return (void *)((wxObject *) ((wxImage *) x));
9775 }
9776 static void *_p_wxPySizerTo_p_wxObject(void *x) {
9777 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9778 }
9779 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9781 }
9782 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9783 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9784 }
9785 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9787 }
9788 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9789 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
9790 }
9791 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9792 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9793 }
9794 static void *_p_wxPyAppTo_p_wxObject(void *x) {
9795 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9796 }
9797 static void *_p_wxTreebookTo_p_wxObject(void *x) {
9798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
9799 }
9800 static void *_p_wxNotebookTo_p_wxObject(void *x) {
9801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9802 }
9803 static void *_p_wxListItemTo_p_wxObject(void *x) {
9804 return (void *)((wxObject *) ((wxListItem *) x));
9805 }
9806 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
9807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9808 }
9809 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
9811 }
9812 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9814 }
9815 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9817 }
9818 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9820 }
9821 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9823 }
9824 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9825 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9826 }
9827 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9829 }
9830 static void *_p_wxValidatorTo_p_wxObject(void *x) {
9831 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9832 }
9833 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9834 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9835 }
9836 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9837 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9838 }
9839 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9840 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9841 }
9842 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9843 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9844 }
9845 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9847 }
9848 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9849 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9850 }
9851 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9853 }
9854 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9855 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9856 }
9857 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9858 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9859 }
9860 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9861 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9862 }
9863 static void *_p_wxPrinterTo_p_wxObject(void *x) {
9864 return (void *)((wxObject *) ((wxPrinter *) x));
9865 }
9866 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9868 }
9869 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9871 }
9872 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9873 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9874 }
9875 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9876 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9877 }
9878 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9879 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9880 }
9881 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9882 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9883 }
9884 static void *_p_wxControlTo_p_wxObject(void *x) {
9885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9886 }
9887 static void *_p_wxPyControlTo_p_wxObject(void *x) {
9888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9889 }
9890 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9891 return (void *)((wxObject *) ((wxContextHelp *) x));
9892 }
9893 static void *_p_wxColourDataTo_p_wxObject(void *x) {
9894 return (void *)((wxObject *) ((wxColourData *) x));
9895 }
9896 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9897 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9898 }
9899 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9900 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9901 }
9902 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9903 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9904 }
9905 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9906 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9907 }
9908 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9909 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9910 }
9911 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9912 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9913 }
9914 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9915 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9916 }
9917 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9918 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9919 }
9920 static void *_p_wxDateEventTo_p_wxObject(void *x) {
9921 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9922 }
9923 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9925 }
9926 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9927 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9928 }
9929 static void *_p_wxListEventTo_p_wxObject(void *x) {
9930 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9931 }
9932 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9934 }
9935 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9936 return (void *)((wxObject *) ((wxPyPrintout *) x));
9937 }
9938 static void *_p_wxGaugeTo_p_wxObject(void *x) {
9939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9940 }
9941 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9943 }
9944 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9945 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9946 }
9947 static void *_p_wxChoiceTo_p_wxObject(void *x) {
9948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9949 }
9950 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9952 }
9953 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9955 }
9956 static void *_p_wxButtonTo_p_wxObject(void *x) {
9957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9958 }
9959 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9961 }
9962 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9963 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9964 }
9965 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9966 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9967 }
9968 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9970 }
9971 static void *_p_wxSashEventTo_p_wxObject(void *x) {
9972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9973 }
9974 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9976 }
9977 static void *_p_wxListBoxTo_p_wxObject(void *x) {
9978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9979 }
9980 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9982 }
9983 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9985 }
9986 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9987 return (void *)((wxObject *) ((wxPrintData *) x));
9988 }
9989 static void *_p_wxFontDataTo_p_wxObject(void *x) {
9990 return (void *)((wxObject *) ((wxFontData *) x));
9991 }
9992 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9994 }
9995 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9997 }
9998 static void *_p_wxListbookTo_p_wxObject(void *x) {
9999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
10000 }
10001 static void *_p_wxFrameTo_p_wxObject(void *x) {
10002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10003 }
10004 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10006 }
10007 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
10008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
10009 }
10010 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10011 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10012 }
10013 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10015 }
10016 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10017 return (void *)((wxObject *) ((wxFileSystem *) x));
10018 }
10019 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10020 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10021 }
10022 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10023 return (void *)((wxObject *) ((wxPrintPreview *) x));
10024 }
10025 static void *_p_wxListViewTo_p_wxObject(void *x) {
10026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10027 }
10028 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10029 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10030 }
10031 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
10032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10033 }
10034 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
10035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10036 }
10037 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
10038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10039 }
10040 static void *_p_wxSizerTo_p_wxObject(void *x) {
10041 return (void *)((wxObject *) ((wxSizer *) x));
10042 }
10043 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10044 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10045 }
10046 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10047 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10048 }
10049 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10050 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10051 }
10052 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10053 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10054 }
10055 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10056 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10057 }
10058 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10059 return (void *)((wxObject *) ((wxFSFile *) x));
10060 }
10061 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10063 }
10064 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10065 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10066 }
10067 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
10068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10069 }
10070 static void *_p_wxMenuTo_p_wxObject(void *x) {
10071 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10072 }
10073 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
10074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
10075 }
10076 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
10077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
10078 }
10079 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10080 return (void *)((wxObject *) ((wxSizerItem *) x));
10081 }
10082 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10083 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10084 }
10085 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10086 return (void *)((wxObject *) ((wxPrintDialog *) x));
10087 }
10088 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10089 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
10090 }
10091 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10093 }
10094 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10096 }
10097 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10099 }
10100 static void *_p_wxDialogTo_p_wxObject(void *x) {
10101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10102 }
10103 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10105 }
10106 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10107 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10108 }
10109 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
10110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10111 }
10112 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
10113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10114 }
10115 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
10116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10117 }
10118 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10119 return (void *)((wxObject *) ((wxEvtHandler *) x));
10120 }
10121 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10122 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10123 }
10124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10125 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10126 }
10127 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10128 return (void *)((wxObject *) ((wxImageHandler *) x));
10129 }
10130 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
10131 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
10132 }
10133 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10134 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10135 }
10136 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10137 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10138 }
10139 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10140 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10141 }
10142 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10143 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10144 }
10145 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10146 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10147 }
10148 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10149 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10150 }
10151 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10152 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10153 }
10154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10155 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10156 }
10157 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10158 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10159 }
10160 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10161 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10162 }
10163 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
10164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10165 }
10166 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10168 }
10169 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10171 }
10172 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10174 }
10175 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10177 }
10178 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10180 }
10181 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10183 }
10184 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10186 }
10187 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10189 }
10190 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10192 }
10193 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10195 }
10196 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10198 }
10199 static void *_p_wxWindowTo_p_wxObject(void *x) {
10200 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10201 }
10202 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
10203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
10204 }
10205 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
10206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
10207 }
10208 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
10209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10210 }
10211 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
10212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10213 }
10214 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
10215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10216 }
10217 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
10218 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10219 }
10220 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
10221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10222 }
10223 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
10224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10225 }
10226 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
10227 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
10228 }
10229 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
10230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
10231 }
10232 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10234 }
10235 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10237 }
10238 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10240 }
10241 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
10242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10243 }
10244 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10246 }
10247 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10249 }
10250 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10252 }
10253 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10255 }
10256 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
10257 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
10258 }
10259 static void *_p_wxSliderTo_p_wxObject(void *x) {
10260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
10261 }
10262 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10264 }
10265 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
10266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10267 }
10268 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10269 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10270 }
10271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10272 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10273 }
10274 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10275 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10276 }
10277 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10278 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10279 }
10280 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
10281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
10282 }
10283 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
10284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
10285 }
10286 static void *_p_wxPanelTo_p_wxObject(void *x) {
10287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10288 }
10289 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
10290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
10291 }
10292 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10293 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10294 }
10295 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10296 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10297 }
10298 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10299 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10300 }
10301 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10303 }
10304 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10306 }
10307 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10308 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10309 }
10310 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10312 }
10313 static void *_p_wxToolbookTo_p_wxObject(void *x) {
10314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
10315 }
10316 static void *_p_wxToolBarTo_p_wxObject(void *x) {
10317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10318 }
10319 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10321 }
10322 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10324 }
10325 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10326 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10327 }
10328 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10329 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10330 }
10331 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10333 }
10334 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10336 }
10337 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
10338 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
10339 }
10340 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10342 }
10343 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10345 }
10346 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10347 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10348 }
10349 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10351 }
10352 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10354 }
10355 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10356 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10357 }
10358 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10359 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10360 }
10361 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10363 }
10364 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10365 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10366 }
10367 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10369 }
10370 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10372 }
10373 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10375 }
10376 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10378 }
10379 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10381 }
10382 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10384 }
10385 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10387 }
10388 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10390 }
10391 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10393 }
10394 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10396 }
10397 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10399 }
10400 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
10401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
10402 }
10403 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10405 }
10406 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10408 }
10409 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
10410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
10411 }
10412 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10413 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10414 }
10415 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
10416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
10417 }
10418 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10419 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10420 }
10421 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10422 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10423 }
10424 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
10425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
10426 }
10427 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10429 }
10430 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10432 }
10433 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10435 }
10436 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10438 }
10439 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10441 }
10442 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10444 }
10445 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10447 }
10448 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10450 }
10451 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10453 }
10454 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10456 }
10457 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10459 }
10460 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10462 }
10463 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10465 }
10466 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10468 }
10469 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10471 }
10472 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10473 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10474 }
10475 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10476 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10477 }
10478 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10480 }
10481 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10483 }
10484 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10486 }
10487 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10489 }
10490 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10492 }
10493 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10495 }
10496 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10498 }
10499 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
10501 }
10502 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10503 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10504 }
10505 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10506 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10507 }
10508 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10510 }
10511 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10512 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10513 }
10514 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10516 }
10517 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10519 }
10520 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10521 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10522 }
10523 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10524 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10525 }
10526 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10527 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10528 }
10529 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10530 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10531 }
10532 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10533 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10534 }
10535 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10536 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10537 }
10538 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10539 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10540 }
10541 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10542 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10543 }
10544 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10545 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10546 }
10547 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10549 }
10550 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10551 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10552 }
10553 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10554 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10555 }
10556 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10557 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10558 }
10559 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10560 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10561 }
10562 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10563 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10564 }
10565 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10566 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10567 }
10568 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10570 }
10571 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10572 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10573 }
10574 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10575 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10576 }
10577 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10579 }
10580 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10582 }
10583 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10584 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10585 }
10586 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10587 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10588 }
10589 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10590 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10591 }
10592 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10593 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10594 }
10595 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10596 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10597 }
10598 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10599 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10600 }
10601 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10602 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10603 }
10604 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10605 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10606 }
10607 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10608 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10609 }
10610 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10611 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10612 }
10613 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10614 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10615 }
10616 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10617 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10618 }
10619 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10620 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10621 }
10622 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10623 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10624 }
10625 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10626 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10627 }
10628 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10629 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10630 }
10631 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10632 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10633 }
10634 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10635 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10636 }
10637 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10638 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10639 }
10640 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10641 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10642 }
10643 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10644 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10645 }
10646 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
10647 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10648 }
10649 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
10650 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10651 }
10652 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
10653 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10654 }
10655 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
10656 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
10657 }
10658 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
10659 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
10660 }
10661 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10662 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10663 }
10664 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10665 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10666 }
10667 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10668 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10669 }
10670 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10671 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10672 }
10673 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10674 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10675 }
10676 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10677 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10678 }
10679 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10680 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10681 }
10682 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10683 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10684 }
10685 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10686 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10687 }
10688 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10689 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10690 }
10691 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10692 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10693 }
10694 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10695 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10696 }
10697 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
10698 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, 0};
10699 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
10700 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
10701 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
10702 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
10703 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
10704 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
10705 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
10706 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
10707 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
10708 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
10709 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
10710 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
10711 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0};
10712 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
10713 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
10714 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
10715 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
10716 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0};
10717 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0};
10718 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0};
10719 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0};
10720 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0};
10721 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
10722 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
10723 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0};
10724 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0};
10725 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0};
10726 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0};
10727 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0};
10728 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
10729 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
10730 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
10731 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
10732 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0};
10733 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0};
10734 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0};
10735 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0};
10736 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0};
10737 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0};
10738 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0};
10739 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0};
10740 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0};
10741 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0};
10742 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
10743 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0};
10744 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0};
10745 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0};
10746 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0};
10747 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0};
10748 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0};
10749 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0};
10750 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0};
10751 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0};
10752 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0};
10753 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0};
10754 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0};
10755 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0};
10756 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0};
10757 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0};
10758 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0};
10759 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0};
10760 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0};
10761 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0};
10762 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0};
10763 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0};
10764 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0};
10765 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0};
10766 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
10767 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0};
10768 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0};
10769 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0};
10770 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, 0};
10771 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
10772 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
10773 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
10774 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
10775 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
10776 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
10777 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
10778 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
10779 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
10780 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
10781 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
10782 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
10783 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
10784 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
10785 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
10786 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
10787 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
10788 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
10789 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
10790 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
10791 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
10792 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
10793 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
10794 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
10795 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
10796 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
10797 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
10798 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
10799 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
10800 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
10801 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
10802 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
10803 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
10804 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
10805 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
10806 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
10807 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
10808 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
10809 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
10810 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
10811 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
10812 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
10813 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
10814 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
10815 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
10816 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
10817 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
10818 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
10819 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
10820 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
10821 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
10822 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
10823 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
10824 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
10825 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
10826 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
10827 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
10828 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
10829 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
10830 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
10831 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
10832 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
10833 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0};
10834 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
10835 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
10836 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0};
10837 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
10838 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
10839 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
10840 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
10841 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
10842 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
10843 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
10844 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
10845 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
10846 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
10847 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0};
10848 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
10849 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
10850 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
10851 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
10852 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
10853 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0};
10854 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
10855 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0};
10856 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
10857 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
10858 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
10859 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
10860 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
10861 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
10862 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
10863 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0};
10864 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
10865 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
10866 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
10867 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
10868 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
10869 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
10870 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
10871 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
10872 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
10873 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
10874 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
10875 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
10876 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
10877 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
10878 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
10879 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
10880 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
10881 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
10882 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
10883 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
10884 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
10885 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
10886 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
10887 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
10888 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
10889 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
10890 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
10891 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
10892 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
10893 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
10894 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
10895 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0};
10896 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
10897 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
10898 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
10899 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0};
10900 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
10901 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
10902 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0};
10903 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0};
10904 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
10905 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
10906 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0};
10907 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
10908 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0};
10909 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0};
10910 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
10911 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0};
10912 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
10913 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
10914 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
10915 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
10916 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
10917
10918 static swig_type_info *swig_type_initial[] = {
10919 &_swigt__p_char,
10920 &_swigt__p_float,
10921 &_swigt__p_form_ops_t,
10922 &_swigt__p_int,
10923 &_swigt__p_unsigned_char,
10924 &_swigt__p_unsigned_int,
10925 &_swigt__p_unsigned_long,
10926 &_swigt__p_wxANIHandler,
10927 &_swigt__p_wxAcceleratorTable,
10928 &_swigt__p_wxActivateEvent,
10929 &_swigt__p_wxArrayString,
10930 &_swigt__p_wxBMPHandler,
10931 &_swigt__p_wxBitmap,
10932 &_swigt__p_wxBitmapButton,
10933 &_swigt__p_wxBookCtrlBase,
10934 &_swigt__p_wxBookCtrlBaseEvent,
10935 &_swigt__p_wxBoxSizer,
10936 &_swigt__p_wxButton,
10937 &_swigt__p_wxCURHandler,
10938 &_swigt__p_wxCalculateLayoutEvent,
10939 &_swigt__p_wxCheckBox,
10940 &_swigt__p_wxCheckListBox,
10941 &_swigt__p_wxChildFocusEvent,
10942 &_swigt__p_wxChoice,
10943 &_swigt__p_wxChoicebook,
10944 &_swigt__p_wxChoicebookEvent,
10945 &_swigt__p_wxCloseEvent,
10946 &_swigt__p_wxColour,
10947 &_swigt__p_wxColourData,
10948 &_swigt__p_wxColourDialog,
10949 &_swigt__p_wxComboBox,
10950 &_swigt__p_wxCommandEvent,
10951 &_swigt__p_wxContextHelp,
10952 &_swigt__p_wxContextHelpButton,
10953 &_swigt__p_wxContextMenuEvent,
10954 &_swigt__p_wxControl,
10955 &_swigt__p_wxControlWithItems,
10956 &_swigt__p_wxDateEvent,
10957 &_swigt__p_wxDatePickerCtrl,
10958 &_swigt__p_wxDialog,
10959 &_swigt__p_wxDirDialog,
10960 &_swigt__p_wxDirFilterListCtrl,
10961 &_swigt__p_wxDisplayChangedEvent,
10962 &_swigt__p_wxDropFilesEvent,
10963 &_swigt__p_wxDuplexMode,
10964 &_swigt__p_wxDynamicSashSplitEvent,
10965 &_swigt__p_wxDynamicSashUnifyEvent,
10966 &_swigt__p_wxDynamicSashWindow,
10967 &_swigt__p_wxEditableListBox,
10968 &_swigt__p_wxEraseEvent,
10969 &_swigt__p_wxEvent,
10970 &_swigt__p_wxEvtHandler,
10971 &_swigt__p_wxFSFile,
10972 &_swigt__p_wxFileDialog,
10973 &_swigt__p_wxFileSystem,
10974 &_swigt__p_wxFindDialogEvent,
10975 &_swigt__p_wxFindReplaceData,
10976 &_swigt__p_wxFindReplaceDialog,
10977 &_swigt__p_wxFlexGridSizer,
10978 &_swigt__p_wxFocusEvent,
10979 &_swigt__p_wxFont,
10980 &_swigt__p_wxFontData,
10981 &_swigt__p_wxFontDialog,
10982 &_swigt__p_wxFrame,
10983 &_swigt__p_wxGBSizerItem,
10984 &_swigt__p_wxGIFHandler,
10985 &_swigt__p_wxGauge,
10986 &_swigt__p_wxGenericDirCtrl,
10987 &_swigt__p_wxGenericDragImage,
10988 &_swigt__p_wxGridBagSizer,
10989 &_swigt__p_wxGridSizer,
10990 &_swigt__p_wxHelpEvent,
10991 &_swigt__p_wxICOHandler,
10992 &_swigt__p_wxIcon,
10993 &_swigt__p_wxIconizeEvent,
10994 &_swigt__p_wxIdleEvent,
10995 &_swigt__p_wxImage,
10996 &_swigt__p_wxImageHandler,
10997 &_swigt__p_wxImageList,
10998 &_swigt__p_wxIndividualLayoutConstraint,
10999 &_swigt__p_wxInitDialogEvent,
11000 &_swigt__p_wxJPEGHandler,
11001 &_swigt__p_wxKeyEvent,
11002 &_swigt__p_wxLEDNumberCtrl,
11003 &_swigt__p_wxLayoutAlgorithm,
11004 &_swigt__p_wxLayoutConstraints,
11005 &_swigt__p_wxListBox,
11006 &_swigt__p_wxListEvent,
11007 &_swigt__p_wxListItem,
11008 &_swigt__p_wxListView,
11009 &_swigt__p_wxListbook,
11010 &_swigt__p_wxListbookEvent,
11011 &_swigt__p_wxMDIChildFrame,
11012 &_swigt__p_wxMDIClientWindow,
11013 &_swigt__p_wxMDIParentFrame,
11014 &_swigt__p_wxMaximizeEvent,
11015 &_swigt__p_wxMenu,
11016 &_swigt__p_wxMenuBar,
11017 &_swigt__p_wxMenuEvent,
11018 &_swigt__p_wxMenuItem,
11019 &_swigt__p_wxMessageDialog,
11020 &_swigt__p_wxMiniFrame,
11021 &_swigt__p_wxMouseCaptureChangedEvent,
11022 &_swigt__p_wxMouseEvent,
11023 &_swigt__p_wxMoveEvent,
11024 &_swigt__p_wxMultiChoiceDialog,
11025 &_swigt__p_wxNavigationKeyEvent,
11026 &_swigt__p_wxNcPaintEvent,
11027 &_swigt__p_wxNotebook,
11028 &_swigt__p_wxNotebookEvent,
11029 &_swigt__p_wxNotifyEvent,
11030 &_swigt__p_wxObject,
11031 &_swigt__p_wxPCXHandler,
11032 &_swigt__p_wxPNGHandler,
11033 &_swigt__p_wxPNMHandler,
11034 &_swigt__p_wxPageSetupDialog,
11035 &_swigt__p_wxPageSetupDialogData,
11036 &_swigt__p_wxPaintEvent,
11037 &_swigt__p_wxPaletteChangedEvent,
11038 &_swigt__p_wxPanel,
11039 &_swigt__p_wxPaperSize,
11040 &_swigt__p_wxPasswordEntryDialog,
11041 &_swigt__p_wxPopupWindow,
11042 &_swigt__p_wxPreviewCanvas,
11043 &_swigt__p_wxPreviewControlBar,
11044 &_swigt__p_wxPreviewFrame,
11045 &_swigt__p_wxPrintData,
11046 &_swigt__p_wxPrintDialog,
11047 &_swigt__p_wxPrintDialogData,
11048 &_swigt__p_wxPrintPreview,
11049 &_swigt__p_wxPrinter,
11050 &_swigt__p_wxProgressDialog,
11051 &_swigt__p_wxPyApp,
11052 &_swigt__p_wxPyCommandEvent,
11053 &_swigt__p_wxPyControl,
11054 &_swigt__p_wxPyEvent,
11055 &_swigt__p_wxPyHtmlListBox,
11056 &_swigt__p_wxPyImageHandler,
11057 &_swigt__p_wxPyListCtrl,
11058 &_swigt__p_wxPyPanel,
11059 &_swigt__p_wxPyPopupTransientWindow,
11060 &_swigt__p_wxPyPreviewControlBar,
11061 &_swigt__p_wxPyPreviewFrame,
11062 &_swigt__p_wxPyPrintPreview,
11063 &_swigt__p_wxPyPrintout,
11064 &_swigt__p_wxPyScrolledWindow,
11065 &_swigt__p_wxPySizer,
11066 &_swigt__p_wxPyTaskBarIcon,
11067 &_swigt__p_wxPyTreeCompanionWindow,
11068 &_swigt__p_wxPyTreeCtrl,
11069 &_swigt__p_wxPyTreeItemData,
11070 &_swigt__p_wxPyTreeListCtrl,
11071 &_swigt__p_wxPyVListBox,
11072 &_swigt__p_wxPyVScrolledWindow,
11073 &_swigt__p_wxPyValidator,
11074 &_swigt__p_wxPyWindow,
11075 &_swigt__p_wxQueryLayoutInfoEvent,
11076 &_swigt__p_wxQueryNewPaletteEvent,
11077 &_swigt__p_wxRadioBox,
11078 &_swigt__p_wxRadioButton,
11079 &_swigt__p_wxRemotelyScrolledTreeCtrl,
11080 &_swigt__p_wxSashEvent,
11081 &_swigt__p_wxSashLayoutWindow,
11082 &_swigt__p_wxSashWindow,
11083 &_swigt__p_wxScrollBar,
11084 &_swigt__p_wxScrollEvent,
11085 &_swigt__p_wxScrollWinEvent,
11086 &_swigt__p_wxScrolledWindow,
11087 &_swigt__p_wxSetCursorEvent,
11088 &_swigt__p_wxShowEvent,
11089 &_swigt__p_wxSingleChoiceDialog,
11090 &_swigt__p_wxSizeEvent,
11091 &_swigt__p_wxSizer,
11092 &_swigt__p_wxSizerItem,
11093 &_swigt__p_wxSlider,
11094 &_swigt__p_wxSpinButton,
11095 &_swigt__p_wxSpinCtrl,
11096 &_swigt__p_wxSpinEvent,
11097 &_swigt__p_wxSplashScreen,
11098 &_swigt__p_wxSplashScreenWindow,
11099 &_swigt__p_wxSplitterEvent,
11100 &_swigt__p_wxSplitterScrolledWindow,
11101 &_swigt__p_wxSplitterWindow,
11102 &_swigt__p_wxStaticBitmap,
11103 &_swigt__p_wxStaticBox,
11104 &_swigt__p_wxStaticBoxSizer,
11105 &_swigt__p_wxStaticLine,
11106 &_swigt__p_wxStaticPicture,
11107 &_swigt__p_wxStaticText,
11108 &_swigt__p_wxStatusBar,
11109 &_swigt__p_wxStdDialogButtonSizer,
11110 &_swigt__p_wxSysColourChangedEvent,
11111 &_swigt__p_wxTIFFHandler,
11112 &_swigt__p_wxTaskBarIconEvent,
11113 &_swigt__p_wxTextCtrl,
11114 &_swigt__p_wxTextEntryDialog,
11115 &_swigt__p_wxTextUrlEvent,
11116 &_swigt__p_wxThinSplitterWindow,
11117 &_swigt__p_wxTipWindow,
11118 &_swigt__p_wxToggleButton,
11119 &_swigt__p_wxToolBar,
11120 &_swigt__p_wxToolBarBase,
11121 &_swigt__p_wxToolBarToolBase,
11122 &_swigt__p_wxToolbook,
11123 &_swigt__p_wxToolbookEvent,
11124 &_swigt__p_wxTopLevelWindow,
11125 &_swigt__p_wxTreeEvent,
11126 &_swigt__p_wxTreeItemId,
11127 &_swigt__p_wxTreeListColumnInfo,
11128 &_swigt__p_wxTreebook,
11129 &_swigt__p_wxTreebookEvent,
11130 &_swigt__p_wxUpdateUIEvent,
11131 &_swigt__p_wxValidator,
11132 &_swigt__p_wxWindow,
11133 &_swigt__p_wxWindowCreateEvent,
11134 &_swigt__p_wxWindowDestroyEvent,
11135 &_swigt__p_wxXPMHandler,
11136 &_swigt__ptrdiff_t,
11137 &_swigt__std__ptrdiff_t,
11138 &_swigt__unsigned_int,
11139 };
11140
11141 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11142 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
11143 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11144 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11145 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11146 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11147 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11148 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
11149 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
11150 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11151 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11152 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11153 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11154 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
11155 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11156 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11157 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11158 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11159 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11160 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
11161 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11162 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
11163 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
11164 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11165 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11166 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
11167 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
11168 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
11169 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
11170 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
11171 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11172 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11173 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11174 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}};
11175 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
11176 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
11177 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
11178 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
11179 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
11180 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
11181 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
11182 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11183 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
11184 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
11185 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
11186 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
11187 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
11188 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
11189 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
11190 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
11191 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
11192 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
11193 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
11194 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
11195 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
11196 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
11197 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
11198 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
11199 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
11200 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
11201 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
11202 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
11203 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
11204 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
11205 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
11206 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
11207 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
11208 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
11209 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}};
11210 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11211 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
11212 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11213 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11214 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
11215 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11216 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11217 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11218 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11219 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11220 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11221 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11222 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11223 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11224 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11225 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11226 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11227 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11228 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11229 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11230 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11231 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11232 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11233 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11234 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11235 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11236 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11237 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11238 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11239 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11240 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11241 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11242 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11243 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11244 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}};
11245 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11246 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11247 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11248 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
11249 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
11250 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
11251 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
11252 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
11253 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11254 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
11255 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11256 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11257 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11258 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11259 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11260 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11261 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11262 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
11263 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
11264 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
11265 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
11266 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
11267 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
11268 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11269 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
11270 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
11271 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
11272 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
11273 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
11274 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11275 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11276 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
11277 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
11278 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11279 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
11280 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
11281 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
11282 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
11283 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
11284 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11285 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11286 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11287 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}};
11288 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
11289 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
11290 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
11291 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
11292 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
11293 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
11294 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
11295 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
11296 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
11297 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
11298 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
11299 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
11300 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
11301 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
11302 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
11303 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11304 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11305 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
11306 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
11307 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
11308 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
11309 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
11310 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
11311 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
11312 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
11313 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11314 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11315 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
11316 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
11317 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11318 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11319 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
11320 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
11321 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11322 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11323 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
11324 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
11325 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
11326 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
11327 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
11328 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
11329 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
11330 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
11331 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
11332 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
11333 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
11334 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11335 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11336 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
11337 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
11338 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
11339 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}};
11340 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}};
11341 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
11342 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}};
11343 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
11344 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}};
11345 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
11346 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
11347 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
11348 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
11349 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}};
11350 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11351 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}};
11352 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
11353 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
11354 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
11355 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
11356 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}};
11357 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}};
11358 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11359 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
11360 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11361
11362 static swig_cast_info *swig_cast_initial[] = {
11363 _swigc__p_char,
11364 _swigc__p_float,
11365 _swigc__p_form_ops_t,
11366 _swigc__p_int,
11367 _swigc__p_unsigned_char,
11368 _swigc__p_unsigned_int,
11369 _swigc__p_unsigned_long,
11370 _swigc__p_wxANIHandler,
11371 _swigc__p_wxAcceleratorTable,
11372 _swigc__p_wxActivateEvent,
11373 _swigc__p_wxArrayString,
11374 _swigc__p_wxBMPHandler,
11375 _swigc__p_wxBitmap,
11376 _swigc__p_wxBitmapButton,
11377 _swigc__p_wxBookCtrlBase,
11378 _swigc__p_wxBookCtrlBaseEvent,
11379 _swigc__p_wxBoxSizer,
11380 _swigc__p_wxButton,
11381 _swigc__p_wxCURHandler,
11382 _swigc__p_wxCalculateLayoutEvent,
11383 _swigc__p_wxCheckBox,
11384 _swigc__p_wxCheckListBox,
11385 _swigc__p_wxChildFocusEvent,
11386 _swigc__p_wxChoice,
11387 _swigc__p_wxChoicebook,
11388 _swigc__p_wxChoicebookEvent,
11389 _swigc__p_wxCloseEvent,
11390 _swigc__p_wxColour,
11391 _swigc__p_wxColourData,
11392 _swigc__p_wxColourDialog,
11393 _swigc__p_wxComboBox,
11394 _swigc__p_wxCommandEvent,
11395 _swigc__p_wxContextHelp,
11396 _swigc__p_wxContextHelpButton,
11397 _swigc__p_wxContextMenuEvent,
11398 _swigc__p_wxControl,
11399 _swigc__p_wxControlWithItems,
11400 _swigc__p_wxDateEvent,
11401 _swigc__p_wxDatePickerCtrl,
11402 _swigc__p_wxDialog,
11403 _swigc__p_wxDirDialog,
11404 _swigc__p_wxDirFilterListCtrl,
11405 _swigc__p_wxDisplayChangedEvent,
11406 _swigc__p_wxDropFilesEvent,
11407 _swigc__p_wxDuplexMode,
11408 _swigc__p_wxDynamicSashSplitEvent,
11409 _swigc__p_wxDynamicSashUnifyEvent,
11410 _swigc__p_wxDynamicSashWindow,
11411 _swigc__p_wxEditableListBox,
11412 _swigc__p_wxEraseEvent,
11413 _swigc__p_wxEvent,
11414 _swigc__p_wxEvtHandler,
11415 _swigc__p_wxFSFile,
11416 _swigc__p_wxFileDialog,
11417 _swigc__p_wxFileSystem,
11418 _swigc__p_wxFindDialogEvent,
11419 _swigc__p_wxFindReplaceData,
11420 _swigc__p_wxFindReplaceDialog,
11421 _swigc__p_wxFlexGridSizer,
11422 _swigc__p_wxFocusEvent,
11423 _swigc__p_wxFont,
11424 _swigc__p_wxFontData,
11425 _swigc__p_wxFontDialog,
11426 _swigc__p_wxFrame,
11427 _swigc__p_wxGBSizerItem,
11428 _swigc__p_wxGIFHandler,
11429 _swigc__p_wxGauge,
11430 _swigc__p_wxGenericDirCtrl,
11431 _swigc__p_wxGenericDragImage,
11432 _swigc__p_wxGridBagSizer,
11433 _swigc__p_wxGridSizer,
11434 _swigc__p_wxHelpEvent,
11435 _swigc__p_wxICOHandler,
11436 _swigc__p_wxIcon,
11437 _swigc__p_wxIconizeEvent,
11438 _swigc__p_wxIdleEvent,
11439 _swigc__p_wxImage,
11440 _swigc__p_wxImageHandler,
11441 _swigc__p_wxImageList,
11442 _swigc__p_wxIndividualLayoutConstraint,
11443 _swigc__p_wxInitDialogEvent,
11444 _swigc__p_wxJPEGHandler,
11445 _swigc__p_wxKeyEvent,
11446 _swigc__p_wxLEDNumberCtrl,
11447 _swigc__p_wxLayoutAlgorithm,
11448 _swigc__p_wxLayoutConstraints,
11449 _swigc__p_wxListBox,
11450 _swigc__p_wxListEvent,
11451 _swigc__p_wxListItem,
11452 _swigc__p_wxListView,
11453 _swigc__p_wxListbook,
11454 _swigc__p_wxListbookEvent,
11455 _swigc__p_wxMDIChildFrame,
11456 _swigc__p_wxMDIClientWindow,
11457 _swigc__p_wxMDIParentFrame,
11458 _swigc__p_wxMaximizeEvent,
11459 _swigc__p_wxMenu,
11460 _swigc__p_wxMenuBar,
11461 _swigc__p_wxMenuEvent,
11462 _swigc__p_wxMenuItem,
11463 _swigc__p_wxMessageDialog,
11464 _swigc__p_wxMiniFrame,
11465 _swigc__p_wxMouseCaptureChangedEvent,
11466 _swigc__p_wxMouseEvent,
11467 _swigc__p_wxMoveEvent,
11468 _swigc__p_wxMultiChoiceDialog,
11469 _swigc__p_wxNavigationKeyEvent,
11470 _swigc__p_wxNcPaintEvent,
11471 _swigc__p_wxNotebook,
11472 _swigc__p_wxNotebookEvent,
11473 _swigc__p_wxNotifyEvent,
11474 _swigc__p_wxObject,
11475 _swigc__p_wxPCXHandler,
11476 _swigc__p_wxPNGHandler,
11477 _swigc__p_wxPNMHandler,
11478 _swigc__p_wxPageSetupDialog,
11479 _swigc__p_wxPageSetupDialogData,
11480 _swigc__p_wxPaintEvent,
11481 _swigc__p_wxPaletteChangedEvent,
11482 _swigc__p_wxPanel,
11483 _swigc__p_wxPaperSize,
11484 _swigc__p_wxPasswordEntryDialog,
11485 _swigc__p_wxPopupWindow,
11486 _swigc__p_wxPreviewCanvas,
11487 _swigc__p_wxPreviewControlBar,
11488 _swigc__p_wxPreviewFrame,
11489 _swigc__p_wxPrintData,
11490 _swigc__p_wxPrintDialog,
11491 _swigc__p_wxPrintDialogData,
11492 _swigc__p_wxPrintPreview,
11493 _swigc__p_wxPrinter,
11494 _swigc__p_wxProgressDialog,
11495 _swigc__p_wxPyApp,
11496 _swigc__p_wxPyCommandEvent,
11497 _swigc__p_wxPyControl,
11498 _swigc__p_wxPyEvent,
11499 _swigc__p_wxPyHtmlListBox,
11500 _swigc__p_wxPyImageHandler,
11501 _swigc__p_wxPyListCtrl,
11502 _swigc__p_wxPyPanel,
11503 _swigc__p_wxPyPopupTransientWindow,
11504 _swigc__p_wxPyPreviewControlBar,
11505 _swigc__p_wxPyPreviewFrame,
11506 _swigc__p_wxPyPrintPreview,
11507 _swigc__p_wxPyPrintout,
11508 _swigc__p_wxPyScrolledWindow,
11509 _swigc__p_wxPySizer,
11510 _swigc__p_wxPyTaskBarIcon,
11511 _swigc__p_wxPyTreeCompanionWindow,
11512 _swigc__p_wxPyTreeCtrl,
11513 _swigc__p_wxPyTreeItemData,
11514 _swigc__p_wxPyTreeListCtrl,
11515 _swigc__p_wxPyVListBox,
11516 _swigc__p_wxPyVScrolledWindow,
11517 _swigc__p_wxPyValidator,
11518 _swigc__p_wxPyWindow,
11519 _swigc__p_wxQueryLayoutInfoEvent,
11520 _swigc__p_wxQueryNewPaletteEvent,
11521 _swigc__p_wxRadioBox,
11522 _swigc__p_wxRadioButton,
11523 _swigc__p_wxRemotelyScrolledTreeCtrl,
11524 _swigc__p_wxSashEvent,
11525 _swigc__p_wxSashLayoutWindow,
11526 _swigc__p_wxSashWindow,
11527 _swigc__p_wxScrollBar,
11528 _swigc__p_wxScrollEvent,
11529 _swigc__p_wxScrollWinEvent,
11530 _swigc__p_wxScrolledWindow,
11531 _swigc__p_wxSetCursorEvent,
11532 _swigc__p_wxShowEvent,
11533 _swigc__p_wxSingleChoiceDialog,
11534 _swigc__p_wxSizeEvent,
11535 _swigc__p_wxSizer,
11536 _swigc__p_wxSizerItem,
11537 _swigc__p_wxSlider,
11538 _swigc__p_wxSpinButton,
11539 _swigc__p_wxSpinCtrl,
11540 _swigc__p_wxSpinEvent,
11541 _swigc__p_wxSplashScreen,
11542 _swigc__p_wxSplashScreenWindow,
11543 _swigc__p_wxSplitterEvent,
11544 _swigc__p_wxSplitterScrolledWindow,
11545 _swigc__p_wxSplitterWindow,
11546 _swigc__p_wxStaticBitmap,
11547 _swigc__p_wxStaticBox,
11548 _swigc__p_wxStaticBoxSizer,
11549 _swigc__p_wxStaticLine,
11550 _swigc__p_wxStaticPicture,
11551 _swigc__p_wxStaticText,
11552 _swigc__p_wxStatusBar,
11553 _swigc__p_wxStdDialogButtonSizer,
11554 _swigc__p_wxSysColourChangedEvent,
11555 _swigc__p_wxTIFFHandler,
11556 _swigc__p_wxTaskBarIconEvent,
11557 _swigc__p_wxTextCtrl,
11558 _swigc__p_wxTextEntryDialog,
11559 _swigc__p_wxTextUrlEvent,
11560 _swigc__p_wxThinSplitterWindow,
11561 _swigc__p_wxTipWindow,
11562 _swigc__p_wxToggleButton,
11563 _swigc__p_wxToolBar,
11564 _swigc__p_wxToolBarBase,
11565 _swigc__p_wxToolBarToolBase,
11566 _swigc__p_wxToolbook,
11567 _swigc__p_wxToolbookEvent,
11568 _swigc__p_wxTopLevelWindow,
11569 _swigc__p_wxTreeEvent,
11570 _swigc__p_wxTreeItemId,
11571 _swigc__p_wxTreeListColumnInfo,
11572 _swigc__p_wxTreebook,
11573 _swigc__p_wxTreebookEvent,
11574 _swigc__p_wxUpdateUIEvent,
11575 _swigc__p_wxValidator,
11576 _swigc__p_wxWindow,
11577 _swigc__p_wxWindowCreateEvent,
11578 _swigc__p_wxWindowDestroyEvent,
11579 _swigc__p_wxXPMHandler,
11580 _swigc__ptrdiff_t,
11581 _swigc__std__ptrdiff_t,
11582 _swigc__unsigned_int,
11583 };
11584
11585
11586 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11587
11588 static swig_const_info swig_const_table[] = {
11589 {0, 0, 0, 0.0, 0, 0}};
11590
11591 #ifdef __cplusplus
11592 }
11593 #endif
11594 /*************************************************************************
11595 * Type initialization:
11596 * This problem is tough by the requirement that no dynamic
11597 * memory is used. Also, since swig_type_info structures store pointers to
11598 * swig_cast_info structures and swig_cast_info structures store pointers back
11599 * to swig_type_info structures, we need some lookup code at initialization.
11600 * The idea is that swig generates all the structures that are needed.
11601 * The runtime then collects these partially filled structures.
11602 * The SWIG_InitializeModule function takes these initial arrays out of
11603 * swig_module, and does all the lookup, filling in the swig_module.types
11604 * array with the correct data and linking the correct swig_cast_info
11605 * structures together.
11606
11607 * The generated swig_type_info structures are assigned staticly to an initial
11608 * array. We just loop though that array, and handle each type individually.
11609 * First we lookup if this type has been already loaded, and if so, use the
11610 * loaded structure instead of the generated one. Then we have to fill in the
11611 * cast linked list. The cast data is initially stored in something like a
11612 * two-dimensional array. Each row corresponds to a type (there are the same
11613 * number of rows as there are in the swig_type_initial array). Each entry in
11614 * a column is one of the swig_cast_info structures for that type.
11615 * The cast_initial array is actually an array of arrays, because each row has
11616 * a variable number of columns. So to actually build the cast linked list,
11617 * we find the array of casts associated with the type, and loop through it
11618 * adding the casts to the list. The one last trick we need to do is making
11619 * sure the type pointer in the swig_cast_info struct is correct.
11620
11621 * First off, we lookup the cast->type name to see if it is already loaded.
11622 * There are three cases to handle:
11623 * 1) If the cast->type has already been loaded AND the type we are adding
11624 * casting info to has not been loaded (it is in this module), THEN we
11625 * replace the cast->type pointer with the type pointer that has already
11626 * been loaded.
11627 * 2) If BOTH types (the one we are adding casting info to, and the
11628 * cast->type) are loaded, THEN the cast info has already been loaded by
11629 * the previous module so we just ignore it.
11630 * 3) Finally, if cast->type has not already been loaded, then we add that
11631 * swig_cast_info to the linked list (because the cast->type) pointer will
11632 * be correct.
11633 **/
11634
11635 #ifdef __cplusplus
11636 extern "C" {
11637 #if 0
11638 } /* c-mode */
11639 #endif
11640 #endif
11641
11642 #if 0
11643 #define SWIGRUNTIME_DEBUG
11644 #endif
11645
11646 SWIGRUNTIME void
11647 SWIG_InitializeModule(void *clientdata) {
11648 size_t i;
11649 swig_module_info *module_head;
11650 static int init_run = 0;
11651
11652 clientdata = clientdata;
11653
11654 if (init_run) return;
11655 init_run = 1;
11656
11657 /* Initialize the swig_module */
11658 swig_module.type_initial = swig_type_initial;
11659 swig_module.cast_initial = swig_cast_initial;
11660
11661 /* Try and load any already created modules */
11662 module_head = SWIG_GetModule(clientdata);
11663 if (module_head) {
11664 swig_module.next = module_head->next;
11665 module_head->next = &swig_module;
11666 } else {
11667 /* This is the first module loaded */
11668 swig_module.next = &swig_module;
11669 SWIG_SetModule(clientdata, &swig_module);
11670 }
11671
11672 /* Now work on filling in swig_module.types */
11673 #ifdef SWIGRUNTIME_DEBUG
11674 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11675 #endif
11676 for (i = 0; i < swig_module.size; ++i) {
11677 swig_type_info *type = 0;
11678 swig_type_info *ret;
11679 swig_cast_info *cast;
11680
11681 #ifdef SWIGRUNTIME_DEBUG
11682 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11683 #endif
11684
11685 /* if there is another module already loaded */
11686 if (swig_module.next != &swig_module) {
11687 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11688 }
11689 if (type) {
11690 /* Overwrite clientdata field */
11691 #ifdef SWIGRUNTIME_DEBUG
11692 printf("SWIG_InitializeModule: found type %s\n", type->name);
11693 #endif
11694 if (swig_module.type_initial[i]->clientdata) {
11695 type->clientdata = swig_module.type_initial[i]->clientdata;
11696 #ifdef SWIGRUNTIME_DEBUG
11697 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11698 #endif
11699 }
11700 } else {
11701 type = swig_module.type_initial[i];
11702 }
11703
11704 /* Insert casting types */
11705 cast = swig_module.cast_initial[i];
11706 while (cast->type) {
11707 /* Don't need to add information already in the list */
11708 ret = 0;
11709 #ifdef SWIGRUNTIME_DEBUG
11710 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
11711 #endif
11712 if (swig_module.next != &swig_module) {
11713 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
11714 #ifdef SWIGRUNTIME_DEBUG
11715 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
11716 #endif
11717 }
11718 if (ret) {
11719 if (type == swig_module.type_initial[i]) {
11720 #ifdef SWIGRUNTIME_DEBUG
11721 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
11722 #endif
11723 cast->type = ret;
11724 ret = 0;
11725 } else {
11726 /* Check for casting already in the list */
11727 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
11728 #ifdef SWIGRUNTIME_DEBUG
11729 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
11730 #endif
11731 if (!ocast) ret = 0;
11732 }
11733 }
11734
11735 if (!ret) {
11736 #ifdef SWIGRUNTIME_DEBUG
11737 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
11738 #endif
11739 if (type->cast) {
11740 type->cast->prev = cast;
11741 cast->next = type->cast;
11742 }
11743 type->cast = cast;
11744 }
11745 cast++;
11746 }
11747 /* Set entry in modules->types array equal to the type */
11748 swig_module.types[i] = type;
11749 }
11750 swig_module.types[i] = 0;
11751
11752 #ifdef SWIGRUNTIME_DEBUG
11753 printf("**** SWIG_InitializeModule: Cast List ******\n");
11754 for (i = 0; i < swig_module.size; ++i) {
11755 int j = 0;
11756 swig_cast_info *cast = swig_module.cast_initial[i];
11757 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11758 while (cast->type) {
11759 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
11760 cast++;
11761 ++j;
11762 }
11763 printf("---- Total casts: %d\n",j);
11764 }
11765 printf("**** SWIG_InitializeModule: Cast List ******\n");
11766 #endif
11767 }
11768
11769 /* This function will propagate the clientdata field of type to
11770 * any new swig_type_info structures that have been added into the list
11771 * of equivalent types. It is like calling
11772 * SWIG_TypeClientData(type, clientdata) a second time.
11773 */
11774 SWIGRUNTIME void
11775 SWIG_PropagateClientData(void) {
11776 size_t i;
11777 swig_cast_info *equiv;
11778 static int init_run = 0;
11779
11780 if (init_run) return;
11781 init_run = 1;
11782
11783 for (i = 0; i < swig_module.size; i++) {
11784 if (swig_module.types[i]->clientdata) {
11785 equiv = swig_module.types[i]->cast;
11786 while (equiv) {
11787 if (!equiv->converter) {
11788 if (equiv->type && !equiv->type->clientdata)
11789 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11790 }
11791 equiv = equiv->next;
11792 }
11793 }
11794 }
11795 }
11796
11797 #ifdef __cplusplus
11798 #if 0
11799 {
11800 /* c-mode */
11801 #endif
11802 }
11803 #endif
11804
11805
11806
11807 #ifdef __cplusplus
11808 extern "C" {
11809 #endif
11810
11811 /* Python-specific SWIG API */
11812 #define SWIG_newvarlink() SWIG_Python_newvarlink()
11813 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
11814 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
11815
11816 /* -----------------------------------------------------------------------------
11817 * global variable support code.
11818 * ----------------------------------------------------------------------------- */
11819
11820 typedef struct swig_globalvar {
11821 char *name; /* Name of global variable */
11822 PyObject *(*get_attr)(void); /* Return the current value */
11823 int (*set_attr)(PyObject *); /* Set the value */
11824 struct swig_globalvar *next;
11825 } swig_globalvar;
11826
11827 typedef struct swig_varlinkobject {
11828 PyObject_HEAD
11829 swig_globalvar *vars;
11830 } swig_varlinkobject;
11831
11832 SWIGINTERN PyObject *
11833 swig_varlink_repr(swig_varlinkobject *v) {
11834 v = v;
11835 return PyString_FromString("<Swig global variables>");
11836 }
11837
11838 SWIGINTERN int
11839 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
11840 swig_globalvar *var;
11841 flags = flags;
11842 fprintf(fp,"Swig global variables { ");
11843 for (var = v->vars; var; var=var->next) {
11844 fprintf(fp,"%s", var->name);
11845 if (var->next) fprintf(fp,", ");
11846 }
11847 fprintf(fp," }\n");
11848 return 0;
11849 }
11850
11851 SWIGINTERN PyObject *
11852 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
11853 swig_globalvar *var = v->vars;
11854 while (var) {
11855 if (strcmp(var->name,n) == 0) {
11856 return (*var->get_attr)();
11857 }
11858 var = var->next;
11859 }
11860 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11861 return NULL;
11862 }
11863
11864 SWIGINTERN int
11865 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
11866 swig_globalvar *var = v->vars;
11867 while (var) {
11868 if (strcmp(var->name,n) == 0) {
11869 return (*var->set_attr)(p);
11870 }
11871 var = var->next;
11872 }
11873 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
11874 return 1;
11875 }
11876
11877 SWIGINTERN PyTypeObject*
11878 swig_varlink_type(void) {
11879 static char varlink__doc__[] = "Swig var link object";
11880 static PyTypeObject varlink_type
11881 #if !defined(__cplusplus)
11882 ;
11883 static int type_init = 0;
11884 if (!type_init) {
11885 PyTypeObject tmp
11886 #endif
11887 = {
11888 PyObject_HEAD_INIT(&PyType_Type)
11889 0, /* Number of items in variable part (ob_size) */
11890 (char *)"swigvarlink", /* Type name (tp_name) */
11891 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
11892 0, /* Itemsize (tp_itemsize) */
11893 0, /* Deallocator (tp_dealloc) */
11894 (printfunc) swig_varlink_print, /* Print (tp_print) */
11895 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
11896 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
11897 0, /* tp_compare */
11898 (reprfunc) swig_varlink_repr, /* tp_repr */
11899 0, /* tp_as_number */
11900 0, /* tp_as_sequence */
11901 0, /* tp_as_mapping */
11902 0, /* tp_hash */
11903 0, /* tp_call */
11904 0, /* tp_str */
11905 0, /* tp_getattro */
11906 0, /* tp_setattro */
11907 0, /* tp_as_buffer */
11908 0, /* tp_flags */
11909 varlink__doc__, /* tp_doc */
11910 #if PY_VERSION_HEX >= 0x02000000
11911 0, /* tp_traverse */
11912 0, /* tp_clear */
11913 #endif
11914 #if PY_VERSION_HEX >= 0x02010000
11915 0, /* tp_richcompare */
11916 0, /* tp_weaklistoffset */
11917 #endif
11918 #if PY_VERSION_HEX >= 0x02020000
11919 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
11920 #endif
11921 #if PY_VERSION_HEX >= 0x02030000
11922 0, /* tp_del */
11923 #endif
11924 #ifdef COUNT_ALLOCS
11925 0,0,0,0 /* tp_alloc -> tp_next */
11926 #endif
11927 };
11928 #if !defined(__cplusplus)
11929 varlink_type = tmp;
11930 type_init = 1;
11931 }
11932 #endif
11933 return &varlink_type;
11934 }
11935
11936 /* Create a variable linking object for use later */
11937 SWIGINTERN PyObject *
11938 SWIG_Python_newvarlink(void) {
11939 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
11940 if (result) {
11941 result->vars = 0;
11942 }
11943 return ((PyObject*) result);
11944 }
11945
11946 SWIGINTERN void
11947 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
11948 swig_varlinkobject *v = (swig_varlinkobject *) p;
11949 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
11950 if (gv) {
11951 size_t size = strlen(name)+1;
11952 gv->name = (char *)malloc(size);
11953 if (gv->name) {
11954 strncpy(gv->name,name,size);
11955 gv->get_attr = get_attr;
11956 gv->set_attr = set_attr;
11957 gv->next = v->vars;
11958 }
11959 }
11960 v->vars = gv;
11961 }
11962
11963 /* -----------------------------------------------------------------------------
11964 * constants/methods manipulation
11965 * ----------------------------------------------------------------------------- */
11966
11967 /* Install Constants */
11968 SWIGINTERN void
11969 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
11970 PyObject *obj = 0;
11971 size_t i;
11972 for (i = 0; constants[i].type; ++i) {
11973 switch(constants[i].type) {
11974 case SWIG_PY_INT:
11975 obj = PyInt_FromLong(constants[i].lvalue);
11976 break;
11977 case SWIG_PY_FLOAT:
11978 obj = PyFloat_FromDouble(constants[i].dvalue);
11979 break;
11980 case SWIG_PY_STRING:
11981 if (constants[i].pvalue) {
11982 obj = PyString_FromString((char *) constants[i].pvalue);
11983 } else {
11984 Py_INCREF(Py_None);
11985 obj = Py_None;
11986 }
11987 break;
11988 case SWIG_PY_POINTER:
11989 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
11990 break;
11991 case SWIG_PY_BINARY:
11992 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
11993 break;
11994 default:
11995 obj = 0;
11996 break;
11997 }
11998 if (obj) {
11999 PyDict_SetItemString(d,constants[i].name,obj);
12000 Py_DECREF(obj);
12001 }
12002 }
12003 }
12004
12005 /* -----------------------------------------------------------------------------*/
12006 /* Fix SwigMethods to carry the callback ptrs when needed */
12007 /* -----------------------------------------------------------------------------*/
12008
12009 SWIGINTERN void
12010 SWIG_Python_FixMethods(PyMethodDef *methods,
12011 swig_const_info *const_table,
12012 swig_type_info **types,
12013 swig_type_info **types_initial) {
12014 size_t i;
12015 for (i = 0; methods[i].ml_name; ++i) {
12016 char *c = methods[i].ml_doc;
12017 if (c && (c = strstr(c, "swig_ptr: "))) {
12018 int j;
12019 swig_const_info *ci = 0;
12020 char *name = c + 10;
12021 for (j = 0; const_table[j].type; ++j) {
12022 if (strncmp(const_table[j].name, name,
12023 strlen(const_table[j].name)) == 0) {
12024 ci = &(const_table[j]);
12025 break;
12026 }
12027 }
12028 if (ci) {
12029 size_t shift = (ci->ptype) - types;
12030 swig_type_info *ty = types_initial[shift];
12031 size_t ldoc = (c - methods[i].ml_doc);
12032 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
12033 char *ndoc = (char*)malloc(ldoc + lptr + 10);
12034 if (ndoc) {
12035 char *buff = ndoc;
12036 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
12037 if (ptr) {
12038 strncpy(buff, methods[i].ml_doc, ldoc);
12039 buff += ldoc;
12040 strncpy(buff, "swig_ptr: ", 10);
12041 buff += 10;
12042 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
12043 methods[i].ml_doc = ndoc;
12044 }
12045 }
12046 }
12047 }
12048 }
12049 }
12050
12051 /* -----------------------------------------------------------------------------*
12052 * Initialize type list
12053 * -----------------------------------------------------------------------------*/
12054
12055 #ifdef __cplusplus
12056 }
12057 #endif
12058
12059 /* -----------------------------------------------------------------------------*
12060 * Partial Init method
12061 * -----------------------------------------------------------------------------*/
12062
12063 #ifdef __cplusplus
12064 extern "C"
12065 #endif
12066 SWIGEXPORT void SWIG_init(void) {
12067 static PyObject *SWIG_globals = 0;
12068 PyObject *m, *d;
12069 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12070
12071 /* Fix SwigMethods to carry the callback ptrs when needed */
12072 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12073
12074 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12075 d = PyModule_GetDict(m);
12076
12077 SWIG_InitializeModule(0);
12078 SWIG_InstallConstants(d,swig_const_table);
12079
12080 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12081 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
12082 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
12083 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
12084 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
12085 {
12086 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast<int >(wxDS_MANAGE_SCROLLBARS)));
12087 }
12088 {
12089 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast<int >(wxDS_DRAG_CORNER)));
12090 }
12091 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
12092 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
12093 {
12094 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast<int >(wxEL_ALLOW_NEW)));
12095 }
12096 {
12097 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast<int >(wxEL_ALLOW_EDIT)));
12098 }
12099 {
12100 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast<int >(wxEL_ALLOW_DELETE)));
12101 }
12102 {
12103 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_LEFT)));
12104 }
12105 {
12106 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_RIGHT)));
12107 }
12108 {
12109 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxLED_ALIGN_CENTER)));
12110 }
12111 {
12112 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLED_ALIGN_MASK)));
12113 }
12114 {
12115 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast<int >(wxLED_DRAW_FADED)));
12116 }
12117 {
12118 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_LEFT)));
12119 }
12120 {
12121 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_RIGHT)));
12122 }
12123 {
12124 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxTL_ALIGN_CENTER)));
12125 }
12126 {
12127 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMCOLUMN)));
12128 }
12129 {
12130 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_VISIBLE)));
12131 }
12132 {
12133 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_LEVEL)));
12134 }
12135 {
12136 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_FULL)));
12137 }
12138 {
12139 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_PARTIAL)));
12140 }
12141 {
12142 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_NOCASE)));
12143 }
12144 {
12145 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast<int >(wxTR_DONT_ADJUST_MAC)));
12146 }
12147 {
12148 PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSCALE_HORIZONTAL)));
12149 }
12150 {
12151 PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast<int >(wxSCALE_VERTICAL)));
12152 }
12153 {
12154 PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast<int >(wxSCALE_UNIFORM)));
12155 }
12156 {
12157 PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast<int >(wxSCALE_CUSTOM)));
12158 }
12159
12160
12161 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
12162 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
12163
12164 }
12165