]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/wizard_wrap.cpp
Applied patch #1431193: work around for recent fileuri change in mediactrl + fix
[wxWidgets.git] / wxPython / src / gtk / wizard_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_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[9]
1445 #define SWIGTYPE_p_wxBitmap swig_types[10]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[11]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[12]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13]
1449 #define SWIGTYPE_p_wxChar swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColourData swig_types[17]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[18]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[19]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
1456 #define SWIGTYPE_p_wxControl swig_types[21]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[22]
1458 #define SWIGTYPE_p_wxDateEvent swig_types[23]
1459 #define SWIGTYPE_p_wxDialog swig_types[24]
1460 #define SWIGTYPE_p_wxDirDialog swig_types[25]
1461 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
1462 #define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
1463 #define SWIGTYPE_p_wxDuplexMode swig_types[28]
1464 #define SWIGTYPE_p_wxEraseEvent swig_types[29]
1465 #define SWIGTYPE_p_wxEvent swig_types[30]
1466 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
1467 #define SWIGTYPE_p_wxFSFile swig_types[32]
1468 #define SWIGTYPE_p_wxFileDialog swig_types[33]
1469 #define SWIGTYPE_p_wxFileSystem swig_types[34]
1470 #define SWIGTYPE_p_wxFindDialogEvent swig_types[35]
1471 #define SWIGTYPE_p_wxFindReplaceData swig_types[36]
1472 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[37]
1473 #define SWIGTYPE_p_wxFlexGridSizer swig_types[38]
1474 #define SWIGTYPE_p_wxFocusEvent swig_types[39]
1475 #define SWIGTYPE_p_wxFontData swig_types[40]
1476 #define SWIGTYPE_p_wxFontDialog swig_types[41]
1477 #define SWIGTYPE_p_wxFrame swig_types[42]
1478 #define SWIGTYPE_p_wxGBSizerItem swig_types[43]
1479 #define SWIGTYPE_p_wxGIFHandler swig_types[44]
1480 #define SWIGTYPE_p_wxGridBagSizer swig_types[45]
1481 #define SWIGTYPE_p_wxGridSizer swig_types[46]
1482 #define SWIGTYPE_p_wxICOHandler swig_types[47]
1483 #define SWIGTYPE_p_wxIconizeEvent swig_types[48]
1484 #define SWIGTYPE_p_wxIdleEvent swig_types[49]
1485 #define SWIGTYPE_p_wxImage swig_types[50]
1486 #define SWIGTYPE_p_wxImageHandler swig_types[51]
1487 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[52]
1488 #define SWIGTYPE_p_wxInitDialogEvent swig_types[53]
1489 #define SWIGTYPE_p_wxJPEGHandler swig_types[54]
1490 #define SWIGTYPE_p_wxKeyEvent swig_types[55]
1491 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[56]
1492 #define SWIGTYPE_p_wxLayoutConstraints swig_types[57]
1493 #define SWIGTYPE_p_wxMDIChildFrame swig_types[58]
1494 #define SWIGTYPE_p_wxMDIClientWindow swig_types[59]
1495 #define SWIGTYPE_p_wxMDIParentFrame swig_types[60]
1496 #define SWIGTYPE_p_wxMaximizeEvent swig_types[61]
1497 #define SWIGTYPE_p_wxMenu swig_types[62]
1498 #define SWIGTYPE_p_wxMenuBar swig_types[63]
1499 #define SWIGTYPE_p_wxMenuEvent swig_types[64]
1500 #define SWIGTYPE_p_wxMenuItem swig_types[65]
1501 #define SWIGTYPE_p_wxMessageDialog swig_types[66]
1502 #define SWIGTYPE_p_wxMiniFrame swig_types[67]
1503 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[68]
1504 #define SWIGTYPE_p_wxMouseEvent swig_types[69]
1505 #define SWIGTYPE_p_wxMoveEvent swig_types[70]
1506 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[71]
1507 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[72]
1508 #define SWIGTYPE_p_wxNcPaintEvent swig_types[73]
1509 #define SWIGTYPE_p_wxNotifyEvent swig_types[74]
1510 #define SWIGTYPE_p_wxObject swig_types[75]
1511 #define SWIGTYPE_p_wxPCXHandler swig_types[76]
1512 #define SWIGTYPE_p_wxPNGHandler swig_types[77]
1513 #define SWIGTYPE_p_wxPNMHandler swig_types[78]
1514 #define SWIGTYPE_p_wxPageSetupDialog swig_types[79]
1515 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[80]
1516 #define SWIGTYPE_p_wxPaintEvent swig_types[81]
1517 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[82]
1518 #define SWIGTYPE_p_wxPanel swig_types[83]
1519 #define SWIGTYPE_p_wxPaperSize swig_types[84]
1520 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[85]
1521 #define SWIGTYPE_p_wxPopupWindow swig_types[86]
1522 #define SWIGTYPE_p_wxPreviewCanvas swig_types[87]
1523 #define SWIGTYPE_p_wxPreviewControlBar swig_types[88]
1524 #define SWIGTYPE_p_wxPreviewFrame swig_types[89]
1525 #define SWIGTYPE_p_wxPrintData swig_types[90]
1526 #define SWIGTYPE_p_wxPrintDialog swig_types[91]
1527 #define SWIGTYPE_p_wxPrintDialogData swig_types[92]
1528 #define SWIGTYPE_p_wxPrintPreview swig_types[93]
1529 #define SWIGTYPE_p_wxPrinter swig_types[94]
1530 #define SWIGTYPE_p_wxProgressDialog swig_types[95]
1531 #define SWIGTYPE_p_wxPyApp swig_types[96]
1532 #define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
1533 #define SWIGTYPE_p_wxPyEvent swig_types[98]
1534 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[99]
1535 #define SWIGTYPE_p_wxPyImageHandler swig_types[100]
1536 #define SWIGTYPE_p_wxPyPanel swig_types[101]
1537 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[102]
1538 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[103]
1539 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[104]
1540 #define SWIGTYPE_p_wxPyPrintPreview swig_types[105]
1541 #define SWIGTYPE_p_wxPyPrintout swig_types[106]
1542 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[107]
1543 #define SWIGTYPE_p_wxPySizer swig_types[108]
1544 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[109]
1545 #define SWIGTYPE_p_wxPyVListBox swig_types[110]
1546 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[111]
1547 #define SWIGTYPE_p_wxPyValidator swig_types[112]
1548 #define SWIGTYPE_p_wxPyWindow swig_types[113]
1549 #define SWIGTYPE_p_wxPyWizardPage swig_types[114]
1550 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[115]
1551 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116]
1552 #define SWIGTYPE_p_wxSashEvent swig_types[117]
1553 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[118]
1554 #define SWIGTYPE_p_wxSashWindow swig_types[119]
1555 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1556 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1557 #define SWIGTYPE_p_wxScrolledWindow swig_types[122]
1558 #define SWIGTYPE_p_wxSetCursorEvent swig_types[123]
1559 #define SWIGTYPE_p_wxShowEvent swig_types[124]
1560 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[125]
1561 #define SWIGTYPE_p_wxSize swig_types[126]
1562 #define SWIGTYPE_p_wxSizeEvent swig_types[127]
1563 #define SWIGTYPE_p_wxSizer swig_types[128]
1564 #define SWIGTYPE_p_wxSizerItem swig_types[129]
1565 #define SWIGTYPE_p_wxSplashScreen swig_types[130]
1566 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[131]
1567 #define SWIGTYPE_p_wxSplitterEvent swig_types[132]
1568 #define SWIGTYPE_p_wxSplitterWindow swig_types[133]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[134]
1570 #define SWIGTYPE_p_wxStatusBar swig_types[135]
1571 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
1572 #define SWIGTYPE_p_wxString swig_types[137]
1573 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[138]
1574 #define SWIGTYPE_p_wxTIFFHandler swig_types[139]
1575 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[140]
1576 #define SWIGTYPE_p_wxTextEntryDialog swig_types[141]
1577 #define SWIGTYPE_p_wxTipWindow swig_types[142]
1578 #define SWIGTYPE_p_wxTopLevelWindow swig_types[143]
1579 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[144]
1580 #define SWIGTYPE_p_wxValidator swig_types[145]
1581 #define SWIGTYPE_p_wxVisualAttributes swig_types[146]
1582 #define SWIGTYPE_p_wxWindow swig_types[147]
1583 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[148]
1584 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[149]
1585 #define SWIGTYPE_p_wxWizard swig_types[150]
1586 #define SWIGTYPE_p_wxWizardEvent swig_types[151]
1587 #define SWIGTYPE_p_wxWizardPage swig_types[152]
1588 #define SWIGTYPE_p_wxWizardPageSimple swig_types[153]
1589 #define SWIGTYPE_p_wxXPMHandler swig_types[154]
1590 #define SWIGTYPE_ptrdiff_t swig_types[155]
1591 #define SWIGTYPE_std__ptrdiff_t swig_types[156]
1592 #define SWIGTYPE_unsigned_int swig_types[157]
1593 static swig_type_info *swig_types[159];
1594 static swig_module_info swig_module = {swig_types, 158, 0, 0, 0, 0};
1595 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1596 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1597
1598 /* -------- TYPES TABLE (END) -------- */
1599
1600
1601 /*-----------------------------------------------
1602 @(target):= _wizard.so
1603 ------------------------------------------------*/
1604 #define SWIG_init init_wizard
1605
1606 #define SWIG_name "_wizard"
1607
1608 #include "wx/wxPython/wxPython.h"
1609 #include "wx/wxPython/pyclasses.h"
1610 #include "wx/wxPython/printfw.h"
1611
1612 #include <wx/wizard.h>
1613
1614
1615 static const wxString wxPyEmptyString(wxEmptyString);
1616
1617 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1619 /*@@*/
1620
1621
1622 #include <limits.h>
1623
1624
1625 SWIGINTERN int
1626 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1627 const char *errmsg)
1628 {
1629 if (value < min_value) {
1630 if (errmsg) {
1631 PyErr_Format(PyExc_OverflowError,
1632 "value %ld is less than '%s' minimum %ld",
1633 value, errmsg, min_value);
1634 }
1635 return 0;
1636 } else if (value > max_value) {
1637 if (errmsg) {
1638 PyErr_Format(PyExc_OverflowError,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value, errmsg, max_value);
1641 }
1642 return 0;
1643 }
1644 return 1;
1645 }
1646
1647
1648 SWIGINTERN int
1649 SWIG_AsVal_long(PyObject* obj, long* val)
1650 {
1651 if (PyNumber_Check(obj)) {
1652 if (val) *val = PyInt_AsLong(obj);
1653 return 1;
1654 }
1655 else {
1656 SWIG_Python_TypeError("number", obj);
1657 }
1658 return 0;
1659 }
1660
1661
1662 #if INT_MAX != LONG_MAX
1663 SWIGINTERN int
1664 SWIG_AsVal_int(PyObject *obj, int *val)
1665 {
1666 const char* errmsg = val ? "int" : (char*)0;
1667 long v;
1668 if (SWIG_AsVal_long(obj, &v)) {
1669 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1670 if (val) *val = static_cast<int >(v);
1671 return 1;
1672 } else {
1673 return 0;
1674 }
1675 } else {
1676 PyErr_Clear();
1677 }
1678 if (val) {
1679 SWIG_type_error(errmsg, obj);
1680 }
1681 return 0;
1682 }
1683 #else
1684 SWIGINTERNINLINE int
1685 SWIG_AsVal_int(PyObject *obj, int *val)
1686 {
1687 return SWIG_AsVal_long(obj,(long*)val);
1688 }
1689 #endif
1690
1691
1692 SWIGINTERNINLINE int
1693 SWIG_As_int(PyObject* obj)
1694 {
1695 int v;
1696 if (!SWIG_AsVal_int(obj, &v)) {
1697 /*
1698 this is needed to make valgrind/purify happier.
1699 */
1700 memset((void*)&v, 0, sizeof(int));
1701 }
1702 return v;
1703 }
1704
1705
1706 SWIGINTERN int
1707 SWIG_AsVal_bool(PyObject *obj, bool *val)
1708 {
1709 if (obj == Py_True) {
1710 if (val) *val = true;
1711 return 1;
1712 }
1713 if (obj == Py_False) {
1714 if (val) *val = false;
1715 return 1;
1716 }
1717 int res = 0;
1718 if (SWIG_AsVal_int(obj, &res)) {
1719 if (val) *val = res ? true : false;
1720 return 1;
1721 } else {
1722 PyErr_Clear();
1723 }
1724 if (val) {
1725 SWIG_type_error("bool", obj);
1726 }
1727 return 0;
1728 }
1729
1730
1731 SWIGINTERNINLINE bool
1732 SWIG_As_bool(PyObject* obj)
1733 {
1734 bool v;
1735 if (!SWIG_AsVal_bool(obj, &v)) {
1736 /*
1737 this is needed to make valgrind/purify happier.
1738 */
1739 memset((void*)&v, 0, sizeof(bool));
1740 }
1741 return v;
1742 }
1743
1744
1745 SWIGINTERNINLINE int
1746 SWIG_Check_int(PyObject* obj)
1747 {
1748 return SWIG_AsVal_int(obj, (int*)0);
1749 }
1750
1751
1752 SWIGINTERNINLINE int
1753 SWIG_Check_bool(PyObject* obj)
1754 {
1755 return SWIG_AsVal_bool(obj, (bool*)0);
1756 }
1757
1758 static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1759 wxChar* res = NULL;
1760 if (resource.Length())
1761 res = (wxChar*)resource.c_str();
1762 return self->Create(parent, bitmap, res);
1763 }
1764 // C++ Version of a Python aware class
1765 class wxPyWizardPage : public wxWizardPage {
1766 DECLARE_ABSTRACT_CLASS(wxPyWizardPage)
1767 public:
1768 wxPyWizardPage() : wxWizardPage() {}
1769 wxPyWizardPage(wxWizard *parent,
1770 const wxBitmap& bitmap = wxNullBitmap,
1771 const wxChar* resource = NULL)
1772 : wxWizardPage(parent, bitmap, resource) {}
1773
1774 DEC_PYCALLBACK_WIZPG__pure(GetPrev);
1775 DEC_PYCALLBACK_WIZPG__pure(GetNext);
1776 DEC_PYCALLBACK_BITMAP__pure(GetBitmap);
1777
1778 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1779 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1780 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1781 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1782
1783 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1784 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1785 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1786
1787 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1788 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1789
1790 DEC_PYCALLBACK__(InitDialog);
1791 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1792 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1793 DEC_PYCALLBACK_BOOL_(Validate);
1794
1795 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1796 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1797 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1798
1799 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1800 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1801
1802 PYPRIVATE;
1803 };
1804
1805
1806 IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage);
1807
1808 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev);
1809 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext);
1810 IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap);
1811
1812 IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow);
1813 IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize);
1814 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize);
1815 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize);
1816
1817 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize);
1818 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize);
1819 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition);
1820
1821 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize);
1822 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize);
1823
1824 IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog);
1825 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow);
1826 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow);
1827 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate);
1828
1829 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus);
1830 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard);
1831 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize);
1832
1833 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild);
1834 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild);
1835
1836
1837 static wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){
1838 wxChar* res = NULL;
1839 if (resource->Length())
1840 res = (wxChar*)resource->c_str();
1841 return new wxPyWizardPage(parent, *bitmap, res);
1842 }
1843 static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1844 wxChar* res = NULL;
1845 if (resource.Length())
1846 res = (wxChar*)resource.c_str();
1847 return self->Create(parent, bitmap, res);
1848 }
1849
1850 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1851 {
1852 PyObject* o2;
1853 PyObject* o3;
1854 if (!result) {
1855 result = obj;
1856 } else if (result == Py_None) {
1857 Py_DECREF(result);
1858 result = obj;
1859 } else {
1860 if (!PyTuple_Check(result)) {
1861 o2 = result;
1862 result = PyTuple_New(1);
1863 PyTuple_SET_ITEM(result, 0, o2);
1864 }
1865 o3 = PyTuple_New(1);
1866 PyTuple_SetItem(o3, 0, obj);
1867 o2 = result;
1868 result = PySequence_Concat(o2, o3);
1869 Py_DECREF(o2);
1870 Py_DECREF(o3);
1871 }
1872 return result;
1873 }
1874
1875
1876
1877 SWIGINTERNINLINE long
1878 SWIG_As_long(PyObject* obj)
1879 {
1880 long v;
1881 if (!SWIG_AsVal_long(obj, &v)) {
1882 /*
1883 this is needed to make valgrind/purify happier.
1884 */
1885 memset((void*)&v, 0, sizeof(long));
1886 }
1887 return v;
1888 }
1889
1890
1891 SWIGINTERNINLINE int
1892 SWIG_Check_long(PyObject* obj)
1893 {
1894 return SWIG_AsVal_long(obj, (long*)0);
1895 }
1896
1897 #ifdef __cplusplus
1898 extern "C" {
1899 #endif
1900 static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj = NULL;
1902 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
1903 int arg2 = (int) -1 ;
1904 bool arg3 = (bool) true ;
1905 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
1906 wxWizardEvent *result;
1907 PyObject * obj0 = 0 ;
1908 PyObject * obj1 = 0 ;
1909 PyObject * obj2 = 0 ;
1910 PyObject * obj3 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1916 if (obj0) {
1917 {
1918 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
1919 if (SWIG_arg_fail(1)) SWIG_fail;
1920 }
1921 }
1922 if (obj1) {
1923 {
1924 arg2 = static_cast<int >(SWIG_As_int(obj1));
1925 if (SWIG_arg_fail(2)) SWIG_fail;
1926 }
1927 }
1928 if (obj2) {
1929 {
1930 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
1931 if (SWIG_arg_fail(3)) SWIG_fail;
1932 }
1933 }
1934 if (obj3) {
1935 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1936 if (SWIG_arg_fail(4)) SWIG_fail;
1937 }
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (wxWizardEvent *)new wxWizardEvent(arg1,arg2,arg3,arg4);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardEvent, 1);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj = NULL;
1954 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1955 bool result;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetDirection",kwnames,&obj0)) goto fail;
1962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1963 if (SWIG_arg_fail(1)) SWIG_fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (bool)((wxWizardEvent const *)arg1)->GetDirection();
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 {
1972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1973 }
1974 return resultobj;
1975 fail:
1976 return NULL;
1977 }
1978
1979
1980 static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
1981 PyObject *resultobj = NULL;
1982 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1983 wxWizardPage *result;
1984 PyObject * obj0 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self", NULL
1987 };
1988
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetPage",kwnames,&obj0)) goto fail;
1990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1991 if (SWIG_arg_fail(1)) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (wxWizardPage *)((wxWizardEvent const *)arg1)->GetPage();
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 {
2000 resultobj = wxPyMake_wxObject(result, (bool)0);
2001 }
2002 return resultobj;
2003 fail:
2004 return NULL;
2005 }
2006
2007
2008 static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) {
2009 PyObject *obj;
2010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2011 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent, obj);
2012 Py_INCREF(obj);
2013 return Py_BuildValue((char *)"");
2014 }
2015 static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2016 PyObject *resultobj = NULL;
2017 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2018 wxWizard *arg2 = (wxWizard *) 0 ;
2019 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2020 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2021 wxString const &arg4_defvalue = wxPyEmptyString ;
2022 wxString *arg4 = (wxString *) &arg4_defvalue ;
2023 bool result;
2024 bool temp4 = false ;
2025 PyObject * obj0 = 0 ;
2026 PyObject * obj1 = 0 ;
2027 PyObject * obj2 = 0 ;
2028 PyObject * obj3 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2035 if (SWIG_arg_fail(1)) SWIG_fail;
2036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2037 if (SWIG_arg_fail(2)) SWIG_fail;
2038 if (obj2) {
2039 {
2040 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2041 if (SWIG_arg_fail(3)) SWIG_fail;
2042 if (arg3 == NULL) {
2043 SWIG_null_ref("wxBitmap");
2044 }
2045 if (SWIG_arg_fail(3)) SWIG_fail;
2046 }
2047 }
2048 if (obj3) {
2049 {
2050 arg4 = wxString_in_helper(obj3);
2051 if (arg4 == NULL) SWIG_fail;
2052 temp4 = true;
2053 }
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2064 }
2065 {
2066 if (temp4)
2067 delete arg4;
2068 }
2069 return resultobj;
2070 fail:
2071 {
2072 if (temp4)
2073 delete arg4;
2074 }
2075 return NULL;
2076 }
2077
2078
2079 static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
2080 PyObject *resultobj = NULL;
2081 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2082 wxWizardPage *result;
2083 PyObject * obj0 = 0 ;
2084 char *kwnames[] = {
2085 (char *) "self", NULL
2086 };
2087
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetPrev",kwnames,&obj0)) goto fail;
2089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2090 if (SWIG_arg_fail(1)) SWIG_fail;
2091 {
2092 PyThreadState* __tstate = wxPyBeginAllowThreads();
2093 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetPrev();
2094
2095 wxPyEndAllowThreads(__tstate);
2096 if (PyErr_Occurred()) SWIG_fail;
2097 }
2098 {
2099 resultobj = wxPyMake_wxObject(result, (bool)0);
2100 }
2101 return resultobj;
2102 fail:
2103 return NULL;
2104 }
2105
2106
2107 static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
2108 PyObject *resultobj = NULL;
2109 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2110 wxWizardPage *result;
2111 PyObject * obj0 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "self", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetNext",kwnames,&obj0)) goto fail;
2117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2118 if (SWIG_arg_fail(1)) SWIG_fail;
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetNext();
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 {
2127 resultobj = wxPyMake_wxObject(result, (bool)0);
2128 }
2129 return resultobj;
2130 fail:
2131 return NULL;
2132 }
2133
2134
2135 static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
2136 PyObject *resultobj = NULL;
2137 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2138 wxBitmap result;
2139 PyObject * obj0 = 0 ;
2140 char *kwnames[] = {
2141 (char *) "self", NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetBitmap",kwnames,&obj0)) goto fail;
2145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2146 if (SWIG_arg_fail(1)) SWIG_fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 result = ((wxWizardPage const *)arg1)->GetBitmap();
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 {
2155 wxBitmap * resultptr;
2156 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
2157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2158 }
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) {
2166 PyObject *obj;
2167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2168 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage, obj);
2169 Py_INCREF(obj);
2170 return Py_BuildValue((char *)"");
2171 }
2172 static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
2173 PyObject *resultobj = NULL;
2174 wxWizard *arg1 = (wxWizard *) 0 ;
2175 wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
2176 wxString *arg3 = (wxString *) &wxPyEmptyString ;
2177 wxPyWizardPage *result;
2178 bool temp3 = false ;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 PyObject * obj2 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2188 if (SWIG_arg_fail(1)) SWIG_fail;
2189 if (obj1) {
2190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2191 if (SWIG_arg_fail(2)) SWIG_fail;
2192 }
2193 if (obj2) {
2194 {
2195 arg3 = wxString_in_helper(obj2);
2196 if (arg3 == NULL) SWIG_fail;
2197 temp3 = true;
2198 }
2199 }
2200 {
2201 if (!wxPyCheckForApp()) SWIG_fail;
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
2209 {
2210 if (temp3)
2211 delete arg3;
2212 }
2213 return resultobj;
2214 fail:
2215 {
2216 if (temp3)
2217 delete arg3;
2218 }
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj = NULL;
2225 wxPyWizardPage *result;
2226 char *kwnames[] = {
2227 NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWizardPage",kwnames)) goto fail;
2231 {
2232 if (!wxPyCheckForApp()) SWIG_fail;
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (wxPyWizardPage *)new wxPyWizardPage();
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj = NULL;
2248 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2249 wxWizard *arg2 = (wxWizard *) 0 ;
2250 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2251 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2252 wxString const &arg4_defvalue = wxPyEmptyString ;
2253 wxString *arg4 = (wxString *) &arg4_defvalue ;
2254 bool result;
2255 bool temp4 = false ;
2256 PyObject * obj0 = 0 ;
2257 PyObject * obj1 = 0 ;
2258 PyObject * obj2 = 0 ;
2259 PyObject * obj3 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail;
2267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2268 if (SWIG_arg_fail(2)) SWIG_fail;
2269 if (obj2) {
2270 {
2271 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2272 if (SWIG_arg_fail(3)) SWIG_fail;
2273 if (arg3 == NULL) {
2274 SWIG_null_ref("wxBitmap");
2275 }
2276 if (SWIG_arg_fail(3)) SWIG_fail;
2277 }
2278 }
2279 if (obj3) {
2280 {
2281 arg4 = wxString_in_helper(obj3);
2282 if (arg4 == NULL) SWIG_fail;
2283 temp4 = true;
2284 }
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 {
2294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2295 }
2296 {
2297 if (temp4)
2298 delete arg4;
2299 }
2300 return resultobj;
2301 fail:
2302 {
2303 if (temp4)
2304 delete arg4;
2305 }
2306 return NULL;
2307 }
2308
2309
2310 static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj = NULL;
2312 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2313 PyObject *arg2 = (PyObject *) 0 ;
2314 PyObject *arg3 = (PyObject *) 0 ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj1 = 0 ;
2317 PyObject * obj2 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self",(char *) "self",(char *) "_class", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2324 if (SWIG_arg_fail(1)) SWIG_fail;
2325 arg2 = obj1;
2326 arg3 = obj2;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 (arg1)->_setCallbackInfo(arg2,arg3);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338 }
2339
2340
2341 static PyObject *_wrap_PyWizardPage_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj = NULL;
2343 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2344 int arg2 ;
2345 int arg3 ;
2346 int arg4 ;
2347 int arg5 ;
2348 PyObject * obj0 = 0 ;
2349 PyObject * obj1 = 0 ;
2350 PyObject * obj2 = 0 ;
2351 PyObject * obj3 = 0 ;
2352 PyObject * obj4 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWizardPage_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2359 if (SWIG_arg_fail(1)) SWIG_fail;
2360 {
2361 arg2 = static_cast<int >(SWIG_As_int(obj1));
2362 if (SWIG_arg_fail(2)) SWIG_fail;
2363 }
2364 {
2365 arg3 = static_cast<int >(SWIG_As_int(obj2));
2366 if (SWIG_arg_fail(3)) SWIG_fail;
2367 }
2368 {
2369 arg4 = static_cast<int >(SWIG_As_int(obj3));
2370 if (SWIG_arg_fail(4)) SWIG_fail;
2371 }
2372 {
2373 arg5 = static_cast<int >(SWIG_As_int(obj4));
2374 if (SWIG_arg_fail(5)) SWIG_fail;
2375 }
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 return resultobj;
2385 fail:
2386 return NULL;
2387 }
2388
2389
2390 static PyObject *_wrap_PyWizardPage_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj = NULL;
2392 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2393 int arg2 ;
2394 int arg3 ;
2395 int arg4 ;
2396 int arg5 ;
2397 int arg6 = (int) wxSIZE_AUTO ;
2398 PyObject * obj0 = 0 ;
2399 PyObject * obj1 = 0 ;
2400 PyObject * obj2 = 0 ;
2401 PyObject * obj3 = 0 ;
2402 PyObject * obj4 = 0 ;
2403 PyObject * obj5 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWizardPage_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2410 if (SWIG_arg_fail(1)) SWIG_fail;
2411 {
2412 arg2 = static_cast<int >(SWIG_As_int(obj1));
2413 if (SWIG_arg_fail(2)) SWIG_fail;
2414 }
2415 {
2416 arg3 = static_cast<int >(SWIG_As_int(obj2));
2417 if (SWIG_arg_fail(3)) SWIG_fail;
2418 }
2419 {
2420 arg4 = static_cast<int >(SWIG_As_int(obj3));
2421 if (SWIG_arg_fail(4)) SWIG_fail;
2422 }
2423 {
2424 arg5 = static_cast<int >(SWIG_As_int(obj4));
2425 if (SWIG_arg_fail(5)) SWIG_fail;
2426 }
2427 if (obj5) {
2428 {
2429 arg6 = static_cast<int >(SWIG_As_int(obj5));
2430 if (SWIG_arg_fail(6)) SWIG_fail;
2431 }
2432 }
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 Py_INCREF(Py_None); resultobj = Py_None;
2441 return resultobj;
2442 fail:
2443 return NULL;
2444 }
2445
2446
2447 static PyObject *_wrap_PyWizardPage_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2448 PyObject *resultobj = NULL;
2449 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2450 int arg2 ;
2451 int arg3 ;
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
2454 PyObject * obj2 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "width",(char *) "height", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail;
2462 {
2463 arg2 = static_cast<int >(SWIG_As_int(obj1));
2464 if (SWIG_arg_fail(2)) SWIG_fail;
2465 }
2466 {
2467 arg3 = static_cast<int >(SWIG_As_int(obj2));
2468 if (SWIG_arg_fail(3)) SWIG_fail;
2469 }
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 (arg1)->DoSetClientSize(arg2,arg3);
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 Py_INCREF(Py_None); resultobj = Py_None;
2478 return resultobj;
2479 fail:
2480 return NULL;
2481 }
2482
2483
2484 static PyObject *_wrap_PyWizardPage_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2485 PyObject *resultobj = NULL;
2486 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2487 int arg2 ;
2488 int arg3 ;
2489 PyObject * obj0 = 0 ;
2490 PyObject * obj1 = 0 ;
2491 PyObject * obj2 = 0 ;
2492 char *kwnames[] = {
2493 (char *) "self",(char *) "x",(char *) "y", NULL
2494 };
2495
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2498 if (SWIG_arg_fail(1)) SWIG_fail;
2499 {
2500 arg2 = static_cast<int >(SWIG_As_int(obj1));
2501 if (SWIG_arg_fail(2)) SWIG_fail;
2502 }
2503 {
2504 arg3 = static_cast<int >(SWIG_As_int(obj2));
2505 if (SWIG_arg_fail(3)) SWIG_fail;
2506 }
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 (arg1)->DoSetVirtualSize(arg2,arg3);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) SWIG_fail;
2513 }
2514 Py_INCREF(Py_None); resultobj = Py_None;
2515 return resultobj;
2516 fail:
2517 return NULL;
2518 }
2519
2520
2521 static PyObject *_wrap_PyWizardPage_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2522 PyObject *resultobj = NULL;
2523 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2524 int *arg2 = (int *) 0 ;
2525 int *arg3 = (int *) 0 ;
2526 int temp2 ;
2527 int res2 = 0 ;
2528 int temp3 ;
2529 int res3 = 0 ;
2530 PyObject * obj0 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self", NULL
2533 };
2534
2535 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2536 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_DoGetSize",kwnames,&obj0)) goto fail;
2538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail;
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 ((wxPyWizardPage const *)arg1)->DoGetSize(arg2,arg3);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2549 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2550 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2551 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2552 return resultobj;
2553 fail:
2554 return NULL;
2555 }
2556
2557
2558 static PyObject *_wrap_PyWizardPage_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj = NULL;
2560 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2561 int *arg2 = (int *) 0 ;
2562 int *arg3 = (int *) 0 ;
2563 int temp2 ;
2564 int res2 = 0 ;
2565 int temp3 ;
2566 int res3 = 0 ;
2567 PyObject * obj0 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "self", NULL
2570 };
2571
2572 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2573 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_DoGetClientSize",kwnames,&obj0)) goto fail;
2575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2576 if (SWIG_arg_fail(1)) SWIG_fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 ((wxPyWizardPage const *)arg1)->DoGetClientSize(arg2,arg3);
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2586 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2587 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2588 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2589 return resultobj;
2590 fail:
2591 return NULL;
2592 }
2593
2594
2595 static PyObject *_wrap_PyWizardPage_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj = NULL;
2597 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2598 int *arg2 = (int *) 0 ;
2599 int *arg3 = (int *) 0 ;
2600 int temp2 ;
2601 int res2 = 0 ;
2602 int temp3 ;
2603 int res3 = 0 ;
2604 PyObject * obj0 = 0 ;
2605 char *kwnames[] = {
2606 (char *) "self", NULL
2607 };
2608
2609 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2610 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_DoGetPosition",kwnames,&obj0)) goto fail;
2612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2613 if (SWIG_arg_fail(1)) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 ((wxPyWizardPage const *)arg1)->DoGetPosition(arg2,arg3);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 Py_INCREF(Py_None); resultobj = Py_None;
2622 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2623 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2624 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2625 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_PyWizardPage_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj = NULL;
2634 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2635 wxSize result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_DoGetVirtualSize",kwnames,&obj0)) goto fail;
2642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2643 if (SWIG_arg_fail(1)) SWIG_fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = ((wxPyWizardPage const *)arg1)->DoGetVirtualSize();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 wxSize * resultptr;
2653 resultptr = new wxSize(static_cast<wxSize & >(result));
2654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2655 }
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_PyWizardPage_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj = NULL;
2664 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2665 wxSize result;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_DoGetBestSize",kwnames,&obj0)) goto fail;
2672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2673 if (SWIG_arg_fail(1)) SWIG_fail;
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = ((wxPyWizardPage const *)arg1)->DoGetBestSize();
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 {
2682 wxSize * resultptr;
2683 resultptr = new wxSize(static_cast<wxSize & >(result));
2684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2685 }
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_PyWizardPage_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj = NULL;
2694 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2695 PyObject * obj0 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_InitDialog",kwnames,&obj0)) goto fail;
2701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2702 if (SWIG_arg_fail(1)) SWIG_fail;
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 (arg1)->InitDialog();
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 Py_INCREF(Py_None); resultobj = Py_None;
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_PyWizardPage_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj = NULL;
2719 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2720 bool result;
2721 PyObject * obj0 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_TransferDataToWindow",kwnames,&obj0)) goto fail;
2727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail;
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = (bool)(arg1)->TransferDataToWindow();
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2738 }
2739 return resultobj;
2740 fail:
2741 return NULL;
2742 }
2743
2744
2745 static PyObject *_wrap_PyWizardPage_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2746 PyObject *resultobj = NULL;
2747 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2748 bool result;
2749 PyObject * obj0 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_TransferDataFromWindow",kwnames,&obj0)) goto fail;
2755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail;
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 result = (bool)(arg1)->TransferDataFromWindow();
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 {
2765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2766 }
2767 return resultobj;
2768 fail:
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_PyWizardPage_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj = NULL;
2775 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2776 bool result;
2777 PyObject * obj0 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "self", NULL
2780 };
2781
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_Validate",kwnames,&obj0)) goto fail;
2783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail;
2785 {
2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
2787 result = (bool)(arg1)->Validate();
2788
2789 wxPyEndAllowThreads(__tstate);
2790 if (PyErr_Occurred()) SWIG_fail;
2791 }
2792 {
2793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2794 }
2795 return resultobj;
2796 fail:
2797 return NULL;
2798 }
2799
2800
2801 static PyObject *_wrap_PyWizardPage_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj = NULL;
2803 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2804 bool result;
2805 PyObject * obj0 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_AcceptsFocus",kwnames,&obj0)) goto fail;
2811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2812 if (SWIG_arg_fail(1)) SWIG_fail;
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 result = (bool)((wxPyWizardPage const *)arg1)->AcceptsFocus();
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
2820 {
2821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2822 }
2823 return resultobj;
2824 fail:
2825 return NULL;
2826 }
2827
2828
2829 static PyObject *_wrap_PyWizardPage_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
2830 PyObject *resultobj = NULL;
2831 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2832 bool result;
2833 PyObject * obj0 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "self", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2840 if (SWIG_arg_fail(1)) SWIG_fail;
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (bool)((wxPyWizardPage const *)arg1)->AcceptsFocusFromKeyboard();
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 {
2849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2850 }
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_PyWizardPage_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj = NULL;
2859 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2860 wxSize result;
2861 PyObject * obj0 = 0 ;
2862 char *kwnames[] = {
2863 (char *) "self", NULL
2864 };
2865
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_GetMaxSize",kwnames,&obj0)) goto fail;
2867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2868 if (SWIG_arg_fail(1)) SWIG_fail;
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
2871 result = ((wxPyWizardPage const *)arg1)->GetMaxSize();
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 {
2877 wxSize * resultptr;
2878 resultptr = new wxSize(static_cast<wxSize & >(result));
2879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2880 }
2881 return resultobj;
2882 fail:
2883 return NULL;
2884 }
2885
2886
2887 static PyObject *_wrap_PyWizardPage_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
2888 PyObject *resultobj = NULL;
2889 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2890 wxWindow *arg2 = (wxWindow *) 0 ;
2891 PyObject * obj0 = 0 ;
2892 PyObject * obj1 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self",(char *) "child", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_AddChild",kwnames,&obj0,&obj1)) goto fail;
2898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2899 if (SWIG_arg_fail(1)) SWIG_fail;
2900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2901 if (SWIG_arg_fail(2)) SWIG_fail;
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->AddChild(arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913 }
2914
2915
2916 static PyObject *_wrap_PyWizardPage_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj = NULL;
2918 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2919 wxWindow *arg2 = (wxWindow *) 0 ;
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "self",(char *) "child", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2928 if (SWIG_arg_fail(1)) SWIG_fail;
2929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2930 if (SWIG_arg_fail(2)) SWIG_fail;
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 (arg1)->RemoveChild(arg2);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 Py_INCREF(Py_None); resultobj = Py_None;
2939 return resultobj;
2940 fail:
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_PyWizardPage_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj = NULL;
2947 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2948 bool result;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_ShouldInheritColours",kwnames,&obj0)) goto fail;
2955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2956 if (SWIG_arg_fail(1)) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (bool)((wxPyWizardPage const *)arg1)->ShouldInheritColours();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 {
2965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_PyWizardPage_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj = NULL;
2975 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2976 wxVisualAttributes result;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_GetDefaultAttributes",kwnames,&obj0)) goto fail;
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (arg1)->GetDefaultAttributes();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 wxVisualAttributes * resultptr;
2994 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
2995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2996 }
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_PyWizardPage_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj = NULL;
3005 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
3006 PyObject * obj0 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_OnInternalIdle",kwnames,&obj0)) goto fail;
3012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
3013 if (SWIG_arg_fail(1)) SWIG_fail;
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->OnInternalIdle();
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025 }
3026
3027
3028 static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) {
3029 PyObject *obj;
3030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3031 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage, obj);
3032 Py_INCREF(obj);
3033 return Py_BuildValue((char *)"");
3034 }
3035 static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj = NULL;
3037 wxWizard *arg1 = (wxWizard *) 0 ;
3038 wxWizardPage *arg2 = (wxWizardPage *) NULL ;
3039 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
3040 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3041 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3042 wxChar *arg5 = (wxChar *) NULL ;
3043 wxWizardPageSimple *result;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 PyObject * obj3 = 0 ;
3048 PyObject * obj4 = 0 ;
3049 char *kwnames[] = {
3050 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
3051 };
3052
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3055 if (SWIG_arg_fail(1)) SWIG_fail;
3056 if (obj1) {
3057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3058 if (SWIG_arg_fail(2)) SWIG_fail;
3059 }
3060 if (obj2) {
3061 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3062 if (SWIG_arg_fail(3)) SWIG_fail;
3063 }
3064 if (obj3) {
3065 {
3066 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(4)) SWIG_fail;
3068 if (arg4 == NULL) {
3069 SWIG_null_ref("wxBitmap");
3070 }
3071 if (SWIG_arg_fail(4)) SWIG_fail;
3072 }
3073 }
3074 if (obj4) {
3075 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
3076 if (SWIG_arg_fail(5)) SWIG_fail;
3077 }
3078 {
3079 if (!wxPyCheckForApp()) SWIG_fail;
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj = NULL;
3095 wxWizardPageSimple *result;
3096 char *kwnames[] = {
3097 NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizardPageSimple",kwnames)) goto fail;
3101 {
3102 if (!wxPyCheckForApp()) SWIG_fail;
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 result = (wxWizardPageSimple *)new wxWizardPageSimple();
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj = NULL;
3118 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3119 wxWizard *arg2 = (wxWizard *) NULL ;
3120 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
3121 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
3122 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3123 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3124 wxChar *arg6 = (wxChar *) NULL ;
3125 bool result;
3126 PyObject * obj0 = 0 ;
3127 PyObject * obj1 = 0 ;
3128 PyObject * obj2 = 0 ;
3129 PyObject * obj3 = 0 ;
3130 PyObject * obj4 = 0 ;
3131 PyObject * obj5 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail;
3139 if (obj1) {
3140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3141 if (SWIG_arg_fail(2)) SWIG_fail;
3142 }
3143 if (obj2) {
3144 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3145 if (SWIG_arg_fail(3)) SWIG_fail;
3146 }
3147 if (obj3) {
3148 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3149 if (SWIG_arg_fail(4)) SWIG_fail;
3150 }
3151 if (obj4) {
3152 {
3153 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3154 if (SWIG_arg_fail(5)) SWIG_fail;
3155 if (arg5 == NULL) {
3156 SWIG_null_ref("wxBitmap");
3157 }
3158 if (SWIG_arg_fail(5)) SWIG_fail;
3159 }
3160 }
3161 if (obj5) {
3162 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
3163 if (SWIG_arg_fail(6)) SWIG_fail;
3164 }
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6);
3168
3169 wxPyEndAllowThreads(__tstate);
3170 if (PyErr_Occurred()) SWIG_fail;
3171 }
3172 {
3173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3174 }
3175 return resultobj;
3176 fail:
3177 return NULL;
3178 }
3179
3180
3181 static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj = NULL;
3183 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3184 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3185 PyObject * obj0 = 0 ;
3186 PyObject * obj1 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "prev", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetPrev",kwnames,&obj0,&obj1)) goto fail;
3192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail;
3194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->SetPrev(arg2);
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj = NULL;
3212 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3213 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3214 PyObject * obj0 = 0 ;
3215 PyObject * obj1 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "next", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetNext",kwnames,&obj0,&obj1)) goto fail;
3221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3222 if (SWIG_arg_fail(1)) SWIG_fail;
3223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3224 if (SWIG_arg_fail(2)) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->SetNext(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj = NULL;
3241 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3242 wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "first",(char *) "second", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_Chain",kwnames,&obj0,&obj1)) goto fail;
3250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail;
3252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3253 if (SWIG_arg_fail(2)) SWIG_fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 wxWizardPageSimple::Chain(arg1,arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) {
3269 PyObject *obj;
3270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3271 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple, obj);
3272 Py_INCREF(obj);
3273 return Py_BuildValue((char *)"");
3274 }
3275 static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj = NULL;
3277 wxWindow *arg1 = (wxWindow *) 0 ;
3278 int arg2 = (int) -1 ;
3279 wxString const &arg3_defvalue = wxPyEmptyString ;
3280 wxString *arg3 = (wxString *) &arg3_defvalue ;
3281 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3282 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3285 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3286 wxWizard *result;
3287 bool temp3 = false ;
3288 wxPoint temp5 ;
3289 PyObject * obj0 = 0 ;
3290 PyObject * obj1 = 0 ;
3291 PyObject * obj2 = 0 ;
3292 PyObject * obj3 = 0 ;
3293 PyObject * obj4 = 0 ;
3294 PyObject * obj5 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Wizard",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3301 if (SWIG_arg_fail(1)) SWIG_fail;
3302 if (obj1) {
3303 {
3304 arg2 = static_cast<int >(SWIG_As_int(obj1));
3305 if (SWIG_arg_fail(2)) SWIG_fail;
3306 }
3307 }
3308 if (obj2) {
3309 {
3310 arg3 = wxString_in_helper(obj2);
3311 if (arg3 == NULL) SWIG_fail;
3312 temp3 = true;
3313 }
3314 }
3315 if (obj3) {
3316 {
3317 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3318 if (SWIG_arg_fail(4)) SWIG_fail;
3319 if (arg4 == NULL) {
3320 SWIG_null_ref("wxBitmap");
3321 }
3322 if (SWIG_arg_fail(4)) SWIG_fail;
3323 }
3324 }
3325 if (obj4) {
3326 {
3327 arg5 = &temp5;
3328 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3329 }
3330 }
3331 if (obj5) {
3332 {
3333 arg6 = static_cast<long >(SWIG_As_long(obj5));
3334 if (SWIG_arg_fail(6)) SWIG_fail;
3335 }
3336 }
3337 {
3338 if (!wxPyCheckForApp()) SWIG_fail;
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (wxWizard *)new wxWizard(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,arg6);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 return resultobj;
3351 fail:
3352 {
3353 if (temp3)
3354 delete arg3;
3355 }
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj = NULL;
3362 wxWizard *result;
3363 char *kwnames[] = {
3364 NULL
3365 };
3366
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizard",kwnames)) goto fail;
3368 {
3369 if (!wxPyCheckForApp()) SWIG_fail;
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (wxWizard *)new wxWizard();
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj = NULL;
3385 wxWizard *arg1 = (wxWizard *) 0 ;
3386 wxWindow *arg2 = (wxWindow *) 0 ;
3387 int arg3 = (int) -1 ;
3388 wxString const &arg4_defvalue = wxPyEmptyString ;
3389 wxString *arg4 = (wxString *) &arg4_defvalue ;
3390 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3391 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3392 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3393 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
3394 bool result;
3395 bool temp4 = false ;
3396 wxPoint temp6 ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 PyObject * obj2 = 0 ;
3400 PyObject * obj3 = 0 ;
3401 PyObject * obj4 = 0 ;
3402 PyObject * obj5 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Wizard_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail;
3410 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3411 if (SWIG_arg_fail(2)) SWIG_fail;
3412 if (obj2) {
3413 {
3414 arg3 = static_cast<int >(SWIG_As_int(obj2));
3415 if (SWIG_arg_fail(3)) SWIG_fail;
3416 }
3417 }
3418 if (obj3) {
3419 {
3420 arg4 = wxString_in_helper(obj3);
3421 if (arg4 == NULL) SWIG_fail;
3422 temp4 = true;
3423 }
3424 }
3425 if (obj4) {
3426 {
3427 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3428 if (SWIG_arg_fail(5)) SWIG_fail;
3429 if (arg5 == NULL) {
3430 SWIG_null_ref("wxBitmap");
3431 }
3432 if (SWIG_arg_fail(5)) SWIG_fail;
3433 }
3434 }
3435 if (obj5) {
3436 {
3437 arg6 = &temp6;
3438 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
3439 }
3440 }
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxPoint const &)*arg6);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3450 }
3451 {
3452 if (temp4)
3453 delete arg4;
3454 }
3455 return resultobj;
3456 fail:
3457 {
3458 if (temp4)
3459 delete arg4;
3460 }
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) {
3466 PyObject *resultobj = NULL;
3467 wxWizard *arg1 = (wxWizard *) 0 ;
3468 PyObject * obj0 = 0 ;
3469 char *kwnames[] = {
3470 (char *) "self", NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_Init",kwnames,&obj0)) goto fail;
3474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail;
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 (arg1)->Init();
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj = NULL;
3492 wxWizard *arg1 = (wxWizard *) 0 ;
3493 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3494 bool result;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self",(char *) "firstPage", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_RunWizard",kwnames,&obj0,&obj1)) goto fail;
3502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail;
3504 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3505 if (SWIG_arg_fail(2)) SWIG_fail;
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 result = (bool)(arg1)->RunWizard(arg2);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3515 }
3516 return resultobj;
3517 fail:
3518 return NULL;
3519 }
3520
3521
3522 static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj = NULL;
3524 wxWizard *arg1 = (wxWizard *) 0 ;
3525 wxWizardPage *result;
3526 PyObject * obj0 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetCurrentPage",kwnames,&obj0)) goto fail;
3532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3533 if (SWIG_arg_fail(1)) SWIG_fail;
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 result = (wxWizardPage *)((wxWizard const *)arg1)->GetCurrentPage();
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = wxPyMake_wxObject(result, (bool)0);
3543 }
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj = NULL;
3552 wxWizard *arg1 = (wxWizard *) 0 ;
3553 wxSize *arg2 = 0 ;
3554 wxSize temp2 ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "size", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
3562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail;
3564 {
3565 arg2 = &temp2;
3566 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3567 }
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 (arg1)->SetPageSize((wxSize const &)*arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 Py_INCREF(Py_None); resultobj = Py_None;
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj = NULL;
3584 wxWizard *arg1 = (wxWizard *) 0 ;
3585 wxSize result;
3586 PyObject * obj0 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageSize",kwnames,&obj0)) goto fail;
3592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = ((wxWizard const *)arg1)->GetPageSize();
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 {
3602 wxSize * resultptr;
3603 resultptr = new wxSize(static_cast<wxSize & >(result));
3604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3605 }
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj = NULL;
3614 wxWizard *arg1 = (wxWizard *) 0 ;
3615 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3616 PyObject * obj0 = 0 ;
3617 PyObject * obj1 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "self",(char *) "firstPage", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_FitToPage",kwnames,&obj0,&obj1)) goto fail;
3623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail;
3625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(2)) SWIG_fail;
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 (arg1)->FitToPage((wxWizardPage const *)arg2);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 Py_INCREF(Py_None); resultobj = Py_None;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj = NULL;
3643 wxWizard *arg1 = (wxWizard *) 0 ;
3644 wxSizer *result;
3645 PyObject * obj0 = 0 ;
3646 char *kwnames[] = {
3647 (char *) "self", NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageAreaSizer",kwnames,&obj0)) goto fail;
3651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3652 if (SWIG_arg_fail(1)) SWIG_fail;
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (wxSizer *)((wxWizard const *)arg1)->GetPageAreaSizer();
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 resultobj = wxPyMake_wxObject(result, (bool)0);
3662 }
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj = NULL;
3671 wxWizard *arg1 = (wxWizard *) 0 ;
3672 int arg2 ;
3673 PyObject * obj0 = 0 ;
3674 PyObject * obj1 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "self",(char *) "border", NULL
3677 };
3678
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetBorder",kwnames,&obj0,&obj1)) goto fail;
3680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3681 if (SWIG_arg_fail(1)) SWIG_fail;
3682 {
3683 arg2 = static_cast<int >(SWIG_As_int(obj1));
3684 if (SWIG_arg_fail(2)) SWIG_fail;
3685 }
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 (arg1)->SetBorder(arg2);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 Py_INCREF(Py_None); resultobj = Py_None;
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj = NULL;
3702 wxWizard *arg1 = (wxWizard *) 0 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_IsRunning",kwnames,&obj0)) goto fail;
3710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)((wxWizard const *)arg1)->IsRunning();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 {
3720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3721 }
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj = NULL;
3730 wxWizard *arg1 = (wxWizard *) 0 ;
3731 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3732 bool arg3 = (bool) true ;
3733 bool result;
3734 PyObject * obj0 = 0 ;
3735 PyObject * obj1 = 0 ;
3736 PyObject * obj2 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Wizard_ShowPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
3742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3743 if (SWIG_arg_fail(1)) SWIG_fail;
3744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3745 if (SWIG_arg_fail(2)) SWIG_fail;
3746 if (obj2) {
3747 {
3748 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3749 if (SWIG_arg_fail(3)) SWIG_fail;
3750 }
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (bool)(arg1)->ShowPage(arg2,arg3);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 {
3760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3761 }
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = NULL;
3770 wxWizard *arg1 = (wxWizard *) 0 ;
3771 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3772 bool result;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self",(char *) "page", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasNextPage",kwnames,&obj0,&obj1)) goto fail;
3780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3781 if (SWIG_arg_fail(1)) SWIG_fail;
3782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3783 if (SWIG_arg_fail(2)) SWIG_fail;
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (bool)(arg1)->HasNextPage(arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 {
3792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj = NULL;
3802 wxWizard *arg1 = (wxWizard *) 0 ;
3803 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3804 bool result;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj1 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self",(char *) "page", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasPrevPage",kwnames,&obj0,&obj1)) goto fail;
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3815 if (SWIG_arg_fail(2)) SWIG_fail;
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (bool)(arg1)->HasPrevPage(arg2);
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 {
3824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3825 }
3826 return resultobj;
3827 fail:
3828 return NULL;
3829 }
3830
3831
3832 static PyObject * Wizard_swigregister(PyObject *, PyObject *args) {
3833 PyObject *obj;
3834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3835 SWIG_TypeClientData(SWIGTYPE_p_wxWizard, obj);
3836 Py_INCREF(obj);
3837 return Py_BuildValue((char *)"");
3838 }
3839 static PyMethodDef SwigMethods[] = {
3840 { (char *)"new_WizardEvent", (PyCFunction) _wrap_new_WizardEvent, METH_VARARGS | METH_KEYWORDS, NULL},
3841 { (char *)"WizardEvent_GetDirection", (PyCFunction) _wrap_WizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
3842 { (char *)"WizardEvent_GetPage", (PyCFunction) _wrap_WizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
3843 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister, METH_VARARGS, NULL},
3844 { (char *)"WizardPage_Create", (PyCFunction) _wrap_WizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3845 { (char *)"WizardPage_GetPrev", (PyCFunction) _wrap_WizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3846 { (char *)"WizardPage_GetNext", (PyCFunction) _wrap_WizardPage_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3847 { (char *)"WizardPage_GetBitmap", (PyCFunction) _wrap_WizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
3848 { (char *)"WizardPage_swigregister", WizardPage_swigregister, METH_VARARGS, NULL},
3849 { (char *)"new_PyWizardPage", (PyCFunction) _wrap_new_PyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3850 { (char *)"new_PrePyWizardPage", (PyCFunction) _wrap_new_PrePyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3851 { (char *)"PyWizardPage_Create", (PyCFunction) _wrap_PyWizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3852 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction) _wrap_PyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
3853 { (char *)"PyWizardPage_DoMoveWindow", (PyCFunction) _wrap_PyWizardPage_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3854 { (char *)"PyWizardPage_DoSetSize", (PyCFunction) _wrap_PyWizardPage_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3855 { (char *)"PyWizardPage_DoSetClientSize", (PyCFunction) _wrap_PyWizardPage_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3856 { (char *)"PyWizardPage_DoSetVirtualSize", (PyCFunction) _wrap_PyWizardPage_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3857 { (char *)"PyWizardPage_DoGetSize", (PyCFunction) _wrap_PyWizardPage_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3858 { (char *)"PyWizardPage_DoGetClientSize", (PyCFunction) _wrap_PyWizardPage_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3859 { (char *)"PyWizardPage_DoGetPosition", (PyCFunction) _wrap_PyWizardPage_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
3860 { (char *)"PyWizardPage_DoGetVirtualSize", (PyCFunction) _wrap_PyWizardPage_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3861 { (char *)"PyWizardPage_DoGetBestSize", (PyCFunction) _wrap_PyWizardPage_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
3862 { (char *)"PyWizardPage_InitDialog", (PyCFunction) _wrap_PyWizardPage_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
3863 { (char *)"PyWizardPage_TransferDataToWindow", (PyCFunction) _wrap_PyWizardPage_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3864 { (char *)"PyWizardPage_TransferDataFromWindow", (PyCFunction) _wrap_PyWizardPage_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3865 { (char *)"PyWizardPage_Validate", (PyCFunction) _wrap_PyWizardPage_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
3866 { (char *)"PyWizardPage_AcceptsFocus", (PyCFunction) _wrap_PyWizardPage_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
3867 { (char *)"PyWizardPage_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWizardPage_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
3868 { (char *)"PyWizardPage_GetMaxSize", (PyCFunction) _wrap_PyWizardPage_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
3869 { (char *)"PyWizardPage_AddChild", (PyCFunction) _wrap_PyWizardPage_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
3870 { (char *)"PyWizardPage_RemoveChild", (PyCFunction) _wrap_PyWizardPage_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
3871 { (char *)"PyWizardPage_ShouldInheritColours", (PyCFunction) _wrap_PyWizardPage_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
3872 { (char *)"PyWizardPage_GetDefaultAttributes", (PyCFunction) _wrap_PyWizardPage_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
3873 { (char *)"PyWizardPage_OnInternalIdle", (PyCFunction) _wrap_PyWizardPage_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
3874 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister, METH_VARARGS, NULL},
3875 { (char *)"new_WizardPageSimple", (PyCFunction) _wrap_new_WizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3876 { (char *)"new_PreWizardPageSimple", (PyCFunction) _wrap_new_PreWizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3877 { (char *)"WizardPageSimple_Create", (PyCFunction) _wrap_WizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3878 { (char *)"WizardPageSimple_SetPrev", (PyCFunction) _wrap_WizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3879 { (char *)"WizardPageSimple_SetNext", (PyCFunction) _wrap_WizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3880 { (char *)"WizardPageSimple_Chain", (PyCFunction) _wrap_WizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS, NULL},
3881 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister, METH_VARARGS, NULL},
3882 { (char *)"new_Wizard", (PyCFunction) _wrap_new_Wizard, METH_VARARGS | METH_KEYWORDS, NULL},
3883 { (char *)"new_PreWizard", (PyCFunction) _wrap_new_PreWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3884 { (char *)"Wizard_Create", (PyCFunction) _wrap_Wizard_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3885 { (char *)"Wizard_Init", (PyCFunction) _wrap_Wizard_Init, METH_VARARGS | METH_KEYWORDS, NULL},
3886 { (char *)"Wizard_RunWizard", (PyCFunction) _wrap_Wizard_RunWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3887 { (char *)"Wizard_GetCurrentPage", (PyCFunction) _wrap_Wizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
3888 { (char *)"Wizard_SetPageSize", (PyCFunction) _wrap_Wizard_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3889 { (char *)"Wizard_GetPageSize", (PyCFunction) _wrap_Wizard_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3890 { (char *)"Wizard_FitToPage", (PyCFunction) _wrap_Wizard_FitToPage, METH_VARARGS | METH_KEYWORDS, NULL},
3891 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction) _wrap_Wizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS, NULL},
3892 { (char *)"Wizard_SetBorder", (PyCFunction) _wrap_Wizard_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3893 { (char *)"Wizard_IsRunning", (PyCFunction) _wrap_Wizard_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
3894 { (char *)"Wizard_ShowPage", (PyCFunction) _wrap_Wizard_ShowPage, METH_VARARGS | METH_KEYWORDS, NULL},
3895 { (char *)"Wizard_HasNextPage", (PyCFunction) _wrap_Wizard_HasNextPage, METH_VARARGS | METH_KEYWORDS, NULL},
3896 { (char *)"Wizard_HasPrevPage", (PyCFunction) _wrap_Wizard_HasPrevPage, METH_VARARGS | METH_KEYWORDS, NULL},
3897 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS, NULL},
3898 { NULL, NULL, 0, NULL }
3899 };
3900
3901
3902 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3903
3904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
3905 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
3906 }
3907 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
3908 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
3909 }
3910 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
3911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
3912 }
3913 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
3914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
3915 }
3916 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
3917 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
3918 }
3919 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
3920 return (void *)((wxObject *) ((wxSizerItem *) x));
3921 }
3922 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
3923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
3924 }
3925 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
3926 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
3927 }
3928 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
3929 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
3930 }
3931 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
3932 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
3933 }
3934 static void *_p_wxSizerTo_p_wxObject(void *x) {
3935 return (void *)((wxObject *) ((wxSizer *) x));
3936 }
3937 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
3938 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
3939 }
3940 static void *_p_wxWizardPageTo_p_wxObject(void *x) {
3941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxWizardPage *) x));
3942 }
3943 static void *_p_wxPyWizardPageTo_p_wxObject(void *x) {
3944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
3945 }
3946 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
3947 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
3948 }
3949 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
3950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
3951 }
3952 static void *_p_wxEventTo_p_wxObject(void *x) {
3953 return (void *)((wxObject *) ((wxEvent *) x));
3954 }
3955 static void *_p_wxFontDataTo_p_wxObject(void *x) {
3956 return (void *)((wxObject *) ((wxFontData *) x));
3957 }
3958 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
3959 return (void *)((wxObject *) ((wxPrintData *) x));
3960 }
3961 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
3962 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
3963 }
3964 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
3965 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
3966 }
3967 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
3968 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
3969 }
3970 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
3971 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
3972 }
3973 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
3974 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
3975 }
3976 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
3977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
3978 }
3979 static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x) {
3980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
3981 }
3982 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
3983 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
3984 }
3985 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
3986 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
3987 }
3988 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
3989 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
3990 }
3991 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
3992 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
3993 }
3994 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
3995 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3996 }
3997 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
3998 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
3999 }
4000 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
4001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4002 }
4003 static void *_p_wxControlTo_p_wxObject(void *x) {
4004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
4005 }
4006 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
4007 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
4008 }
4009 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
4010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
4011 }
4012 static void *_p_wxFSFileTo_p_wxObject(void *x) {
4013 return (void *)((wxObject *) ((wxFSFile *) x));
4014 }
4015 static void *_p_wxWizardTo_p_wxObject(void *x) {
4016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4017 }
4018 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
4019 return (void *)((wxObject *) ((wxFindReplaceData *) x));
4020 }
4021 static void *_p_wxPySizerTo_p_wxObject(void *x) {
4022 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
4023 }
4024 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
4025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4026 }
4027 static void *_p_wxColourDataTo_p_wxObject(void *x) {
4028 return (void *)((wxObject *) ((wxColourData *) x));
4029 }
4030 static void *_p_wxPyEventTo_p_wxObject(void *x) {
4031 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
4032 }
4033 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
4034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
4035 }
4036 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
4037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
4038 }
4039 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
4040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4041 }
4042 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
4043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4044 }
4045 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
4046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4047 }
4048 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
4049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4050 }
4051 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
4052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4053 }
4054 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
4055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4056 }
4057 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
4058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4059 }
4060 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
4061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4062 }
4063 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
4064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4065 }
4066 static void *_p_wxShowEventTo_p_wxObject(void *x) {
4067 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
4068 }
4069 static void *_p_wxPrinterTo_p_wxObject(void *x) {
4070 return (void *)((wxObject *) ((wxPrinter *) x));
4071 }
4072 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
4073 return (void *)((wxObject *) ((wxMenuItem *) x));
4074 }
4075 static void *_p_wxDateEventTo_p_wxObject(void *x) {
4076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
4077 }
4078 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
4079 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
4080 }
4081 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
4082 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
4083 }
4084 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
4085 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
4086 }
4087 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
4088 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
4089 }
4090 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
4091 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
4092 }
4093 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
4094 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
4095 }
4096 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
4097 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
4098 }
4099 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
4100 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
4101 }
4102 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
4103 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
4104 }
4105 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
4106 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
4107 }
4108 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
4109 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
4110 }
4111 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
4112 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
4113 }
4114 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
4115 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
4116 }
4117 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
4118 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
4119 }
4120 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
4121 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
4122 }
4123 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
4124 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
4125 }
4126 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
4127 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
4128 }
4129 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
4130 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
4131 }
4132 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
4133 return (void *)((wxObject *) ((wxImageHandler *) x));
4134 }
4135 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
4136 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
4137 }
4138 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
4139 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
4140 }
4141 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
4142 return (void *)((wxObject *) ((wxEvtHandler *) x));
4143 }
4144 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
4145 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
4146 }
4147 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
4148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4149 }
4150 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
4151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4152 }
4153 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
4154 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
4155 }
4156 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
4157 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
4158 }
4159 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
4160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4161 }
4162 static void *_p_wxImageTo_p_wxObject(void *x) {
4163 return (void *)((wxObject *) ((wxImage *) x));
4164 }
4165 static void *_p_wxFrameTo_p_wxObject(void *x) {
4166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4167 }
4168 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
4169 return (void *)((wxObject *) ((wxPyPrintout *) x));
4170 }
4171 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
4172 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
4173 }
4174 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
4175 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
4176 }
4177 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
4178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
4179 }
4180 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
4181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4182 }
4183 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
4184 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4185 }
4186 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
4187 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
4188 }
4189 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
4190 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
4191 }
4192 static void *_p_wxWindowTo_p_wxObject(void *x) {
4193 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
4194 }
4195 static void *_p_wxMenuTo_p_wxObject(void *x) {
4196 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
4197 }
4198 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
4199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
4200 }
4201 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
4202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4203 }
4204 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
4205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
4206 }
4207 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
4208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
4209 }
4210 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
4211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
4212 }
4213 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
4214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
4215 }
4216 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
4217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4218 }
4219 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
4220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
4221 }
4222 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
4223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4224 }
4225 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
4226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
4227 }
4228 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
4229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4230 }
4231 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
4232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
4233 }
4234 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
4235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4236 }
4237 static void *_p_wxSashEventTo_p_wxObject(void *x) {
4238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
4239 }
4240 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
4241 return (void *)((wxObject *) ((wxPrintPreview *) x));
4242 }
4243 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
4244 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
4245 }
4246 static void *_p_wxPanelTo_p_wxObject(void *x) {
4247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
4248 }
4249 static void *_p_wxDialogTo_p_wxObject(void *x) {
4250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4251 }
4252 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
4253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4254 }
4255 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
4256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4257 }
4258 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
4259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4260 }
4261 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
4262 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
4263 }
4264 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
4265 return (void *)((wxObject *) ((wxPrintDialog *) x));
4266 }
4267 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
4268 return (void *)((wxObject *) ((wxFileSystem *) x));
4269 }
4270 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
4271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
4272 }
4273 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
4274 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
4275 }
4276 static void *_p_wxPyAppTo_p_wxObject(void *x) {
4277 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
4278 }
4279 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
4280 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
4281 }
4282 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
4283 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
4284 }
4285 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
4286 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
4287 }
4288 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
4289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
4290 }
4291 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
4292 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
4293 }
4294 static void *_p_wxWizardEventTo_p_wxObject(void *x) {
4295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4296 }
4297 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
4298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4299 }
4300 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
4301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4302 }
4303 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
4304 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
4305 }
4306 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
4307 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
4308 }
4309 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
4310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
4311 }
4312 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
4313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4314 }
4315 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
4316 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
4317 }
4318 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
4319 return (void *)((wxObject *) ((wxPrintDialogData *) x));
4320 }
4321 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
4322 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
4323 }
4324 static void *_p_wxValidatorTo_p_wxObject(void *x) {
4325 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
4326 }
4327 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
4328 return (void *)((wxDialog *) ((wxColourDialog *) x));
4329 }
4330 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
4331 return (void *)((wxDialog *) ((wxDirDialog *) x));
4332 }
4333 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
4334 return (void *)((wxDialog *) ((wxFontDialog *) x));
4335 }
4336 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
4337 return (void *)((wxDialog *) ((wxFileDialog *) x));
4338 }
4339 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
4340 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
4341 }
4342 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
4343 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
4344 }
4345 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
4346 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
4347 }
4348 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
4349 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4350 }
4351 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
4352 return (void *)((wxDialog *) ((wxMessageDialog *) x));
4353 }
4354 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
4355 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
4356 }
4357 static void *_p_wxWizardTo_p_wxDialog(void *x) {
4358 return (void *)((wxDialog *) ((wxWizard *) x));
4359 }
4360 static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x) {
4361 return (void *)((wxWizardPage *) ((wxWizardPageSimple *) x));
4362 }
4363 static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x) {
4364 return (void *)((wxWizardPage *) ((wxPyWizardPage *) x));
4365 }
4366 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
4367 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
4368 }
4369 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
4370 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
4371 }
4372 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
4373 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
4374 }
4375 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
4376 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
4377 }
4378 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
4379 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
4380 }
4381 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
4382 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
4383 }
4384 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
4385 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
4386 }
4387 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
4388 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
4389 }
4390 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
4391 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
4392 }
4393 static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x) {
4394 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxWizard *) x));
4395 }
4396 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
4397 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
4398 }
4399 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
4400 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
4401 }
4402 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
4403 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4404 }
4405 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
4406 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
4407 }
4408 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4409 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
4410 }
4411 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4412 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
4413 }
4414 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
4415 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
4416 }
4417 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
4418 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
4419 }
4420 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4421 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
4422 }
4423 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4424 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4425 }
4426 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
4427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4428 }
4429 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
4430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4431 }
4432 static void *_p_wxWizardPageTo_p_wxWindow(void *x) {
4433 return (void *)((wxWindow *) (wxPanel *) ((wxWizardPage *) x));
4434 }
4435 static void *_p_wxPyWizardPageTo_p_wxWindow(void *x) {
4436 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4437 }
4438 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
4439 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
4440 }
4441 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
4442 return (void *)((wxWindow *) ((wxMenuBar *) x));
4443 }
4444 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
4445 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4446 }
4447 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
4448 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4449 }
4450 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
4451 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4452 }
4453 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
4454 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4455 }
4456 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
4457 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4458 }
4459 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
4460 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4461 }
4462 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
4463 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4464 }
4465 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
4466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4467 }
4468 static void *_p_wxPanelTo_p_wxWindow(void *x) {
4469 return (void *)((wxWindow *) ((wxPanel *) x));
4470 }
4471 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
4472 return (void *)((wxWindow *) ((wxStatusBar *) x));
4473 }
4474 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
4475 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
4476 }
4477 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
4478 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
4479 }
4480 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
4481 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4482 }
4483 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
4484 return (void *)((wxWindow *) ((wxPopupWindow *) x));
4485 }
4486 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
4487 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
4488 }
4489 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
4490 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
4491 }
4492 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
4493 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
4494 }
4495 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
4496 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
4497 }
4498 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
4499 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
4500 }
4501 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
4502 return (void *)((wxWindow *) ((wxSashWindow *) x));
4503 }
4504 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
4505 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
4506 }
4507 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
4508 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4509 }
4510 static void *_p_wxControlTo_p_wxWindow(void *x) {
4511 return (void *)((wxWindow *) ((wxControl *) x));
4512 }
4513 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
4514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4515 }
4516 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
4517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4518 }
4519 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
4520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4521 }
4522 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
4523 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
4524 }
4525 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
4526 return (void *)((wxWindow *) ((wxPyWindow *) x));
4527 }
4528 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
4529 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4530 }
4531 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
4532 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4533 }
4534 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
4535 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4536 }
4537 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
4538 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
4539 }
4540 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
4541 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4542 }
4543 static void *_p_wxWizardTo_p_wxWindow(void *x) {
4544 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4545 }
4546 static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x) {
4547 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4548 }
4549 static void *_p_wxFrameTo_p_wxWindow(void *x) {
4550 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
4551 }
4552 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
4553 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4554 }
4555 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
4556 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4557 }
4558 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
4559 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4560 }
4561 static void *_p_wxDialogTo_p_wxWindow(void *x) {
4562 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
4563 }
4564 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
4565 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4566 }
4567 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
4568 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
4569 }
4570 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
4571 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
4572 }
4573 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
4574 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
4575 }
4576 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
4577 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
4578 }
4579 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
4580 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
4581 }
4582 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
4583 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
4584 }
4585 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
4586 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4587 }
4588 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
4589 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
4590 }
4591 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
4592 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
4593 }
4594 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
4595 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
4596 }
4597 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
4598 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
4599 }
4600 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
4601 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
4602 }
4603 static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x) {
4604 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxWizardEvent *) x));
4605 }
4606 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
4607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4608 }
4609 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
4610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4611 }
4612 static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x) {
4613 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxWizardPage *) x));
4614 }
4615 static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x) {
4616 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4617 }
4618 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
4619 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
4620 }
4621 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
4622 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
4623 }
4624 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
4625 return (void *)((wxEvtHandler *) ((wxValidator *) x));
4626 }
4627 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
4628 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
4629 }
4630 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
4631 return (void *)((wxEvtHandler *) ((wxMenu *) x));
4632 }
4633 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
4634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4635 }
4636 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
4637 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4638 }
4639 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
4640 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4641 }
4642 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
4643 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4644 }
4645 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
4646 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4647 }
4648 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
4649 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4650 }
4651 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
4652 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4653 }
4654 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
4655 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4656 }
4657 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
4658 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
4659 }
4660 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
4661 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
4662 }
4663 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
4664 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4665 }
4666 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
4667 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
4668 }
4669 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
4670 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4671 }
4672 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
4673 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
4674 }
4675 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
4676 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4677 }
4678 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
4679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
4680 }
4681 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
4682 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
4683 }
4684 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
4685 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
4686 }
4687 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
4688 return (void *)((wxEvtHandler *) ((wxWindow *) x));
4689 }
4690 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
4691 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4692 }
4693 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
4694 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
4695 }
4696 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
4697 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
4698 }
4699 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
4700 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4701 }
4702 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
4703 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
4704 }
4705 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
4706 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4707 }
4708 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
4709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4710 }
4711 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
4712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4713 }
4714 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
4715 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
4716 }
4717 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
4718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4719 }
4720 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
4721 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
4722 }
4723 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
4724 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4725 }
4726 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
4727 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4728 }
4729 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
4730 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4731 }
4732 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
4733 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4734 }
4735 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
4736 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4737 }
4738 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
4739 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
4740 }
4741 static void *_p_wxWizardTo_p_wxEvtHandler(void *x) {
4742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4743 }
4744 static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x) {
4745 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4746 }
4747 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
4748 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4749 }
4750 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
4751 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4752 }
4753 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
4754 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4755 }
4756 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
4757 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4758 }
4759 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
4760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4761 }
4762 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
4763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4764 }
4765 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
4766 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
4767 }
4768 static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x) {
4769 return (void *)((wxNotifyEvent *) ((wxWizardEvent *) x));
4770 }
4771 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
4772 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
4773 }
4774 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
4775 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
4776 }
4777 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
4778 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4779 }
4780 static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x) {
4781 return (void *)((wxPanel *) (wxWizardPage *) ((wxWizardPageSimple *) x));
4782 }
4783 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
4784 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4785 }
4786 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
4787 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4788 }
4789 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
4790 return (void *)((wxPanel *) ((wxPyPanel *) x));
4791 }
4792 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
4793 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
4794 }
4795 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
4796 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
4797 }
4798 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
4799 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4800 }
4801 static void *_p_wxWizardPageTo_p_wxPanel(void *x) {
4802 return (void *)((wxPanel *) ((wxWizardPage *) x));
4803 }
4804 static void *_p_wxPyWizardPageTo_p_wxPanel(void *x) {
4805 return (void *)((wxPanel *) (wxWizardPage *) ((wxPyWizardPage *) x));
4806 }
4807 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
4808 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
4809 }
4810 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
4811 return (void *)((wxEvent *) ((wxMenuEvent *) x));
4812 }
4813 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
4814 return (void *)((wxEvent *) ((wxCloseEvent *) x));
4815 }
4816 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
4817 return (void *)((wxEvent *) ((wxMouseEvent *) x));
4818 }
4819 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
4820 return (void *)((wxEvent *) ((wxEraseEvent *) x));
4821 }
4822 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
4823 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
4824 }
4825 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
4826 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
4827 }
4828 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
4829 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
4830 }
4831 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
4832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
4833 }
4834 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
4835 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
4836 }
4837 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
4838 return (void *)((wxEvent *) ((wxPyEvent *) x));
4839 }
4840 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
4841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
4842 }
4843 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
4844 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
4845 }
4846 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
4847 return (void *)((wxEvent *) ((wxIdleEvent *) x));
4848 }
4849 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
4850 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
4851 }
4852 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
4853 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
4854 }
4855 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
4856 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
4857 }
4858 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
4859 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
4860 }
4861 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
4862 return (void *)((wxEvent *) ((wxActivateEvent *) x));
4863 }
4864 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
4865 return (void *)((wxEvent *) ((wxSizeEvent *) x));
4866 }
4867 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
4868 return (void *)((wxEvent *) ((wxMoveEvent *) x));
4869 }
4870 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
4871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
4872 }
4873 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
4874 return (void *)((wxEvent *) ((wxPaintEvent *) x));
4875 }
4876 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
4877 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
4878 }
4879 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
4880 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
4881 }
4882 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
4883 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
4884 }
4885 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
4886 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
4887 }
4888 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
4889 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
4890 }
4891 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
4892 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
4893 }
4894 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
4895 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
4896 }
4897 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
4898 return (void *)((wxEvent *) ((wxFocusEvent *) x));
4899 }
4900 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
4901 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
4902 }
4903 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
4904 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
4905 }
4906 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
4907 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
4908 }
4909 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
4910 return (void *)((wxEvent *) ((wxShowEvent *) x));
4911 }
4912 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
4913 return (void *)((wxEvent *) ((wxCommandEvent *) x));
4914 }
4915 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
4916 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
4917 }
4918 static void *_p_wxWizardEventTo_p_wxEvent(void *x) {
4919 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4920 }
4921 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
4922 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4923 }
4924 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
4925 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
4926 }
4927 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
4928 return (void *)((wxEvent *) ((wxKeyEvent *) x));
4929 }
4930 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
4931 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
4932 }
4933 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
4934 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
4935 }
4936 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
4937 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
4938 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
4939 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
4940 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
4941 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
4942 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
4943 static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
4944 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
4945 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
4946 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
4947 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
4948 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
4949 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
4950 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
4951 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
4952 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
4953 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
4954 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
4955 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
4956 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
4957 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
4958 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
4959 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
4960 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
4961 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
4962 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
4963 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
4964 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
4965 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
4966 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
4967 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
4968 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
4969 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
4970 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
4971 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
4972 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
4973 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
4974 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
4975 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
4976 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
4977 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
4978 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
4979 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
4980 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
4981 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
4982 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
4983 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
4984 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
4985 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
4986 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
4987 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
4988 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
4989 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
4990 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
4991 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
4992 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
4993 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
4994 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
4995 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
4996 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
4997 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
4998 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
4999 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
5000 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
5001 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
5002 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
5003 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
5004 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
5005 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
5006 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
5007 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
5008 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
5009 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
5010 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0};
5011 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
5012 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0};
5013 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
5014 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
5015 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
5016 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
5017 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
5018 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
5019 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
5020 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
5021 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
5022 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
5023 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
5024 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
5025 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
5026 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
5027 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
5028 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
5029 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
5030 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
5031 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
5032 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
5033 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
5034 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
5035 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
5036 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
5037 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
5038 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
5039 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
5040 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
5041 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
5042 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
5043 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
5044 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
5045 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
5046 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
5047 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
5048 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
5049 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
5050 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
5051 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
5052 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
5053 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
5054 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
5055 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
5056 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
5057 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
5058 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
5059 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
5060 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
5061 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
5062 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
5063 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
5064 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
5065 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
5066 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
5067 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
5068 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
5069 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
5070 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
5071 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
5072 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
5073 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
5074 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
5075 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
5076 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
5077 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
5078 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
5079 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
5080 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
5081 static swig_type_info _swigt__p_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, 0};
5082 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
5083 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
5084 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
5085 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
5086 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
5087 static swig_type_info _swigt__p_wxWizard = {"_p_wxWizard", "wxWizard *", 0, 0, 0};
5088 static swig_type_info _swigt__p_wxWizardEvent = {"_p_wxWizardEvent", "wxWizardEvent *", 0, 0, 0};
5089 static swig_type_info _swigt__p_wxWizardPage = {"_p_wxWizardPage", "wxWizardPage *", 0, 0, 0};
5090 static swig_type_info _swigt__p_wxWizardPageSimple = {"_p_wxWizardPageSimple", "wxWizardPageSimple *", 0, 0, 0};
5091 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
5092 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
5093 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
5094
5095 static swig_type_info *swig_type_initial[] = {
5096 &_swigt__p_char,
5097 &_swigt__p_form_ops_t,
5098 &_swigt__p_int,
5099 &_swigt__p_unsigned_char,
5100 &_swigt__p_unsigned_int,
5101 &_swigt__p_unsigned_long,
5102 &_swigt__p_wxANIHandler,
5103 &_swigt__p_wxAcceleratorTable,
5104 &_swigt__p_wxActivateEvent,
5105 &_swigt__p_wxBMPHandler,
5106 &_swigt__p_wxBitmap,
5107 &_swigt__p_wxBoxSizer,
5108 &_swigt__p_wxCURHandler,
5109 &_swigt__p_wxCalculateLayoutEvent,
5110 &_swigt__p_wxChar,
5111 &_swigt__p_wxChildFocusEvent,
5112 &_swigt__p_wxCloseEvent,
5113 &_swigt__p_wxColourData,
5114 &_swigt__p_wxColourDialog,
5115 &_swigt__p_wxCommandEvent,
5116 &_swigt__p_wxContextMenuEvent,
5117 &_swigt__p_wxControl,
5118 &_swigt__p_wxControlWithItems,
5119 &_swigt__p_wxDateEvent,
5120 &_swigt__p_wxDialog,
5121 &_swigt__p_wxDirDialog,
5122 &_swigt__p_wxDisplayChangedEvent,
5123 &_swigt__p_wxDropFilesEvent,
5124 &_swigt__p_wxDuplexMode,
5125 &_swigt__p_wxEraseEvent,
5126 &_swigt__p_wxEvent,
5127 &_swigt__p_wxEvtHandler,
5128 &_swigt__p_wxFSFile,
5129 &_swigt__p_wxFileDialog,
5130 &_swigt__p_wxFileSystem,
5131 &_swigt__p_wxFindDialogEvent,
5132 &_swigt__p_wxFindReplaceData,
5133 &_swigt__p_wxFindReplaceDialog,
5134 &_swigt__p_wxFlexGridSizer,
5135 &_swigt__p_wxFocusEvent,
5136 &_swigt__p_wxFontData,
5137 &_swigt__p_wxFontDialog,
5138 &_swigt__p_wxFrame,
5139 &_swigt__p_wxGBSizerItem,
5140 &_swigt__p_wxGIFHandler,
5141 &_swigt__p_wxGridBagSizer,
5142 &_swigt__p_wxGridSizer,
5143 &_swigt__p_wxICOHandler,
5144 &_swigt__p_wxIconizeEvent,
5145 &_swigt__p_wxIdleEvent,
5146 &_swigt__p_wxImage,
5147 &_swigt__p_wxImageHandler,
5148 &_swigt__p_wxIndividualLayoutConstraint,
5149 &_swigt__p_wxInitDialogEvent,
5150 &_swigt__p_wxJPEGHandler,
5151 &_swigt__p_wxKeyEvent,
5152 &_swigt__p_wxLayoutAlgorithm,
5153 &_swigt__p_wxLayoutConstraints,
5154 &_swigt__p_wxMDIChildFrame,
5155 &_swigt__p_wxMDIClientWindow,
5156 &_swigt__p_wxMDIParentFrame,
5157 &_swigt__p_wxMaximizeEvent,
5158 &_swigt__p_wxMenu,
5159 &_swigt__p_wxMenuBar,
5160 &_swigt__p_wxMenuEvent,
5161 &_swigt__p_wxMenuItem,
5162 &_swigt__p_wxMessageDialog,
5163 &_swigt__p_wxMiniFrame,
5164 &_swigt__p_wxMouseCaptureChangedEvent,
5165 &_swigt__p_wxMouseEvent,
5166 &_swigt__p_wxMoveEvent,
5167 &_swigt__p_wxMultiChoiceDialog,
5168 &_swigt__p_wxNavigationKeyEvent,
5169 &_swigt__p_wxNcPaintEvent,
5170 &_swigt__p_wxNotifyEvent,
5171 &_swigt__p_wxObject,
5172 &_swigt__p_wxPCXHandler,
5173 &_swigt__p_wxPNGHandler,
5174 &_swigt__p_wxPNMHandler,
5175 &_swigt__p_wxPageSetupDialog,
5176 &_swigt__p_wxPageSetupDialogData,
5177 &_swigt__p_wxPaintEvent,
5178 &_swigt__p_wxPaletteChangedEvent,
5179 &_swigt__p_wxPanel,
5180 &_swigt__p_wxPaperSize,
5181 &_swigt__p_wxPasswordEntryDialog,
5182 &_swigt__p_wxPopupWindow,
5183 &_swigt__p_wxPreviewCanvas,
5184 &_swigt__p_wxPreviewControlBar,
5185 &_swigt__p_wxPreviewFrame,
5186 &_swigt__p_wxPrintData,
5187 &_swigt__p_wxPrintDialog,
5188 &_swigt__p_wxPrintDialogData,
5189 &_swigt__p_wxPrintPreview,
5190 &_swigt__p_wxPrinter,
5191 &_swigt__p_wxProgressDialog,
5192 &_swigt__p_wxPyApp,
5193 &_swigt__p_wxPyCommandEvent,
5194 &_swigt__p_wxPyEvent,
5195 &_swigt__p_wxPyHtmlListBox,
5196 &_swigt__p_wxPyImageHandler,
5197 &_swigt__p_wxPyPanel,
5198 &_swigt__p_wxPyPopupTransientWindow,
5199 &_swigt__p_wxPyPreviewControlBar,
5200 &_swigt__p_wxPyPreviewFrame,
5201 &_swigt__p_wxPyPrintPreview,
5202 &_swigt__p_wxPyPrintout,
5203 &_swigt__p_wxPyScrolledWindow,
5204 &_swigt__p_wxPySizer,
5205 &_swigt__p_wxPyTaskBarIcon,
5206 &_swigt__p_wxPyVListBox,
5207 &_swigt__p_wxPyVScrolledWindow,
5208 &_swigt__p_wxPyValidator,
5209 &_swigt__p_wxPyWindow,
5210 &_swigt__p_wxPyWizardPage,
5211 &_swigt__p_wxQueryLayoutInfoEvent,
5212 &_swigt__p_wxQueryNewPaletteEvent,
5213 &_swigt__p_wxSashEvent,
5214 &_swigt__p_wxSashLayoutWindow,
5215 &_swigt__p_wxSashWindow,
5216 &_swigt__p_wxScrollEvent,
5217 &_swigt__p_wxScrollWinEvent,
5218 &_swigt__p_wxScrolledWindow,
5219 &_swigt__p_wxSetCursorEvent,
5220 &_swigt__p_wxShowEvent,
5221 &_swigt__p_wxSingleChoiceDialog,
5222 &_swigt__p_wxSize,
5223 &_swigt__p_wxSizeEvent,
5224 &_swigt__p_wxSizer,
5225 &_swigt__p_wxSizerItem,
5226 &_swigt__p_wxSplashScreen,
5227 &_swigt__p_wxSplashScreenWindow,
5228 &_swigt__p_wxSplitterEvent,
5229 &_swigt__p_wxSplitterWindow,
5230 &_swigt__p_wxStaticBoxSizer,
5231 &_swigt__p_wxStatusBar,
5232 &_swigt__p_wxStdDialogButtonSizer,
5233 &_swigt__p_wxString,
5234 &_swigt__p_wxSysColourChangedEvent,
5235 &_swigt__p_wxTIFFHandler,
5236 &_swigt__p_wxTaskBarIconEvent,
5237 &_swigt__p_wxTextEntryDialog,
5238 &_swigt__p_wxTipWindow,
5239 &_swigt__p_wxTopLevelWindow,
5240 &_swigt__p_wxUpdateUIEvent,
5241 &_swigt__p_wxValidator,
5242 &_swigt__p_wxVisualAttributes,
5243 &_swigt__p_wxWindow,
5244 &_swigt__p_wxWindowCreateEvent,
5245 &_swigt__p_wxWindowDestroyEvent,
5246 &_swigt__p_wxWizard,
5247 &_swigt__p_wxWizardEvent,
5248 &_swigt__p_wxWizardPage,
5249 &_swigt__p_wxWizardPageSimple,
5250 &_swigt__p_wxXPMHandler,
5251 &_swigt__ptrdiff_t,
5252 &_swigt__std__ptrdiff_t,
5253 &_swigt__unsigned_int,
5254 };
5255
5256 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
5257 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
5258 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
5259 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
5260 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
5261 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
5262 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
5263 static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
5264 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
5265 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
5266 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
5267 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
5268 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
5269 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
5270 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
5271 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
5272 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
5273 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
5274 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5275 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_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_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_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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}};
5276 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
5277 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
5278 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
5279 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
5280 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
5281 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
5282 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
5283 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
5284 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
5285 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
5286 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
5287 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
5288 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
5289 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
5290 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
5291 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
5292 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
5293 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
5294 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
5295 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
5296 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
5297 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
5298 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5299 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5300 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
5301 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5302 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
5303 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
5304 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
5305 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5306 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5307 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5308 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5309 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
5310 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
5311 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
5312 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
5313 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
5314 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
5315 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5316 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
5317 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_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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxWizardEvent, _p_wxWizardEventTo_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_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
5318 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
5319 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
5320 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
5321 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
5322 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
5323 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
5324 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
5325 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
5326 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
5327 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5328 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5329 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5330 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
5331 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
5332 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
5333 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
5334 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
5335 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
5336 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
5337 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
5338 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
5339 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
5340 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
5341 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
5342 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
5343 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
5344 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
5345 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
5346 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
5347 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
5348 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
5349 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
5350 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
5351 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
5352 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
5353 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
5354 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxNotifyEvent, 0, 0},{0, 0, 0, 0}};
5355 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
5356 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
5357 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
5358 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
5359 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
5360 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
5361 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
5362 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
5363 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
5364 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
5365 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
5366 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
5367 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
5368 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
5369 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
5370 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
5371 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
5372 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
5373 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
5374 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
5375 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
5376 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
5377 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
5378 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
5379 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
5380 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
5381 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
5382 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
5383 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
5384 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
5385 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
5386 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
5387 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
5388 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
5389 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
5390 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
5391 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
5392 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
5393 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
5394 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
5395 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
5396 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
5397 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
5398 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_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_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
5399 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_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_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}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
5400 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
5401 static swig_cast_info _swigc__p_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 0, 0, 0},{0, 0, 0, 0}};
5402 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
5403 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
5404 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
5405 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
5406 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
5407 static swig_cast_info _swigc__p_wxWizard[] = { {&_swigt__p_wxWizard, 0, 0, 0},{0, 0, 0, 0}};
5408 static swig_cast_info _swigc__p_wxWizardEvent[] = { {&_swigt__p_wxWizardEvent, 0, 0, 0},{0, 0, 0, 0}};
5409 static swig_cast_info _swigc__p_wxWizardPage[] = { {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0}, {&_swigt__p_wxWizardPage, 0, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWizardPage, 0, 0},{0, 0, 0, 0}};
5410 static swig_cast_info _swigc__p_wxWizardPageSimple[] = { {&_swigt__p_wxWizardPageSimple, 0, 0, 0},{0, 0, 0, 0}};
5411 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
5412 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
5413 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
5414
5415 static swig_cast_info *swig_cast_initial[] = {
5416 _swigc__p_char,
5417 _swigc__p_form_ops_t,
5418 _swigc__p_int,
5419 _swigc__p_unsigned_char,
5420 _swigc__p_unsigned_int,
5421 _swigc__p_unsigned_long,
5422 _swigc__p_wxANIHandler,
5423 _swigc__p_wxAcceleratorTable,
5424 _swigc__p_wxActivateEvent,
5425 _swigc__p_wxBMPHandler,
5426 _swigc__p_wxBitmap,
5427 _swigc__p_wxBoxSizer,
5428 _swigc__p_wxCURHandler,
5429 _swigc__p_wxCalculateLayoutEvent,
5430 _swigc__p_wxChar,
5431 _swigc__p_wxChildFocusEvent,
5432 _swigc__p_wxCloseEvent,
5433 _swigc__p_wxColourData,
5434 _swigc__p_wxColourDialog,
5435 _swigc__p_wxCommandEvent,
5436 _swigc__p_wxContextMenuEvent,
5437 _swigc__p_wxControl,
5438 _swigc__p_wxControlWithItems,
5439 _swigc__p_wxDateEvent,
5440 _swigc__p_wxDialog,
5441 _swigc__p_wxDirDialog,
5442 _swigc__p_wxDisplayChangedEvent,
5443 _swigc__p_wxDropFilesEvent,
5444 _swigc__p_wxDuplexMode,
5445 _swigc__p_wxEraseEvent,
5446 _swigc__p_wxEvent,
5447 _swigc__p_wxEvtHandler,
5448 _swigc__p_wxFSFile,
5449 _swigc__p_wxFileDialog,
5450 _swigc__p_wxFileSystem,
5451 _swigc__p_wxFindDialogEvent,
5452 _swigc__p_wxFindReplaceData,
5453 _swigc__p_wxFindReplaceDialog,
5454 _swigc__p_wxFlexGridSizer,
5455 _swigc__p_wxFocusEvent,
5456 _swigc__p_wxFontData,
5457 _swigc__p_wxFontDialog,
5458 _swigc__p_wxFrame,
5459 _swigc__p_wxGBSizerItem,
5460 _swigc__p_wxGIFHandler,
5461 _swigc__p_wxGridBagSizer,
5462 _swigc__p_wxGridSizer,
5463 _swigc__p_wxICOHandler,
5464 _swigc__p_wxIconizeEvent,
5465 _swigc__p_wxIdleEvent,
5466 _swigc__p_wxImage,
5467 _swigc__p_wxImageHandler,
5468 _swigc__p_wxIndividualLayoutConstraint,
5469 _swigc__p_wxInitDialogEvent,
5470 _swigc__p_wxJPEGHandler,
5471 _swigc__p_wxKeyEvent,
5472 _swigc__p_wxLayoutAlgorithm,
5473 _swigc__p_wxLayoutConstraints,
5474 _swigc__p_wxMDIChildFrame,
5475 _swigc__p_wxMDIClientWindow,
5476 _swigc__p_wxMDIParentFrame,
5477 _swigc__p_wxMaximizeEvent,
5478 _swigc__p_wxMenu,
5479 _swigc__p_wxMenuBar,
5480 _swigc__p_wxMenuEvent,
5481 _swigc__p_wxMenuItem,
5482 _swigc__p_wxMessageDialog,
5483 _swigc__p_wxMiniFrame,
5484 _swigc__p_wxMouseCaptureChangedEvent,
5485 _swigc__p_wxMouseEvent,
5486 _swigc__p_wxMoveEvent,
5487 _swigc__p_wxMultiChoiceDialog,
5488 _swigc__p_wxNavigationKeyEvent,
5489 _swigc__p_wxNcPaintEvent,
5490 _swigc__p_wxNotifyEvent,
5491 _swigc__p_wxObject,
5492 _swigc__p_wxPCXHandler,
5493 _swigc__p_wxPNGHandler,
5494 _swigc__p_wxPNMHandler,
5495 _swigc__p_wxPageSetupDialog,
5496 _swigc__p_wxPageSetupDialogData,
5497 _swigc__p_wxPaintEvent,
5498 _swigc__p_wxPaletteChangedEvent,
5499 _swigc__p_wxPanel,
5500 _swigc__p_wxPaperSize,
5501 _swigc__p_wxPasswordEntryDialog,
5502 _swigc__p_wxPopupWindow,
5503 _swigc__p_wxPreviewCanvas,
5504 _swigc__p_wxPreviewControlBar,
5505 _swigc__p_wxPreviewFrame,
5506 _swigc__p_wxPrintData,
5507 _swigc__p_wxPrintDialog,
5508 _swigc__p_wxPrintDialogData,
5509 _swigc__p_wxPrintPreview,
5510 _swigc__p_wxPrinter,
5511 _swigc__p_wxProgressDialog,
5512 _swigc__p_wxPyApp,
5513 _swigc__p_wxPyCommandEvent,
5514 _swigc__p_wxPyEvent,
5515 _swigc__p_wxPyHtmlListBox,
5516 _swigc__p_wxPyImageHandler,
5517 _swigc__p_wxPyPanel,
5518 _swigc__p_wxPyPopupTransientWindow,
5519 _swigc__p_wxPyPreviewControlBar,
5520 _swigc__p_wxPyPreviewFrame,
5521 _swigc__p_wxPyPrintPreview,
5522 _swigc__p_wxPyPrintout,
5523 _swigc__p_wxPyScrolledWindow,
5524 _swigc__p_wxPySizer,
5525 _swigc__p_wxPyTaskBarIcon,
5526 _swigc__p_wxPyVListBox,
5527 _swigc__p_wxPyVScrolledWindow,
5528 _swigc__p_wxPyValidator,
5529 _swigc__p_wxPyWindow,
5530 _swigc__p_wxPyWizardPage,
5531 _swigc__p_wxQueryLayoutInfoEvent,
5532 _swigc__p_wxQueryNewPaletteEvent,
5533 _swigc__p_wxSashEvent,
5534 _swigc__p_wxSashLayoutWindow,
5535 _swigc__p_wxSashWindow,
5536 _swigc__p_wxScrollEvent,
5537 _swigc__p_wxScrollWinEvent,
5538 _swigc__p_wxScrolledWindow,
5539 _swigc__p_wxSetCursorEvent,
5540 _swigc__p_wxShowEvent,
5541 _swigc__p_wxSingleChoiceDialog,
5542 _swigc__p_wxSize,
5543 _swigc__p_wxSizeEvent,
5544 _swigc__p_wxSizer,
5545 _swigc__p_wxSizerItem,
5546 _swigc__p_wxSplashScreen,
5547 _swigc__p_wxSplashScreenWindow,
5548 _swigc__p_wxSplitterEvent,
5549 _swigc__p_wxSplitterWindow,
5550 _swigc__p_wxStaticBoxSizer,
5551 _swigc__p_wxStatusBar,
5552 _swigc__p_wxStdDialogButtonSizer,
5553 _swigc__p_wxString,
5554 _swigc__p_wxSysColourChangedEvent,
5555 _swigc__p_wxTIFFHandler,
5556 _swigc__p_wxTaskBarIconEvent,
5557 _swigc__p_wxTextEntryDialog,
5558 _swigc__p_wxTipWindow,
5559 _swigc__p_wxTopLevelWindow,
5560 _swigc__p_wxUpdateUIEvent,
5561 _swigc__p_wxValidator,
5562 _swigc__p_wxVisualAttributes,
5563 _swigc__p_wxWindow,
5564 _swigc__p_wxWindowCreateEvent,
5565 _swigc__p_wxWindowDestroyEvent,
5566 _swigc__p_wxWizard,
5567 _swigc__p_wxWizardEvent,
5568 _swigc__p_wxWizardPage,
5569 _swigc__p_wxWizardPageSimple,
5570 _swigc__p_wxXPMHandler,
5571 _swigc__ptrdiff_t,
5572 _swigc__std__ptrdiff_t,
5573 _swigc__unsigned_int,
5574 };
5575
5576
5577 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
5578
5579 static swig_const_info swig_const_table[] = {
5580 {0, 0, 0, 0.0, 0, 0}};
5581
5582 #ifdef __cplusplus
5583 }
5584 #endif
5585 /*************************************************************************
5586 * Type initialization:
5587 * This problem is tough by the requirement that no dynamic
5588 * memory is used. Also, since swig_type_info structures store pointers to
5589 * swig_cast_info structures and swig_cast_info structures store pointers back
5590 * to swig_type_info structures, we need some lookup code at initialization.
5591 * The idea is that swig generates all the structures that are needed.
5592 * The runtime then collects these partially filled structures.
5593 * The SWIG_InitializeModule function takes these initial arrays out of
5594 * swig_module, and does all the lookup, filling in the swig_module.types
5595 * array with the correct data and linking the correct swig_cast_info
5596 * structures together.
5597
5598 * The generated swig_type_info structures are assigned staticly to an initial
5599 * array. We just loop though that array, and handle each type individually.
5600 * First we lookup if this type has been already loaded, and if so, use the
5601 * loaded structure instead of the generated one. Then we have to fill in the
5602 * cast linked list. The cast data is initially stored in something like a
5603 * two-dimensional array. Each row corresponds to a type (there are the same
5604 * number of rows as there are in the swig_type_initial array). Each entry in
5605 * a column is one of the swig_cast_info structures for that type.
5606 * The cast_initial array is actually an array of arrays, because each row has
5607 * a variable number of columns. So to actually build the cast linked list,
5608 * we find the array of casts associated with the type, and loop through it
5609 * adding the casts to the list. The one last trick we need to do is making
5610 * sure the type pointer in the swig_cast_info struct is correct.
5611
5612 * First off, we lookup the cast->type name to see if it is already loaded.
5613 * There are three cases to handle:
5614 * 1) If the cast->type has already been loaded AND the type we are adding
5615 * casting info to has not been loaded (it is in this module), THEN we
5616 * replace the cast->type pointer with the type pointer that has already
5617 * been loaded.
5618 * 2) If BOTH types (the one we are adding casting info to, and the
5619 * cast->type) are loaded, THEN the cast info has already been loaded by
5620 * the previous module so we just ignore it.
5621 * 3) Finally, if cast->type has not already been loaded, then we add that
5622 * swig_cast_info to the linked list (because the cast->type) pointer will
5623 * be correct.
5624 **/
5625
5626 #ifdef __cplusplus
5627 extern "C" {
5628 #if 0
5629 } /* c-mode */
5630 #endif
5631 #endif
5632
5633 #if 0
5634 #define SWIGRUNTIME_DEBUG
5635 #endif
5636
5637 SWIGRUNTIME void
5638 SWIG_InitializeModule(void *clientdata) {
5639 size_t i;
5640 swig_module_info *module_head;
5641 static int init_run = 0;
5642
5643 clientdata = clientdata;
5644
5645 if (init_run) return;
5646 init_run = 1;
5647
5648 /* Initialize the swig_module */
5649 swig_module.type_initial = swig_type_initial;
5650 swig_module.cast_initial = swig_cast_initial;
5651
5652 /* Try and load any already created modules */
5653 module_head = SWIG_GetModule(clientdata);
5654 if (module_head) {
5655 swig_module.next = module_head->next;
5656 module_head->next = &swig_module;
5657 } else {
5658 /* This is the first module loaded */
5659 swig_module.next = &swig_module;
5660 SWIG_SetModule(clientdata, &swig_module);
5661 }
5662
5663 /* Now work on filling in swig_module.types */
5664 #ifdef SWIGRUNTIME_DEBUG
5665 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
5666 #endif
5667 for (i = 0; i < swig_module.size; ++i) {
5668 swig_type_info *type = 0;
5669 swig_type_info *ret;
5670 swig_cast_info *cast;
5671
5672 #ifdef SWIGRUNTIME_DEBUG
5673 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
5674 #endif
5675
5676 /* if there is another module already loaded */
5677 if (swig_module.next != &swig_module) {
5678 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
5679 }
5680 if (type) {
5681 /* Overwrite clientdata field */
5682 #ifdef SWIGRUNTIME_DEBUG
5683 printf("SWIG_InitializeModule: found type %s\n", type->name);
5684 #endif
5685 if (swig_module.type_initial[i]->clientdata) {
5686 type->clientdata = swig_module.type_initial[i]->clientdata;
5687 #ifdef SWIGRUNTIME_DEBUG
5688 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
5689 #endif
5690 }
5691 } else {
5692 type = swig_module.type_initial[i];
5693 }
5694
5695 /* Insert casting types */
5696 cast = swig_module.cast_initial[i];
5697 while (cast->type) {
5698 /* Don't need to add information already in the list */
5699 ret = 0;
5700 #ifdef SWIGRUNTIME_DEBUG
5701 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
5702 #endif
5703 if (swig_module.next != &swig_module) {
5704 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
5705 #ifdef SWIGRUNTIME_DEBUG
5706 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
5707 #endif
5708 }
5709 if (ret) {
5710 if (type == swig_module.type_initial[i]) {
5711 #ifdef SWIGRUNTIME_DEBUG
5712 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
5713 #endif
5714 cast->type = ret;
5715 ret = 0;
5716 } else {
5717 /* Check for casting already in the list */
5718 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
5719 #ifdef SWIGRUNTIME_DEBUG
5720 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
5721 #endif
5722 if (!ocast) ret = 0;
5723 }
5724 }
5725
5726 if (!ret) {
5727 #ifdef SWIGRUNTIME_DEBUG
5728 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
5729 #endif
5730 if (type->cast) {
5731 type->cast->prev = cast;
5732 cast->next = type->cast;
5733 }
5734 type->cast = cast;
5735 }
5736 cast++;
5737 }
5738 /* Set entry in modules->types array equal to the type */
5739 swig_module.types[i] = type;
5740 }
5741 swig_module.types[i] = 0;
5742
5743 #ifdef SWIGRUNTIME_DEBUG
5744 printf("**** SWIG_InitializeModule: Cast List ******\n");
5745 for (i = 0; i < swig_module.size; ++i) {
5746 int j = 0;
5747 swig_cast_info *cast = swig_module.cast_initial[i];
5748 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
5749 while (cast->type) {
5750 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
5751 cast++;
5752 ++j;
5753 }
5754 printf("---- Total casts: %d\n",j);
5755 }
5756 printf("**** SWIG_InitializeModule: Cast List ******\n");
5757 #endif
5758 }
5759
5760 /* This function will propagate the clientdata field of type to
5761 * any new swig_type_info structures that have been added into the list
5762 * of equivalent types. It is like calling
5763 * SWIG_TypeClientData(type, clientdata) a second time.
5764 */
5765 SWIGRUNTIME void
5766 SWIG_PropagateClientData(void) {
5767 size_t i;
5768 swig_cast_info *equiv;
5769 static int init_run = 0;
5770
5771 if (init_run) return;
5772 init_run = 1;
5773
5774 for (i = 0; i < swig_module.size; i++) {
5775 if (swig_module.types[i]->clientdata) {
5776 equiv = swig_module.types[i]->cast;
5777 while (equiv) {
5778 if (!equiv->converter) {
5779 if (equiv->type && !equiv->type->clientdata)
5780 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
5781 }
5782 equiv = equiv->next;
5783 }
5784 }
5785 }
5786 }
5787
5788 #ifdef __cplusplus
5789 #if 0
5790 {
5791 /* c-mode */
5792 #endif
5793 }
5794 #endif
5795
5796
5797
5798 #ifdef __cplusplus
5799 extern "C" {
5800 #endif
5801
5802 /* Python-specific SWIG API */
5803 #define SWIG_newvarlink() SWIG_Python_newvarlink()
5804 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
5805 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
5806
5807 /* -----------------------------------------------------------------------------
5808 * global variable support code.
5809 * ----------------------------------------------------------------------------- */
5810
5811 typedef struct swig_globalvar {
5812 char *name; /* Name of global variable */
5813 PyObject *(*get_attr)(void); /* Return the current value */
5814 int (*set_attr)(PyObject *); /* Set the value */
5815 struct swig_globalvar *next;
5816 } swig_globalvar;
5817
5818 typedef struct swig_varlinkobject {
5819 PyObject_HEAD
5820 swig_globalvar *vars;
5821 } swig_varlinkobject;
5822
5823 SWIGINTERN PyObject *
5824 swig_varlink_repr(swig_varlinkobject *v) {
5825 v = v;
5826 return PyString_FromString("<Swig global variables>");
5827 }
5828
5829 SWIGINTERN int
5830 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
5831 swig_globalvar *var;
5832 flags = flags;
5833 fprintf(fp,"Swig global variables { ");
5834 for (var = v->vars; var; var=var->next) {
5835 fprintf(fp,"%s", var->name);
5836 if (var->next) fprintf(fp,", ");
5837 }
5838 fprintf(fp," }\n");
5839 return 0;
5840 }
5841
5842 SWIGINTERN PyObject *
5843 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
5844 swig_globalvar *var = v->vars;
5845 while (var) {
5846 if (strcmp(var->name,n) == 0) {
5847 return (*var->get_attr)();
5848 }
5849 var = var->next;
5850 }
5851 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
5852 return NULL;
5853 }
5854
5855 SWIGINTERN int
5856 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
5857 swig_globalvar *var = v->vars;
5858 while (var) {
5859 if (strcmp(var->name,n) == 0) {
5860 return (*var->set_attr)(p);
5861 }
5862 var = var->next;
5863 }
5864 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
5865 return 1;
5866 }
5867
5868 SWIGINTERN PyTypeObject*
5869 swig_varlink_type(void) {
5870 static char varlink__doc__[] = "Swig var link object";
5871 static PyTypeObject varlink_type
5872 #if !defined(__cplusplus)
5873 ;
5874 static int type_init = 0;
5875 if (!type_init) {
5876 PyTypeObject tmp
5877 #endif
5878 = {
5879 PyObject_HEAD_INIT(&PyType_Type)
5880 0, /* Number of items in variable part (ob_size) */
5881 (char *)"swigvarlink", /* Type name (tp_name) */
5882 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
5883 0, /* Itemsize (tp_itemsize) */
5884 0, /* Deallocator (tp_dealloc) */
5885 (printfunc) swig_varlink_print, /* Print (tp_print) */
5886 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
5887 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
5888 0, /* tp_compare */
5889 (reprfunc) swig_varlink_repr, /* tp_repr */
5890 0, /* tp_as_number */
5891 0, /* tp_as_sequence */
5892 0, /* tp_as_mapping */
5893 0, /* tp_hash */
5894 0, /* tp_call */
5895 0, /* tp_str */
5896 0, /* tp_getattro */
5897 0, /* tp_setattro */
5898 0, /* tp_as_buffer */
5899 0, /* tp_flags */
5900 varlink__doc__, /* tp_doc */
5901 #if PY_VERSION_HEX >= 0x02000000
5902 0, /* tp_traverse */
5903 0, /* tp_clear */
5904 #endif
5905 #if PY_VERSION_HEX >= 0x02010000
5906 0, /* tp_richcompare */
5907 0, /* tp_weaklistoffset */
5908 #endif
5909 #if PY_VERSION_HEX >= 0x02020000
5910 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
5911 #endif
5912 #if PY_VERSION_HEX >= 0x02030000
5913 0, /* tp_del */
5914 #endif
5915 #ifdef COUNT_ALLOCS
5916 0,0,0,0 /* tp_alloc -> tp_next */
5917 #endif
5918 };
5919 #if !defined(__cplusplus)
5920 varlink_type = tmp;
5921 type_init = 1;
5922 }
5923 #endif
5924 return &varlink_type;
5925 }
5926
5927 /* Create a variable linking object for use later */
5928 SWIGINTERN PyObject *
5929 SWIG_Python_newvarlink(void) {
5930 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
5931 if (result) {
5932 result->vars = 0;
5933 }
5934 return ((PyObject*) result);
5935 }
5936
5937 SWIGINTERN void
5938 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
5939 swig_varlinkobject *v = (swig_varlinkobject *) p;
5940 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
5941 if (gv) {
5942 size_t size = strlen(name)+1;
5943 gv->name = (char *)malloc(size);
5944 if (gv->name) {
5945 strncpy(gv->name,name,size);
5946 gv->get_attr = get_attr;
5947 gv->set_attr = set_attr;
5948 gv->next = v->vars;
5949 }
5950 }
5951 v->vars = gv;
5952 }
5953
5954 /* -----------------------------------------------------------------------------
5955 * constants/methods manipulation
5956 * ----------------------------------------------------------------------------- */
5957
5958 /* Install Constants */
5959 SWIGINTERN void
5960 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
5961 PyObject *obj = 0;
5962 size_t i;
5963 for (i = 0; constants[i].type; ++i) {
5964 switch(constants[i].type) {
5965 case SWIG_PY_INT:
5966 obj = PyInt_FromLong(constants[i].lvalue);
5967 break;
5968 case SWIG_PY_FLOAT:
5969 obj = PyFloat_FromDouble(constants[i].dvalue);
5970 break;
5971 case SWIG_PY_STRING:
5972 if (constants[i].pvalue) {
5973 obj = PyString_FromString((char *) constants[i].pvalue);
5974 } else {
5975 Py_INCREF(Py_None);
5976 obj = Py_None;
5977 }
5978 break;
5979 case SWIG_PY_POINTER:
5980 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
5981 break;
5982 case SWIG_PY_BINARY:
5983 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
5984 break;
5985 default:
5986 obj = 0;
5987 break;
5988 }
5989 if (obj) {
5990 PyDict_SetItemString(d,constants[i].name,obj);
5991 Py_DECREF(obj);
5992 }
5993 }
5994 }
5995
5996 /* -----------------------------------------------------------------------------*/
5997 /* Fix SwigMethods to carry the callback ptrs when needed */
5998 /* -----------------------------------------------------------------------------*/
5999
6000 SWIGINTERN void
6001 SWIG_Python_FixMethods(PyMethodDef *methods,
6002 swig_const_info *const_table,
6003 swig_type_info **types,
6004 swig_type_info **types_initial) {
6005 size_t i;
6006 for (i = 0; methods[i].ml_name; ++i) {
6007 char *c = methods[i].ml_doc;
6008 if (c && (c = strstr(c, "swig_ptr: "))) {
6009 int j;
6010 swig_const_info *ci = 0;
6011 char *name = c + 10;
6012 for (j = 0; const_table[j].type; ++j) {
6013 if (strncmp(const_table[j].name, name,
6014 strlen(const_table[j].name)) == 0) {
6015 ci = &(const_table[j]);
6016 break;
6017 }
6018 }
6019 if (ci) {
6020 size_t shift = (ci->ptype) - types;
6021 swig_type_info *ty = types_initial[shift];
6022 size_t ldoc = (c - methods[i].ml_doc);
6023 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
6024 char *ndoc = (char*)malloc(ldoc + lptr + 10);
6025 if (ndoc) {
6026 char *buff = ndoc;
6027 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
6028 if (ptr) {
6029 strncpy(buff, methods[i].ml_doc, ldoc);
6030 buff += ldoc;
6031 strncpy(buff, "swig_ptr: ", 10);
6032 buff += 10;
6033 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
6034 methods[i].ml_doc = ndoc;
6035 }
6036 }
6037 }
6038 }
6039 }
6040 }
6041
6042 /* -----------------------------------------------------------------------------*
6043 * Initialize type list
6044 * -----------------------------------------------------------------------------*/
6045
6046 #ifdef __cplusplus
6047 }
6048 #endif
6049
6050 /* -----------------------------------------------------------------------------*
6051 * Partial Init method
6052 * -----------------------------------------------------------------------------*/
6053
6054 #ifdef __cplusplus
6055 extern "C"
6056 #endif
6057 SWIGEXPORT void SWIG_init(void) {
6058 static PyObject *SWIG_globals = 0;
6059 PyObject *m, *d;
6060 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
6061
6062 /* Fix SwigMethods to carry the callback ptrs when needed */
6063 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
6064
6065 m = Py_InitModule((char *) SWIG_name, SwigMethods);
6066 d = PyModule_GetDict(m);
6067
6068 SWIG_InitializeModule(0);
6069 SWIG_InstallConstants(d,swig_const_table);
6070
6071 {
6072 PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int(static_cast<int >(wxWIZARD_EX_HELPBUTTON)));
6073 }
6074 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED));
6075 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING));
6076 PyDict_SetItemString(d, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL));
6077 PyDict_SetItemString(d, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP));
6078 PyDict_SetItemString(d, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED));
6079
6080
6081 }
6082