]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/wizard_wrap.cpp
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
[wxWidgets.git] / wxPython / src / mac / 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 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxObject swig_types[0]
1343 #define SWIGTYPE_p_wxDialog swig_types[1]
1344 #define SWIGTYPE_p_unsigned_char swig_types[2]
1345 #define SWIGTYPE_p_wxWizardPageSimple swig_types[3]
1346 #define SWIGTYPE_p_wxWizardPage swig_types[4]
1347 #define SWIGTYPE_p_wxTopLevelWindow swig_types[5]
1348 #define SWIGTYPE_p_wxWindow swig_types[6]
1349 #define SWIGTYPE_p_wxPyWizardPage swig_types[7]
1350 #define SWIGTYPE_p_wxCommandEvent swig_types[8]
1351 #define SWIGTYPE_p_unsigned_long swig_types[9]
1352 #define SWIGTYPE_p_wxWizardEvent swig_types[10]
1353 #define SWIGTYPE_p_wxBitmap swig_types[11]
1354 #define SWIGTYPE_unsigned_int swig_types[12]
1355 #define SWIGTYPE_p_unsigned_int swig_types[13]
1356 #define SWIGTYPE_p_form_ops_t swig_types[14]
1357 #define SWIGTYPE_p_wxDuplexMode swig_types[15]
1358 #define SWIGTYPE_p_wxWizard swig_types[16]
1359 #define SWIGTYPE_p_char swig_types[17]
1360 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1361 #define SWIGTYPE_p_wxString swig_types[19]
1362 #define SWIGTYPE_std__ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_p_wxNotifyEvent swig_types[22]
1365 #define SWIGTYPE_p_wxPanel swig_types[23]
1366 #define SWIGTYPE_p_wxEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxChar swig_types[27]
1370 #define SWIGTYPE_p_int swig_types[28]
1371 static swig_type_info *swig_types[30];
1372
1373 /* -------- TYPES TABLE (END) -------- */
1374
1375
1376 /*-----------------------------------------------
1377 @(target):= _wizard.so
1378 ------------------------------------------------*/
1379 #define SWIG_init init_wizard
1380
1381 #define SWIG_name "_wizard"
1382
1383 #include "wx/wxPython/wxPython.h"
1384 #include "wx/wxPython/pyclasses.h"
1385 #include "wx/wxPython/printfw.h"
1386
1387 #include <wx/wizard.h>
1388
1389
1390 static const wxString wxPyEmptyString(wxEmptyString);
1391
1392 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1393 #define SWIG_From_int PyInt_FromLong
1394 /*@@*/
1395
1396
1397 #include <limits.h>
1398
1399
1400 SWIGINTERN int
1401 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1402 const char *errmsg)
1403 {
1404 if (value < min_value) {
1405 if (errmsg) {
1406 PyErr_Format(PyExc_OverflowError,
1407 "value %ld is less than '%s' minimum %ld",
1408 value, errmsg, min_value);
1409 }
1410 return 0;
1411 } else if (value > max_value) {
1412 if (errmsg) {
1413 PyErr_Format(PyExc_OverflowError,
1414 "value %ld is greater than '%s' maximum %ld",
1415 value, errmsg, max_value);
1416 }
1417 return 0;
1418 }
1419 return 1;
1420 }
1421
1422
1423 SWIGINTERN int
1424 SWIG_AsVal_long(PyObject* obj, long* val)
1425 {
1426 if (PyNumber_Check(obj)) {
1427 if (val) *val = PyInt_AsLong(obj);
1428 return 1;
1429 }
1430 else {
1431 SWIG_type_error("number", obj);
1432 }
1433 return 0;
1434 }
1435
1436
1437 #if INT_MAX != LONG_MAX
1438 SWIGINTERN int
1439 SWIG_AsVal_int(PyObject *obj, int *val)
1440 {
1441 const char* errmsg = val ? "int" : (char*)0;
1442 long v;
1443 if (SWIG_AsVal_long(obj, &v)) {
1444 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1445 if (val) *val = (int)(v);
1446 return 1;
1447 } else {
1448 return 0;
1449 }
1450 } else {
1451 PyErr_Clear();
1452 }
1453 if (val) {
1454 SWIG_type_error(errmsg, obj);
1455 }
1456 return 0;
1457 }
1458 #else
1459 SWIGINTERNSHORT int
1460 SWIG_AsVal_int(PyObject *obj, int *val)
1461 {
1462 return SWIG_AsVal_long(obj,(long*)val);
1463 }
1464 #endif
1465
1466
1467 SWIGINTERNSHORT int
1468 SWIG_As_int(PyObject* obj)
1469 {
1470 int v;
1471 if (!SWIG_AsVal_int(obj, &v)) {
1472 /*
1473 this is needed to make valgrind/purify happier.
1474 */
1475 memset((void*)&v, 0, sizeof(int));
1476 }
1477 return v;
1478 }
1479
1480
1481 SWIGINTERN int
1482 SWIG_AsVal_bool(PyObject *obj, bool *val)
1483 {
1484 if (obj == Py_True) {
1485 if (val) *val = true;
1486 return 1;
1487 }
1488 if (obj == Py_False) {
1489 if (val) *val = false;
1490 return 1;
1491 }
1492 int res = 0;
1493 if (SWIG_AsVal_int(obj, &res)) {
1494 if (val) *val = res ? true : false;
1495 return 1;
1496 } else {
1497 PyErr_Clear();
1498 }
1499 if (val) {
1500 SWIG_type_error("bool", obj);
1501 }
1502 return 0;
1503 }
1504
1505
1506 SWIGINTERNSHORT bool
1507 SWIG_As_bool(PyObject* obj)
1508 {
1509 bool v;
1510 if (!SWIG_AsVal_bool(obj, &v)) {
1511 /*
1512 this is needed to make valgrind/purify happier.
1513 */
1514 memset((void*)&v, 0, sizeof(bool));
1515 }
1516 return v;
1517 }
1518
1519
1520 SWIGINTERNSHORT int
1521 SWIG_Check_int(PyObject* obj)
1522 {
1523 return SWIG_AsVal_int(obj, (int*)0);
1524 }
1525
1526
1527 SWIGINTERNSHORT int
1528 SWIG_Check_bool(PyObject* obj)
1529 {
1530 return SWIG_AsVal_bool(obj, (bool*)0);
1531 }
1532
1533 static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1534 wxChar* res = NULL;
1535 if (resource.Length())
1536 res = (wxChar*)resource.c_str();
1537 return self->Create(parent, bitmap, res);
1538 }
1539 // C++ Version of a Python aware class
1540 class wxPyWizardPage : public wxWizardPage {
1541 DECLARE_ABSTRACT_CLASS(wxPyWizardPage);
1542 public:
1543 wxPyWizardPage() : wxWizardPage() {}
1544 wxPyWizardPage(wxWizard *parent,
1545 const wxBitmap& bitmap = wxNullBitmap,
1546 const wxChar* resource = NULL)
1547 : wxWizardPage(parent, bitmap, resource) {}
1548
1549 DEC_PYCALLBACK_WIZPG__pure(GetPrev);
1550 DEC_PYCALLBACK_WIZPG__pure(GetNext);
1551 DEC_PYCALLBACK_BITMAP__pure(GetBitmap);
1552
1553 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1554 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1555 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1556 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1557
1558 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1559 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1560 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1561
1562 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1563 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1564
1565 DEC_PYCALLBACK__(InitDialog);
1566 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1567 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1568 DEC_PYCALLBACK_BOOL_(Validate);
1569
1570 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1571 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1572 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1573
1574 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1575 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1576
1577 PYPRIVATE;
1578 };
1579
1580
1581 IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage);
1582
1583 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev);
1584 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext);
1585 IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap);
1586
1587 IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow);
1588 IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize);
1589 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize);
1590 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize);
1591
1592 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize);
1593 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize);
1594 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition);
1595
1596 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize);
1597 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize);
1598
1599 IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog);
1600 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow);
1601 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow);
1602 IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate);
1603
1604 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus);
1605 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard);
1606 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize);
1607
1608 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild);
1609 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild);
1610
1611
1612 static wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){
1613 wxChar* res = NULL;
1614 if (resource->Length())
1615 res = (wxChar*)resource->c_str();
1616 return new wxPyWizardPage(parent, *bitmap, res);
1617 }
1618 static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
1619 wxChar* res = NULL;
1620 if (resource.Length())
1621 res = (wxChar*)resource.c_str();
1622 return self->Create(parent, bitmap, res);
1623 }
1624
1625 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1626 PyObject* o2;
1627 PyObject* o3;
1628
1629 if (!target) {
1630 target = o;
1631 } else if (target == Py_None) {
1632 Py_DECREF(Py_None);
1633 target = o;
1634 } else {
1635 if (!PyTuple_Check(target)) {
1636 o2 = target;
1637 target = PyTuple_New(1);
1638 PyTuple_SetItem(target, 0, o2);
1639 }
1640 o3 = PyTuple_New(1);
1641 PyTuple_SetItem(o3, 0, o);
1642
1643 o2 = target;
1644 target = PySequence_Concat(o2, o3);
1645 Py_DECREF(o2);
1646 Py_DECREF(o3);
1647 }
1648 return target;
1649 }
1650
1651
1652
1653 SWIGINTERNSHORT long
1654 SWIG_As_long(PyObject* obj)
1655 {
1656 long v;
1657 if (!SWIG_AsVal_long(obj, &v)) {
1658 /*
1659 this is needed to make valgrind/purify happier.
1660 */
1661 memset((void*)&v, 0, sizeof(long));
1662 }
1663 return v;
1664 }
1665
1666
1667 SWIGINTERNSHORT int
1668 SWIG_Check_long(PyObject* obj)
1669 {
1670 return SWIG_AsVal_long(obj, (long*)0);
1671 }
1672
1673 #ifdef __cplusplus
1674 extern "C" {
1675 #endif
1676 static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
1679 int arg2 = (int) -1 ;
1680 bool arg3 = (bool) true ;
1681 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
1682 wxWizardEvent *result;
1683 PyObject * obj0 = 0 ;
1684 PyObject * obj1 = 0 ;
1685 PyObject * obj2 = 0 ;
1686 PyObject * obj3 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1692 if (obj0) {
1693 {
1694 arg1 = (wxEventType)(SWIG_As_int(obj0));
1695 if (SWIG_arg_fail(1)) SWIG_fail;
1696 }
1697 }
1698 if (obj1) {
1699 {
1700 arg2 = (int)(SWIG_As_int(obj1));
1701 if (SWIG_arg_fail(2)) SWIG_fail;
1702 }
1703 }
1704 if (obj2) {
1705 {
1706 arg3 = (bool)(SWIG_As_bool(obj2));
1707 if (SWIG_arg_fail(3)) SWIG_fail;
1708 }
1709 }
1710 if (obj3) {
1711 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1712 if (SWIG_arg_fail(4)) SWIG_fail;
1713 }
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 result = (wxWizardEvent *)new wxWizardEvent(arg1,arg2,arg3,arg4);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 }
1721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardEvent, 1);
1722 return resultobj;
1723 fail:
1724 return NULL;
1725 }
1726
1727
1728 static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
1729 PyObject *resultobj;
1730 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1731 bool result;
1732 PyObject * obj0 = 0 ;
1733 char *kwnames[] = {
1734 (char *) "self", NULL
1735 };
1736
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetDirection",kwnames,&obj0)) goto fail;
1738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1739 if (SWIG_arg_fail(1)) SWIG_fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 result = (bool)((wxWizardEvent const *)arg1)->GetDirection();
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 {
1748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1749 }
1750 return resultobj;
1751 fail:
1752 return NULL;
1753 }
1754
1755
1756 static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1759 wxWizardPage *result;
1760 PyObject * obj0 = 0 ;
1761 char *kwnames[] = {
1762 (char *) "self", NULL
1763 };
1764
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetPage",kwnames,&obj0)) goto fail;
1766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1767 if (SWIG_arg_fail(1)) SWIG_fail;
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 result = (wxWizardPage *)((wxWizardEvent const *)arg1)->GetPage();
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 {
1776 resultobj = wxPyMake_wxObject(result, 0);
1777 }
1778 return resultobj;
1779 fail:
1780 return NULL;
1781 }
1782
1783
1784 static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) {
1785 PyObject *obj;
1786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1787 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent, obj);
1788 Py_INCREF(obj);
1789 return Py_BuildValue((char *)"");
1790 }
1791 static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1794 wxWizard *arg2 = (wxWizard *) 0 ;
1795 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1796 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1797 wxString const &arg4_defvalue = wxPyEmptyString ;
1798 wxString *arg4 = (wxString *) &arg4_defvalue ;
1799 bool result;
1800 bool temp4 = false ;
1801 PyObject * obj0 = 0 ;
1802 PyObject * obj1 = 0 ;
1803 PyObject * obj2 = 0 ;
1804 PyObject * obj3 = 0 ;
1805 char *kwnames[] = {
1806 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1807 };
1808
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1811 if (SWIG_arg_fail(1)) SWIG_fail;
1812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
1813 if (SWIG_arg_fail(2)) SWIG_fail;
1814 if (obj2) {
1815 {
1816 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
1817 if (SWIG_arg_fail(3)) SWIG_fail;
1818 if (arg3 == NULL) {
1819 SWIG_null_ref("wxBitmap");
1820 }
1821 if (SWIG_arg_fail(3)) SWIG_fail;
1822 }
1823 }
1824 if (obj3) {
1825 {
1826 arg4 = wxString_in_helper(obj3);
1827 if (arg4 == NULL) SWIG_fail;
1828 temp4 = true;
1829 }
1830 }
1831 {
1832 PyThreadState* __tstate = wxPyBeginAllowThreads();
1833 result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
1834
1835 wxPyEndAllowThreads(__tstate);
1836 if (PyErr_Occurred()) SWIG_fail;
1837 }
1838 {
1839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1840 }
1841 {
1842 if (temp4)
1843 delete arg4;
1844 }
1845 return resultobj;
1846 fail:
1847 {
1848 if (temp4)
1849 delete arg4;
1850 }
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1858 wxWizardPage *result;
1859 PyObject * obj0 = 0 ;
1860 char *kwnames[] = {
1861 (char *) "self", NULL
1862 };
1863
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetPrev",kwnames,&obj0)) goto fail;
1865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1866 if (SWIG_arg_fail(1)) SWIG_fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetPrev();
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 {
1875 resultobj = wxPyMake_wxObject(result, 0);
1876 }
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
1884 PyObject *resultobj;
1885 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1886 wxWizardPage *result;
1887 PyObject * obj0 = 0 ;
1888 char *kwnames[] = {
1889 (char *) "self", NULL
1890 };
1891
1892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetNext",kwnames,&obj0)) goto fail;
1893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1894 if (SWIG_arg_fail(1)) SWIG_fail;
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetNext();
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) SWIG_fail;
1901 }
1902 {
1903 resultobj = wxPyMake_wxObject(result, 0);
1904 }
1905 return resultobj;
1906 fail:
1907 return NULL;
1908 }
1909
1910
1911 static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
1912 PyObject *resultobj;
1913 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
1914 wxBitmap result;
1915 PyObject * obj0 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "self", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetBitmap",kwnames,&obj0)) goto fail;
1921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1922 if (SWIG_arg_fail(1)) SWIG_fail;
1923 {
1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
1925 result = ((wxWizardPage const *)arg1)->GetBitmap();
1926
1927 wxPyEndAllowThreads(__tstate);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 {
1931 wxBitmap * resultptr;
1932 resultptr = new wxBitmap((wxBitmap &)(result));
1933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1934 }
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) {
1942 PyObject *obj;
1943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1944 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage, obj);
1945 Py_INCREF(obj);
1946 return Py_BuildValue((char *)"");
1947 }
1948 static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
1949 PyObject *resultobj;
1950 wxWizard *arg1 = (wxWizard *) 0 ;
1951 wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
1952 wxString *arg3 = (wxString *) &wxPyEmptyString ;
1953 wxPyWizardPage *result;
1954 bool temp3 = false ;
1955 PyObject * obj0 = 0 ;
1956 PyObject * obj1 = 0 ;
1957 PyObject * obj2 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
1963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
1964 if (SWIG_arg_fail(1)) SWIG_fail;
1965 if (obj1) {
1966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
1967 if (SWIG_arg_fail(2)) SWIG_fail;
1968 }
1969 if (obj2) {
1970 {
1971 arg3 = wxString_in_helper(obj2);
1972 if (arg3 == NULL) SWIG_fail;
1973 temp3 = true;
1974 }
1975 }
1976 {
1977 if (!wxPyCheckForApp()) SWIG_fail;
1978 PyThreadState* __tstate = wxPyBeginAllowThreads();
1979 result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3);
1980
1981 wxPyEndAllowThreads(__tstate);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
1984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
1985 {
1986 if (temp3)
1987 delete arg3;
1988 }
1989 return resultobj;
1990 fail:
1991 {
1992 if (temp3)
1993 delete arg3;
1994 }
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxPyWizardPage *result;
2002 char *kwnames[] = {
2003 NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWizardPage",kwnames)) goto fail;
2007 {
2008 if (!wxPyCheckForApp()) SWIG_fail;
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 result = (wxPyWizardPage *)new wxPyWizardPage();
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
2015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
2016 return resultobj;
2017 fail:
2018 return NULL;
2019 }
2020
2021
2022 static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2023 PyObject *resultobj;
2024 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2025 wxWizard *arg2 = (wxWizard *) 0 ;
2026 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2027 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2028 wxString const &arg4_defvalue = wxPyEmptyString ;
2029 wxString *arg4 = (wxString *) &arg4_defvalue ;
2030 bool result;
2031 bool temp4 = false ;
2032 PyObject * obj0 = 0 ;
2033 PyObject * obj1 = 0 ;
2034 PyObject * obj2 = 0 ;
2035 PyObject * obj3 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2042 if (SWIG_arg_fail(1)) SWIG_fail;
2043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2044 if (SWIG_arg_fail(2)) SWIG_fail;
2045 if (obj2) {
2046 {
2047 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2048 if (SWIG_arg_fail(3)) SWIG_fail;
2049 if (arg3 == NULL) {
2050 SWIG_null_ref("wxBitmap");
2051 }
2052 if (SWIG_arg_fail(3)) SWIG_fail;
2053 }
2054 }
2055 if (obj3) {
2056 {
2057 arg4 = wxString_in_helper(obj3);
2058 if (arg4 == NULL) SWIG_fail;
2059 temp4 = true;
2060 }
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2071 }
2072 {
2073 if (temp4)
2074 delete arg4;
2075 }
2076 return resultobj;
2077 fail:
2078 {
2079 if (temp4)
2080 delete arg4;
2081 }
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2089 PyObject *arg2 = (PyObject *) 0 ;
2090 PyObject *arg3 = (PyObject *) 0 ;
2091 PyObject * obj0 = 0 ;
2092 PyObject * obj1 = 0 ;
2093 PyObject * obj2 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "self",(char *) "self",(char *) "_class", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail;
2101 arg2 = obj1;
2102 arg3 = obj2;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 (arg1)->_setCallbackInfo(arg2,arg3);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 Py_INCREF(Py_None); resultobj = Py_None;
2111 return resultobj;
2112 fail:
2113 return NULL;
2114 }
2115
2116
2117 static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2120 int arg2 ;
2121 int arg3 ;
2122 int arg4 ;
2123 int arg5 ;
2124 PyObject * obj0 = 0 ;
2125 PyObject * obj1 = 0 ;
2126 PyObject * obj2 = 0 ;
2127 PyObject * obj3 = 0 ;
2128 PyObject * obj4 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2135 if (SWIG_arg_fail(1)) SWIG_fail;
2136 {
2137 arg2 = (int)(SWIG_As_int(obj1));
2138 if (SWIG_arg_fail(2)) SWIG_fail;
2139 }
2140 {
2141 arg3 = (int)(SWIG_As_int(obj2));
2142 if (SWIG_arg_fail(3)) SWIG_fail;
2143 }
2144 {
2145 arg4 = (int)(SWIG_As_int(obj3));
2146 if (SWIG_arg_fail(4)) SWIG_fail;
2147 }
2148 {
2149 arg5 = (int)(SWIG_As_int(obj4));
2150 if (SWIG_arg_fail(5)) SWIG_fail;
2151 }
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2169 int arg2 ;
2170 int arg3 ;
2171 int arg4 ;
2172 int arg5 ;
2173 int arg6 = (int) wxSIZE_AUTO ;
2174 PyObject * obj0 = 0 ;
2175 PyObject * obj1 = 0 ;
2176 PyObject * obj2 = 0 ;
2177 PyObject * obj3 = 0 ;
2178 PyObject * obj4 = 0 ;
2179 PyObject * obj5 = 0 ;
2180 char *kwnames[] = {
2181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2182 };
2183
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2186 if (SWIG_arg_fail(1)) SWIG_fail;
2187 {
2188 arg2 = (int)(SWIG_As_int(obj1));
2189 if (SWIG_arg_fail(2)) SWIG_fail;
2190 }
2191 {
2192 arg3 = (int)(SWIG_As_int(obj2));
2193 if (SWIG_arg_fail(3)) SWIG_fail;
2194 }
2195 {
2196 arg4 = (int)(SWIG_As_int(obj3));
2197 if (SWIG_arg_fail(4)) SWIG_fail;
2198 }
2199 {
2200 arg5 = (int)(SWIG_As_int(obj4));
2201 if (SWIG_arg_fail(5)) SWIG_fail;
2202 }
2203 if (obj5) {
2204 {
2205 arg6 = (int)(SWIG_As_int(obj5));
2206 if (SWIG_arg_fail(6)) SWIG_fail;
2207 }
2208 }
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
2216 Py_INCREF(Py_None); resultobj = Py_None;
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2226 int arg2 ;
2227 int arg3 ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231 char *kwnames[] = {
2232 (char *) "self",(char *) "width",(char *) "height", NULL
2233 };
2234
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2237 if (SWIG_arg_fail(1)) SWIG_fail;
2238 {
2239 arg2 = (int)(SWIG_As_int(obj1));
2240 if (SWIG_arg_fail(2)) SWIG_fail;
2241 }
2242 {
2243 arg3 = (int)(SWIG_As_int(obj2));
2244 if (SWIG_arg_fail(3)) SWIG_fail;
2245 }
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 (arg1)->base_DoSetClientSize(arg2,arg3);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2263 int arg2 ;
2264 int arg3 ;
2265 PyObject * obj0 = 0 ;
2266 PyObject * obj1 = 0 ;
2267 PyObject * obj2 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "x",(char *) "y", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2274 if (SWIG_arg_fail(1)) SWIG_fail;
2275 {
2276 arg2 = (int)(SWIG_As_int(obj1));
2277 if (SWIG_arg_fail(2)) SWIG_fail;
2278 }
2279 {
2280 arg3 = (int)(SWIG_As_int(obj2));
2281 if (SWIG_arg_fail(3)) SWIG_fail;
2282 }
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 (arg1)->base_DoSetVirtualSize(arg2,arg3);
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 Py_INCREF(Py_None); resultobj = Py_None;
2291 return resultobj;
2292 fail:
2293 return NULL;
2294 }
2295
2296
2297 static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2300 int *arg2 = (int *) 0 ;
2301 int *arg3 = (int *) 0 ;
2302 int temp2 ;
2303 int res2 = 0 ;
2304 int temp3 ;
2305 int res3 = 0 ;
2306 PyObject * obj0 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self", NULL
2309 };
2310
2311 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2312 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetSize",kwnames,&obj0)) goto fail;
2314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 ((wxPyWizardPage const *)arg1)->base_DoGetSize(arg2,arg3);
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 Py_INCREF(Py_None); resultobj = Py_None;
2324 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2325 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2326 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2327 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2337 int *arg2 = (int *) 0 ;
2338 int *arg3 = (int *) 0 ;
2339 int temp2 ;
2340 int res2 = 0 ;
2341 int temp3 ;
2342 int res3 = 0 ;
2343 PyObject * obj0 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self", NULL
2346 };
2347
2348 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2349 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames,&obj0)) goto fail;
2351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2352 if (SWIG_arg_fail(1)) SWIG_fail;
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 ((wxPyWizardPage const *)arg1)->base_DoGetClientSize(arg2,arg3);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 Py_INCREF(Py_None); resultobj = Py_None;
2361 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2362 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2363 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2364 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2374 int *arg2 = (int *) 0 ;
2375 int *arg3 = (int *) 0 ;
2376 int temp2 ;
2377 int res2 = 0 ;
2378 int temp3 ;
2379 int res3 = 0 ;
2380 PyObject * obj0 = 0 ;
2381 char *kwnames[] = {
2382 (char *) "self", NULL
2383 };
2384
2385 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2386 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames,&obj0)) goto fail;
2388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2389 if (SWIG_arg_fail(1)) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 ((wxPyWizardPage const *)arg1)->base_DoGetPosition(arg2,arg3);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2399 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2400 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2401 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2411 wxSize result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
2418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2419 if (SWIG_arg_fail(1)) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = ((wxPyWizardPage const *)arg1)->base_DoGetVirtualSize();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 wxSize * resultptr;
2429 resultptr = new wxSize((wxSize &)(result));
2430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2431 }
2432 return resultobj;
2433 fail:
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2441 wxSize result;
2442 PyObject * obj0 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "self", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames,&obj0)) goto fail;
2448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2449 if (SWIG_arg_fail(1)) SWIG_fail;
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 result = ((wxPyWizardPage const *)arg1)->base_DoGetBestSize();
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 {
2458 wxSize * resultptr;
2459 resultptr = new wxSize((wxSize &)(result));
2460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2461 }
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2471 PyObject * obj0 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "self", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_InitDialog",kwnames,&obj0)) goto fail;
2477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2478 if (SWIG_arg_fail(1)) SWIG_fail;
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->base_InitDialog();
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2496 bool result;
2497 PyObject * obj0 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
2503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2504 if (SWIG_arg_fail(1)) SWIG_fail;
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 result = (bool)(arg1)->base_TransferDataToWindow();
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 {
2513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2514 }
2515 return resultobj;
2516 fail:
2517 return NULL;
2518 }
2519
2520
2521 static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2522 PyObject *resultobj;
2523 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2524 bool result;
2525 PyObject * obj0 = 0 ;
2526 char *kwnames[] = {
2527 (char *) "self", NULL
2528 };
2529
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
2531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2532 if (SWIG_arg_fail(1)) SWIG_fail;
2533 {
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 result = (bool)(arg1)->base_TransferDataFromWindow();
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2542 }
2543 return resultobj;
2544 fail:
2545 return NULL;
2546 }
2547
2548
2549 static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
2550 PyObject *resultobj;
2551 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2552 bool result;
2553 PyObject * obj0 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "self", NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_Validate",kwnames,&obj0)) goto fail;
2559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2560 if (SWIG_arg_fail(1)) SWIG_fail;
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 result = (bool)(arg1)->base_Validate();
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 {
2569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2570 }
2571 return resultobj;
2572 fail:
2573 return NULL;
2574 }
2575
2576
2577 static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2578 PyObject *resultobj;
2579 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2580 bool result;
2581 PyObject * obj0 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames,&obj0)) goto fail;
2587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2588 if (SWIG_arg_fail(1)) SWIG_fail;
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocus();
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 {
2597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2598 }
2599 return resultobj;
2600 fail:
2601 return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2608 bool result;
2609 PyObject * obj0 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail;
2617 {
2618 PyThreadState* __tstate = wxPyBeginAllowThreads();
2619 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocusFromKeyboard();
2620
2621 wxPyEndAllowThreads(__tstate);
2622 if (PyErr_Occurred()) SWIG_fail;
2623 }
2624 {
2625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2626 }
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2636 wxSize result;
2637 PyObject * obj0 = 0 ;
2638 char *kwnames[] = {
2639 (char *) "self", NULL
2640 };
2641
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_GetMaxSize",kwnames,&obj0)) goto fail;
2643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2644 if (SWIG_arg_fail(1)) SWIG_fail;
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = ((wxPyWizardPage const *)arg1)->base_GetMaxSize();
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 {
2653 wxSize * resultptr;
2654 resultptr = new wxSize((wxSize &)(result));
2655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2656 }
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2666 wxWindow *arg2 = (wxWindow *) 0 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "child", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
2674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail;
2676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2677 if (SWIG_arg_fail(2)) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->base_AddChild(arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2695 wxWindow *arg2 = (wxWindow *) 0 ;
2696 PyObject * obj0 = 0 ;
2697 PyObject * obj1 = 0 ;
2698 char *kwnames[] = {
2699 (char *) "self",(char *) "child", NULL
2700 };
2701
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2704 if (SWIG_arg_fail(1)) SWIG_fail;
2705 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2706 if (SWIG_arg_fail(2)) SWIG_fail;
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 (arg1)->base_RemoveChild(arg2);
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 Py_INCREF(Py_None); resultobj = Py_None;
2715 return resultobj;
2716 fail:
2717 return NULL;
2718 }
2719
2720
2721 static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) {
2722 PyObject *obj;
2723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2724 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage, obj);
2725 Py_INCREF(obj);
2726 return Py_BuildValue((char *)"");
2727 }
2728 static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxWizard *arg1 = (wxWizard *) 0 ;
2731 wxWizardPage *arg2 = (wxWizardPage *) NULL ;
2732 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
2733 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2734 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2735 wxChar *arg5 = (wxChar *) NULL ;
2736 wxWizardPageSimple *result;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 PyObject * obj2 = 0 ;
2740 PyObject * obj3 = 0 ;
2741 PyObject * obj4 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2748 if (SWIG_arg_fail(1)) SWIG_fail;
2749 if (obj1) {
2750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2751 if (SWIG_arg_fail(2)) SWIG_fail;
2752 }
2753 if (obj2) {
2754 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2755 if (SWIG_arg_fail(3)) SWIG_fail;
2756 }
2757 if (obj3) {
2758 {
2759 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2760 if (SWIG_arg_fail(4)) SWIG_fail;
2761 if (arg4 == NULL) {
2762 SWIG_null_ref("wxBitmap");
2763 }
2764 if (SWIG_arg_fail(4)) SWIG_fail;
2765 }
2766 }
2767 if (obj4) {
2768 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
2769 if (SWIG_arg_fail(5)) SWIG_fail;
2770 }
2771 {
2772 if (!wxPyCheckForApp()) SWIG_fail;
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxWizardPageSimple *result;
2789 char *kwnames[] = {
2790 NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizardPageSimple",kwnames)) goto fail;
2794 {
2795 if (!wxPyCheckForApp()) SWIG_fail;
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (wxWizardPageSimple *)new wxWizardPageSimple();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2812 wxWizard *arg2 = (wxWizard *) NULL ;
2813 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
2814 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
2815 wxBitmap const &arg5_defvalue = wxNullBitmap ;
2816 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
2817 wxChar *arg6 = (wxChar *) NULL ;
2818 bool result;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2821 PyObject * obj2 = 0 ;
2822 PyObject * obj3 = 0 ;
2823 PyObject * obj4 = 0 ;
2824 PyObject * obj5 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail;
2832 if (obj1) {
2833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2834 if (SWIG_arg_fail(2)) SWIG_fail;
2835 }
2836 if (obj2) {
2837 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2838 if (SWIG_arg_fail(3)) SWIG_fail;
2839 }
2840 if (obj3) {
2841 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2842 if (SWIG_arg_fail(4)) SWIG_fail;
2843 }
2844 if (obj4) {
2845 {
2846 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2847 if (SWIG_arg_fail(5)) SWIG_fail;
2848 if (arg5 == NULL) {
2849 SWIG_null_ref("wxBitmap");
2850 }
2851 if (SWIG_arg_fail(5)) SWIG_fail;
2852 }
2853 }
2854 if (obj5) {
2855 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
2856 if (SWIG_arg_fail(6)) SWIG_fail;
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 {
2866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2867 }
2868 return resultobj;
2869 fail:
2870 return NULL;
2871 }
2872
2873
2874 static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2877 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "prev", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetPrev",kwnames,&obj0,&obj1)) goto fail;
2885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2886 if (SWIG_arg_fail(1)) SWIG_fail;
2887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2888 if (SWIG_arg_fail(2)) SWIG_fail;
2889 {
2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
2891 (arg1)->SetPrev(arg2);
2892
2893 wxPyEndAllowThreads(__tstate);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 Py_INCREF(Py_None); resultobj = Py_None;
2897 return resultobj;
2898 fail:
2899 return NULL;
2900 }
2901
2902
2903 static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2906 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2907 PyObject * obj0 = 0 ;
2908 PyObject * obj1 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self",(char *) "next", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetNext",kwnames,&obj0,&obj1)) goto fail;
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
2916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2917 if (SWIG_arg_fail(2)) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->SetNext(arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
2935 wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "first",(char *) "second", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_Chain",kwnames,&obj0,&obj1)) goto fail;
2943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail;
2945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
2946 if (SWIG_arg_fail(2)) SWIG_fail;
2947 {
2948 PyThreadState* __tstate = wxPyBeginAllowThreads();
2949 wxWizardPageSimple::Chain(arg1,arg2);
2950
2951 wxPyEndAllowThreads(__tstate);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 Py_INCREF(Py_None); resultobj = Py_None;
2955 return resultobj;
2956 fail:
2957 return NULL;
2958 }
2959
2960
2961 static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) {
2962 PyObject *obj;
2963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2964 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple, obj);
2965 Py_INCREF(obj);
2966 return Py_BuildValue((char *)"");
2967 }
2968 static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxWindow *arg1 = (wxWindow *) 0 ;
2971 int arg2 = (int) -1 ;
2972 wxString const &arg3_defvalue = wxPyEmptyString ;
2973 wxString *arg3 = (wxString *) &arg3_defvalue ;
2974 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2975 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2976 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2977 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2978 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
2979 wxWizard *result;
2980 bool temp3 = false ;
2981 wxPoint temp5 ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 PyObject * obj2 = 0 ;
2985 PyObject * obj3 = 0 ;
2986 PyObject * obj4 = 0 ;
2987 PyObject * obj5 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Wizard",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail;
2995 if (obj1) {
2996 {
2997 arg2 = (int)(SWIG_As_int(obj1));
2998 if (SWIG_arg_fail(2)) SWIG_fail;
2999 }
3000 }
3001 if (obj2) {
3002 {
3003 arg3 = wxString_in_helper(obj2);
3004 if (arg3 == NULL) SWIG_fail;
3005 temp3 = true;
3006 }
3007 }
3008 if (obj3) {
3009 {
3010 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3011 if (SWIG_arg_fail(4)) SWIG_fail;
3012 if (arg4 == NULL) {
3013 SWIG_null_ref("wxBitmap");
3014 }
3015 if (SWIG_arg_fail(4)) SWIG_fail;
3016 }
3017 }
3018 if (obj4) {
3019 {
3020 arg5 = &temp5;
3021 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3022 }
3023 }
3024 if (obj5) {
3025 {
3026 arg6 = (long)(SWIG_As_long(obj5));
3027 if (SWIG_arg_fail(6)) SWIG_fail;
3028 }
3029 }
3030 {
3031 if (!wxPyCheckForApp()) SWIG_fail;
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 result = (wxWizard *)new wxWizard(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,arg6);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3039 {
3040 if (temp3)
3041 delete arg3;
3042 }
3043 return resultobj;
3044 fail:
3045 {
3046 if (temp3)
3047 delete arg3;
3048 }
3049 return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxWizard *result;
3056 char *kwnames[] = {
3057 NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizard",kwnames)) goto fail;
3061 {
3062 if (!wxPyCheckForApp()) SWIG_fail;
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = (wxWizard *)new wxWizard();
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
3070 return resultobj;
3071 fail:
3072 return NULL;
3073 }
3074
3075
3076 static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxWizard *arg1 = (wxWizard *) 0 ;
3079 wxWindow *arg2 = (wxWindow *) 0 ;
3080 int arg3 = (int) -1 ;
3081 wxString const &arg4_defvalue = wxPyEmptyString ;
3082 wxString *arg4 = (wxString *) &arg4_defvalue ;
3083 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3084 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3085 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3086 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
3087 bool result;
3088 bool temp4 = false ;
3089 wxPoint temp6 ;
3090 PyObject * obj0 = 0 ;
3091 PyObject * obj1 = 0 ;
3092 PyObject * obj2 = 0 ;
3093 PyObject * obj3 = 0 ;
3094 PyObject * obj4 = 0 ;
3095 PyObject * obj5 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Wizard_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail;
3103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail;
3105 if (obj2) {
3106 {
3107 arg3 = (int)(SWIG_As_int(obj2));
3108 if (SWIG_arg_fail(3)) SWIG_fail;
3109 }
3110 }
3111 if (obj3) {
3112 {
3113 arg4 = wxString_in_helper(obj3);
3114 if (arg4 == NULL) SWIG_fail;
3115 temp4 = true;
3116 }
3117 }
3118 if (obj4) {
3119 {
3120 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(5)) SWIG_fail;
3122 if (arg5 == NULL) {
3123 SWIG_null_ref("wxBitmap");
3124 }
3125 if (SWIG_arg_fail(5)) SWIG_fail;
3126 }
3127 }
3128 if (obj5) {
3129 {
3130 arg6 = &temp6;
3131 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
3132 }
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxPoint const &)*arg6);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 {
3142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3143 }
3144 {
3145 if (temp4)
3146 delete arg4;
3147 }
3148 return resultobj;
3149 fail:
3150 {
3151 if (temp4)
3152 delete arg4;
3153 }
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxWizard *arg1 = (wxWizard *) 0 ;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_Init",kwnames,&obj0)) goto fail;
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 (arg1)->Init();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 Py_INCREF(Py_None); resultobj = Py_None;
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxWizard *arg1 = (wxWizard *) 0 ;
3186 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3187 bool result;
3188 PyObject * obj0 = 0 ;
3189 PyObject * obj1 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "firstPage", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_RunWizard",kwnames,&obj0,&obj1)) goto fail;
3195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3196 if (SWIG_arg_fail(1)) SWIG_fail;
3197 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3198 if (SWIG_arg_fail(2)) SWIG_fail;
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = (bool)(arg1)->RunWizard(arg2);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3208 }
3209 return resultobj;
3210 fail:
3211 return NULL;
3212 }
3213
3214
3215 static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxWizard *arg1 = (wxWizard *) 0 ;
3218 wxWizardPage *result;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetCurrentPage",kwnames,&obj0)) goto fail;
3225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3226 if (SWIG_arg_fail(1)) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (wxWizardPage *)((wxWizard const *)arg1)->GetCurrentPage();
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 {
3235 resultobj = wxPyMake_wxObject(result, 0);
3236 }
3237 return resultobj;
3238 fail:
3239 return NULL;
3240 }
3241
3242
3243 static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxWizard *arg1 = (wxWizard *) 0 ;
3246 wxSize *arg2 = 0 ;
3247 wxSize temp2 ;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self",(char *) "size", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
3255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3256 if (SWIG_arg_fail(1)) SWIG_fail;
3257 {
3258 arg2 = &temp2;
3259 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 (arg1)->SetPageSize((wxSize const &)*arg2);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 Py_INCREF(Py_None); resultobj = Py_None;
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxWizard *arg1 = (wxWizard *) 0 ;
3278 wxSize result;
3279 PyObject * obj0 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageSize",kwnames,&obj0)) goto fail;
3285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3286 if (SWIG_arg_fail(1)) SWIG_fail;
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 result = ((wxWizard const *)arg1)->GetPageSize();
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 {
3295 wxSize * resultptr;
3296 resultptr = new wxSize((wxSize &)(result));
3297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3298 }
3299 return resultobj;
3300 fail:
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxWizard *arg1 = (wxWizard *) 0 ;
3308 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self",(char *) "firstPage", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_FitToPage",kwnames,&obj0,&obj1)) goto fail;
3316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail;
3318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3319 if (SWIG_arg_fail(2)) SWIG_fail;
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 (arg1)->FitToPage((wxWizardPage const *)arg2);
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 Py_INCREF(Py_None); resultobj = Py_None;
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxWizard *arg1 = (wxWizard *) 0 ;
3337 wxSizer *result;
3338 PyObject * obj0 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "self", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageAreaSizer",kwnames,&obj0)) goto fail;
3344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 result = (wxSizer *)((wxWizard const *)arg1)->GetPageAreaSizer();
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = wxPyMake_wxObject(result, 0);
3355 }
3356 return resultobj;
3357 fail:
3358 return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxWizard *arg1 = (wxWizard *) 0 ;
3365 int arg2 ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self",(char *) "border", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetBorder",kwnames,&obj0,&obj1)) goto fail;
3373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail;
3375 {
3376 arg2 = (int)(SWIG_As_int(obj1));
3377 if (SWIG_arg_fail(2)) SWIG_fail;
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->SetBorder(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 Py_INCREF(Py_None); resultobj = Py_None;
3387 return resultobj;
3388 fail:
3389 return NULL;
3390 }
3391
3392
3393 static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
3394 PyObject *resultobj;
3395 wxWizard *arg1 = (wxWizard *) 0 ;
3396 bool result;
3397 PyObject * obj0 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self", NULL
3400 };
3401
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_IsRunning",kwnames,&obj0)) goto fail;
3403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail;
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (bool)((wxWizard const *)arg1)->IsRunning();
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 {
3413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3414 }
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxWizard *arg1 = (wxWizard *) 0 ;
3424 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3425 bool arg3 = (bool) true ;
3426 bool result;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 PyObject * obj2 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Wizard_ShowPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
3435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3436 if (SWIG_arg_fail(1)) SWIG_fail;
3437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3438 if (SWIG_arg_fail(2)) SWIG_fail;
3439 if (obj2) {
3440 {
3441 arg3 = (bool)(SWIG_As_bool(obj2));
3442 if (SWIG_arg_fail(3)) SWIG_fail;
3443 }
3444 }
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (bool)(arg1)->ShowPage(arg2,arg3);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3454 }
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxWizard *arg1 = (wxWizard *) 0 ;
3464 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3465 bool result;
3466 PyObject * obj0 = 0 ;
3467 PyObject * obj1 = 0 ;
3468 char *kwnames[] = {
3469 (char *) "self",(char *) "page", NULL
3470 };
3471
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasNextPage",kwnames,&obj0,&obj1)) goto fail;
3473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail;
3475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(2)) SWIG_fail;
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 result = (bool)(arg1)->HasNextPage(arg2);
3480
3481 wxPyEndAllowThreads(__tstate);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 }
3484 {
3485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3486 }
3487 return resultobj;
3488 fail:
3489 return NULL;
3490 }
3491
3492
3493 static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) {
3494 PyObject *resultobj;
3495 wxWizard *arg1 = (wxWizard *) 0 ;
3496 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3497 bool result;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "page", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasPrevPage",kwnames,&obj0,&obj1)) goto fail;
3505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3506 if (SWIG_arg_fail(1)) SWIG_fail;
3507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3508 if (SWIG_arg_fail(2)) SWIG_fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (bool)(arg1)->HasPrevPage(arg2);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 {
3517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3518 }
3519 return resultobj;
3520 fail:
3521 return NULL;
3522 }
3523
3524
3525 static PyObject * Wizard_swigregister(PyObject *, PyObject *args) {
3526 PyObject *obj;
3527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxWizard, obj);
3529 Py_INCREF(obj);
3530 return Py_BuildValue((char *)"");
3531 }
3532 static PyMethodDef SwigMethods[] = {
3533 { (char *)"new_WizardEvent", (PyCFunction) _wrap_new_WizardEvent, METH_VARARGS | METH_KEYWORDS, NULL},
3534 { (char *)"WizardEvent_GetDirection", (PyCFunction) _wrap_WizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
3535 { (char *)"WizardEvent_GetPage", (PyCFunction) _wrap_WizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
3536 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister, METH_VARARGS, NULL},
3537 { (char *)"WizardPage_Create", (PyCFunction) _wrap_WizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3538 { (char *)"WizardPage_GetPrev", (PyCFunction) _wrap_WizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3539 { (char *)"WizardPage_GetNext", (PyCFunction) _wrap_WizardPage_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3540 { (char *)"WizardPage_GetBitmap", (PyCFunction) _wrap_WizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
3541 { (char *)"WizardPage_swigregister", WizardPage_swigregister, METH_VARARGS, NULL},
3542 { (char *)"new_PyWizardPage", (PyCFunction) _wrap_new_PyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3543 { (char *)"new_PrePyWizardPage", (PyCFunction) _wrap_new_PrePyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3544 { (char *)"PyWizardPage_Create", (PyCFunction) _wrap_PyWizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3545 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction) _wrap_PyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
3546 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction) _wrap_PyWizardPage_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3547 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3548 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3549 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3550 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3551 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3552 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction) _wrap_PyWizardPage_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
3553 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3554 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
3555 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction) _wrap_PyWizardPage_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
3556 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3557 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3558 { (char *)"PyWizardPage_base_Validate", (PyCFunction) _wrap_PyWizardPage_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
3559 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
3560 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
3561 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction) _wrap_PyWizardPage_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
3562 { (char *)"PyWizardPage_base_AddChild", (PyCFunction) _wrap_PyWizardPage_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
3563 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction) _wrap_PyWizardPage_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
3564 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister, METH_VARARGS, NULL},
3565 { (char *)"new_WizardPageSimple", (PyCFunction) _wrap_new_WizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3566 { (char *)"new_PreWizardPageSimple", (PyCFunction) _wrap_new_PreWizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3567 { (char *)"WizardPageSimple_Create", (PyCFunction) _wrap_WizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3568 { (char *)"WizardPageSimple_SetPrev", (PyCFunction) _wrap_WizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3569 { (char *)"WizardPageSimple_SetNext", (PyCFunction) _wrap_WizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3570 { (char *)"WizardPageSimple_Chain", (PyCFunction) _wrap_WizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS, NULL},
3571 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister, METH_VARARGS, NULL},
3572 { (char *)"new_Wizard", (PyCFunction) _wrap_new_Wizard, METH_VARARGS | METH_KEYWORDS, NULL},
3573 { (char *)"new_PreWizard", (PyCFunction) _wrap_new_PreWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3574 { (char *)"Wizard_Create", (PyCFunction) _wrap_Wizard_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3575 { (char *)"Wizard_Init", (PyCFunction) _wrap_Wizard_Init, METH_VARARGS | METH_KEYWORDS, NULL},
3576 { (char *)"Wizard_RunWizard", (PyCFunction) _wrap_Wizard_RunWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3577 { (char *)"Wizard_GetCurrentPage", (PyCFunction) _wrap_Wizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
3578 { (char *)"Wizard_SetPageSize", (PyCFunction) _wrap_Wizard_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3579 { (char *)"Wizard_GetPageSize", (PyCFunction) _wrap_Wizard_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3580 { (char *)"Wizard_FitToPage", (PyCFunction) _wrap_Wizard_FitToPage, METH_VARARGS | METH_KEYWORDS, NULL},
3581 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction) _wrap_Wizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS, NULL},
3582 { (char *)"Wizard_SetBorder", (PyCFunction) _wrap_Wizard_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3583 { (char *)"Wizard_IsRunning", (PyCFunction) _wrap_Wizard_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
3584 { (char *)"Wizard_ShowPage", (PyCFunction) _wrap_Wizard_ShowPage, METH_VARARGS | METH_KEYWORDS, NULL},
3585 { (char *)"Wizard_HasNextPage", (PyCFunction) _wrap_Wizard_HasNextPage, METH_VARARGS | METH_KEYWORDS, NULL},
3586 { (char *)"Wizard_HasPrevPage", (PyCFunction) _wrap_Wizard_HasPrevPage, METH_VARARGS | METH_KEYWORDS, NULL},
3587 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS, NULL},
3588 { NULL, NULL, 0, NULL }
3589 };
3590
3591
3592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3593
3594 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
3595 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
3596 }
3597 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
3598 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
3599 }
3600 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
3601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
3602 }
3603 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
3604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
3605 }
3606 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
3607 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
3608 }
3609 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
3610 return (void *)((wxObject *) ((wxSizerItem *) x));
3611 }
3612 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
3613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
3614 }
3615 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
3616 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
3617 }
3618 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
3619 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
3620 }
3621 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
3622 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
3623 }
3624 static void *_p_wxSizerTo_p_wxObject(void *x) {
3625 return (void *)((wxObject *) ((wxSizer *) x));
3626 }
3627 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
3628 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
3629 }
3630 static void *_p_wxWizardPageTo_p_wxObject(void *x) {
3631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxWizardPage *) x));
3632 }
3633 static void *_p_wxPyWizardPageTo_p_wxObject(void *x) {
3634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
3635 }
3636 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
3637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
3638 }
3639 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
3640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
3641 }
3642 static void *_p_wxEventTo_p_wxObject(void *x) {
3643 return (void *)((wxObject *) ((wxEvent *) x));
3644 }
3645 static void *_p_wxFontDataTo_p_wxObject(void *x) {
3646 return (void *)((wxObject *) ((wxFontData *) x));
3647 }
3648 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
3649 return (void *)((wxObject *) ((wxPrintData *) x));
3650 }
3651 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
3652 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
3653 }
3654 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
3655 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
3656 }
3657 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
3658 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
3659 }
3660 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
3661 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
3662 }
3663 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
3664 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
3665 }
3666 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
3667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
3668 }
3669 static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x) {
3670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
3671 }
3672 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
3673 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
3674 }
3675 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
3676 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
3677 }
3678 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
3679 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
3680 }
3681 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
3682 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
3683 }
3684 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
3685 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3686 }
3687 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
3688 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
3689 }
3690 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
3691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
3692 }
3693 static void *_p_wxControlTo_p_wxObject(void *x) {
3694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
3695 }
3696 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
3697 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
3698 }
3699 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
3700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
3701 }
3702 static void *_p_wxFSFileTo_p_wxObject(void *x) {
3703 return (void *)((wxObject *) ((wxFSFile *) x));
3704 }
3705 static void *_p_wxWizardTo_p_wxObject(void *x) {
3706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
3707 }
3708 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
3709 return (void *)((wxObject *) ((wxFindReplaceData *) x));
3710 }
3711 static void *_p_wxPySizerTo_p_wxObject(void *x) {
3712 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
3713 }
3714 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
3715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
3716 }
3717 static void *_p_wxColourDataTo_p_wxObject(void *x) {
3718 return (void *)((wxObject *) ((wxColourData *) x));
3719 }
3720 static void *_p_wxPyEventTo_p_wxObject(void *x) {
3721 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
3722 }
3723 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
3724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
3725 }
3726 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
3727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
3728 }
3729 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
3730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
3731 }
3732 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
3733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
3734 }
3735 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
3736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
3737 }
3738 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
3739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
3740 }
3741 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
3742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
3743 }
3744 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
3745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
3746 }
3747 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
3748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
3749 }
3750 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
3751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
3752 }
3753 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
3754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
3755 }
3756 static void *_p_wxShowEventTo_p_wxObject(void *x) {
3757 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
3758 }
3759 static void *_p_wxPrinterTo_p_wxObject(void *x) {
3760 return (void *)((wxObject *) ((wxPrinter *) x));
3761 }
3762 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
3763 return (void *)((wxObject *) ((wxMenuItem *) x));
3764 }
3765 static void *_p_wxDateEventTo_p_wxObject(void *x) {
3766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
3767 }
3768 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
3769 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
3770 }
3771 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
3772 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
3773 }
3774 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
3775 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
3776 }
3777 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
3778 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
3779 }
3780 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
3781 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
3782 }
3783 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
3784 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
3785 }
3786 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
3787 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
3788 }
3789 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
3790 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
3791 }
3792 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
3793 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
3794 }
3795 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
3796 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
3797 }
3798 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
3799 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
3800 }
3801 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
3802 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
3803 }
3804 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
3805 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
3806 }
3807 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
3808 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
3809 }
3810 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
3811 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
3812 }
3813 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
3814 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
3815 }
3816 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
3817 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
3818 }
3819 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
3820 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
3821 }
3822 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
3823 return (void *)((wxObject *) ((wxImageHandler *) x));
3824 }
3825 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
3826 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
3827 }
3828 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
3829 return (void *)((wxObject *) ((wxEvtHandler *) x));
3830 }
3831 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
3832 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
3833 }
3834 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
3835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
3836 }
3837 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
3838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
3839 }
3840 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
3841 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
3842 }
3843 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
3844 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
3845 }
3846 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
3847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
3848 }
3849 static void *_p_wxImageTo_p_wxObject(void *x) {
3850 return (void *)((wxObject *) ((wxImage *) x));
3851 }
3852 static void *_p_wxFrameTo_p_wxObject(void *x) {
3853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
3854 }
3855 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
3856 return (void *)((wxObject *) ((wxPyPrintout *) x));
3857 }
3858 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
3859 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
3860 }
3861 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
3862 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
3863 }
3864 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
3865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
3866 }
3867 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
3868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
3869 }
3870 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
3871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3872 }
3873 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
3874 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
3875 }
3876 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
3877 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
3878 }
3879 static void *_p_wxWindowTo_p_wxObject(void *x) {
3880 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
3881 }
3882 static void *_p_wxMenuTo_p_wxObject(void *x) {
3883 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
3884 }
3885 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
3886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
3887 }
3888 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
3889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
3890 }
3891 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
3892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
3893 }
3894 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
3895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
3896 }
3897 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
3898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
3899 }
3900 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
3901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
3902 }
3903 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
3904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
3905 }
3906 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
3907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
3908 }
3909 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
3910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
3911 }
3912 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
3913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
3914 }
3915 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
3916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
3917 }
3918 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
3919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
3920 }
3921 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
3922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
3923 }
3924 static void *_p_wxSashEventTo_p_wxObject(void *x) {
3925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
3926 }
3927 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
3928 return (void *)((wxObject *) ((wxPrintPreview *) x));
3929 }
3930 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
3931 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
3932 }
3933 static void *_p_wxPanelTo_p_wxObject(void *x) {
3934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
3935 }
3936 static void *_p_wxDialogTo_p_wxObject(void *x) {
3937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
3938 }
3939 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
3940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
3941 }
3942 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
3943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
3944 }
3945 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
3946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
3947 }
3948 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
3949 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
3950 }
3951 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
3952 return (void *)((wxObject *) ((wxPrintDialog *) x));
3953 }
3954 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
3955 return (void *)((wxObject *) ((wxFileSystem *) x));
3956 }
3957 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
3958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
3959 }
3960 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
3961 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
3962 }
3963 static void *_p_wxPyAppTo_p_wxObject(void *x) {
3964 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
3965 }
3966 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
3967 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
3968 }
3969 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
3970 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
3971 }
3972 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
3973 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
3974 }
3975 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
3976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
3977 }
3978 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
3979 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
3980 }
3981 static void *_p_wxWizardEventTo_p_wxObject(void *x) {
3982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
3983 }
3984 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
3985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
3986 }
3987 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
3988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
3989 }
3990 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
3991 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
3992 }
3993 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
3994 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
3995 }
3996 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
3997 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
3998 }
3999 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
4000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4001 }
4002 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
4003 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
4004 }
4005 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
4006 return (void *)((wxObject *) ((wxPrintDialogData *) x));
4007 }
4008 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
4009 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
4010 }
4011 static void *_p_wxValidatorTo_p_wxObject(void *x) {
4012 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
4013 }
4014 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
4015 return (void *)((wxDialog *) ((wxColourDialog *) x));
4016 }
4017 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
4018 return (void *)((wxDialog *) ((wxDirDialog *) x));
4019 }
4020 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
4021 return (void *)((wxDialog *) ((wxFontDialog *) x));
4022 }
4023 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
4024 return (void *)((wxDialog *) ((wxFileDialog *) x));
4025 }
4026 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
4027 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
4028 }
4029 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
4030 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
4031 }
4032 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
4033 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
4034 }
4035 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
4036 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4037 }
4038 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
4039 return (void *)((wxDialog *) ((wxMessageDialog *) x));
4040 }
4041 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
4042 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
4043 }
4044 static void *_p_wxWizardTo_p_wxDialog(void *x) {
4045 return (void *)((wxDialog *) ((wxWizard *) x));
4046 }
4047 static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x) {
4048 return (void *)((wxWizardPage *) ((wxWizardPageSimple *) x));
4049 }
4050 static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x) {
4051 return (void *)((wxWizardPage *) ((wxPyWizardPage *) x));
4052 }
4053 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
4054 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
4055 }
4056 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
4057 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
4058 }
4059 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
4060 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
4061 }
4062 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
4063 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
4064 }
4065 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
4066 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
4067 }
4068 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
4069 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
4070 }
4071 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
4072 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
4073 }
4074 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
4075 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
4076 }
4077 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
4078 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
4079 }
4080 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
4081 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
4082 }
4083 static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x) {
4084 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxWizard *) x));
4085 }
4086 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
4087 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
4088 }
4089 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
4090 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4091 }
4092 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
4093 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
4094 }
4095 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4096 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
4097 }
4098 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4099 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
4100 }
4101 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
4102 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
4103 }
4104 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
4105 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
4106 }
4107 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
4108 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
4109 }
4110 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4111 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
4112 }
4113 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4114 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4115 }
4116 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
4117 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4118 }
4119 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
4120 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4121 }
4122 static void *_p_wxWizardPageTo_p_wxWindow(void *x) {
4123 return (void *)((wxWindow *) (wxPanel *) ((wxWizardPage *) x));
4124 }
4125 static void *_p_wxPyWizardPageTo_p_wxWindow(void *x) {
4126 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4127 }
4128 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
4129 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
4130 }
4131 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
4132 return (void *)((wxWindow *) ((wxMenuBar *) x));
4133 }
4134 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
4135 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4136 }
4137 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
4138 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4139 }
4140 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
4141 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4142 }
4143 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
4144 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4145 }
4146 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
4147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4148 }
4149 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
4150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4151 }
4152 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
4153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4154 }
4155 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
4156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4157 }
4158 static void *_p_wxPanelTo_p_wxWindow(void *x) {
4159 return (void *)((wxWindow *) ((wxPanel *) x));
4160 }
4161 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
4162 return (void *)((wxWindow *) ((wxStatusBar *) x));
4163 }
4164 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
4165 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
4166 }
4167 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
4168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
4169 }
4170 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
4171 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4172 }
4173 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
4174 return (void *)((wxWindow *) ((wxPopupWindow *) x));
4175 }
4176 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
4177 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
4178 }
4179 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
4180 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
4181 }
4182 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
4183 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
4184 }
4185 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
4186 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
4187 }
4188 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
4189 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
4190 }
4191 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
4192 return (void *)((wxWindow *) ((wxSashWindow *) x));
4193 }
4194 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
4195 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
4196 }
4197 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
4198 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4199 }
4200 static void *_p_wxControlTo_p_wxWindow(void *x) {
4201 return (void *)((wxWindow *) ((wxControl *) x));
4202 }
4203 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
4204 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4205 }
4206 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
4207 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4208 }
4209 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
4210 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4211 }
4212 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
4213 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
4214 }
4215 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
4216 return (void *)((wxWindow *) ((wxPyWindow *) x));
4217 }
4218 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
4219 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4220 }
4221 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
4222 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4223 }
4224 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
4225 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4226 }
4227 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
4228 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
4229 }
4230 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
4231 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4232 }
4233 static void *_p_wxWizardTo_p_wxWindow(void *x) {
4234 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4235 }
4236 static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x) {
4237 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4238 }
4239 static void *_p_wxFrameTo_p_wxWindow(void *x) {
4240 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
4241 }
4242 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
4243 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4244 }
4245 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
4246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4247 }
4248 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
4249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4250 }
4251 static void *_p_wxDialogTo_p_wxWindow(void *x) {
4252 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
4253 }
4254 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
4255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4256 }
4257 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
4258 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
4259 }
4260 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
4261 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
4262 }
4263 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
4264 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
4265 }
4266 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
4267 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
4268 }
4269 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
4270 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
4271 }
4272 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
4273 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
4274 }
4275 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
4276 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4277 }
4278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
4279 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
4280 }
4281 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
4282 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
4283 }
4284 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
4285 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
4286 }
4287 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
4288 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
4289 }
4290 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
4291 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
4292 }
4293 static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x) {
4294 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxWizardEvent *) x));
4295 }
4296 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
4297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4298 }
4299 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
4300 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4301 }
4302 static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x) {
4303 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxWizardPage *) x));
4304 }
4305 static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x) {
4306 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4307 }
4308 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
4309 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
4310 }
4311 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
4312 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
4313 }
4314 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
4315 return (void *)((wxEvtHandler *) ((wxValidator *) x));
4316 }
4317 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
4318 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
4319 }
4320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
4321 return (void *)((wxEvtHandler *) ((wxMenu *) x));
4322 }
4323 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
4324 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4325 }
4326 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
4327 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4328 }
4329 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
4330 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4331 }
4332 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
4333 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4334 }
4335 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
4336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4337 }
4338 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
4339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4340 }
4341 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
4342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4343 }
4344 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
4345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4346 }
4347 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
4348 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
4349 }
4350 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
4351 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
4352 }
4353 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
4354 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4355 }
4356 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
4357 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
4358 }
4359 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
4360 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4361 }
4362 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
4363 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
4364 }
4365 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
4366 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4367 }
4368 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
4369 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
4370 }
4371 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
4372 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
4373 }
4374 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
4375 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
4376 }
4377 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
4378 return (void *)((wxEvtHandler *) ((wxWindow *) x));
4379 }
4380 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
4381 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4382 }
4383 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
4384 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
4385 }
4386 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
4387 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
4388 }
4389 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
4390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4391 }
4392 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
4393 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
4394 }
4395 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
4396 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4397 }
4398 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
4399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4400 }
4401 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
4402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4403 }
4404 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
4405 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
4406 }
4407 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
4408 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4409 }
4410 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
4411 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
4412 }
4413 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
4414 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4415 }
4416 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
4417 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4418 }
4419 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
4420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4421 }
4422 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
4423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4424 }
4425 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
4426 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4427 }
4428 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
4429 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
4430 }
4431 static void *_p_wxWizardTo_p_wxEvtHandler(void *x) {
4432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4433 }
4434 static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x) {
4435 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4436 }
4437 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
4438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4439 }
4440 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
4441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4442 }
4443 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
4444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4445 }
4446 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
4447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4448 }
4449 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
4450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4451 }
4452 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
4453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4454 }
4455 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
4456 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
4457 }
4458 static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x) {
4459 return (void *)((wxNotifyEvent *) ((wxWizardEvent *) x));
4460 }
4461 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
4462 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
4463 }
4464 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
4465 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
4466 }
4467 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
4468 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4469 }
4470 static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x) {
4471 return (void *)((wxPanel *) (wxWizardPage *) ((wxWizardPageSimple *) x));
4472 }
4473 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
4474 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4475 }
4476 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
4477 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4478 }
4479 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
4480 return (void *)((wxPanel *) ((wxPyPanel *) x));
4481 }
4482 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
4483 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
4484 }
4485 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
4486 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
4487 }
4488 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
4489 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4490 }
4491 static void *_p_wxWizardPageTo_p_wxPanel(void *x) {
4492 return (void *)((wxPanel *) ((wxWizardPage *) x));
4493 }
4494 static void *_p_wxPyWizardPageTo_p_wxPanel(void *x) {
4495 return (void *)((wxPanel *) (wxWizardPage *) ((wxPyWizardPage *) x));
4496 }
4497 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
4498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
4499 }
4500 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
4501 return (void *)((wxEvent *) ((wxMenuEvent *) x));
4502 }
4503 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
4504 return (void *)((wxEvent *) ((wxCloseEvent *) x));
4505 }
4506 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
4507 return (void *)((wxEvent *) ((wxMouseEvent *) x));
4508 }
4509 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
4510 return (void *)((wxEvent *) ((wxEraseEvent *) x));
4511 }
4512 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
4513 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
4514 }
4515 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
4516 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
4517 }
4518 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
4519 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
4520 }
4521 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
4522 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
4523 }
4524 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
4525 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
4526 }
4527 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
4528 return (void *)((wxEvent *) ((wxPyEvent *) x));
4529 }
4530 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
4531 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
4532 }
4533 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
4534 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
4535 }
4536 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
4537 return (void *)((wxEvent *) ((wxIdleEvent *) x));
4538 }
4539 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
4540 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
4541 }
4542 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
4543 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
4544 }
4545 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
4546 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
4547 }
4548 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
4549 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
4550 }
4551 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
4552 return (void *)((wxEvent *) ((wxActivateEvent *) x));
4553 }
4554 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
4555 return (void *)((wxEvent *) ((wxSizeEvent *) x));
4556 }
4557 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
4558 return (void *)((wxEvent *) ((wxMoveEvent *) x));
4559 }
4560 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
4561 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
4562 }
4563 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
4564 return (void *)((wxEvent *) ((wxPaintEvent *) x));
4565 }
4566 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
4567 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
4568 }
4569 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
4570 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
4571 }
4572 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
4573 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
4574 }
4575 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
4576 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
4577 }
4578 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
4579 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
4580 }
4581 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
4582 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
4583 }
4584 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
4585 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
4586 }
4587 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
4588 return (void *)((wxEvent *) ((wxFocusEvent *) x));
4589 }
4590 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
4591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
4592 }
4593 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
4594 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
4595 }
4596 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
4597 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
4598 }
4599 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
4600 return (void *)((wxEvent *) ((wxShowEvent *) x));
4601 }
4602 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
4603 return (void *)((wxEvent *) ((wxCommandEvent *) x));
4604 }
4605 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
4606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
4607 }
4608 static void *_p_wxWizardEventTo_p_wxEvent(void *x) {
4609 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4610 }
4611 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
4612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4613 }
4614 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
4615 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
4616 }
4617 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
4618 return (void *)((wxEvent *) ((wxKeyEvent *) x));
4619 }
4620 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
4621 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
4622 }
4623 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
4624 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
4625 }
4626 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
4627 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}};
4628 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}};
4629 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}};
4630 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}};
4631 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_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 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}};
4632 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 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_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}};
4633 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}};
4634 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}};
4635 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}};
4636 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}};
4637 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}};
4638 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}};
4639 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}};
4640 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}};
4641 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}};
4642 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}};
4643 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}};
4644 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
4645 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}};
4646 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}};
4647 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}};
4648 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}};
4649 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}};
4650 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}};
4651 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}};
4652 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}};
4653 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}};
4654 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}};
4655
4656 static swig_type_info *swig_types_initial[] = {
4657 _swigt__p_wxObject,
4658 _swigt__p_wxDialog,
4659 _swigt__p_unsigned_char,
4660 _swigt__p_wxWizardPageSimple,
4661 _swigt__p_wxWizardPage,
4662 _swigt__p_wxTopLevelWindow,
4663 _swigt__p_wxWindow,
4664 _swigt__p_wxPyWizardPage,
4665 _swigt__p_wxCommandEvent,
4666 _swigt__p_unsigned_long,
4667 _swigt__p_wxWizardEvent,
4668 _swigt__p_wxBitmap,
4669 _swigt__unsigned_int,
4670 _swigt__p_unsigned_int,
4671 _swigt__p_form_ops_t,
4672 _swigt__p_wxDuplexMode,
4673 _swigt__p_wxWizard,
4674 _swigt__p_char,
4675 _swigt__p_wxEvtHandler,
4676 _swigt__p_wxString,
4677 _swigt__std__ptrdiff_t,
4678 _swigt__ptrdiff_t,
4679 _swigt__p_wxNotifyEvent,
4680 _swigt__p_wxPanel,
4681 _swigt__p_wxEvent,
4682 _swigt__p_wxPaperSize,
4683 _swigt__p_wxSize,
4684 _swigt__p_wxChar,
4685 _swigt__p_int,
4686 0
4687 };
4688
4689
4690 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4691
4692 static swig_const_info swig_const_table[] = {
4693 {0, 0, 0, 0.0, 0, 0}};
4694
4695 #ifdef __cplusplus
4696 }
4697 #endif
4698
4699
4700 #ifdef __cplusplus
4701 extern "C" {
4702 #endif
4703
4704 /* Python-specific SWIG API */
4705 #define SWIG_newvarlink() SWIG_Python_newvarlink()
4706 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4707 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4708
4709 /* -----------------------------------------------------------------------------
4710 * global variable support code.
4711 * ----------------------------------------------------------------------------- */
4712
4713 typedef struct swig_globalvar {
4714 char *name; /* Name of global variable */
4715 PyObject *(*get_attr)(); /* Return the current value */
4716 int (*set_attr)(PyObject *); /* Set the value */
4717 struct swig_globalvar *next;
4718 } swig_globalvar;
4719
4720 typedef struct swig_varlinkobject {
4721 PyObject_HEAD
4722 swig_globalvar *vars;
4723 } swig_varlinkobject;
4724
4725 static PyObject *
4726 swig_varlink_repr(swig_varlinkobject *v) {
4727 v = v;
4728 return PyString_FromString("<Swig global variables>");
4729 }
4730
4731 static int
4732 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
4733 swig_globalvar *var;
4734 flags = flags;
4735 fprintf(fp,"Swig global variables { ");
4736 for (var = v->vars; var; var=var->next) {
4737 fprintf(fp,"%s", var->name);
4738 if (var->next) fprintf(fp,", ");
4739 }
4740 fprintf(fp," }\n");
4741 return 0;
4742 }
4743
4744 static PyObject *
4745 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
4746 swig_globalvar *var = v->vars;
4747 while (var) {
4748 if (strcmp(var->name,n) == 0) {
4749 return (*var->get_attr)();
4750 }
4751 var = var->next;
4752 }
4753 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4754 return NULL;
4755 }
4756
4757 static int
4758 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
4759 swig_globalvar *var = v->vars;
4760 while (var) {
4761 if (strcmp(var->name,n) == 0) {
4762 return (*var->set_attr)(p);
4763 }
4764 var = var->next;
4765 }
4766 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4767 return 1;
4768 }
4769
4770 static PyTypeObject varlinktype = {
4771 PyObject_HEAD_INIT(0)
4772 0, /* Number of items in variable part (ob_size) */
4773 (char *)"swigvarlink", /* Type name (tp_name) */
4774 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
4775 0, /* Itemsize (tp_itemsize) */
4776 0, /* Deallocator (tp_dealloc) */
4777 (printfunc) swig_varlink_print, /* Print (tp_print) */
4778 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
4779 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
4780 0, /* tp_compare */
4781 (reprfunc) swig_varlink_repr, /* tp_repr */
4782 0, /* tp_as_number */
4783 0, /* tp_as_sequence */
4784 0, /* tp_as_mapping */
4785 0, /* tp_hash */
4786 0, /* tp_call */
4787 0, /* tp_str */
4788 0, /* tp_getattro */
4789 0, /* tp_setattro */
4790 0, /* tp_as_buffer */
4791 0, /* tp_flags */
4792 0, /* tp_doc */
4793 #if PY_VERSION_HEX >= 0x02000000
4794 0, /* tp_traverse */
4795 0, /* tp_clear */
4796 #endif
4797 #if PY_VERSION_HEX >= 0x02010000
4798 0, /* tp_richcompare */
4799 0, /* tp_weaklistoffset */
4800 #endif
4801 #if PY_VERSION_HEX >= 0x02020000
4802 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4803 #endif
4804 #if PY_VERSION_HEX >= 0x02030000
4805 0, /* tp_del */
4806 #endif
4807 #ifdef COUNT_ALLOCS
4808 0,0,0,0 /* tp_alloc -> tp_next */
4809 #endif
4810 };
4811
4812 /* Create a variable linking object for use later */
4813 static PyObject *
4814 SWIG_Python_newvarlink(void) {
4815 swig_varlinkobject *result = 0;
4816 result = PyMem_NEW(swig_varlinkobject,1);
4817 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
4818 result->ob_type = &varlinktype;
4819 result->vars = 0;
4820 result->ob_refcnt = 0;
4821 Py_XINCREF((PyObject *) result);
4822 return ((PyObject*) result);
4823 }
4824
4825 static void
4826 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
4827 swig_varlinkobject *v;
4828 swig_globalvar *gv;
4829 v= (swig_varlinkobject *) p;
4830 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
4831 gv->name = (char *) malloc(strlen(name)+1);
4832 strcpy(gv->name,name);
4833 gv->get_attr = get_attr;
4834 gv->set_attr = set_attr;
4835 gv->next = v->vars;
4836 v->vars = gv;
4837 }
4838
4839 /* -----------------------------------------------------------------------------
4840 * constants/methods manipulation
4841 * ----------------------------------------------------------------------------- */
4842
4843 /* Install Constants */
4844 static void
4845 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
4846 PyObject *obj = 0;
4847 size_t i;
4848 for (i = 0; constants[i].type; i++) {
4849 switch(constants[i].type) {
4850 case SWIG_PY_INT:
4851 obj = PyInt_FromLong(constants[i].lvalue);
4852 break;
4853 case SWIG_PY_FLOAT:
4854 obj = PyFloat_FromDouble(constants[i].dvalue);
4855 break;
4856 case SWIG_PY_STRING:
4857 if (constants[i].pvalue) {
4858 obj = PyString_FromString((char *) constants[i].pvalue);
4859 } else {
4860 Py_INCREF(Py_None);
4861 obj = Py_None;
4862 }
4863 break;
4864 case SWIG_PY_POINTER:
4865 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
4866 break;
4867 case SWIG_PY_BINARY:
4868 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
4869 break;
4870 default:
4871 obj = 0;
4872 break;
4873 }
4874 if (obj) {
4875 PyDict_SetItemString(d,constants[i].name,obj);
4876 Py_DECREF(obj);
4877 }
4878 }
4879 }
4880
4881 /* -----------------------------------------------------------------------------*/
4882 /* Fix SwigMethods to carry the callback ptrs when needed */
4883 /* -----------------------------------------------------------------------------*/
4884
4885 static void
4886 SWIG_Python_FixMethods(PyMethodDef *methods,
4887 swig_const_info *const_table,
4888 swig_type_info **types,
4889 swig_type_info **types_initial) {
4890 size_t i;
4891 for (i = 0; methods[i].ml_name; ++i) {
4892 char *c = methods[i].ml_doc;
4893 if (c && (c = strstr(c, "swig_ptr: "))) {
4894 int j;
4895 swig_const_info *ci = 0;
4896 char *name = c + 10;
4897 for (j = 0; const_table[j].type; j++) {
4898 if (strncmp(const_table[j].name, name,
4899 strlen(const_table[j].name)) == 0) {
4900 ci = &(const_table[j]);
4901 break;
4902 }
4903 }
4904 if (ci) {
4905 size_t shift = (ci->ptype) - types;
4906 swig_type_info *ty = types_initial[shift];
4907 size_t ldoc = (c - methods[i].ml_doc);
4908 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
4909 char *ndoc = (char*)malloc(ldoc + lptr + 10);
4910 char *buff = ndoc;
4911 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
4912 strncpy(buff, methods[i].ml_doc, ldoc);
4913 buff += ldoc;
4914 strncpy(buff, "swig_ptr: ", 10);
4915 buff += 10;
4916 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
4917 methods[i].ml_doc = ndoc;
4918 }
4919 }
4920 }
4921 }
4922
4923 /* -----------------------------------------------------------------------------*
4924 * Initialize type list
4925 * -----------------------------------------------------------------------------*/
4926
4927 #if PY_MAJOR_VERSION < 2
4928 /* PyModule_AddObject function was introduced in Python 2.0. The following function
4929 is copied out of Python/modsupport.c in python version 2.3.4 */
4930 static int
4931 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
4932 {
4933 PyObject *dict;
4934 if (!PyModule_Check(m)) {
4935 PyErr_SetString(PyExc_TypeError,
4936 "PyModule_AddObject() needs module as first arg");
4937 return -1;
4938 }
4939 if (!o) {
4940 PyErr_SetString(PyExc_TypeError,
4941 "PyModule_AddObject() needs non-NULL value");
4942 return -1;
4943 }
4944
4945 dict = PyModule_GetDict(m);
4946 if (dict == NULL) {
4947 /* Internal error -- modules must have a dict! */
4948 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
4949 PyModule_GetName(m));
4950 return -1;
4951 }
4952 if (PyDict_SetItemString(dict, name, o))
4953 return -1;
4954 Py_DECREF(o);
4955 return 0;
4956 }
4957 #endif
4958
4959 static swig_type_info **
4960 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
4961 static PyMethodDef swig_empty_runtime_method_table[] = {
4962 {
4963 NULL, NULL, 0, NULL
4964 }
4965 };/* Sentinel */
4966
4967 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
4968 swig_empty_runtime_method_table);
4969 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
4970 if (pointer && module) {
4971 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
4972 }
4973 return type_list_handle;
4974 }
4975
4976 static swig_type_info **
4977 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
4978 swig_type_info **type_pointer;
4979
4980 /* first check if module already created */
4981 type_pointer = SWIG_Python_GetTypeListHandle();
4982 if (type_pointer) {
4983 return type_pointer;
4984 } else {
4985 /* create a new module and variable */
4986 return SWIG_Python_SetTypeListHandle(type_list_handle);
4987 }
4988 }
4989
4990 #ifdef __cplusplus
4991 }
4992 #endif
4993
4994 /* -----------------------------------------------------------------------------*
4995 * Partial Init method
4996 * -----------------------------------------------------------------------------*/
4997
4998 #ifdef SWIG_LINK_RUNTIME
4999 #ifdef __cplusplus
5000 extern "C"
5001 #endif
5002 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
5003 #endif
5004
5005 #ifdef __cplusplus
5006 extern "C"
5007 #endif
5008 SWIGEXPORT(void) SWIG_init(void) {
5009 static PyObject *SWIG_globals = 0;
5010 static int typeinit = 0;
5011 PyObject *m, *d;
5012 int i;
5013 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
5014
5015 /* Fix SwigMethods to carry the callback ptrs when needed */
5016 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
5017
5018 m = Py_InitModule((char *) SWIG_name, SwigMethods);
5019 d = PyModule_GetDict(m);
5020
5021 if (!typeinit) {
5022 #ifdef SWIG_LINK_RUNTIME
5023 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
5024 #else
5025 # ifndef SWIG_STATIC_RUNTIME
5026 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
5027 # endif
5028 #endif
5029 for (i = 0; swig_types_initial[i]; i++) {
5030 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
5031 }
5032 typeinit = 1;
5033 }
5034 SWIG_InstallConstants(d,swig_const_table);
5035
5036 {
5037 PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON)));
5038 }
5039 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED));
5040 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING));
5041 PyDict_SetItemString(d, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL));
5042 PyDict_SetItemString(d, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP));
5043 PyDict_SetItemString(d, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED));
5044
5045
5046 }
5047