]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/wizard_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / wizard_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxObject swig_types[0]
1342 #define SWIGTYPE_p_wxDialog swig_types[1]
1343 #define SWIGTYPE_p_unsigned_char swig_types[2]
1344 #define SWIGTYPE_p_wxWizardPageSimple swig_types[3]
1345 #define SWIGTYPE_p_wxWizardPage swig_types[4]
1346 #define SWIGTYPE_p_wxTopLevelWindow swig_types[5]
1347 #define SWIGTYPE_p_wxWindow swig_types[6]
1348 #define SWIGTYPE_p_wxPyWizardPage swig_types[7]
1349 #define SWIGTYPE_p_wxCommandEvent swig_types[8]
1350 #define SWIGTYPE_p_unsigned_long swig_types[9]
1351 #define SWIGTYPE_p_wxWizardEvent swig_types[10]
1352 #define SWIGTYPE_p_wxBitmap swig_types[11]
1353 #define SWIGTYPE_unsigned_int swig_types[12]
1354 #define SWIGTYPE_p_unsigned_int swig_types[13]
1355 #define SWIGTYPE_p_form_ops_t swig_types[14]
1356 #define SWIGTYPE_p_wxDuplexMode swig_types[15]
1357 #define SWIGTYPE_p_wxWizard swig_types[16]
1358 #define SWIGTYPE_p_char swig_types[17]
1359 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1360 #define SWIGTYPE_p_wxString swig_types[19]
1361 #define SWIGTYPE_std__ptrdiff_t swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_p_wxNotifyEvent swig_types[22]
1364 #define SWIGTYPE_p_wxPanel swig_types[23]
1365 #define SWIGTYPE_p_wxEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxChar swig_types[27]
1369 #define SWIGTYPE_p_int swig_types[28]
1370 static swig_type_info *swig_types[30];
1371
1372 /* -------- TYPES TABLE (END) -------- */
1373
1374
1375 /*-----------------------------------------------
1376 @(target):= _wizard.so
1377 ------------------------------------------------*/
1378 #define SWIG_init init_wizard
1379
1380 #define SWIG_name "_wizard"
1381
1382 #include "wx/wxPython/wxPython.h"
1383 #include "wx/wxPython/pyclasses.h"
1384 #include "wx/wxPython/printfw.h"
1385
1386 #include <wx/wizard.h>
1387
1388
1389 static const wxString wxPyEmptyString(wxEmptyString);
1390
1391 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1392 #define SWIG_From_int PyInt_FromLong
1393 /*@@*/
1394
1395
1396 #include <limits.h>
1397
1398
1399 SWIGINTERN int
1400 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1401 const char *errmsg)
1402 {
1403 if (value < min_value) {
1404 if (errmsg) {
1405 PyErr_Format(PyExc_OverflowError,
1406 "value %ld is less than '%s' minimum %ld",
1407 value, errmsg, min_value);
1408 }
1409 return 0;
1410 } else if (value > max_value) {
1411 if (errmsg) {
1412 PyErr_Format(PyExc_OverflowError,
1413 "value %ld is greater than '%s' maximum %ld",
1414 value, errmsg, max_value);
1415 }
1416 return 0;
1417 }
1418 return 1;
1419 }
1420
1421
1422 SWIGINTERN int
1423 SWIG_AsVal_long(PyObject* obj, long* val)
1424 {
1425 if (PyNumber_Check(obj)) {
1426 if (val) *val = PyInt_AsLong(obj);
1427 return 1;
1428 }
1429 else {
1430 SWIG_type_error("number", obj);
1431 }
1432 return 0;
1433 }
1434
1435
1436 #if INT_MAX != LONG_MAX
1437 SWIGINTERN int
1438 SWIG_AsVal_int(PyObject *obj, int *val)
1439 {
1440 const char* errmsg = val ? "int" : (char*)0;
1441 long v;
1442 if (SWIG_AsVal_long(obj, &v)) {
1443 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1444 if (val) *val = (int)(v);
1445 return 1;
1446 } else {
1447 return 0;
1448 }
1449 } else {
1450 PyErr_Clear();
1451 }
1452 if (val) {
1453 SWIG_type_error(errmsg, obj);
1454 }
1455 return 0;
1456 }
1457 #else
1458 SWIGINTERNSHORT int
1459 SWIG_AsVal_int(PyObject *obj, int *val)
1460 {
1461 return SWIG_AsVal_long(obj,(long*)val);
1462 }
1463 #endif
1464
1465
1466 SWIGINTERNSHORT int
1467 SWIG_As_int(PyObject* obj)
1468 {
1469 int v;
1470 if (!SWIG_AsVal_int(obj, &v)) {
1471 /*
1472 this is needed to make valgrind/purify happier.
1473 */
1474 memset((void*)&v, 0, sizeof(int));
1475 }
1476 return v;
1477 }
1478
1479
1480 SWIGINTERN int
1481 SWIG_AsVal_bool(PyObject *obj, bool *val)
1482 {
1483 if (obj == Py_True) {
1484 if (val) *val = true;
1485 return 1;
1486 }
1487 if (obj == Py_False) {
1488 if (val) *val = false;
1489 return 1;
1490 }
1491 int res = 0;
1492 if (SWIG_AsVal_int(obj, &res)) {
1493 if (val) *val = res ? true : false;
1494 return 1;
1495 } else {
1496 PyErr_Clear();
1497 }
1498 if (val) {
1499 SWIG_type_error("bool", obj);
1500 }
1501 return 0;
1502 }
1503
1504
1505 SWIGINTERNSHORT bool
1506 SWIG_As_bool(PyObject* obj)
1507 {
1508 bool v;
1509 if (!SWIG_AsVal_bool(obj, &v)) {
1510 /*
1511 this is needed to make valgrind/purify happier.
1512 */
1513 memset((void*)&v, 0, sizeof(bool));
1514 }
1515 return v;
1516 }
1517
1518
1519 SWIGINTERNSHORT int
1520 SWIG_Check_int(PyObject* obj)
1521 {
1522 return SWIG_AsVal_int(obj, (int*)0);
1523 }
1524
1525
1526 SWIGINTERNSHORT int
1527 SWIG_Check_bool(PyObject* obj)
1528 {
1529 return SWIG_AsVal_bool(obj, (bool*)0);
1530 }
1531
1532 static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1533 wxChar* res = NULL;
1534 if (resource.Length())
1535 res = (wxChar*)resource.c_str();
1536 return self->Create(parent, bitmap, res);
1537 }
1538 // C++ Version of a Python aware class
1539 class wxPyWizardPage : public wxWizardPage {
1540 DECLARE_ABSTRACT_CLASS(wxPyWizardPage);
1541 public:
1542 wxPyWizardPage() : wxWizardPage() {}
1543 wxPyWizardPage(wxWizard *parent,
1544 const wxBitmap& bitmap = wxNullBitmap,
1545 const wxChar* resource = NULL)
1546 : wxWizardPage(parent, bitmap, resource) {}
1547
1548 DEC_PYCALLBACK_WIZPG__pure(GetPrev);
1549 DEC_PYCALLBACK_WIZPG__pure(GetNext);
1550 DEC_PYCALLBACK_BITMAP__pure(GetBitmap);
1551
1552 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1553 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1554 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1555 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1556
1557 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1558 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1559 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1560
1561 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1562 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1563
1564 DEC_PYCALLBACK__(InitDialog);
1565 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1566 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1567 DEC_PYCALLBACK_BOOL_(Validate);
1568
1569 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1570 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1571 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1572
1573 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1574 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1575
1576 PYPRIVATE;
1577 };
1578
1579
1580 IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage);
1581
1582 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev);
1583 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext);
1584 IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap);
1585
1586 IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow);
1587 IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize);
1588 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize);
1589 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize);
1590
1591 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize);
1592 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize);
1593 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition);
1594
1595 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize);
1596 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize);
1597
1598 IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog);
1599 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow);
1600 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow);
1601 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate);
1602
1603 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus);
1604 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard);
1605 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize);
1606
1607 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild);
1608 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild);
1609
1610
1611 static wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){
1612 wxChar* res = NULL;
1613 if (resource->Length())
1614 res = (wxChar*)resource->c_str();
1615 return new wxPyWizardPage(parent, *bitmap, res);
1616 }
1617 static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1618 wxChar* res = NULL;
1619 if (resource.Length())
1620 res = (wxChar*)resource.c_str();
1621 return self->Create(parent, bitmap, res);
1622 }
1623
1624 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1625 PyObject* o2;
1626 PyObject* o3;
1627
1628 if (!target) {
1629 target = o;
1630 } else if (target == Py_None) {
1631 Py_DECREF(Py_None);
1632 target = o;
1633 } else {
1634 if (!PyTuple_Check(target)) {
1635 o2 = target;
1636 target = PyTuple_New(1);
1637 PyTuple_SetItem(target, 0, o2);
1638 }
1639 o3 = PyTuple_New(1);
1640 PyTuple_SetItem(o3, 0, o);
1641
1642 o2 = target;
1643 target = PySequence_Concat(o2, o3);
1644 Py_DECREF(o2);
1645 Py_DECREF(o3);
1646 }
1647 return target;
1648 }
1649
1650
1651
1652 SWIGINTERNSHORT long
1653 SWIG_As_long(PyObject* obj)
1654 {
1655 long v;
1656 if (!SWIG_AsVal_long(obj, &v)) {
1657 /*
1658 this is needed to make valgrind/purify happier.
1659 */
1660 memset((void*)&v, 0, sizeof(long));
1661 }
1662 return v;
1663 }
1664
1665
1666 SWIGINTERNSHORT int
1667 SWIG_Check_long(PyObject* obj)
1668 {
1669 return SWIG_AsVal_long(obj, (long*)0);
1670 }
1671
1672 #ifdef __cplusplus
1673 extern "C" {
1674 #endif
1675 static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1676 PyObject *resultobj;
1677 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
1678 int arg2 = (int) -1 ;
1679 bool arg3 = (bool) true ;
1680 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
1681 wxWizardEvent *result;
1682 PyObject * obj0 = 0 ;
1683 PyObject * obj1 = 0 ;
1684 PyObject * obj2 = 0 ;
1685 PyObject * obj3 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1691 if (obj0) {
1692 {
1693 arg1 = (wxEventType)(SWIG_As_int(obj0));
1694 if (SWIG_arg_fail(1)) SWIG_fail;
1695 }
1696 }
1697 if (obj1) {
1698 {
1699 arg2 = (int)(SWIG_As_int(obj1));
1700 if (SWIG_arg_fail(2)) SWIG_fail;
1701 }
1702 }
1703 if (obj2) {
1704 {
1705 arg3 = (bool)(SWIG_As_bool(obj2));
1706 if (SWIG_arg_fail(3)) SWIG_fail;
1707 }
1708 }
1709 if (obj3) {
1710 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1711 if (SWIG_arg_fail(4)) SWIG_fail;
1712 }
1713 {
1714 PyThreadState* __tstate = wxPyBeginAllowThreads();
1715 result = (wxWizardEvent *)new wxWizardEvent(arg1,arg2,arg3,arg4);
1716
1717 wxPyEndAllowThreads(__tstate);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardEvent, 1);
1721 return resultobj;
1722 fail:
1723 return NULL;
1724 }
1725
1726
1727 static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1730 bool result;
1731 PyObject * obj0 = 0 ;
1732 char *kwnames[] = {
1733 (char *) "self", NULL
1734 };
1735
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetDirection",kwnames,&obj0)) goto fail;
1737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1738 if (SWIG_arg_fail(1)) SWIG_fail;
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 result = (bool)((wxWizardEvent const *)arg1)->GetDirection();
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 {
1747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1748 }
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1758 wxWizardPage *result;
1759 PyObject * obj0 = 0 ;
1760 char *kwnames[] = {
1761 (char *) "self", NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetPage",kwnames,&obj0)) goto fail;
1765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1766 if (SWIG_arg_fail(1)) SWIG_fail;
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (wxWizardPage *)((wxWizardEvent const *)arg1)->GetPage();
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 {
1775 resultobj = wxPyMake_wxObject(result, 0);
1776 }
1777 return resultobj;
1778 fail:
1779 return NULL;
1780 }
1781
1782
1783 static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) {
1784 PyObject *obj;
1785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1786 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent, obj);
1787 Py_INCREF(obj);
1788 return Py_BuildValue((char *)"");
1789 }
1790 static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1791 PyObject *resultobj;
1792 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1793 wxWizard *arg2 = (wxWizard *) 0 ;
1794 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1795 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1796 wxString const &arg4_defvalue = wxPyEmptyString ;
1797 wxString *arg4 = (wxString *) &arg4_defvalue ;
1798 bool result;
1799 bool temp4 = false ;
1800 PyObject * obj0 = 0 ;
1801 PyObject * obj1 = 0 ;
1802 PyObject * obj2 = 0 ;
1803 PyObject * obj3 = 0 ;
1804 char *kwnames[] = {
1805 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1806 };
1807
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1810 if (SWIG_arg_fail(1)) SWIG_fail;
1811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
1812 if (SWIG_arg_fail(2)) SWIG_fail;
1813 if (obj2) {
1814 {
1815 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
1816 if (SWIG_arg_fail(3)) SWIG_fail;
1817 if (arg3 == NULL) {
1818 SWIG_null_ref("wxBitmap");
1819 }
1820 if (SWIG_arg_fail(3)) SWIG_fail;
1821 }
1822 }
1823 if (obj3) {
1824 {
1825 arg4 = wxString_in_helper(obj3);
1826 if (arg4 == NULL) SWIG_fail;
1827 temp4 = true;
1828 }
1829 }
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
1837 {
1838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1839 }
1840 {
1841 if (temp4)
1842 delete arg4;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp4)
1848 delete arg4;
1849 }
1850 return NULL;
1851 }
1852
1853
1854 static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1857 wxWizardPage *result;
1858 PyObject * obj0 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetPrev",kwnames,&obj0)) goto fail;
1864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1865 if (SWIG_arg_fail(1)) SWIG_fail;
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetPrev();
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 {
1874 resultobj = wxPyMake_wxObject(result, 0);
1875 }
1876 return resultobj;
1877 fail:
1878 return NULL;
1879 }
1880
1881
1882 static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
1883 PyObject *resultobj;
1884 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1885 wxWizardPage *result;
1886 PyObject * obj0 = 0 ;
1887 char *kwnames[] = {
1888 (char *) "self", NULL
1889 };
1890
1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetNext",kwnames,&obj0)) goto fail;
1892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1893 if (SWIG_arg_fail(1)) SWIG_fail;
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetNext();
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 }
1901 {
1902 resultobj = wxPyMake_wxObject(result, 0);
1903 }
1904 return resultobj;
1905 fail:
1906 return NULL;
1907 }
1908
1909
1910 static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1913 wxBitmap result;
1914 PyObject * obj0 = 0 ;
1915 char *kwnames[] = {
1916 (char *) "self", NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetBitmap",kwnames,&obj0)) goto fail;
1920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1921 if (SWIG_arg_fail(1)) SWIG_fail;
1922 {
1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
1924 result = ((wxWizardPage const *)arg1)->GetBitmap();
1925
1926 wxPyEndAllowThreads(__tstate);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
1929 {
1930 wxBitmap * resultptr;
1931 resultptr = new wxBitmap((wxBitmap &)(result));
1932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1933 }
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) {
1941 PyObject *obj;
1942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1943 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage, obj);
1944 Py_INCREF(obj);
1945 return Py_BuildValue((char *)"");
1946 }
1947 static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
1948 PyObject *resultobj;
1949 wxWizard *arg1 = (wxWizard *) 0 ;
1950 wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
1951 wxString *arg3 = (wxString *) &wxPyEmptyString ;
1952 wxPyWizardPage *result;
1953 bool temp3 = false ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
1962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
1963 if (SWIG_arg_fail(1)) SWIG_fail;
1964 if (obj1) {
1965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
1966 if (SWIG_arg_fail(2)) SWIG_fail;
1967 }
1968 if (obj2) {
1969 {
1970 arg3 = wxString_in_helper(obj2);
1971 if (arg3 == NULL) SWIG_fail;
1972 temp3 = true;
1973 }
1974 }
1975 {
1976 if (!wxPyCheckForApp()) SWIG_fail;
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3);
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
1984 {
1985 if (temp3)
1986 delete arg3;
1987 }
1988 return resultobj;
1989 fail:
1990 {
1991 if (temp3)
1992 delete arg3;
1993 }
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxPyWizardPage *result;
2001 char *kwnames[] = {
2002 NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWizardPage",kwnames)) goto fail;
2006 {
2007 if (!wxPyCheckForApp()) SWIG_fail;
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (wxPyWizardPage *)new wxPyWizardPage();
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018 }
2019
2020
2021 static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2024 wxWizard *arg2 = (wxWizard *) 0 ;
2025 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2026 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2027 wxString const &arg4_defvalue = wxPyEmptyString ;
2028 wxString *arg4 = (wxString *) &arg4_defvalue ;
2029 bool result;
2030 bool temp4 = false ;
2031 PyObject * obj0 = 0 ;
2032 PyObject * obj1 = 0 ;
2033 PyObject * obj2 = 0 ;
2034 PyObject * obj3 = 0 ;
2035 char *kwnames[] = {
2036 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2037 };
2038
2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2041 if (SWIG_arg_fail(1)) SWIG_fail;
2042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2043 if (SWIG_arg_fail(2)) SWIG_fail;
2044 if (obj2) {
2045 {
2046 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2047 if (SWIG_arg_fail(3)) SWIG_fail;
2048 if (arg3 == NULL) {
2049 SWIG_null_ref("wxBitmap");
2050 }
2051 if (SWIG_arg_fail(3)) SWIG_fail;
2052 }
2053 }
2054 if (obj3) {
2055 {
2056 arg4 = wxString_in_helper(obj3);
2057 if (arg4 == NULL) SWIG_fail;
2058 temp4 = true;
2059 }
2060 }
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 {
2069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2070 }
2071 {
2072 if (temp4)
2073 delete arg4;
2074 }
2075 return resultobj;
2076 fail:
2077 {
2078 if (temp4)
2079 delete arg4;
2080 }
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2088 PyObject *arg2 = (PyObject *) 0 ;
2089 PyObject *arg3 = (PyObject *) 0 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092 PyObject * obj2 = 0 ;
2093 char *kwnames[] = {
2094 (char *) "self",(char *) "self",(char *) "_class", NULL
2095 };
2096
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2099 if (SWIG_arg_fail(1)) SWIG_fail;
2100 arg2 = obj1;
2101 arg3 = obj2;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 (arg1)->_setCallbackInfo(arg2,arg3);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2117 PyObject *resultobj;
2118 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2119 int arg2 ;
2120 int arg3 ;
2121 int arg4 ;
2122 int arg5 ;
2123 PyObject * obj0 = 0 ;
2124 PyObject * obj1 = 0 ;
2125 PyObject * obj2 = 0 ;
2126 PyObject * obj3 = 0 ;
2127 PyObject * obj4 = 0 ;
2128 char *kwnames[] = {
2129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2134 if (SWIG_arg_fail(1)) SWIG_fail;
2135 {
2136 arg2 = (int)(SWIG_As_int(obj1));
2137 if (SWIG_arg_fail(2)) SWIG_fail;
2138 }
2139 {
2140 arg3 = (int)(SWIG_As_int(obj2));
2141 if (SWIG_arg_fail(3)) SWIG_fail;
2142 }
2143 {
2144 arg4 = (int)(SWIG_As_int(obj3));
2145 if (SWIG_arg_fail(4)) SWIG_fail;
2146 }
2147 {
2148 arg5 = (int)(SWIG_As_int(obj4));
2149 if (SWIG_arg_fail(5)) SWIG_fail;
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 Py_INCREF(Py_None); resultobj = Py_None;
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2168 int arg2 ;
2169 int arg3 ;
2170 int arg4 ;
2171 int arg5 ;
2172 int arg6 = (int) wxSIZE_AUTO ;
2173 PyObject * obj0 = 0 ;
2174 PyObject * obj1 = 0 ;
2175 PyObject * obj2 = 0 ;
2176 PyObject * obj3 = 0 ;
2177 PyObject * obj4 = 0 ;
2178 PyObject * obj5 = 0 ;
2179 char *kwnames[] = {
2180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2181 };
2182
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2185 if (SWIG_arg_fail(1)) SWIG_fail;
2186 {
2187 arg2 = (int)(SWIG_As_int(obj1));
2188 if (SWIG_arg_fail(2)) SWIG_fail;
2189 }
2190 {
2191 arg3 = (int)(SWIG_As_int(obj2));
2192 if (SWIG_arg_fail(3)) SWIG_fail;
2193 }
2194 {
2195 arg4 = (int)(SWIG_As_int(obj3));
2196 if (SWIG_arg_fail(4)) SWIG_fail;
2197 }
2198 {
2199 arg5 = (int)(SWIG_As_int(obj4));
2200 if (SWIG_arg_fail(5)) SWIG_fail;
2201 }
2202 if (obj5) {
2203 {
2204 arg6 = (int)(SWIG_As_int(obj5));
2205 if (SWIG_arg_fail(6)) SWIG_fail;
2206 }
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 }
2215 Py_INCREF(Py_None); resultobj = Py_None;
2216 return resultobj;
2217 fail:
2218 return NULL;
2219 }
2220
2221
2222 static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2223 PyObject *resultobj;
2224 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2225 int arg2 ;
2226 int arg3 ;
2227 PyObject * obj0 = 0 ;
2228 PyObject * obj1 = 0 ;
2229 PyObject * obj2 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "self",(char *) "width",(char *) "height", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2236 if (SWIG_arg_fail(1)) SWIG_fail;
2237 {
2238 arg2 = (int)(SWIG_As_int(obj1));
2239 if (SWIG_arg_fail(2)) SWIG_fail;
2240 }
2241 {
2242 arg3 = (int)(SWIG_As_int(obj2));
2243 if (SWIG_arg_fail(3)) SWIG_fail;
2244 }
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->base_DoSetClientSize(arg2,arg3);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2262 int arg2 ;
2263 int arg3 ;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 PyObject * obj2 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "x",(char *) "y", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2273 if (SWIG_arg_fail(1)) SWIG_fail;
2274 {
2275 arg2 = (int)(SWIG_As_int(obj1));
2276 if (SWIG_arg_fail(2)) SWIG_fail;
2277 }
2278 {
2279 arg3 = (int)(SWIG_As_int(obj2));
2280 if (SWIG_arg_fail(3)) SWIG_fail;
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 (arg1)->base_DoSetVirtualSize(arg2,arg3);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 Py_INCREF(Py_None); resultobj = Py_None;
2290 return resultobj;
2291 fail:
2292 return NULL;
2293 }
2294
2295
2296 static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2297 PyObject *resultobj;
2298 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2299 int *arg2 = (int *) 0 ;
2300 int *arg3 = (int *) 0 ;
2301 int temp2 ;
2302 int res2 = 0 ;
2303 int temp3 ;
2304 int res3 = 0 ;
2305 PyObject * obj0 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self", NULL
2308 };
2309
2310 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2311 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetSize",kwnames,&obj0)) goto fail;
2313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2314 if (SWIG_arg_fail(1)) SWIG_fail;
2315 {
2316 PyThreadState* __tstate = wxPyBeginAllowThreads();
2317 ((wxPyWizardPage const *)arg1)->base_DoGetSize(arg2,arg3);
2318
2319 wxPyEndAllowThreads(__tstate);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 }
2322 Py_INCREF(Py_None); resultobj = Py_None;
2323 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2324 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2325 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2326 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2327 return resultobj;
2328 fail:
2329 return NULL;
2330 }
2331
2332
2333 static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2334 PyObject *resultobj;
2335 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2336 int *arg2 = (int *) 0 ;
2337 int *arg3 = (int *) 0 ;
2338 int temp2 ;
2339 int res2 = 0 ;
2340 int temp3 ;
2341 int res3 = 0 ;
2342 PyObject * obj0 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self", NULL
2345 };
2346
2347 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2348 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames,&obj0)) goto fail;
2350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2351 if (SWIG_arg_fail(1)) SWIG_fail;
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
2354 ((wxPyWizardPage const *)arg1)->base_DoGetClientSize(arg2,arg3);
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 }
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2361 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2362 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2363 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2364 return resultobj;
2365 fail:
2366 return NULL;
2367 }
2368
2369
2370 static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
2371 PyObject *resultobj;
2372 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2373 int *arg2 = (int *) 0 ;
2374 int *arg3 = (int *) 0 ;
2375 int temp2 ;
2376 int res2 = 0 ;
2377 int temp3 ;
2378 int res3 = 0 ;
2379 PyObject * obj0 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "self", NULL
2382 };
2383
2384 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2385 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames,&obj0)) goto fail;
2387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2388 if (SWIG_arg_fail(1)) SWIG_fail;
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 ((wxPyWizardPage const *)arg1)->base_DoGetPosition(arg2,arg3);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2398 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2399 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2400 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2401 return resultobj;
2402 fail:
2403 return NULL;
2404 }
2405
2406
2407 static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2408 PyObject *resultobj;
2409 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2410 wxSize result;
2411 PyObject * obj0 = 0 ;
2412 char *kwnames[] = {
2413 (char *) "self", NULL
2414 };
2415
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
2417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2418 if (SWIG_arg_fail(1)) SWIG_fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = ((wxPyWizardPage const *)arg1)->base_DoGetVirtualSize();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 {
2427 wxSize * resultptr;
2428 resultptr = new wxSize((wxSize &)(result));
2429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2430 }
2431 return resultobj;
2432 fail:
2433 return NULL;
2434 }
2435
2436
2437 static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
2438 PyObject *resultobj;
2439 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2440 wxSize result;
2441 PyObject * obj0 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames,&obj0)) goto fail;
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 result = ((wxPyWizardPage const *)arg1)->base_DoGetBestSize();
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 {
2457 wxSize * resultptr;
2458 resultptr = new wxSize((wxSize &)(result));
2459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2460 }
2461 return resultobj;
2462 fail:
2463 return NULL;
2464 }
2465
2466
2467 static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2468 PyObject *resultobj;
2469 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2470 PyObject * obj0 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_InitDialog",kwnames,&obj0)) goto fail;
2476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2477 if (SWIG_arg_fail(1)) SWIG_fail;
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 (arg1)->base_InitDialog();
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 Py_INCREF(Py_None); resultobj = Py_None;
2486 return resultobj;
2487 fail:
2488 return NULL;
2489 }
2490
2491
2492 static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj;
2494 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2495 bool result;
2496 PyObject * obj0 = 0 ;
2497 char *kwnames[] = {
2498 (char *) "self", NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
2502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2503 if (SWIG_arg_fail(1)) SWIG_fail;
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 result = (bool)(arg1)->base_TransferDataToWindow();
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 {
2512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2513 }
2514 return resultobj;
2515 fail:
2516 return NULL;
2517 }
2518
2519
2520 static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2521 PyObject *resultobj;
2522 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2523 bool result;
2524 PyObject * obj0 = 0 ;
2525 char *kwnames[] = {
2526 (char *) "self", NULL
2527 };
2528
2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
2530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2531 if (SWIG_arg_fail(1)) SWIG_fail;
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 result = (bool)(arg1)->base_TransferDataFromWindow();
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 {
2540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2541 }
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2551 bool result;
2552 PyObject * obj0 = 0 ;
2553 char *kwnames[] = {
2554 (char *) "self", NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_Validate",kwnames,&obj0)) goto fail;
2558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2559 if (SWIG_arg_fail(1)) SWIG_fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 result = (bool)(arg1)->base_Validate();
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2569 }
2570 return resultobj;
2571 fail:
2572 return NULL;
2573 }
2574
2575
2576 static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2579 bool result;
2580 PyObject * obj0 = 0 ;
2581 char *kwnames[] = {
2582 (char *) "self", NULL
2583 };
2584
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames,&obj0)) goto fail;
2586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2587 if (SWIG_arg_fail(1)) SWIG_fail;
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocus();
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 {
2596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2597 }
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2607 bool result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2615 if (SWIG_arg_fail(1)) SWIG_fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocusFromKeyboard();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 {
2624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2625 }
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
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_base_GetMaxSize",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)->base_GetMaxSize();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 wxSize * resultptr;
2653 resultptr = new wxSize((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_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2665 wxWindow *arg2 = (wxWindow *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self",(char *) "child", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
2673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2674 if (SWIG_arg_fail(1)) SWIG_fail;
2675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2676 if (SWIG_arg_fail(2)) SWIG_fail;
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 (arg1)->base_AddChild(arg2);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 Py_INCREF(Py_None); resultobj = Py_None;
2685 return resultobj;
2686 fail:
2687 return NULL;
2688 }
2689
2690
2691 static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2694 wxWindow *arg2 = (wxWindow *) 0 ;
2695 PyObject * obj0 = 0 ;
2696 PyObject * obj1 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self",(char *) "child", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2703 if (SWIG_arg_fail(1)) SWIG_fail;
2704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2705 if (SWIG_arg_fail(2)) SWIG_fail;
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 (arg1)->base_RemoveChild(arg2);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) {
2721 PyObject *obj;
2722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2723 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage, obj);
2724 Py_INCREF(obj);
2725 return Py_BuildValue((char *)"");
2726 }
2727 static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxWizard *arg1 = (wxWizard *) 0 ;
2730 wxWizardPage *arg2 = (wxWizardPage *) NULL ;
2731 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
2732 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2733 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2734 wxChar *arg5 = (wxChar *) NULL ;
2735 wxWizardPageSimple *result;
2736 PyObject * obj0 = 0 ;
2737 PyObject * obj1 = 0 ;
2738 PyObject * obj2 = 0 ;
2739 PyObject * obj3 = 0 ;
2740 PyObject * obj4 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2747 if (SWIG_arg_fail(1)) SWIG_fail;
2748 if (obj1) {
2749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2750 if (SWIG_arg_fail(2)) SWIG_fail;
2751 }
2752 if (obj2) {
2753 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2754 if (SWIG_arg_fail(3)) SWIG_fail;
2755 }
2756 if (obj3) {
2757 {
2758 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2759 if (SWIG_arg_fail(4)) SWIG_fail;
2760 if (arg4 == NULL) {
2761 SWIG_null_ref("wxBitmap");
2762 }
2763 if (SWIG_arg_fail(4)) SWIG_fail;
2764 }
2765 }
2766 if (obj4) {
2767 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
2768 if (SWIG_arg_fail(5)) SWIG_fail;
2769 }
2770 {
2771 if (!wxPyCheckForApp()) SWIG_fail;
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5);
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxWizardPageSimple *result;
2788 char *kwnames[] = {
2789 NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizardPageSimple",kwnames)) goto fail;
2793 {
2794 if (!wxPyCheckForApp()) SWIG_fail;
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 result = (wxWizardPageSimple *)new wxWizardPageSimple();
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
2802 return resultobj;
2803 fail:
2804 return NULL;
2805 }
2806
2807
2808 static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2809 PyObject *resultobj;
2810 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2811 wxWizard *arg2 = (wxWizard *) NULL ;
2812 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
2813 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
2814 wxBitmap const &arg5_defvalue = wxNullBitmap ;
2815 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
2816 wxChar *arg6 = (wxChar *) NULL ;
2817 bool result;
2818 PyObject * obj0 = 0 ;
2819 PyObject * obj1 = 0 ;
2820 PyObject * obj2 = 0 ;
2821 PyObject * obj3 = 0 ;
2822 PyObject * obj4 = 0 ;
2823 PyObject * obj5 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2830 if (SWIG_arg_fail(1)) SWIG_fail;
2831 if (obj1) {
2832 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2833 if (SWIG_arg_fail(2)) SWIG_fail;
2834 }
2835 if (obj2) {
2836 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2837 if (SWIG_arg_fail(3)) SWIG_fail;
2838 }
2839 if (obj3) {
2840 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2841 if (SWIG_arg_fail(4)) SWIG_fail;
2842 }
2843 if (obj4) {
2844 {
2845 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2846 if (SWIG_arg_fail(5)) SWIG_fail;
2847 if (arg5 == NULL) {
2848 SWIG_null_ref("wxBitmap");
2849 }
2850 if (SWIG_arg_fail(5)) SWIG_fail;
2851 }
2852 }
2853 if (obj5) {
2854 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
2855 if (SWIG_arg_fail(6)) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 {
2865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2866 }
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2876 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2877 PyObject * obj0 = 0 ;
2878 PyObject * obj1 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self",(char *) "prev", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetPrev",kwnames,&obj0,&obj1)) goto fail;
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
2886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2887 if (SWIG_arg_fail(2)) SWIG_fail;
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->SetPrev(arg2);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2905 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "next", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetNext",kwnames,&obj0,&obj1)) goto fail;
2913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2914 if (SWIG_arg_fail(1)) SWIG_fail;
2915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2916 if (SWIG_arg_fail(2)) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetNext(arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2934 wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ;
2935 PyObject * obj0 = 0 ;
2936 PyObject * obj1 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "first",(char *) "second", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_Chain",kwnames,&obj0,&obj1)) goto fail;
2942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2943 if (SWIG_arg_fail(1)) SWIG_fail;
2944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2945 if (SWIG_arg_fail(2)) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 wxWizardPageSimple::Chain(arg1,arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) {
2961 PyObject *obj;
2962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2963 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple, obj);
2964 Py_INCREF(obj);
2965 return Py_BuildValue((char *)"");
2966 }
2967 static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxWindow *arg1 = (wxWindow *) 0 ;
2970 int arg2 = (int) -1 ;
2971 wxString const &arg3_defvalue = wxPyEmptyString ;
2972 wxString *arg3 = (wxString *) &arg3_defvalue ;
2973 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2974 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2975 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2976 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2977 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
2978 wxWizard *result;
2979 bool temp3 = false ;
2980 wxPoint temp5 ;
2981 PyObject * obj0 = 0 ;
2982 PyObject * obj1 = 0 ;
2983 PyObject * obj2 = 0 ;
2984 PyObject * obj3 = 0 ;
2985 PyObject * obj4 = 0 ;
2986 PyObject * obj5 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Wizard",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail;
2994 if (obj1) {
2995 {
2996 arg2 = (int)(SWIG_As_int(obj1));
2997 if (SWIG_arg_fail(2)) SWIG_fail;
2998 }
2999 }
3000 if (obj2) {
3001 {
3002 arg3 = wxString_in_helper(obj2);
3003 if (arg3 == NULL) SWIG_fail;
3004 temp3 = true;
3005 }
3006 }
3007 if (obj3) {
3008 {
3009 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3010 if (SWIG_arg_fail(4)) SWIG_fail;
3011 if (arg4 == NULL) {
3012 SWIG_null_ref("wxBitmap");
3013 }
3014 if (SWIG_arg_fail(4)) SWIG_fail;
3015 }
3016 }
3017 if (obj4) {
3018 {
3019 arg5 = &temp5;
3020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3021 }
3022 }
3023 if (obj5) {
3024 {
3025 arg6 = (long)(SWIG_As_long(obj5));
3026 if (SWIG_arg_fail(6)) SWIG_fail;
3027 }
3028 }
3029 {
3030 if (!wxPyCheckForApp()) SWIG_fail;
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = (wxWizard *)new wxWizard(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,arg6);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3038 {
3039 if (temp3)
3040 delete arg3;
3041 }
3042 return resultobj;
3043 fail:
3044 {
3045 if (temp3)
3046 delete arg3;
3047 }
3048 return NULL;
3049 }
3050
3051
3052 static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj;
3054 wxWizard *result;
3055 char *kwnames[] = {
3056 NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizard",kwnames)) goto fail;
3060 {
3061 if (!wxPyCheckForApp()) SWIG_fail;
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = (wxWizard *)new wxWizard();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxWizard *arg1 = (wxWizard *) 0 ;
3078 wxWindow *arg2 = (wxWindow *) 0 ;
3079 int arg3 = (int) -1 ;
3080 wxString const &arg4_defvalue = wxPyEmptyString ;
3081 wxString *arg4 = (wxString *) &arg4_defvalue ;
3082 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3083 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3084 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3085 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
3086 bool result;
3087 bool temp4 = false ;
3088 wxPoint temp6 ;
3089 PyObject * obj0 = 0 ;
3090 PyObject * obj1 = 0 ;
3091 PyObject * obj2 = 0 ;
3092 PyObject * obj3 = 0 ;
3093 PyObject * obj4 = 0 ;
3094 PyObject * obj5 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Wizard_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail;
3102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3103 if (SWIG_arg_fail(2)) SWIG_fail;
3104 if (obj2) {
3105 {
3106 arg3 = (int)(SWIG_As_int(obj2));
3107 if (SWIG_arg_fail(3)) SWIG_fail;
3108 }
3109 }
3110 if (obj3) {
3111 {
3112 arg4 = wxString_in_helper(obj3);
3113 if (arg4 == NULL) SWIG_fail;
3114 temp4 = true;
3115 }
3116 }
3117 if (obj4) {
3118 {
3119 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3120 if (SWIG_arg_fail(5)) SWIG_fail;
3121 if (arg5 == NULL) {
3122 SWIG_null_ref("wxBitmap");
3123 }
3124 if (SWIG_arg_fail(5)) SWIG_fail;
3125 }
3126 }
3127 if (obj5) {
3128 {
3129 arg6 = &temp6;
3130 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
3131 }
3132 }
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxPoint const &)*arg6);
3136
3137 wxPyEndAllowThreads(__tstate);
3138 if (PyErr_Occurred()) SWIG_fail;
3139 }
3140 {
3141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3142 }
3143 {
3144 if (temp4)
3145 delete arg4;
3146 }
3147 return resultobj;
3148 fail:
3149 {
3150 if (temp4)
3151 delete arg4;
3152 }
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxWizard *arg1 = (wxWizard *) 0 ;
3160 PyObject * obj0 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_Init",kwnames,&obj0)) goto fail;
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 (arg1)->Init();
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 Py_INCREF(Py_None); resultobj = Py_None;
3176 return resultobj;
3177 fail:
3178 return NULL;
3179 }
3180
3181
3182 static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxWizard *arg1 = (wxWizard *) 0 ;
3185 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3186 bool result;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self",(char *) "firstPage", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_RunWizard",kwnames,&obj0,&obj1)) goto fail;
3194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3195 if (SWIG_arg_fail(1)) SWIG_fail;
3196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3197 if (SWIG_arg_fail(2)) SWIG_fail;
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (bool)(arg1)->RunWizard(arg2);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 {
3206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3207 }
3208 return resultobj;
3209 fail:
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxWizard *arg1 = (wxWizard *) 0 ;
3217 wxWizardPage *result;
3218 PyObject * obj0 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetCurrentPage",kwnames,&obj0)) goto fail;
3224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3225 if (SWIG_arg_fail(1)) SWIG_fail;
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (wxWizardPage *)((wxWizard const *)arg1)->GetCurrentPage();
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 {
3234 resultobj = wxPyMake_wxObject(result, 0);
3235 }
3236 return resultobj;
3237 fail:
3238 return NULL;
3239 }
3240
3241
3242 static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3243 PyObject *resultobj;
3244 wxWizard *arg1 = (wxWizard *) 0 ;
3245 wxSize *arg2 = 0 ;
3246 wxSize temp2 ;
3247 PyObject * obj0 = 0 ;
3248 PyObject * obj1 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self",(char *) "size", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
3254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail;
3256 {
3257 arg2 = &temp2;
3258 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3259 }
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 (arg1)->SetPageSize((wxSize const &)*arg2);
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 Py_INCREF(Py_None); resultobj = Py_None;
3268 return resultobj;
3269 fail:
3270 return NULL;
3271 }
3272
3273
3274 static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxWizard *arg1 = (wxWizard *) 0 ;
3277 wxSize result;
3278 PyObject * obj0 = 0 ;
3279 char *kwnames[] = {
3280 (char *) "self", NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageSize",kwnames,&obj0)) goto fail;
3284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail;
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 result = ((wxWizard const *)arg1)->GetPageSize();
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 {
3294 wxSize * resultptr;
3295 resultptr = new wxSize((wxSize &)(result));
3296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3297 }
3298 return resultobj;
3299 fail:
3300 return NULL;
3301 }
3302
3303
3304 static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 wxWizard *arg1 = (wxWizard *) 0 ;
3307 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self",(char *) "firstPage", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_FitToPage",kwnames,&obj0,&obj1)) goto fail;
3315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3316 if (SWIG_arg_fail(1)) SWIG_fail;
3317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3318 if (SWIG_arg_fail(2)) SWIG_fail;
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 (arg1)->FitToPage((wxWizardPage const *)arg2);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 Py_INCREF(Py_None); resultobj = Py_None;
3327 return resultobj;
3328 fail:
3329 return NULL;
3330 }
3331
3332
3333 static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj;
3335 wxWizard *arg1 = (wxWizard *) 0 ;
3336 wxSizer *result;
3337 PyObject * obj0 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageAreaSizer",kwnames,&obj0)) goto fail;
3343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (wxSizer *)((wxWizard const *)arg1)->GetPageAreaSizer();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 resultobj = wxPyMake_wxSizer(result, 0);
3354 }
3355 return resultobj;
3356 fail:
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj;
3363 wxWizard *arg1 = (wxWizard *) 0 ;
3364 int arg2 ;
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj1 = 0 ;
3367 char *kwnames[] = {
3368 (char *) "self",(char *) "border", NULL
3369 };
3370
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetBorder",kwnames,&obj0,&obj1)) goto fail;
3372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail;
3374 {
3375 arg2 = (int)(SWIG_As_int(obj1));
3376 if (SWIG_arg_fail(2)) SWIG_fail;
3377 }
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 (arg1)->SetBorder(arg2);
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 Py_INCREF(Py_None); resultobj = Py_None;
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxWizard *arg1 = (wxWizard *) 0 ;
3395 bool result;
3396 PyObject * obj0 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "self", NULL
3399 };
3400
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_IsRunning",kwnames,&obj0)) goto fail;
3402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3403 if (SWIG_arg_fail(1)) SWIG_fail;
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 result = (bool)((wxWizard const *)arg1)->IsRunning();
3407
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
3411 {
3412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3413 }
3414 return resultobj;
3415 fail:
3416 return NULL;
3417 }
3418
3419
3420 static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxWizard *arg1 = (wxWizard *) 0 ;
3423 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3424 bool arg3 = (bool) true ;
3425 bool result;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Wizard_ShowPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
3434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3435 if (SWIG_arg_fail(1)) SWIG_fail;
3436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3437 if (SWIG_arg_fail(2)) SWIG_fail;
3438 if (obj2) {
3439 {
3440 arg3 = (bool)(SWIG_As_bool(obj2));
3441 if (SWIG_arg_fail(3)) SWIG_fail;
3442 }
3443 }
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (bool)(arg1)->ShowPage(arg2,arg3);
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3453 }
3454 return resultobj;
3455 fail:
3456 return NULL;
3457 }
3458
3459
3460 static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxWizard *arg1 = (wxWizard *) 0 ;
3463 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3464 bool result;
3465 PyObject * obj0 = 0 ;
3466 PyObject * obj1 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "page", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasNextPage",kwnames,&obj0,&obj1)) goto fail;
3472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail;
3474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3475 if (SWIG_arg_fail(2)) SWIG_fail;
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 result = (bool)(arg1)->HasNextPage(arg2);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 {
3484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxWizard *arg1 = (wxWizard *) 0 ;
3495 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3496 bool result;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self",(char *) "page", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasPrevPage",kwnames,&obj0,&obj1)) goto fail;
3504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3505 if (SWIG_arg_fail(1)) SWIG_fail;
3506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3507 if (SWIG_arg_fail(2)) SWIG_fail;
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 result = (bool)(arg1)->HasPrevPage(arg2);
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3517 }
3518 return resultobj;
3519 fail:
3520 return NULL;
3521 }
3522
3523
3524 static PyObject * Wizard_swigregister(PyObject *, PyObject *args) {
3525 PyObject *obj;
3526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3527 SWIG_TypeClientData(SWIGTYPE_p_wxWizard, obj);
3528 Py_INCREF(obj);
3529 return Py_BuildValue((char *)"");
3530 }
3531 static PyMethodDef SwigMethods[] = {
3532 { (char *)"new_WizardEvent", (PyCFunction) _wrap_new_WizardEvent, METH_VARARGS | METH_KEYWORDS, NULL},
3533 { (char *)"WizardEvent_GetDirection", (PyCFunction) _wrap_WizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
3534 { (char *)"WizardEvent_GetPage", (PyCFunction) _wrap_WizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
3535 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister, METH_VARARGS, NULL},
3536 { (char *)"WizardPage_Create", (PyCFunction) _wrap_WizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3537 { (char *)"WizardPage_GetPrev", (PyCFunction) _wrap_WizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3538 { (char *)"WizardPage_GetNext", (PyCFunction) _wrap_WizardPage_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3539 { (char *)"WizardPage_GetBitmap", (PyCFunction) _wrap_WizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
3540 { (char *)"WizardPage_swigregister", WizardPage_swigregister, METH_VARARGS, NULL},
3541 { (char *)"new_PyWizardPage", (PyCFunction) _wrap_new_PyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3542 { (char *)"new_PrePyWizardPage", (PyCFunction) _wrap_new_PrePyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3543 { (char *)"PyWizardPage_Create", (PyCFunction) _wrap_PyWizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3544 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction) _wrap_PyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
3545 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction) _wrap_PyWizardPage_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3546 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3547 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3548 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3549 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3550 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3551 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction) _wrap_PyWizardPage_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
3552 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3553 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
3554 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction) _wrap_PyWizardPage_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
3555 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3556 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3557 { (char *)"PyWizardPage_base_Validate", (PyCFunction) _wrap_PyWizardPage_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
3558 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
3559 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
3560 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction) _wrap_PyWizardPage_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
3561 { (char *)"PyWizardPage_base_AddChild", (PyCFunction) _wrap_PyWizardPage_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
3562 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction) _wrap_PyWizardPage_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
3563 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister, METH_VARARGS, NULL},
3564 { (char *)"new_WizardPageSimple", (PyCFunction) _wrap_new_WizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3565 { (char *)"new_PreWizardPageSimple", (PyCFunction) _wrap_new_PreWizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3566 { (char *)"WizardPageSimple_Create", (PyCFunction) _wrap_WizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3567 { (char *)"WizardPageSimple_SetPrev", (PyCFunction) _wrap_WizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3568 { (char *)"WizardPageSimple_SetNext", (PyCFunction) _wrap_WizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3569 { (char *)"WizardPageSimple_Chain", (PyCFunction) _wrap_WizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS, NULL},
3570 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister, METH_VARARGS, NULL},
3571 { (char *)"new_Wizard", (PyCFunction) _wrap_new_Wizard, METH_VARARGS | METH_KEYWORDS, NULL},
3572 { (char *)"new_PreWizard", (PyCFunction) _wrap_new_PreWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3573 { (char *)"Wizard_Create", (PyCFunction) _wrap_Wizard_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3574 { (char *)"Wizard_Init", (PyCFunction) _wrap_Wizard_Init, METH_VARARGS | METH_KEYWORDS, NULL},
3575 { (char *)"Wizard_RunWizard", (PyCFunction) _wrap_Wizard_RunWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3576 { (char *)"Wizard_GetCurrentPage", (PyCFunction) _wrap_Wizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
3577 { (char *)"Wizard_SetPageSize", (PyCFunction) _wrap_Wizard_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3578 { (char *)"Wizard_GetPageSize", (PyCFunction) _wrap_Wizard_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3579 { (char *)"Wizard_FitToPage", (PyCFunction) _wrap_Wizard_FitToPage, METH_VARARGS | METH_KEYWORDS, NULL},
3580 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction) _wrap_Wizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS, NULL},
3581 { (char *)"Wizard_SetBorder", (PyCFunction) _wrap_Wizard_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3582 { (char *)"Wizard_IsRunning", (PyCFunction) _wrap_Wizard_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
3583 { (char *)"Wizard_ShowPage", (PyCFunction) _wrap_Wizard_ShowPage, METH_VARARGS | METH_KEYWORDS, NULL},
3584 { (char *)"Wizard_HasNextPage", (PyCFunction) _wrap_Wizard_HasNextPage, METH_VARARGS | METH_KEYWORDS, NULL},
3585 { (char *)"Wizard_HasPrevPage", (PyCFunction) _wrap_Wizard_HasPrevPage, METH_VARARGS | METH_KEYWORDS, NULL},
3586 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS, NULL},
3587 { NULL, NULL, 0, NULL }
3588 };
3589
3590
3591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3592
3593 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
3594 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
3595 }
3596 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
3597 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
3598 }
3599 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
3600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
3601 }
3602 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
3603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
3604 }
3605 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
3606 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
3607 }
3608 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
3609 return (void *)((wxObject *) ((wxSizerItem *) x));
3610 }
3611 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
3612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
3613 }
3614 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
3615 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
3616 }
3617 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
3618 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
3619 }
3620 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
3621 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
3622 }
3623 static void *_p_wxSizerTo_p_wxObject(void *x) {
3624 return (void *)((wxObject *) ((wxSizer *) x));
3625 }
3626 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
3627 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
3628 }
3629 static void *_p_wxWizardPageTo_p_wxObject(void *x) {
3630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxWizardPage *) x));
3631 }
3632 static void *_p_wxPyWizardPageTo_p_wxObject(void *x) {
3633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
3634 }
3635 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
3636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
3637 }
3638 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
3639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
3640 }
3641 static void *_p_wxEventTo_p_wxObject(void *x) {
3642 return (void *)((wxObject *) ((wxEvent *) x));
3643 }
3644 static void *_p_wxFontDataTo_p_wxObject(void *x) {
3645 return (void *)((wxObject *) ((wxFontData *) x));
3646 }
3647 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
3648 return (void *)((wxObject *) ((wxPrintData *) x));
3649 }
3650 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
3651 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
3652 }
3653 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
3654 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
3655 }
3656 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
3657 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
3658 }
3659 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
3660 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
3661 }
3662 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
3663 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
3664 }
3665 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
3666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
3667 }
3668 static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x) {
3669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
3670 }
3671 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
3672 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
3673 }
3674 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
3675 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
3676 }
3677 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
3678 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
3679 }
3680 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
3681 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
3682 }
3683 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
3684 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3685 }
3686 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
3687 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
3688 }
3689 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
3690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
3691 }
3692 static void *_p_wxControlTo_p_wxObject(void *x) {
3693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
3694 }
3695 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
3696 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
3697 }
3698 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
3699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
3700 }
3701 static void *_p_wxFSFileTo_p_wxObject(void *x) {
3702 return (void *)((wxObject *) ((wxFSFile *) x));
3703 }
3704 static void *_p_wxWizardTo_p_wxObject(void *x) {
3705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
3706 }
3707 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
3708 return (void *)((wxObject *) ((wxFindReplaceData *) x));
3709 }
3710 static void *_p_wxPySizerTo_p_wxObject(void *x) {
3711 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
3712 }
3713 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
3714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
3715 }
3716 static void *_p_wxColourDataTo_p_wxObject(void *x) {
3717 return (void *)((wxObject *) ((wxColourData *) x));
3718 }
3719 static void *_p_wxPyEventTo_p_wxObject(void *x) {
3720 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
3721 }
3722 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
3723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
3724 }
3725 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
3726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
3727 }
3728 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
3729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
3730 }
3731 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
3732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
3733 }
3734 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
3735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
3736 }
3737 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
3738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
3739 }
3740 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
3741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
3742 }
3743 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
3744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
3745 }
3746 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
3747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
3748 }
3749 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
3750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
3751 }
3752 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
3753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
3754 }
3755 static void *_p_wxShowEventTo_p_wxObject(void *x) {
3756 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
3757 }
3758 static void *_p_wxPrinterTo_p_wxObject(void *x) {
3759 return (void *)((wxObject *) ((wxPrinter *) x));
3760 }
3761 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
3762 return (void *)((wxObject *) ((wxMenuItem *) x));
3763 }
3764 static void *_p_wxDateEventTo_p_wxObject(void *x) {
3765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
3766 }
3767 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
3768 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
3769 }
3770 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
3771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
3772 }
3773 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
3774 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
3775 }
3776 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
3777 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
3778 }
3779 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
3780 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
3781 }
3782 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
3783 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
3784 }
3785 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
3786 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
3787 }
3788 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
3789 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
3790 }
3791 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
3792 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
3793 }
3794 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
3795 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
3796 }
3797 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
3798 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
3799 }
3800 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
3801 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
3802 }
3803 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
3804 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
3805 }
3806 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
3807 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
3808 }
3809 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
3810 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
3811 }
3812 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
3813 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
3814 }
3815 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
3816 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
3817 }
3818 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
3819 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
3820 }
3821 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
3822 return (void *)((wxObject *) ((wxImageHandler *) x));
3823 }
3824 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
3825 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
3826 }
3827 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
3828 return (void *)((wxObject *) ((wxEvtHandler *) x));
3829 }
3830 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
3831 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
3832 }
3833 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
3834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
3835 }
3836 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
3837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
3838 }
3839 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
3840 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
3841 }
3842 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
3843 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
3844 }
3845 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
3846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
3847 }
3848 static void *_p_wxImageTo_p_wxObject(void *x) {
3849 return (void *)((wxObject *) ((wxImage *) x));
3850 }
3851 static void *_p_wxFrameTo_p_wxObject(void *x) {
3852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
3853 }
3854 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
3855 return (void *)((wxObject *) ((wxPyPrintout *) x));
3856 }
3857 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
3858 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
3859 }
3860 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
3861 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
3862 }
3863 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
3864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
3865 }
3866 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
3867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
3868 }
3869 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
3870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3871 }
3872 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
3873 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
3874 }
3875 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
3876 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
3877 }
3878 static void *_p_wxWindowTo_p_wxObject(void *x) {
3879 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
3880 }
3881 static void *_p_wxMenuTo_p_wxObject(void *x) {
3882 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
3883 }
3884 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
3885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
3886 }
3887 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
3888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
3889 }
3890 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
3891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
3892 }
3893 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
3894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
3895 }
3896 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
3897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
3898 }
3899 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
3900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
3901 }
3902 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
3903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
3904 }
3905 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
3906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
3907 }
3908 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
3909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
3910 }
3911 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
3912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
3913 }
3914 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
3915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
3916 }
3917 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
3918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
3919 }
3920 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
3921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
3922 }
3923 static void *_p_wxSashEventTo_p_wxObject(void *x) {
3924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
3925 }
3926 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
3927 return (void *)((wxObject *) ((wxPrintPreview *) x));
3928 }
3929 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
3930 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
3931 }
3932 static void *_p_wxPanelTo_p_wxObject(void *x) {
3933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
3934 }
3935 static void *_p_wxDialogTo_p_wxObject(void *x) {
3936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
3937 }
3938 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
3939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
3940 }
3941 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
3942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
3943 }
3944 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
3945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
3946 }
3947 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
3948 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
3949 }
3950 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
3951 return (void *)((wxObject *) ((wxPrintDialog *) x));
3952 }
3953 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
3954 return (void *)((wxObject *) ((wxFileSystem *) x));
3955 }
3956 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
3957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
3958 }
3959 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
3960 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
3961 }
3962 static void *_p_wxPyAppTo_p_wxObject(void *x) {
3963 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
3964 }
3965 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
3966 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
3967 }
3968 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
3969 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
3970 }
3971 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
3972 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
3973 }
3974 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
3975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
3976 }
3977 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
3978 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
3979 }
3980 static void *_p_wxWizardEventTo_p_wxObject(void *x) {
3981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
3982 }
3983 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
3984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
3985 }
3986 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
3987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
3988 }
3989 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
3990 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
3991 }
3992 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
3993 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
3994 }
3995 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
3996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
3997 }
3998 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
3999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4000 }
4001 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
4002 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
4003 }
4004 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
4005 return (void *)((wxObject *) ((wxPrintDialogData *) x));
4006 }
4007 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
4008 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
4009 }
4010 static void *_p_wxValidatorTo_p_wxObject(void *x) {
4011 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
4012 }
4013 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
4014 return (void *)((wxDialog *) ((wxColourDialog *) x));
4015 }
4016 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
4017 return (void *)((wxDialog *) ((wxDirDialog *) x));
4018 }
4019 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
4020 return (void *)((wxDialog *) ((wxFontDialog *) x));
4021 }
4022 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
4023 return (void *)((wxDialog *) ((wxFileDialog *) x));
4024 }
4025 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
4026 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
4027 }
4028 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
4029 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
4030 }
4031 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
4032 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
4033 }
4034 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
4035 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4036 }
4037 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
4038 return (void *)((wxDialog *) ((wxMessageDialog *) x));
4039 }
4040 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
4041 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
4042 }
4043 static void *_p_wxWizardTo_p_wxDialog(void *x) {
4044 return (void *)((wxDialog *) ((wxWizard *) x));
4045 }
4046 static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x) {
4047 return (void *)((wxWizardPage *) ((wxWizardPageSimple *) x));
4048 }
4049 static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x) {
4050 return (void *)((wxWizardPage *) ((wxPyWizardPage *) x));
4051 }
4052 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
4053 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
4054 }
4055 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
4056 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
4057 }
4058 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
4059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
4060 }
4061 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
4062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
4063 }
4064 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
4065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
4066 }
4067 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
4068 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
4069 }
4070 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
4071 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
4072 }
4073 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
4074 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
4075 }
4076 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
4077 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
4078 }
4079 static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x) {
4080 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxWizard *) x));
4081 }
4082 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
4083 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
4084 }
4085 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
4086 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
4087 }
4088 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
4089 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4090 }
4091 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
4092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
4093 }
4094 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
4096 }
4097 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
4099 }
4100 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
4101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
4102 }
4103 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
4104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
4105 }
4106 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4107 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
4108 }
4109 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4110 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4111 }
4112 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
4113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4114 }
4115 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
4116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4117 }
4118 static void *_p_wxWizardPageTo_p_wxWindow(void *x) {
4119 return (void *)((wxWindow *) (wxPanel *) ((wxWizardPage *) x));
4120 }
4121 static void *_p_wxPyWizardPageTo_p_wxWindow(void *x) {
4122 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4123 }
4124 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
4125 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
4126 }
4127 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
4128 return (void *)((wxWindow *) ((wxMenuBar *) x));
4129 }
4130 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
4131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4132 }
4133 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
4134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4135 }
4136 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
4137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4138 }
4139 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
4140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4141 }
4142 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
4143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4144 }
4145 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
4146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4147 }
4148 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
4149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4150 }
4151 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
4152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4153 }
4154 static void *_p_wxPanelTo_p_wxWindow(void *x) {
4155 return (void *)((wxWindow *) ((wxPanel *) x));
4156 }
4157 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
4158 return (void *)((wxWindow *) ((wxStatusBar *) x));
4159 }
4160 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
4161 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
4162 }
4163 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
4164 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
4165 }
4166 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
4167 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4168 }
4169 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
4170 return (void *)((wxWindow *) ((wxPopupWindow *) x));
4171 }
4172 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
4173 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
4174 }
4175 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
4176 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
4177 }
4178 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
4179 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
4180 }
4181 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
4182 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
4183 }
4184 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
4185 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
4186 }
4187 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
4188 return (void *)((wxWindow *) ((wxSashWindow *) x));
4189 }
4190 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
4191 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
4192 }
4193 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
4194 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4195 }
4196 static void *_p_wxControlTo_p_wxWindow(void *x) {
4197 return (void *)((wxWindow *) ((wxControl *) x));
4198 }
4199 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
4200 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4201 }
4202 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
4203 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4204 }
4205 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
4206 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4207 }
4208 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
4209 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
4210 }
4211 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
4212 return (void *)((wxWindow *) ((wxPyWindow *) x));
4213 }
4214 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
4215 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4216 }
4217 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
4218 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4219 }
4220 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
4221 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4222 }
4223 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
4224 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
4225 }
4226 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
4227 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4228 }
4229 static void *_p_wxWizardTo_p_wxWindow(void *x) {
4230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4231 }
4232 static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x) {
4233 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4234 }
4235 static void *_p_wxFrameTo_p_wxWindow(void *x) {
4236 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
4237 }
4238 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
4239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4240 }
4241 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
4242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4243 }
4244 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
4245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4246 }
4247 static void *_p_wxDialogTo_p_wxWindow(void *x) {
4248 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
4249 }
4250 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
4251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4252 }
4253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
4254 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
4255 }
4256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
4257 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
4258 }
4259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
4260 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
4261 }
4262 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
4263 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
4264 }
4265 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
4266 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
4267 }
4268 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
4269 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
4270 }
4271 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
4272 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4273 }
4274 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
4275 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
4276 }
4277 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
4278 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
4279 }
4280 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
4281 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
4282 }
4283 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
4284 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
4285 }
4286 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
4287 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
4288 }
4289 static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x) {
4290 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxWizardEvent *) x));
4291 }
4292 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
4293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4294 }
4295 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
4296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4297 }
4298 static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x) {
4299 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxWizardPage *) x));
4300 }
4301 static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x) {
4302 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4303 }
4304 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
4305 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
4306 }
4307 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
4308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
4309 }
4310 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
4311 return (void *)((wxEvtHandler *) ((wxValidator *) x));
4312 }
4313 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
4314 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
4315 }
4316 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
4317 return (void *)((wxEvtHandler *) ((wxMenu *) x));
4318 }
4319 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
4320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4321 }
4322 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
4323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4324 }
4325 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
4326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4327 }
4328 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
4329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4330 }
4331 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
4332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4333 }
4334 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
4335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4336 }
4337 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
4338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4339 }
4340 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
4341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4342 }
4343 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
4344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
4345 }
4346 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
4347 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
4348 }
4349 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
4350 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4351 }
4352 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
4353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
4354 }
4355 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
4356 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4357 }
4358 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
4359 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
4360 }
4361 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
4362 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4363 }
4364 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
4365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
4366 }
4367 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
4368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
4369 }
4370 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
4371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
4372 }
4373 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
4374 return (void *)((wxEvtHandler *) ((wxWindow *) x));
4375 }
4376 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
4377 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4378 }
4379 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
4380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
4381 }
4382 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
4383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
4384 }
4385 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
4386 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4387 }
4388 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
4389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
4390 }
4391 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
4392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4393 }
4394 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
4395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4396 }
4397 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
4398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4399 }
4400 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
4401 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
4402 }
4403 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
4404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4405 }
4406 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
4407 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
4408 }
4409 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
4410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4411 }
4412 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
4413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4414 }
4415 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
4416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4417 }
4418 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
4419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4420 }
4421 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
4422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4423 }
4424 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
4425 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
4426 }
4427 static void *_p_wxWizardTo_p_wxEvtHandler(void *x) {
4428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4429 }
4430 static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x) {
4431 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4432 }
4433 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
4434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4435 }
4436 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
4437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4438 }
4439 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
4440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4441 }
4442 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
4443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4444 }
4445 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
4446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4447 }
4448 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
4449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4450 }
4451 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
4452 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
4453 }
4454 static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x) {
4455 return (void *)((wxNotifyEvent *) ((wxWizardEvent *) x));
4456 }
4457 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
4458 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
4459 }
4460 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
4461 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
4462 }
4463 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
4464 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4465 }
4466 static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x) {
4467 return (void *)((wxPanel *) (wxWizardPage *) ((wxWizardPageSimple *) x));
4468 }
4469 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
4470 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4471 }
4472 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
4473 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4474 }
4475 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
4476 return (void *)((wxPanel *) ((wxPyPanel *) x));
4477 }
4478 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
4479 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
4480 }
4481 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
4482 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
4483 }
4484 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
4485 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4486 }
4487 static void *_p_wxWizardPageTo_p_wxPanel(void *x) {
4488 return (void *)((wxPanel *) ((wxWizardPage *) x));
4489 }
4490 static void *_p_wxPyWizardPageTo_p_wxPanel(void *x) {
4491 return (void *)((wxPanel *) (wxWizardPage *) ((wxPyWizardPage *) x));
4492 }
4493 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
4494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
4495 }
4496 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
4497 return (void *)((wxEvent *) ((wxMenuEvent *) x));
4498 }
4499 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
4500 return (void *)((wxEvent *) ((wxCloseEvent *) x));
4501 }
4502 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
4503 return (void *)((wxEvent *) ((wxMouseEvent *) x));
4504 }
4505 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
4506 return (void *)((wxEvent *) ((wxEraseEvent *) x));
4507 }
4508 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
4509 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
4510 }
4511 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
4512 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
4513 }
4514 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
4515 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
4516 }
4517 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
4518 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
4519 }
4520 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
4521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
4522 }
4523 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
4524 return (void *)((wxEvent *) ((wxPyEvent *) x));
4525 }
4526 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
4527 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
4528 }
4529 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
4530 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
4531 }
4532 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
4533 return (void *)((wxEvent *) ((wxIdleEvent *) x));
4534 }
4535 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
4536 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
4537 }
4538 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
4539 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
4540 }
4541 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
4542 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
4543 }
4544 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
4545 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
4546 }
4547 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
4548 return (void *)((wxEvent *) ((wxActivateEvent *) x));
4549 }
4550 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
4551 return (void *)((wxEvent *) ((wxSizeEvent *) x));
4552 }
4553 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
4554 return (void *)((wxEvent *) ((wxMoveEvent *) x));
4555 }
4556 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
4557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
4558 }
4559 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
4560 return (void *)((wxEvent *) ((wxPaintEvent *) x));
4561 }
4562 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
4563 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
4564 }
4565 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
4566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
4567 }
4568 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
4569 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
4570 }
4571 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
4572 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
4573 }
4574 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
4575 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
4576 }
4577 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
4578 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
4579 }
4580 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
4581 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
4582 }
4583 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
4584 return (void *)((wxEvent *) ((wxFocusEvent *) x));
4585 }
4586 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
4587 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
4588 }
4589 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
4590 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
4591 }
4592 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
4593 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
4594 }
4595 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
4596 return (void *)((wxEvent *) ((wxShowEvent *) x));
4597 }
4598 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
4599 return (void *)((wxEvent *) ((wxCommandEvent *) x));
4600 }
4601 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
4602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
4603 }
4604 static void *_p_wxWizardEventTo_p_wxEvent(void *x) {
4605 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4606 }
4607 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
4608 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4609 }
4610 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
4611 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
4612 }
4613 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
4614 return (void *)((wxEvent *) ((wxKeyEvent *) x));
4615 }
4616 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
4617 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
4618 }
4619 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
4620 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
4621 }
4622 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4623 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4624 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4625 static swig_type_info _swigt__p_wxWizardPageSimple[] = {{"_p_wxWizardPageSimple", 0, "wxWizardPageSimple *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4626 static swig_type_info _swigt__p_wxWizardPage[] = {{"_p_wxWizardPage", 0, "wxWizardPage *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0, 0, 0, 0},{"_p_wxWizardPage", 0, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWizardPage, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4627 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4628 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4629 static swig_type_info _swigt__p_wxPyWizardPage[] = {{"_p_wxPyWizardPage", 0, "wxPyWizardPage *", 0, 0, 0, 0},{"_p_wxPyWizardPage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4630 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4631 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4632 static swig_type_info _swigt__p_wxWizardEvent[] = {{"_p_wxWizardEvent", 0, "wxWizardEvent *", 0, 0, 0, 0},{"_p_wxWizardEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4633 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4634 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4635 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4636 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4637 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4638 static swig_type_info _swigt__p_wxWizard[] = {{"_p_wxWizard", 0, "wxWizard *", 0, 0, 0, 0},{"_p_wxWizard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4639 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4640 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4641 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4642 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4643 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4644 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4645 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4646 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4647 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4648 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4649 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4650 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4651
4652 static swig_type_info *swig_types_initial[] = {
4653 _swigt__p_wxObject,
4654 _swigt__p_wxDialog,
4655 _swigt__p_unsigned_char,
4656 _swigt__p_wxWizardPageSimple,
4657 _swigt__p_wxWizardPage,
4658 _swigt__p_wxTopLevelWindow,
4659 _swigt__p_wxWindow,
4660 _swigt__p_wxPyWizardPage,
4661 _swigt__p_wxCommandEvent,
4662 _swigt__p_unsigned_long,
4663 _swigt__p_wxWizardEvent,
4664 _swigt__p_wxBitmap,
4665 _swigt__unsigned_int,
4666 _swigt__p_unsigned_int,
4667 _swigt__p_form_ops_t,
4668 _swigt__p_wxDuplexMode,
4669 _swigt__p_wxWizard,
4670 _swigt__p_char,
4671 _swigt__p_wxEvtHandler,
4672 _swigt__p_wxString,
4673 _swigt__std__ptrdiff_t,
4674 _swigt__ptrdiff_t,
4675 _swigt__p_wxNotifyEvent,
4676 _swigt__p_wxPanel,
4677 _swigt__p_wxEvent,
4678 _swigt__p_wxPaperSize,
4679 _swigt__p_wxSize,
4680 _swigt__p_wxChar,
4681 _swigt__p_int,
4682 0
4683 };
4684
4685
4686 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4687
4688 static swig_const_info swig_const_table[] = {
4689 {0, 0, 0, 0.0, 0, 0}};
4690
4691 #ifdef __cplusplus
4692 }
4693 #endif
4694
4695
4696 #ifdef __cplusplus
4697 extern "C" {
4698 #endif
4699
4700 /* Python-specific SWIG API */
4701 #define SWIG_newvarlink() SWIG_Python_newvarlink()
4702 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4703 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4704
4705 /* -----------------------------------------------------------------------------
4706 * global variable support code.
4707 * ----------------------------------------------------------------------------- */
4708
4709 typedef struct swig_globalvar {
4710 char *name; /* Name of global variable */
4711 PyObject *(*get_attr)(); /* Return the current value */
4712 int (*set_attr)(PyObject *); /* Set the value */
4713 struct swig_globalvar *next;
4714 } swig_globalvar;
4715
4716 typedef struct swig_varlinkobject {
4717 PyObject_HEAD
4718 swig_globalvar *vars;
4719 } swig_varlinkobject;
4720
4721 static PyObject *
4722 swig_varlink_repr(swig_varlinkobject *v) {
4723 v = v;
4724 return PyString_FromString("<Swig global variables>");
4725 }
4726
4727 static int
4728 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
4729 swig_globalvar *var;
4730 flags = flags;
4731 fprintf(fp,"Swig global variables { ");
4732 for (var = v->vars; var; var=var->next) {
4733 fprintf(fp,"%s", var->name);
4734 if (var->next) fprintf(fp,", ");
4735 }
4736 fprintf(fp," }\n");
4737 return 0;
4738 }
4739
4740 static PyObject *
4741 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
4742 swig_globalvar *var = v->vars;
4743 while (var) {
4744 if (strcmp(var->name,n) == 0) {
4745 return (*var->get_attr)();
4746 }
4747 var = var->next;
4748 }
4749 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4750 return NULL;
4751 }
4752
4753 static int
4754 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
4755 swig_globalvar *var = v->vars;
4756 while (var) {
4757 if (strcmp(var->name,n) == 0) {
4758 return (*var->set_attr)(p);
4759 }
4760 var = var->next;
4761 }
4762 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4763 return 1;
4764 }
4765
4766 static PyTypeObject varlinktype = {
4767 PyObject_HEAD_INIT(0)
4768 0, /* Number of items in variable part (ob_size) */
4769 (char *)"swigvarlink", /* Type name (tp_name) */
4770 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
4771 0, /* Itemsize (tp_itemsize) */
4772 0, /* Deallocator (tp_dealloc) */
4773 (printfunc) swig_varlink_print, /* Print (tp_print) */
4774 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
4775 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
4776 0, /* tp_compare */
4777 (reprfunc) swig_varlink_repr, /* tp_repr */
4778 0, /* tp_as_number */
4779 0, /* tp_as_sequence */
4780 0, /* tp_as_mapping */
4781 0, /* tp_hash */
4782 0, /* tp_call */
4783 0, /* tp_str */
4784 0, /* tp_getattro */
4785 0, /* tp_setattro */
4786 0, /* tp_as_buffer */
4787 0, /* tp_flags */
4788 0, /* tp_doc */
4789 #if PY_VERSION_HEX >= 0x02000000
4790 0, /* tp_traverse */
4791 0, /* tp_clear */
4792 #endif
4793 #if PY_VERSION_HEX >= 0x02010000
4794 0, /* tp_richcompare */
4795 0, /* tp_weaklistoffset */
4796 #endif
4797 #if PY_VERSION_HEX >= 0x02020000
4798 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4799 #endif
4800 #if PY_VERSION_HEX >= 0x02030000
4801 0, /* tp_del */
4802 #endif
4803 #ifdef COUNT_ALLOCS
4804 0,0,0,0 /* tp_alloc -> tp_next */
4805 #endif
4806 };
4807
4808 /* Create a variable linking object for use later */
4809 static PyObject *
4810 SWIG_Python_newvarlink(void) {
4811 swig_varlinkobject *result = 0;
4812 result = PyMem_NEW(swig_varlinkobject,1);
4813 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
4814 result->ob_type = &varlinktype;
4815 result->vars = 0;
4816 result->ob_refcnt = 0;
4817 Py_XINCREF((PyObject *) result);
4818 return ((PyObject*) result);
4819 }
4820
4821 static void
4822 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
4823 swig_varlinkobject *v;
4824 swig_globalvar *gv;
4825 v= (swig_varlinkobject *) p;
4826 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
4827 gv->name = (char *) malloc(strlen(name)+1);
4828 strcpy(gv->name,name);
4829 gv->get_attr = get_attr;
4830 gv->set_attr = set_attr;
4831 gv->next = v->vars;
4832 v->vars = gv;
4833 }
4834
4835 /* -----------------------------------------------------------------------------
4836 * constants/methods manipulation
4837 * ----------------------------------------------------------------------------- */
4838
4839 /* Install Constants */
4840 static void
4841 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
4842 PyObject *obj = 0;
4843 size_t i;
4844 for (i = 0; constants[i].type; i++) {
4845 switch(constants[i].type) {
4846 case SWIG_PY_INT:
4847 obj = PyInt_FromLong(constants[i].lvalue);
4848 break;
4849 case SWIG_PY_FLOAT:
4850 obj = PyFloat_FromDouble(constants[i].dvalue);
4851 break;
4852 case SWIG_PY_STRING:
4853 if (constants[i].pvalue) {
4854 obj = PyString_FromString((char *) constants[i].pvalue);
4855 } else {
4856 Py_INCREF(Py_None);
4857 obj = Py_None;
4858 }
4859 break;
4860 case SWIG_PY_POINTER:
4861 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
4862 break;
4863 case SWIG_PY_BINARY:
4864 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
4865 break;
4866 default:
4867 obj = 0;
4868 break;
4869 }
4870 if (obj) {
4871 PyDict_SetItemString(d,constants[i].name,obj);
4872 Py_DECREF(obj);
4873 }
4874 }
4875 }
4876
4877 /* -----------------------------------------------------------------------------*/
4878 /* Fix SwigMethods to carry the callback ptrs when needed */
4879 /* -----------------------------------------------------------------------------*/
4880
4881 static void
4882 SWIG_Python_FixMethods(PyMethodDef *methods,
4883 swig_const_info *const_table,
4884 swig_type_info **types,
4885 swig_type_info **types_initial) {
4886 size_t i;
4887 for (i = 0; methods[i].ml_name; ++i) {
4888 char *c = methods[i].ml_doc;
4889 if (c && (c = strstr(c, "swig_ptr: "))) {
4890 int j;
4891 swig_const_info *ci = 0;
4892 char *name = c + 10;
4893 for (j = 0; const_table[j].type; j++) {
4894 if (strncmp(const_table[j].name, name,
4895 strlen(const_table[j].name)) == 0) {
4896 ci = &(const_table[j]);
4897 break;
4898 }
4899 }
4900 if (ci) {
4901 size_t shift = (ci->ptype) - types;
4902 swig_type_info *ty = types_initial[shift];
4903 size_t ldoc = (c - methods[i].ml_doc);
4904 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
4905 char *ndoc = (char*)malloc(ldoc + lptr + 10);
4906 char *buff = ndoc;
4907 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
4908 strncpy(buff, methods[i].ml_doc, ldoc);
4909 buff += ldoc;
4910 strncpy(buff, "swig_ptr: ", 10);
4911 buff += 10;
4912 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
4913 methods[i].ml_doc = ndoc;
4914 }
4915 }
4916 }
4917 }
4918
4919 /* -----------------------------------------------------------------------------*
4920 * Initialize type list
4921 * -----------------------------------------------------------------------------*/
4922
4923 #if PY_MAJOR_VERSION < 2
4924 /* PyModule_AddObject function was introduced in Python 2.0. The following function
4925 is copied out of Python/modsupport.c in python version 2.3.4 */
4926 static int
4927 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
4928 {
4929 PyObject *dict;
4930 if (!PyModule_Check(m)) {
4931 PyErr_SetString(PyExc_TypeError,
4932 "PyModule_AddObject() needs module as first arg");
4933 return -1;
4934 }
4935 if (!o) {
4936 PyErr_SetString(PyExc_TypeError,
4937 "PyModule_AddObject() needs non-NULL value");
4938 return -1;
4939 }
4940
4941 dict = PyModule_GetDict(m);
4942 if (dict == NULL) {
4943 /* Internal error -- modules must have a dict! */
4944 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
4945 PyModule_GetName(m));
4946 return -1;
4947 }
4948 if (PyDict_SetItemString(dict, name, o))
4949 return -1;
4950 Py_DECREF(o);
4951 return 0;
4952 }
4953 #endif
4954
4955 static swig_type_info **
4956 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
4957 static PyMethodDef swig_empty_runtime_method_table[] = {
4958 {
4959 NULL, NULL, 0, NULL
4960 }
4961 };/* Sentinel */
4962
4963 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
4964 swig_empty_runtime_method_table);
4965 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
4966 if (pointer && module) {
4967 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
4968 }
4969 return type_list_handle;
4970 }
4971
4972 static swig_type_info **
4973 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
4974 swig_type_info **type_pointer;
4975
4976 /* first check if module already created */
4977 type_pointer = SWIG_Python_GetTypeListHandle();
4978 if (type_pointer) {
4979 return type_pointer;
4980 } else {
4981 /* create a new module and variable */
4982 return SWIG_Python_SetTypeListHandle(type_list_handle);
4983 }
4984 }
4985
4986 #ifdef __cplusplus
4987 }
4988 #endif
4989
4990 /* -----------------------------------------------------------------------------*
4991 * Partial Init method
4992 * -----------------------------------------------------------------------------*/
4993
4994 #ifdef SWIG_LINK_RUNTIME
4995 #ifdef __cplusplus
4996 extern "C"
4997 #endif
4998 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
4999 #endif
5000
5001 #ifdef __cplusplus
5002 extern "C"
5003 #endif
5004 SWIGEXPORT(void) SWIG_init(void) {
5005 static PyObject *SWIG_globals = 0;
5006 static int typeinit = 0;
5007 PyObject *m, *d;
5008 int i;
5009 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
5010
5011 /* Fix SwigMethods to carry the callback ptrs when needed */
5012 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
5013
5014 m = Py_InitModule((char *) SWIG_name, SwigMethods);
5015 d = PyModule_GetDict(m);
5016
5017 if (!typeinit) {
5018 #ifdef SWIG_LINK_RUNTIME
5019 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
5020 #else
5021 # ifndef SWIG_STATIC_RUNTIME
5022 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
5023 # endif
5024 #endif
5025 for (i = 0; swig_types_initial[i]; i++) {
5026 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
5027 }
5028 typeinit = 1;
5029 }
5030 SWIG_InstallConstants(d,swig_const_table);
5031
5032 {
5033 PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON)));
5034 }
5035 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED));
5036 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING));
5037 PyDict_SetItemString(d, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL));
5038 PyDict_SetItemString(d, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP));
5039 PyDict_SetItemString(d, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED));
5040
5041
5042 }
5043