]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/wizard_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / wizard_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
RD
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
7e08d4ef 12#define SWIG_VERSION 0x010327
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d14a1e28
RD
28#endif
29
32fe5131
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d14a1e28 36
32fe5131
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 41# else
32fe5131 42# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
43# endif
44#endif
d14a1e28 45
32fe5131
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
9fd4be55 97
36ed4f51 98#include <Python.h>
d14a1e28
RD
99
100/***********************************************************************
36ed4f51 101 * swigrun.swg
d14a1e28 102 *
36ed4f51
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d14a1e28
RD
105 *
106 ************************************************************************/
107
36ed4f51
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
32fe5131 110#define SWIG_RUNTIME_VERSION "2"
d14a1e28 111
36ed4f51
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
32fe5131
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 117#else
32fe5131 118# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
32fe5131 129
36ed4f51 130#ifndef SWIGRUNTIME
32fe5131 131# define SWIGRUNTIME SWIGINTERN
36ed4f51 132#endif
32fe5131 133
36ed4f51 134#ifndef SWIGRUNTIMEINLINE
32fe5131 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
136#endif
137
32fe5131
RD
138#include <string.h>
139
d14a1e28
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
32fe5131 147/* Structure to store inforomation on one type */
d14a1e28 148typedef struct swig_type_info {
32fe5131
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d14a1e28
RD
154} swig_type_info;
155
32fe5131
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
36ed4f51
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 190 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 197 Return 0 if not equal, 1 if equal
36ed4f51
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
32fe5131 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
32fe5131
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 217*/
32fe5131
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
36ed4f51 226 }
32fe5131
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
36ed4f51 229 }
32fe5131 230 return equiv;
36ed4f51
RD
231}
232
32fe5131
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
36ed4f51
RD
256/*
257 Check the typename
258*/
32fe5131 259SWIGRUNTIME swig_cast_info *
36ed4f51 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
32fe5131 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
36ed4f51
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
32fe5131
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
36ed4f51
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
32fe5131
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
36ed4f51 335 }
32fe5131
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
36ed4f51 379 }
32fe5131
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
36ed4f51 414 }
32fe5131
RD
415
416 /* neither found a match */
417 return 0;
36ed4f51
RD
418}
419
32fe5131 420
36ed4f51
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
36ed4f51 429 for (; u != eu; ++u) {
32fe5131 430 register unsigned char uu = *u;
36ed4f51
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
32fe5131 443 register const unsigned char *eu = u + sz;
36ed4f51 444 for (; u != eu; ++u) {
32fe5131 445 register char d = *(c++);
36ed4f51
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
36ed4f51
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
d14a1e28 506
36ed4f51
RD
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d14a1e28
RD
519
520#ifdef __cplusplus
521}
522#endif
523
36ed4f51
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
d14a1e28
RD
528#ifdef __cplusplus
529extern "C" {
530#endif
531
36ed4f51
RD
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536#ifndef SWIGINTERN
32fe5131 537# define SWIGINTERN static SWIGUNUSED
36ed4f51
RD
538#endif
539
32fe5131
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51
RD
542#endif
543
36ed4f51
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
563
564/* Constant Types */
d14a1e28
RD
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
d14a1e28
RD
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
580
36ed4f51
RD
581
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589#ifdef __cplusplus
590}
591#endif
592
593
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
603
d14a1e28 604/* Common SWIG API */
36ed4f51
RD
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 608
d14a1e28 609
36ed4f51
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 613
32fe5131
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d14a1e28 617
36ed4f51
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d14a1e28 629
36ed4f51
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d14a1e28 633
d14a1e28 634
32fe5131
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
d14a1e28 640#ifdef __cplusplus
36ed4f51
RD
641extern "C" {
642#endif
643
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
36ed4f51
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
650
32fe5131
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
36ed4f51
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
674
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
680
681/* Declarations for objects of type PySwigObject */
682
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685{
686 char result[SWIG_BUFFER_SIZE];
32fe5131 687 flags = flags;
36ed4f51
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
693 }
694}
695
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
698{
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
702}
703
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
706{
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710}
711
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
714{
32fe5131
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
36ed4f51
RD
732}
733
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
736{
32fe5131 737 return PySwigObject_format("%o",v);
d14a1e28 738}
36ed4f51
RD
739
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
742{
32fe5131 743 return PySwigObject_format("%x",v);
36ed4f51
RD
744}
745
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748{
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
32fe5131 751 return (c > 0) ? 1 : -1;
36ed4f51
RD
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
32fe5131 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
756 }
757}
758
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
761{
32fe5131 762 PyObject_Del(self);
36ed4f51
RD
763}
764
765SWIGRUNTIME PyTypeObject*
32fe5131
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
36ed4f51
RD
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 794#if PY_VERSION_HEX >= 0x02020000
36ed4f51 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
798#endif
799 };
800
32fe5131
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
36ed4f51 805 if (!type_init) {
32fe5131
RD
806 PyTypeObject tmp
807#endif
808 = {
36ed4f51
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
32fe5131 811 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
32fe5131
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
d14a1e28 840#endif
36ed4f51
RD
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843#endif
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
32fe5131
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
36ed4f51
RD
850 type_init = 1;
851 }
32fe5131
RD
852#endif
853 return &pyswigobject_type;
36ed4f51 854}
c370783e 855
36ed4f51
RD
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858{
32fe5131
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
36ed4f51
RD
864 return (PyObject *)self;
865}
d14a1e28 866
36ed4f51
RD
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
d14a1e28 872
36ed4f51
RD
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
875{
876 return ((PySwigObject *)self)->desc;
877}
d14a1e28 878
36ed4f51
RD
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
32fe5131 881 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
d14a1e28 884
36ed4f51
RD
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
d14a1e28 888
36ed4f51
RD
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
d14a1e28 895
36ed4f51
RD
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898{
899 char result[SWIG_BUFFER_SIZE];
32fe5131 900 flags = flags;
36ed4f51
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909}
910
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
913{
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920}
c370783e 921
36ed4f51
RD
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
32fe5131 929 return PyString_FromString(v->desc);
36ed4f51
RD
930 }
931}
932
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935{
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
32fe5131 938 return (c > 0) ? 1 : -1;
36ed4f51
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
32fe5131 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945}
946
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
949{
950 free(self->pack);
32fe5131 951 PyObject_Del(self);
36ed4f51
RD
952}
953
954SWIGRUNTIME PyTypeObject*
32fe5131
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
36ed4f51 957 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
36ed4f51 962 if (!type_init) {
32fe5131
RD
963 PyTypeObject tmp
964#endif
965 = {
36ed4f51
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
32fe5131 968 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
32fe5131
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
32fe5131
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
36ed4f51
RD
1007 type_init = 1;
1008 }
32fe5131
RD
1009#endif
1010 return &pyswigpacked_type;
36ed4f51
RD
1011}
1012
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
32fe5131 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
32fe5131
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
36ed4f51
RD
1029 }
1030}
1031
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034{
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
1040
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
1043{
1044 return ((PySwigPacked *)self)->desc;
1045}
1046
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
32fe5131 1049 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
1052
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063#endif
1064
1065#endif
1066
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
1073{
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
32fe5131 1076 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
32fe5131 1097 Py_XDECREF(str);
36ed4f51
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105}
1106
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
1109{
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115}
1116
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
1141
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
1144{
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
32fe5131 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153}
1154
1155
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1163 swig_cast_info *tc;
36ed4f51
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193#else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
32fe5131 1206 c = PyString_AsString(obj);
36ed4f51
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211#endif
1212
1213type_check:
36ed4f51
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
36ed4f51
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
32fe5131 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249}
1250
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263}
1264
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1268 swig_cast_info *tc;
36ed4f51
RD
1269 const char *c = 0;
1270
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1275 c = PyString_AsString(obj);
36ed4f51
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
32fe5131
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
36ed4f51
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
1337
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353#endif
1354 return robj;
1355}
1356
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
1364
32fe5131
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
36ed4f51
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
36ed4f51 1379#endif
32fe5131
RD
1380 }
1381 return (swig_module_info *) type_pointer;
36ed4f51
RD
1382}
1383
32fe5131
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
36ed4f51 1413}
32fe5131 1414#endif
36ed4f51 1415
32fe5131
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
8edf1c75 1427
8edf1c75 1428#ifdef __cplusplus
36ed4f51
RD
1429}
1430#endif
8edf1c75 1431
2f4c0a16 1432
36ed4f51
RD
1433/* -------- TYPES TABLE (BEGIN) -------- */
1434
32fe5131
RD
1435#define SWIGTYPE_p_char swig_types[0]
1436#define SWIGTYPE_p_form_ops_t swig_types[1]
1437#define SWIGTYPE_p_int swig_types[2]
1438#define SWIGTYPE_p_unsigned_char swig_types[3]
1439#define SWIGTYPE_p_unsigned_int swig_types[4]
1440#define SWIGTYPE_p_unsigned_long swig_types[5]
1441#define SWIGTYPE_p_wxANIHandler swig_types[6]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[9]
1445#define SWIGTYPE_p_wxBitmap swig_types[10]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[11]
1447#define SWIGTYPE_p_wxCURHandler swig_types[12]
1448#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13]
1449#define SWIGTYPE_p_wxChar swig_types[14]
1450#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452#define SWIGTYPE_p_wxColourData swig_types[17]
1453#define SWIGTYPE_p_wxColourDialog swig_types[18]
1454#define SWIGTYPE_p_wxCommandEvent swig_types[19]
1455#define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
1456#define SWIGTYPE_p_wxControl swig_types[21]
1457#define SWIGTYPE_p_wxControlWithItems swig_types[22]
1458#define SWIGTYPE_p_wxDateEvent swig_types[23]
1459#define SWIGTYPE_p_wxDialog swig_types[24]
1460#define SWIGTYPE_p_wxDirDialog swig_types[25]
1461#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
1462#define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
1463#define SWIGTYPE_p_wxDuplexMode swig_types[28]
1464#define SWIGTYPE_p_wxEraseEvent swig_types[29]
1465#define SWIGTYPE_p_wxEvent swig_types[30]
1466#define SWIGTYPE_p_wxEvtHandler swig_types[31]
1467#define SWIGTYPE_p_wxFSFile swig_types[32]
1468#define SWIGTYPE_p_wxFileDialog swig_types[33]
1469#define SWIGTYPE_p_wxFileSystem swig_types[34]
1470#define SWIGTYPE_p_wxFindDialogEvent swig_types[35]
1471#define SWIGTYPE_p_wxFindReplaceData swig_types[36]
1472#define SWIGTYPE_p_wxFindReplaceDialog swig_types[37]
1473#define SWIGTYPE_p_wxFlexGridSizer swig_types[38]
1474#define SWIGTYPE_p_wxFocusEvent swig_types[39]
1475#define SWIGTYPE_p_wxFontData swig_types[40]
1476#define SWIGTYPE_p_wxFontDialog swig_types[41]
1477#define SWIGTYPE_p_wxFrame swig_types[42]
1478#define SWIGTYPE_p_wxGBSizerItem swig_types[43]
1479#define SWIGTYPE_p_wxGIFHandler swig_types[44]
1480#define SWIGTYPE_p_wxGridBagSizer swig_types[45]
1481#define SWIGTYPE_p_wxGridSizer swig_types[46]
1482#define SWIGTYPE_p_wxICOHandler swig_types[47]
1483#define SWIGTYPE_p_wxIconizeEvent swig_types[48]
1484#define SWIGTYPE_p_wxIdleEvent swig_types[49]
1485#define SWIGTYPE_p_wxImage swig_types[50]
1486#define SWIGTYPE_p_wxImageHandler swig_types[51]
1487#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[52]
1488#define SWIGTYPE_p_wxInitDialogEvent swig_types[53]
1489#define SWIGTYPE_p_wxJPEGHandler swig_types[54]
1490#define SWIGTYPE_p_wxKeyEvent swig_types[55]
1491#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[56]
1492#define SWIGTYPE_p_wxLayoutConstraints swig_types[57]
1493#define SWIGTYPE_p_wxMDIChildFrame swig_types[58]
1494#define SWIGTYPE_p_wxMDIClientWindow swig_types[59]
1495#define SWIGTYPE_p_wxMDIParentFrame swig_types[60]
1496#define SWIGTYPE_p_wxMaximizeEvent swig_types[61]
1497#define SWIGTYPE_p_wxMenu swig_types[62]
1498#define SWIGTYPE_p_wxMenuBar swig_types[63]
1499#define SWIGTYPE_p_wxMenuEvent swig_types[64]
1500#define SWIGTYPE_p_wxMenuItem swig_types[65]
1501#define SWIGTYPE_p_wxMessageDialog swig_types[66]
1502#define SWIGTYPE_p_wxMiniFrame swig_types[67]
1503#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[68]
1504#define SWIGTYPE_p_wxMouseEvent swig_types[69]
1505#define SWIGTYPE_p_wxMoveEvent swig_types[70]
1506#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[71]
1507#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[72]
1508#define SWIGTYPE_p_wxNcPaintEvent swig_types[73]
1509#define SWIGTYPE_p_wxNotifyEvent swig_types[74]
1510#define SWIGTYPE_p_wxObject swig_types[75]
1511#define SWIGTYPE_p_wxPCXHandler swig_types[76]
1512#define SWIGTYPE_p_wxPNGHandler swig_types[77]
1513#define SWIGTYPE_p_wxPNMHandler swig_types[78]
1514#define SWIGTYPE_p_wxPageSetupDialog swig_types[79]
1515#define SWIGTYPE_p_wxPageSetupDialogData swig_types[80]
1516#define SWIGTYPE_p_wxPaintEvent swig_types[81]
1517#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[82]
1518#define SWIGTYPE_p_wxPanel swig_types[83]
1519#define SWIGTYPE_p_wxPaperSize swig_types[84]
1520#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[85]
1521#define SWIGTYPE_p_wxPopupWindow swig_types[86]
1522#define SWIGTYPE_p_wxPreviewCanvas swig_types[87]
1523#define SWIGTYPE_p_wxPreviewControlBar swig_types[88]
1524#define SWIGTYPE_p_wxPreviewFrame swig_types[89]
1525#define SWIGTYPE_p_wxPrintData swig_types[90]
1526#define SWIGTYPE_p_wxPrintDialog swig_types[91]
1527#define SWIGTYPE_p_wxPrintDialogData swig_types[92]
1528#define SWIGTYPE_p_wxPrintPreview swig_types[93]
1529#define SWIGTYPE_p_wxPrinter swig_types[94]
1530#define SWIGTYPE_p_wxProgressDialog swig_types[95]
1531#define SWIGTYPE_p_wxPyApp swig_types[96]
1532#define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
1533#define SWIGTYPE_p_wxPyEvent swig_types[98]
1534#define SWIGTYPE_p_wxPyHtmlListBox swig_types[99]
1535#define SWIGTYPE_p_wxPyImageHandler swig_types[100]
1536#define SWIGTYPE_p_wxPyPanel swig_types[101]
1537#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[102]
1538#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[103]
1539#define SWIGTYPE_p_wxPyPreviewFrame swig_types[104]
1540#define SWIGTYPE_p_wxPyPrintPreview swig_types[105]
1541#define SWIGTYPE_p_wxPyPrintout swig_types[106]
1542#define SWIGTYPE_p_wxPyScrolledWindow swig_types[107]
1543#define SWIGTYPE_p_wxPySizer swig_types[108]
1544#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[109]
1545#define SWIGTYPE_p_wxPyVListBox swig_types[110]
1546#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[111]
1547#define SWIGTYPE_p_wxPyValidator swig_types[112]
1548#define SWIGTYPE_p_wxPyWindow swig_types[113]
1549#define SWIGTYPE_p_wxPyWizardPage swig_types[114]
1550#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[115]
1551#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116]
1552#define SWIGTYPE_p_wxSashEvent swig_types[117]
1553#define SWIGTYPE_p_wxSashLayoutWindow swig_types[118]
1554#define SWIGTYPE_p_wxSashWindow swig_types[119]
1555#define SWIGTYPE_p_wxScrollEvent swig_types[120]
1556#define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1557#define SWIGTYPE_p_wxScrolledWindow swig_types[122]
1558#define SWIGTYPE_p_wxSetCursorEvent swig_types[123]
1559#define SWIGTYPE_p_wxShowEvent swig_types[124]
1560#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[125]
1561#define SWIGTYPE_p_wxSize swig_types[126]
1562#define SWIGTYPE_p_wxSizeEvent swig_types[127]
1563#define SWIGTYPE_p_wxSizer swig_types[128]
1564#define SWIGTYPE_p_wxSizerItem swig_types[129]
1565#define SWIGTYPE_p_wxSplashScreen swig_types[130]
1566#define SWIGTYPE_p_wxSplashScreenWindow swig_types[131]
1567#define SWIGTYPE_p_wxSplitterEvent swig_types[132]
1568#define SWIGTYPE_p_wxSplitterWindow swig_types[133]
1569#define SWIGTYPE_p_wxStaticBoxSizer swig_types[134]
1570#define SWIGTYPE_p_wxStatusBar swig_types[135]
1571#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
1572#define SWIGTYPE_p_wxString swig_types[137]
1573#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[138]
1574#define SWIGTYPE_p_wxTIFFHandler swig_types[139]
1575#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[140]
1576#define SWIGTYPE_p_wxTextEntryDialog swig_types[141]
1577#define SWIGTYPE_p_wxTipWindow swig_types[142]
1578#define SWIGTYPE_p_wxTopLevelWindow swig_types[143]
1579#define SWIGTYPE_p_wxUpdateUIEvent swig_types[144]
1580#define SWIGTYPE_p_wxValidator swig_types[145]
1581#define SWIGTYPE_p_wxWindow swig_types[146]
1582#define SWIGTYPE_p_wxWindowCreateEvent swig_types[147]
1583#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[148]
1584#define SWIGTYPE_p_wxWizard swig_types[149]
1585#define SWIGTYPE_p_wxWizardEvent swig_types[150]
1586#define SWIGTYPE_p_wxWizardPage swig_types[151]
1587#define SWIGTYPE_p_wxWizardPageSimple swig_types[152]
1588#define SWIGTYPE_p_wxXPMHandler swig_types[153]
1589#define SWIGTYPE_ptrdiff_t swig_types[154]
1590#define SWIGTYPE_std__ptrdiff_t swig_types[155]
1591#define SWIGTYPE_unsigned_int swig_types[156]
1592static swig_type_info *swig_types[158];
1593static swig_module_info swig_module = {swig_types, 157, 0, 0, 0, 0};
1594#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1595#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2f4c0a16 1596
36ed4f51 1597/* -------- TYPES TABLE (END) -------- */
8edf1c75
RD
1598
1599
36ed4f51
RD
1600/*-----------------------------------------------
1601 @(target):= _wizard.so
1602 ------------------------------------------------*/
1603#define SWIG_init init_wizard
8edf1c75 1604
36ed4f51 1605#define SWIG_name "_wizard"
8edf1c75 1606
d14a1e28
RD
1607#include "wx/wxPython/wxPython.h"
1608#include "wx/wxPython/pyclasses.h"
1609#include "wx/wxPython/printfw.h"
1610
1611#include <wx/wizard.h>
1612
d14a1e28 1613
cbd72d4f 1614 static const wxString wxPyEmptyString(wxEmptyString);
8edf1c75 1615
32fe5131 1616 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1617#define SWIG_From_int PyInt_FromLong
1618/*@@*/
1619
1620
2f4c0a16
RD
1621#include <limits.h>
1622
1623
36ed4f51 1624SWIGINTERN int
c370783e
RD
1625 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1626 const char *errmsg)
2f4c0a16 1627{
c370783e
RD
1628 if (value < min_value) {
1629 if (errmsg) {
1630 PyErr_Format(PyExc_OverflowError,
1631 "value %ld is less than '%s' minimum %ld",
1632 value, errmsg, min_value);
1633 }
1634 return 0;
1635 } else if (value > max_value) {
1636 if (errmsg) {
1637 PyErr_Format(PyExc_OverflowError,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value, errmsg, max_value);
2f4c0a16 1640 }
c370783e 1641 return 0;
2f4c0a16 1642 }
c370783e 1643 return 1;
2f4c0a16
RD
1644}
1645
1646
36ed4f51 1647SWIGINTERN int
c370783e 1648SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1649{
c370783e
RD
1650 if (PyNumber_Check(obj)) {
1651 if (val) *val = PyInt_AsLong(obj);
1652 return 1;
1653 }
69223c70 1654 else {
7e08d4ef 1655 SWIG_Python_TypeError("number", obj);
69223c70 1656 }
c370783e 1657 return 0;
2f4c0a16
RD
1658}
1659
1660
1661#if INT_MAX != LONG_MAX
36ed4f51 1662SWIGINTERN int
c370783e 1663 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1664{
36ed4f51 1665 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1666 long v;
1667 if (SWIG_AsVal_long(obj, &v)) {
1668 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1669 if (val) *val = static_cast<int >(v);
c370783e
RD
1670 return 1;
1671 } else {
1672 return 0;
1673 }
1674 } else {
1675 PyErr_Clear();
1676 }
1677 if (val) {
36ed4f51 1678 SWIG_type_error(errmsg, obj);
c370783e
RD
1679 }
1680 return 0;
8edf1c75 1681}
2f4c0a16 1682#else
32fe5131 1683SWIGINTERNINLINE int
c370783e
RD
1684 SWIG_AsVal_int(PyObject *obj, int *val)
1685{
1686 return SWIG_AsVal_long(obj,(long*)val);
1687}
2f4c0a16 1688#endif
8edf1c75
RD
1689
1690
32fe5131 1691SWIGINTERNINLINE int
c370783e 1692SWIG_As_int(PyObject* obj)
8edf1c75 1693{
c370783e
RD
1694 int v;
1695 if (!SWIG_AsVal_int(obj, &v)) {
1696 /*
36ed4f51 1697 this is needed to make valgrind/purify happier.
c370783e
RD
1698 */
1699 memset((void*)&v, 0, sizeof(int));
1700 }
1701 return v;
8edf1c75
RD
1702}
1703
2f4c0a16 1704
36ed4f51 1705SWIGINTERN int
c370783e 1706 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1707{
c370783e
RD
1708 if (obj == Py_True) {
1709 if (val) *val = true;
2f4c0a16
RD
1710 return 1;
1711 }
c370783e
RD
1712 if (obj == Py_False) {
1713 if (val) *val = false;
1714 return 1;
1715 }
1716 int res = 0;
1717 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1718 if (val) *val = res ? true : false;
c370783e 1719 return 1;
36ed4f51
RD
1720 } else {
1721 PyErr_Clear();
1722 }
c370783e 1723 if (val) {
36ed4f51 1724 SWIG_type_error("bool", obj);
c370783e
RD
1725 }
1726 return 0;
2f4c0a16
RD
1727}
1728
1729
32fe5131 1730SWIGINTERNINLINE bool
c370783e 1731SWIG_As_bool(PyObject* obj)
2f4c0a16 1732{
c370783e
RD
1733 bool v;
1734 if (!SWIG_AsVal_bool(obj, &v)) {
1735 /*
36ed4f51 1736 this is needed to make valgrind/purify happier.
c370783e
RD
1737 */
1738 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1739 }
c370783e
RD
1740 return v;
1741}
1742
1743
32fe5131 1744SWIGINTERNINLINE int
c370783e
RD
1745SWIG_Check_int(PyObject* obj)
1746{
1747 return SWIG_AsVal_int(obj, (int*)0);
1748}
1749
1750
32fe5131 1751SWIGINTERNINLINE int
c370783e
RD
1752SWIG_Check_bool(PyObject* obj)
1753{
1754 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1755}
1756
36ed4f51 1757static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
d14a1e28
RD
1758 wxChar* res = NULL;
1759 if (resource.Length())
1760 res = (wxChar*)resource.c_str();
1761 return self->Create(parent, bitmap, res);
1762 }
1763 // C++ Version of a Python aware class
1764class wxPyWizardPage : public wxWizardPage {
32fe5131 1765 DECLARE_ABSTRACT_CLASS(wxPyWizardPage)
d14a1e28
RD
1766public:
1767 wxPyWizardPage() : wxWizardPage() {}
1768 wxPyWizardPage(wxWizard *parent,
1769 const wxBitmap& bitmap = wxNullBitmap,
1770 const wxChar* resource = NULL)
1771 : wxWizardPage(parent, bitmap, resource) {}
1772
1773 DEC_PYCALLBACK_WIZPG__pure(GetPrev);
1774 DEC_PYCALLBACK_WIZPG__pure(GetNext);
1775 DEC_PYCALLBACK_BITMAP__pure(GetBitmap);
1776
1777 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1778 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1779 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1780 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1781
1782 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1783 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1784 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1785
1786 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1787 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1788
1789 DEC_PYCALLBACK__(InitDialog);
1790 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1791 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1792 DEC_PYCALLBACK_BOOL_(Validate);
1793
1794 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1795 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1796 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1797
1798 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1799 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1800
1801 PYPRIVATE;
1802};
1803
1804
1805IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage);
1806
1807IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev);
1808IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext);
1809IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap);
1810
1811IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow);
1812IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize);
1813IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize);
1814IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize);
1815
1816IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize);
1817IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize);
1818IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition);
1819
1820IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize);
1821IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize);
1822
1823IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog);
1824IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow);
1825IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow);
1826IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate);
1827
1828IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus);
1829IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard);
1830IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize);
1831
1832IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild);
1833IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild);
1834
1835
36ed4f51 1836static wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){
d14a1e28
RD
1837 wxChar* res = NULL;
1838 if (resource->Length())
1839 res = (wxChar*)resource->c_str();
1840 return new wxPyWizardPage(parent, *bitmap, res);
1841 }
36ed4f51 1842static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
d14a1e28
RD
1843 wxChar* res = NULL;
1844 if (resource.Length())
1845 res = (wxChar*)resource.c_str();
1846 return self->Create(parent, bitmap, res);
1847 }
1848
7e08d4ef
RD
1849 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1850 {
1851 PyObject* o2;
1852 PyObject* o3;
1853 if (!result) {
1854 result = obj;
1855 } else if (result == Py_None) {
1856 Py_DECREF(result);
1857 result = obj;
1858 } else {
1859 if (!PyTuple_Check(result)) {
1860 o2 = result;
1861 result = PyTuple_New(1);
1862 PyTuple_SET_ITEM(result, 0, o2);
1863 }
1864 o3 = PyTuple_New(1);
1865 PyTuple_SetItem(o3, 0, obj);
1866 o2 = result;
1867 result = PySequence_Concat(o2, o3);
1868 Py_DECREF(o2);
1869 Py_DECREF(o3);
1870 }
1871 return result;
1872 }
d14a1e28 1873
8edf1c75 1874
c370783e 1875
32fe5131 1876SWIGINTERNINLINE long
c370783e 1877SWIG_As_long(PyObject* obj)
8edf1c75 1878{
c370783e
RD
1879 long v;
1880 if (!SWIG_AsVal_long(obj, &v)) {
1881 /*
36ed4f51 1882 this is needed to make valgrind/purify happier.
c370783e
RD
1883 */
1884 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1885 }
c370783e
RD
1886 return v;
1887}
1888
1889
32fe5131 1890SWIGINTERNINLINE int
c370783e
RD
1891SWIG_Check_long(PyObject* obj)
1892{
1893 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
1894}
1895
d14a1e28
RD
1896#ifdef __cplusplus
1897extern "C" {
1898#endif
c370783e 1899static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1900 PyObject *resultobj = NULL;
d14a1e28
RD
1901 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
1902 int arg2 = (int) -1 ;
b411df4a 1903 bool arg3 = (bool) true ;
d14a1e28
RD
1904 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
1905 wxWizardEvent *result;
8edf1c75
RD
1906 PyObject * obj0 = 0 ;
1907 PyObject * obj1 = 0 ;
d14a1e28
RD
1908 PyObject * obj2 = 0 ;
1909 PyObject * obj3 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1912 };
1913
8edf1c75
RD
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1915 if (obj0) {
36ed4f51 1916 {
32fe5131 1917 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
1918 if (SWIG_arg_fail(1)) SWIG_fail;
1919 }
8edf1c75
RD
1920 }
1921 if (obj1) {
36ed4f51 1922 {
32fe5131 1923 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
1924 if (SWIG_arg_fail(2)) SWIG_fail;
1925 }
8edf1c75 1926 }
d14a1e28 1927 if (obj2) {
36ed4f51 1928 {
32fe5131 1929 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
1930 if (SWIG_arg_fail(3)) SWIG_fail;
1931 }
d14a1e28
RD
1932 }
1933 if (obj3) {
36ed4f51
RD
1934 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
1935 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
1936 }
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (wxWizardEvent *)new wxWizardEvent(arg1,arg2,arg3,arg4);
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
2f4c0a16 1944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardEvent, 1);
d14a1e28
RD
1945 return resultobj;
1946 fail:
1947 return NULL;
1948}
1949
1950
c370783e 1951static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1952 PyObject *resultobj = NULL;
d14a1e28
RD
1953 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1954 bool result;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetDirection",kwnames,&obj0)) goto fail;
36ed4f51
RD
1961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 result = (bool)((wxWizardEvent const *)arg1)->GetDirection();
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
fbc46b20
RD
1970 {
1971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1972 }
d14a1e28
RD
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
c370783e 1979static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 1980 PyObject *resultobj = NULL;
d14a1e28
RD
1981 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
1982 wxWizardPage *result;
1983 PyObject * obj0 = 0 ;
1984 char *kwnames[] = {
1985 (char *) "self", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
1989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardEvent, SWIG_POINTER_EXCEPTION | 0);
1990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 result = (wxWizardPage *)((wxWizardEvent const *)arg1)->GetPage();
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 {
7e08d4ef 1999 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2000 }
2001 return resultobj;
2002 fail:
2003 return NULL;
2004}
2005
2006
c370783e 2007static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2008 PyObject *obj;
2009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2010 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent, obj);
2011 Py_INCREF(obj);
2012 return Py_BuildValue((char *)"");
2013}
c370783e 2014static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2015 PyObject *resultobj = NULL;
d14a1e28
RD
2016 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2017 wxWizard *arg2 = (wxWizard *) 0 ;
2018 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2019 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2020 wxString const &arg4_defvalue = wxPyEmptyString ;
2021 wxString *arg4 = (wxString *) &arg4_defvalue ;
2022 bool result;
b411df4a 2023 bool temp4 = false ;
d14a1e28
RD
2024 PyObject * obj0 = 0 ;
2025 PyObject * obj1 = 0 ;
2026 PyObject * obj2 = 0 ;
2027 PyObject * obj3 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
2033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2034 if (SWIG_arg_fail(1)) SWIG_fail;
2035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2036 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 2037 if (obj2) {
36ed4f51
RD
2038 {
2039 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2040 if (SWIG_arg_fail(3)) SWIG_fail;
2041 if (arg3 == NULL) {
2042 SWIG_null_ref("wxBitmap");
2043 }
2044 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
2045 }
2046 }
2047 if (obj3) {
2048 {
2049 arg4 = wxString_in_helper(obj3);
2050 if (arg4 == NULL) SWIG_fail;
b411df4a 2051 temp4 = true;
d14a1e28
RD
2052 }
2053 }
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
fbc46b20
RD
2061 {
2062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2063 }
d14a1e28
RD
2064 {
2065 if (temp4)
2066 delete arg4;
2067 }
2068 return resultobj;
2069 fail:
2070 {
2071 if (temp4)
2072 delete arg4;
2073 }
2074 return NULL;
2075}
2076
2077
c370783e 2078static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2079 PyObject *resultobj = NULL;
d14a1e28
RD
2080 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2081 wxWizardPage *result;
2082 PyObject * obj0 = 0 ;
2083 char *kwnames[] = {
2084 (char *) "self", NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetPrev",kwnames,&obj0)) goto fail;
36ed4f51
RD
2088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetPrev();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 {
7e08d4ef 2098 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2099 }
2100 return resultobj;
2101 fail:
2102 return NULL;
2103}
2104
2105
c370783e 2106static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2107 PyObject *resultobj = NULL;
d14a1e28
RD
2108 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2109 wxWizardPage *result;
2110 PyObject * obj0 = 0 ;
2111 char *kwnames[] = {
2112 (char *) "self", NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
2116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetNext();
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 {
7e08d4ef 2126 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2127 }
2128 return resultobj;
2129 fail:
2130 return NULL;
2131}
2132
2133
c370783e 2134static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2135 PyObject *resultobj = NULL;
d14a1e28
RD
2136 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
2137 wxBitmap result;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
2144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2146 {
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
2148 result = ((wxWizardPage const *)arg1)->GetBitmap();
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 }
2153 {
2154 wxBitmap * resultptr;
32fe5131 2155 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
2f4c0a16 2156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2157 }
2158 return resultobj;
2159 fail:
2160 return NULL;
2161}
2162
2163
c370783e 2164static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2165 PyObject *obj;
2166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2167 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage, obj);
2168 Py_INCREF(obj);
2169 return Py_BuildValue((char *)"");
2170}
c370783e 2171static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2172 PyObject *resultobj = NULL;
d14a1e28
RD
2173 wxWizard *arg1 = (wxWizard *) 0 ;
2174 wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
2175 wxString *arg3 = (wxString *) &wxPyEmptyString ;
2176 wxPyWizardPage *result;
b411df4a 2177 bool temp3 = false ;
d14a1e28
RD
2178 PyObject * obj0 = 0 ;
2179 PyObject * obj1 = 0 ;
2180 PyObject * obj2 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2188 if (obj1) {
36ed4f51
RD
2189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2190 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2191 }
2192 if (obj2) {
dae0faa6
RD
2193 {
2194 arg3 = wxString_in_helper(obj2);
2195 if (arg3 == NULL) SWIG_fail;
b411df4a 2196 temp3 = true;
dae0faa6 2197 }
d14a1e28
RD
2198 }
2199 {
0439c23b 2200 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3);
2203
2204 wxPyEndAllowThreads(__tstate);
110da5b0 2205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2206 }
2f4c0a16 2207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
dae0faa6
RD
2208 {
2209 if (temp3)
2210 delete arg3;
2211 }
d14a1e28
RD
2212 return resultobj;
2213 fail:
dae0faa6
RD
2214 {
2215 if (temp3)
2216 delete arg3;
2217 }
d14a1e28
RD
2218 return NULL;
2219}
2220
2221
c370783e 2222static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2223 PyObject *resultobj = NULL;
d14a1e28
RD
2224 wxPyWizardPage *result;
2225 char *kwnames[] = {
2226 NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWizardPage",kwnames)) goto fail;
2230 {
0439c23b 2231 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 result = (wxPyWizardPage *)new wxPyWizardPage();
2234
2235 wxPyEndAllowThreads(__tstate);
110da5b0 2236 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2237 }
2f4c0a16 2238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWizardPage, 1);
d14a1e28
RD
2239 return resultobj;
2240 fail:
2241 return NULL;
2242}
2243
2244
c370783e 2245static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2246 PyObject *resultobj = NULL;
d14a1e28
RD
2247 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2248 wxWizard *arg2 = (wxWizard *) 0 ;
2249 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2250 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2251 wxString const &arg4_defvalue = wxPyEmptyString ;
2252 wxString *arg4 = (wxString *) &arg4_defvalue ;
2253 bool result;
b411df4a 2254 bool temp4 = false ;
d14a1e28
RD
2255 PyObject * obj0 = 0 ;
2256 PyObject * obj1 = 0 ;
2257 PyObject * obj2 = 0 ;
2258 PyObject * obj3 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
2264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2265 if (SWIG_arg_fail(1)) SWIG_fail;
2266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2267 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 2268 if (obj2) {
36ed4f51
RD
2269 {
2270 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2271 if (SWIG_arg_fail(3)) SWIG_fail;
2272 if (arg3 == NULL) {
2273 SWIG_null_ref("wxBitmap");
2274 }
2275 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
2276 }
2277 }
2278 if (obj3) {
2279 {
2280 arg4 = wxString_in_helper(obj3);
2281 if (arg4 == NULL) SWIG_fail;
b411df4a 2282 temp4 = true;
d14a1e28
RD
2283 }
2284 }
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
fbc46b20
RD
2292 {
2293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2294 }
d14a1e28
RD
2295 {
2296 if (temp4)
2297 delete arg4;
2298 }
2299 return resultobj;
2300 fail:
2301 {
2302 if (temp4)
2303 delete arg4;
2304 }
2305 return NULL;
2306}
2307
2308
c370783e 2309static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2310 PyObject *resultobj = NULL;
d14a1e28
RD
2311 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2312 PyObject *arg2 = (PyObject *) 0 ;
2313 PyObject *arg3 = (PyObject *) 0 ;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 PyObject * obj2 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "self",(char *) "_class", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2324 arg2 = obj1;
2325 arg3 = obj2;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 (arg1)->_setCallbackInfo(arg2,arg3);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
c370783e 2340static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2341 PyObject *resultobj = NULL;
d14a1e28
RD
2342 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2343 int arg2 ;
2344 int arg3 ;
2345 int arg4 ;
2346 int arg5 ;
2347 PyObject * obj0 = 0 ;
8edf1c75
RD
2348 PyObject * obj1 = 0 ;
2349 PyObject * obj2 = 0 ;
2350 PyObject * obj3 = 0 ;
2351 PyObject * obj4 = 0 ;
d14a1e28
RD
2352 char *kwnames[] = {
2353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2354 };
2355
8edf1c75 2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
2357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2358 if (SWIG_arg_fail(1)) SWIG_fail;
2359 {
32fe5131 2360 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2361 if (SWIG_arg_fail(2)) SWIG_fail;
2362 }
2363 {
32fe5131 2364 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2365 if (SWIG_arg_fail(3)) SWIG_fail;
2366 }
2367 {
32fe5131 2368 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
2369 if (SWIG_arg_fail(4)) SWIG_fail;
2370 }
2371 {
32fe5131 2372 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
2373 if (SWIG_arg_fail(5)) SWIG_fail;
2374 }
d14a1e28
RD
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 Py_INCREF(Py_None); resultobj = Py_None;
2383 return resultobj;
2384 fail:
2385 return NULL;
2386}
2387
2388
c370783e 2389static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2390 PyObject *resultobj = NULL;
d14a1e28
RD
2391 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2392 int arg2 ;
2393 int arg3 ;
2394 int arg4 ;
2395 int arg5 ;
2396 int arg6 = (int) wxSIZE_AUTO ;
2397 PyObject * obj0 = 0 ;
8edf1c75
RD
2398 PyObject * obj1 = 0 ;
2399 PyObject * obj2 = 0 ;
2400 PyObject * obj3 = 0 ;
2401 PyObject * obj4 = 0 ;
2402 PyObject * obj5 = 0 ;
d14a1e28
RD
2403 char *kwnames[] = {
2404 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2405 };
2406
8edf1c75 2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2409 if (SWIG_arg_fail(1)) SWIG_fail;
2410 {
32fe5131 2411 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2412 if (SWIG_arg_fail(2)) SWIG_fail;
2413 }
2414 {
32fe5131 2415 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2416 if (SWIG_arg_fail(3)) SWIG_fail;
2417 }
2418 {
32fe5131 2419 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
2420 if (SWIG_arg_fail(4)) SWIG_fail;
2421 }
2422 {
32fe5131 2423 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
2424 if (SWIG_arg_fail(5)) SWIG_fail;
2425 }
8edf1c75 2426 if (obj5) {
36ed4f51 2427 {
32fe5131 2428 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
2429 if (SWIG_arg_fail(6)) SWIG_fail;
2430 }
8edf1c75 2431 }
d14a1e28
RD
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443}
2444
2445
c370783e 2446static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2447 PyObject *resultobj = NULL;
d14a1e28
RD
2448 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2449 int arg2 ;
2450 int arg3 ;
2451 PyObject * obj0 = 0 ;
8edf1c75
RD
2452 PyObject * obj1 = 0 ;
2453 PyObject * obj2 = 0 ;
d14a1e28
RD
2454 char *kwnames[] = {
2455 (char *) "self",(char *) "width",(char *) "height", NULL
2456 };
2457
8edf1c75 2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2460 if (SWIG_arg_fail(1)) SWIG_fail;
2461 {
32fe5131 2462 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2463 if (SWIG_arg_fail(2)) SWIG_fail;
2464 }
2465 {
32fe5131 2466 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2467 if (SWIG_arg_fail(3)) SWIG_fail;
2468 }
d14a1e28
RD
2469 {
2470 PyThreadState* __tstate = wxPyBeginAllowThreads();
2471 (arg1)->base_DoSetClientSize(arg2,arg3);
2472
2473 wxPyEndAllowThreads(__tstate);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2476 Py_INCREF(Py_None); resultobj = Py_None;
2477 return resultobj;
2478 fail:
2479 return NULL;
2480}
2481
2482
c370783e 2483static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2484 PyObject *resultobj = NULL;
d14a1e28
RD
2485 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2486 int arg2 ;
2487 int arg3 ;
2488 PyObject * obj0 = 0 ;
8edf1c75
RD
2489 PyObject * obj1 = 0 ;
2490 PyObject * obj2 = 0 ;
d14a1e28
RD
2491 char *kwnames[] = {
2492 (char *) "self",(char *) "x",(char *) "y", NULL
2493 };
2494
8edf1c75 2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2497 if (SWIG_arg_fail(1)) SWIG_fail;
2498 {
32fe5131 2499 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2500 if (SWIG_arg_fail(2)) SWIG_fail;
2501 }
2502 {
32fe5131 2503 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2504 if (SWIG_arg_fail(3)) SWIG_fail;
2505 }
d14a1e28
RD
2506 {
2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
2508 (arg1)->base_DoSetVirtualSize(arg2,arg3);
2509
2510 wxPyEndAllowThreads(__tstate);
2511 if (PyErr_Occurred()) SWIG_fail;
2512 }
2513 Py_INCREF(Py_None); resultobj = Py_None;
2514 return resultobj;
2515 fail:
2516 return NULL;
2517}
2518
2519
c370783e 2520static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2521 PyObject *resultobj = NULL;
d14a1e28
RD
2522 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2523 int *arg2 = (int *) 0 ;
2524 int *arg3 = (int *) 0 ;
2525 int temp2 ;
c370783e 2526 int res2 = 0 ;
d14a1e28 2527 int temp3 ;
c370783e 2528 int res3 = 0 ;
d14a1e28
RD
2529 PyObject * obj0 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self", NULL
2532 };
2533
c370783e
RD
2534 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2535 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 ((wxPyWizardPage const *)arg1)->base_DoGetSize(arg2,arg3);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2547 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2548 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2549 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2550 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
c370783e 2557static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2558 PyObject *resultobj = NULL;
d14a1e28
RD
2559 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2560 int *arg2 = (int *) 0 ;
2561 int *arg3 = (int *) 0 ;
2562 int temp2 ;
c370783e 2563 int res2 = 0 ;
d14a1e28 2564 int temp3 ;
c370783e 2565 int res3 = 0 ;
d14a1e28
RD
2566 PyObject * obj0 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "self", NULL
2569 };
2570
c370783e
RD
2571 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2572 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2575 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 ((wxPyWizardPage const *)arg1)->base_DoGetClientSize(arg2,arg3);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2584 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2585 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2586 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2587 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2588 return resultobj;
2589 fail:
2590 return NULL;
2591}
2592
2593
c370783e 2594static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2595 PyObject *resultobj = NULL;
d14a1e28
RD
2596 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2597 int *arg2 = (int *) 0 ;
2598 int *arg3 = (int *) 0 ;
2599 int temp2 ;
c370783e 2600 int res2 = 0 ;
d14a1e28 2601 int temp3 ;
c370783e 2602 int res3 = 0 ;
d14a1e28
RD
2603 PyObject * obj0 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self", NULL
2606 };
2607
c370783e
RD
2608 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2609 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
2611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2612 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 ((wxPyWizardPage const *)arg1)->base_DoGetPosition(arg2,arg3);
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2621 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2622 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2623 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2624 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2625 return resultobj;
2626 fail:
2627 return NULL;
2628}
2629
2630
c370783e 2631static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2632 PyObject *resultobj = NULL;
d14a1e28
RD
2633 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2634 wxSize result;
2635 PyObject * obj0 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "self", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = ((wxPyWizardPage const *)arg1)->base_DoGetVirtualSize();
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 {
2651 wxSize * resultptr;
32fe5131 2652 resultptr = new wxSize(static_cast<wxSize & >(result));
2f4c0a16 2653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2654 }
2655 return resultobj;
2656 fail:
2657 return NULL;
2658}
2659
2660
c370783e 2661static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2662 PyObject *resultobj = NULL;
d14a1e28
RD
2663 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2664 wxSize result;
2665 PyObject * obj0 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self", NULL
2668 };
2669
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 result = ((wxPyWizardPage const *)arg1)->base_DoGetBestSize();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 {
2681 wxSize * resultptr;
32fe5131 2682 resultptr = new wxSize(static_cast<wxSize & >(result));
2f4c0a16 2683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2684 }
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
c370783e 2691static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2692 PyObject *resultobj = NULL;
d14a1e28
RD
2693 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2694 PyObject * obj0 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "self", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
2700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 (arg1)->base_InitDialog();
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
2709 Py_INCREF(Py_None); resultobj = Py_None;
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
c370783e 2716static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2717 PyObject *resultobj = NULL;
d14a1e28
RD
2718 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2719 bool result;
2720 PyObject * obj0 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 result = (bool)(arg1)->base_TransferDataToWindow();
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
fbc46b20
RD
2735 {
2736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2737 }
d14a1e28
RD
2738 return resultobj;
2739 fail:
2740 return NULL;
2741}
2742
2743
c370783e 2744static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2745 PyObject *resultobj = NULL;
d14a1e28
RD
2746 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2747 bool result;
2748 PyObject * obj0 = 0 ;
2749 char *kwnames[] = {
2750 (char *) "self", NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2756 {
2757 PyThreadState* __tstate = wxPyBeginAllowThreads();
2758 result = (bool)(arg1)->base_TransferDataFromWindow();
2759
2760 wxPyEndAllowThreads(__tstate);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
fbc46b20
RD
2763 {
2764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2765 }
d14a1e28
RD
2766 return resultobj;
2767 fail:
2768 return NULL;
2769}
2770
2771
c370783e 2772static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2773 PyObject *resultobj = NULL;
d14a1e28
RD
2774 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2775 bool result;
2776 PyObject * obj0 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
2782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 result = (bool)(arg1)->base_Validate();
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
fbc46b20
RD
2791 {
2792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2793 }
d14a1e28
RD
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
c370783e 2800static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2801 PyObject *resultobj = NULL;
d14a1e28
RD
2802 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2803 bool result;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocus();
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
fbc46b20
RD
2819 {
2820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2821 }
d14a1e28
RD
2822 return resultobj;
2823 fail:
2824 return NULL;
2825}
2826
2827
c370783e 2828static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2829 PyObject *resultobj = NULL;
d14a1e28
RD
2830 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2831 bool result;
2832 PyObject * obj0 = 0 ;
2833 char *kwnames[] = {
2834 (char *) "self", NULL
2835 };
2836
2837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
2838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocusFromKeyboard();
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
fbc46b20
RD
2847 {
2848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2849 }
d14a1e28
RD
2850 return resultobj;
2851 fail:
2852 return NULL;
2853}
2854
2855
c370783e 2856static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2857 PyObject *resultobj = NULL;
d14a1e28
RD
2858 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2859 wxSize result;
2860 PyObject * obj0 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = ((wxPyWizardPage const *)arg1)->base_GetMaxSize();
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 {
2876 wxSize * resultptr;
32fe5131 2877 resultptr = new wxSize(static_cast<wxSize & >(result));
2f4c0a16 2878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2879 }
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
c370783e 2886static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2887 PyObject *resultobj = NULL;
d14a1e28
RD
2888 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2889 wxWindow *arg2 = (wxWindow *) 0 ;
2890 PyObject * obj0 = 0 ;
2891 PyObject * obj1 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self",(char *) "child", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail;
2899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2900 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->base_AddChild(arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
c370783e 2915static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2916 PyObject *resultobj = NULL;
d14a1e28
RD
2917 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
2918 wxWindow *arg2 = (wxWindow *) 0 ;
2919 PyObject * obj0 = 0 ;
2920 PyObject * obj1 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self",(char *) "child", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0);
2927 if (SWIG_arg_fail(1)) SWIG_fail;
2928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2929 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 (arg1)->base_RemoveChild(arg2);
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
2937 Py_INCREF(Py_None); resultobj = Py_None;
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
c370783e 2944static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2945 PyObject *obj;
2946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2947 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage, obj);
2948 Py_INCREF(obj);
2949 return Py_BuildValue((char *)"");
2950}
c370783e 2951static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2952 PyObject *resultobj = NULL;
d14a1e28
RD
2953 wxWizard *arg1 = (wxWizard *) 0 ;
2954 wxWizardPage *arg2 = (wxWizardPage *) NULL ;
2955 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
2956 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2957 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2958 wxChar *arg5 = (wxChar *) NULL ;
2959 wxWizardPageSimple *result;
2960 PyObject * obj0 = 0 ;
2961 PyObject * obj1 = 0 ;
2962 PyObject * obj2 = 0 ;
2963 PyObject * obj3 = 0 ;
2964 PyObject * obj4 = 0 ;
2965 char *kwnames[] = {
2966 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2967 };
2968
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
2970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
2971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2972 if (obj1) {
36ed4f51
RD
2973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2974 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2975 }
2976 if (obj2) {
36ed4f51
RD
2977 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
2978 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
2979 }
2980 if (obj3) {
36ed4f51
RD
2981 {
2982 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2983 if (SWIG_arg_fail(4)) SWIG_fail;
2984 if (arg4 == NULL) {
2985 SWIG_null_ref("wxBitmap");
2986 }
2987 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
2988 }
2989 }
2990 if (obj4) {
36ed4f51
RD
2991 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
2992 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
2993 }
2994 {
0439c23b 2995 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5);
2998
2999 wxPyEndAllowThreads(__tstate);
110da5b0 3000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3001 }
2f4c0a16 3002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
d14a1e28
RD
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
c370783e 3009static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3010 PyObject *resultobj = NULL;
d14a1e28
RD
3011 wxWizardPageSimple *result;
3012 char *kwnames[] = {
3013 NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizardPageSimple",kwnames)) goto fail;
3017 {
0439c23b 3018 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 result = (wxWizardPageSimple *)new wxWizardPageSimple();
3021
3022 wxPyEndAllowThreads(__tstate);
110da5b0 3023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3024 }
2f4c0a16 3025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizardPageSimple, 1);
d14a1e28
RD
3026 return resultobj;
3027 fail:
3028 return NULL;
3029}
3030
3031
c370783e 3032static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3033 PyObject *resultobj = NULL;
d14a1e28
RD
3034 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3035 wxWizard *arg2 = (wxWizard *) NULL ;
3036 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
3037 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
3038 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3039 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3040 wxChar *arg6 = (wxChar *) NULL ;
3041 bool result;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 PyObject * obj2 = 0 ;
3045 PyObject * obj3 = 0 ;
3046 PyObject * obj4 = 0 ;
3047 PyObject * obj5 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3055 if (obj1) {
36ed4f51
RD
3056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3058 }
3059 if (obj2) {
36ed4f51
RD
3060 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3061 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
3062 }
3063 if (obj3) {
36ed4f51
RD
3064 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3065 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
3066 }
3067 if (obj4) {
36ed4f51
RD
3068 {
3069 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(5)) SWIG_fail;
3071 if (arg5 == NULL) {
3072 SWIG_null_ref("wxBitmap");
3073 }
3074 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
3075 }
3076 }
3077 if (obj5) {
36ed4f51
RD
3078 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
3080 }
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
fbc46b20
RD
3088 {
3089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3090 }
d14a1e28
RD
3091 return resultobj;
3092 fail:
3093 return NULL;
3094}
3095
3096
c370783e 3097static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3098 PyObject *resultobj = NULL;
d14a1e28
RD
3099 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3100 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3101 PyObject * obj0 = 0 ;
3102 PyObject * obj1 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "prev", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetPrev",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail;
3110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3111 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 (arg1)->SetPrev(arg2);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 Py_INCREF(Py_None); resultobj = Py_None;
3120 return resultobj;
3121 fail:
3122 return NULL;
3123}
3124
3125
c370783e 3126static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3127 PyObject *resultobj = NULL;
d14a1e28
RD
3128 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3129 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3130 PyObject * obj0 = 0 ;
3131 PyObject * obj1 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "next", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail;
3139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3140 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->SetNext(arg2);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152}
3153
3154
c370783e 3155static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3156 PyObject *resultobj = NULL;
d14a1e28
RD
3157 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
3158 wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ;
3159 PyObject * obj0 = 0 ;
3160 PyObject * obj1 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "first",(char *) "second", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_Chain",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
3168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPageSimple, SWIG_POINTER_EXCEPTION | 0);
3169 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 wxWizardPageSimple::Chain(arg1,arg2);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181}
3182
3183
c370783e 3184static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3185 PyObject *obj;
3186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3187 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple, obj);
3188 Py_INCREF(obj);
3189 return Py_BuildValue((char *)"");
3190}
c370783e 3191static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3192 PyObject *resultobj = NULL;
d14a1e28
RD
3193 wxWindow *arg1 = (wxWindow *) 0 ;
3194 int arg2 = (int) -1 ;
cbd72d4f 3195 wxString const &arg3_defvalue = wxPyEmptyString ;
d14a1e28
RD
3196 wxString *arg3 = (wxString *) &arg3_defvalue ;
3197 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3198 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3199 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3200 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3201 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3202 wxWizard *result;
b411df4a 3203 bool temp3 = false ;
d14a1e28
RD
3204 wxPoint temp5 ;
3205 PyObject * obj0 = 0 ;
8edf1c75 3206 PyObject * obj1 = 0 ;
d14a1e28
RD
3207 PyObject * obj2 = 0 ;
3208 PyObject * obj3 = 0 ;
3209 PyObject * obj4 = 0 ;
8edf1c75 3210 PyObject * obj5 = 0 ;
d14a1e28
RD
3211 char *kwnames[] = {
3212 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
3213 };
3214
8edf1c75 3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Wizard",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3217 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3218 if (obj1) {
36ed4f51 3219 {
32fe5131 3220 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3221 if (SWIG_arg_fail(2)) SWIG_fail;
3222 }
8edf1c75 3223 }
d14a1e28
RD
3224 if (obj2) {
3225 {
3226 arg3 = wxString_in_helper(obj2);
3227 if (arg3 == NULL) SWIG_fail;
b411df4a 3228 temp3 = true;
d14a1e28
RD
3229 }
3230 }
3231 if (obj3) {
36ed4f51
RD
3232 {
3233 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3234 if (SWIG_arg_fail(4)) SWIG_fail;
3235 if (arg4 == NULL) {
3236 SWIG_null_ref("wxBitmap");
3237 }
3238 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
3239 }
3240 }
3241 if (obj4) {
3242 {
3243 arg5 = &temp5;
3244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3245 }
3246 }
8edf1c75 3247 if (obj5) {
36ed4f51 3248 {
32fe5131 3249 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
3250 if (SWIG_arg_fail(6)) SWIG_fail;
3251 }
8edf1c75 3252 }
d14a1e28 3253 {
0439c23b 3254 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (wxWizard *)new wxWizard(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,arg6);
3257
3258 wxPyEndAllowThreads(__tstate);
110da5b0 3259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3260 }
2f4c0a16 3261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
d14a1e28
RD
3262 {
3263 if (temp3)
3264 delete arg3;
3265 }
3266 return resultobj;
3267 fail:
3268 {
3269 if (temp3)
3270 delete arg3;
3271 }
3272 return NULL;
3273}
3274
3275
c370783e 3276static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3277 PyObject *resultobj = NULL;
d14a1e28
RD
3278 wxWizard *result;
3279 char *kwnames[] = {
3280 NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizard",kwnames)) goto fail;
3284 {
0439c23b 3285 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 result = (wxWizard *)new wxWizard();
3288
3289 wxPyEndAllowThreads(__tstate);
110da5b0 3290 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3291 }
2f4c0a16 3292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWizard, 1);
d14a1e28
RD
3293 return resultobj;
3294 fail:
3295 return NULL;
3296}
3297
3298
c370783e 3299static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3300 PyObject *resultobj = NULL;
d14a1e28
RD
3301 wxWizard *arg1 = (wxWizard *) 0 ;
3302 wxWindow *arg2 = (wxWindow *) 0 ;
3303 int arg3 = (int) -1 ;
cbd72d4f 3304 wxString const &arg4_defvalue = wxPyEmptyString ;
d14a1e28
RD
3305 wxString *arg4 = (wxString *) &arg4_defvalue ;
3306 wxBitmap const &arg5_defvalue = wxNullBitmap ;
3307 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
3308 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3309 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
3310 bool result;
b411df4a 3311 bool temp4 = false ;
d14a1e28
RD
3312 wxPoint temp6 ;
3313 PyObject * obj0 = 0 ;
3314 PyObject * obj1 = 0 ;
8edf1c75 3315 PyObject * obj2 = 0 ;
d14a1e28
RD
3316 PyObject * obj3 = 0 ;
3317 PyObject * obj4 = 0 ;
3318 PyObject * obj5 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3321 };
3322
8edf1c75 3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Wizard_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3325 if (SWIG_arg_fail(1)) SWIG_fail;
3326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3327 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 3328 if (obj2) {
36ed4f51 3329 {
32fe5131 3330 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3331 if (SWIG_arg_fail(3)) SWIG_fail;
3332 }
8edf1c75 3333 }
d14a1e28
RD
3334 if (obj3) {
3335 {
3336 arg4 = wxString_in_helper(obj3);
3337 if (arg4 == NULL) SWIG_fail;
b411df4a 3338 temp4 = true;
d14a1e28
RD
3339 }
3340 }
3341 if (obj4) {
36ed4f51
RD
3342 {
3343 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(5)) SWIG_fail;
3345 if (arg5 == NULL) {
3346 SWIG_null_ref("wxBitmap");
3347 }
3348 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
3349 }
3350 }
3351 if (obj5) {
3352 {
3353 arg6 = &temp6;
3354 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
3355 }
3356 }
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxPoint const &)*arg6);
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
fbc46b20
RD
3364 {
3365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3366 }
d14a1e28
RD
3367 {
3368 if (temp4)
3369 delete arg4;
3370 }
3371 return resultobj;
3372 fail:
3373 {
3374 if (temp4)
3375 delete arg4;
3376 }
3377 return NULL;
3378}
3379
3380
c370783e 3381static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3382 PyObject *resultobj = NULL;
d14a1e28
RD
3383 wxWizard *arg1 = (wxWizard *) 0 ;
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
3390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 (arg1)->Init();
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 Py_INCREF(Py_None); resultobj = Py_None;
3400 return resultobj;
3401 fail:
3402 return NULL;
3403}
3404
3405
c370783e 3406static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3407 PyObject *resultobj = NULL;
d14a1e28
RD
3408 wxWizard *arg1 = (wxWizard *) 0 ;
3409 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3410 bool result;
3411 PyObject * obj0 = 0 ;
3412 PyObject * obj1 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self",(char *) "firstPage", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_RunWizard",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail;
3420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (bool)(arg1)->RunWizard(arg2);
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
fbc46b20
RD
3429 {
3430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3431 }
d14a1e28
RD
3432 return resultobj;
3433 fail:
3434 return NULL;
3435}
3436
3437
c370783e 3438static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3439 PyObject *resultobj = NULL;
d14a1e28
RD
3440 wxWizard *arg1 = (wxWizard *) 0 ;
3441 wxWizardPage *result;
3442 PyObject * obj0 = 0 ;
3443 char *kwnames[] = {
3444 (char *) "self", NULL
3445 };
3446
3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
3448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3449 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 result = (wxWizardPage *)((wxWizard const *)arg1)->GetCurrentPage();
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 {
7e08d4ef 3458 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3459 }
3460 return resultobj;
3461 fail:
3462 return NULL;
3463}
3464
3465
c370783e 3466static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3467 PyObject *resultobj = NULL;
d14a1e28
RD
3468 wxWizard *arg1 = (wxWizard *) 0 ;
3469 wxSize *arg2 = 0 ;
3470 wxSize temp2 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self",(char *) "size", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3480 {
3481 arg2 = &temp2;
3482 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3483 }
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 (arg1)->SetPageSize((wxSize const &)*arg2);
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 Py_INCREF(Py_None); resultobj = Py_None;
3492 return resultobj;
3493 fail:
3494 return NULL;
3495}
3496
3497
c370783e 3498static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3499 PyObject *resultobj = NULL;
d14a1e28
RD
3500 wxWizard *arg1 = (wxWizard *) 0 ;
3501 wxSize result;
3502 PyObject * obj0 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "self", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 result = ((wxWizard const *)arg1)->GetPageSize();
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 {
3518 wxSize * resultptr;
32fe5131 3519 resultptr = new wxSize(static_cast<wxSize & >(result));
2f4c0a16 3520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525}
3526
3527
c370783e 3528static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3529 PyObject *resultobj = NULL;
d14a1e28
RD
3530 wxWizard *arg1 = (wxWizard *) 0 ;
3531 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3532 PyObject * obj0 = 0 ;
3533 PyObject * obj1 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "firstPage", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_FitToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail;
3541 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3542 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->FitToPage((wxWizardPage const *)arg2);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
c370783e 3557static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3558 PyObject *resultobj = NULL;
d14a1e28
RD
3559 wxWizard *arg1 = (wxWizard *) 0 ;
3560 wxSizer *result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageAreaSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (wxSizer *)((wxWizard const *)arg1)->GetPageAreaSizer();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 {
7e08d4ef 3577 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3578 }
3579 return resultobj;
3580 fail:
3581 return NULL;
3582}
3583
3584
c370783e 3585static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3586 PyObject *resultobj = NULL;
d14a1e28
RD
3587 wxWizard *arg1 = (wxWizard *) 0 ;
3588 int arg2 ;
3589 PyObject * obj0 = 0 ;
8edf1c75 3590 PyObject * obj1 = 0 ;
d14a1e28
RD
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "border", NULL
3593 };
3594
8edf1c75 3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3597 if (SWIG_arg_fail(1)) SWIG_fail;
3598 {
32fe5131 3599 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3600 if (SWIG_arg_fail(2)) SWIG_fail;
3601 }
d14a1e28
RD
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 (arg1)->SetBorder(arg2);
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 Py_INCREF(Py_None); resultobj = Py_None;
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
c370783e 3616static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3617 PyObject *resultobj = NULL;
d14a1e28
RD
3618 wxWizard *arg1 = (wxWizard *) 0 ;
3619 bool result;
3620 PyObject * obj0 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_IsRunning",kwnames,&obj0)) goto fail;
36ed4f51
RD
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (bool)((wxWizard const *)arg1)->IsRunning();
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
fbc46b20
RD
3635 {
3636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3637 }
d14a1e28
RD
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
c370783e 3644static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3645 PyObject *resultobj = NULL;
d14a1e28
RD
3646 wxWizard *arg1 = (wxWizard *) 0 ;
3647 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
b411df4a 3648 bool arg3 = (bool) true ;
d14a1e28
RD
3649 bool result;
3650 PyObject * obj0 = 0 ;
3651 PyObject * obj1 = 0 ;
3652 PyObject * obj2 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Wizard_ShowPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail;
3660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3661 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 3662 if (obj2) {
36ed4f51 3663 {
32fe5131 3664 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
3665 if (SWIG_arg_fail(3)) SWIG_fail;
3666 }
d14a1e28
RD
3667 }
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (bool)(arg1)->ShowPage(arg2,arg3);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
fbc46b20
RD
3675 {
3676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3677 }
d14a1e28
RD
3678 return resultobj;
3679 fail:
3680 return NULL;
3681}
3682
3683
c370783e 3684static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3685 PyObject *resultobj = NULL;
d14a1e28
RD
3686 wxWizard *arg1 = (wxWizard *) 0 ;
3687 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3688 bool result;
3689 PyObject * obj0 = 0 ;
3690 PyObject * obj1 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "page", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasNextPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail;
3698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3699 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = (bool)(arg1)->HasNextPage(arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
fbc46b20
RD
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
d14a1e28
RD
3710 return resultobj;
3711 fail:
3712 return NULL;
3713}
3714
3715
c370783e 3716static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3717 PyObject *resultobj = NULL;
d14a1e28
RD
3718 wxWizard *arg1 = (wxWizard *) 0 ;
3719 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
3720 bool result;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self",(char *) "page", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasPrevPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0);
3729 if (SWIG_arg_fail(1)) SWIG_fail;
3730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWizardPage, SWIG_POINTER_EXCEPTION | 0);
3731 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (bool)(arg1)->HasPrevPage(arg2);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
fbc46b20
RD
3739 {
3740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3741 }
d14a1e28
RD
3742 return resultobj;
3743 fail:
3744 return NULL;
3745}
3746
3747
c370783e 3748static PyObject * Wizard_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3749 PyObject *obj;
3750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3751 SWIG_TypeClientData(SWIGTYPE_p_wxWizard, obj);
3752 Py_INCREF(obj);
3753 return Py_BuildValue((char *)"");
3754}
3755static PyMethodDef SwigMethods[] = {
36ed4f51
RD
3756 { (char *)"new_WizardEvent", (PyCFunction) _wrap_new_WizardEvent, METH_VARARGS | METH_KEYWORDS, NULL},
3757 { (char *)"WizardEvent_GetDirection", (PyCFunction) _wrap_WizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
3758 { (char *)"WizardEvent_GetPage", (PyCFunction) _wrap_WizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
3759 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister, METH_VARARGS, NULL},
3760 { (char *)"WizardPage_Create", (PyCFunction) _wrap_WizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3761 { (char *)"WizardPage_GetPrev", (PyCFunction) _wrap_WizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3762 { (char *)"WizardPage_GetNext", (PyCFunction) _wrap_WizardPage_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3763 { (char *)"WizardPage_GetBitmap", (PyCFunction) _wrap_WizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
3764 { (char *)"WizardPage_swigregister", WizardPage_swigregister, METH_VARARGS, NULL},
3765 { (char *)"new_PyWizardPage", (PyCFunction) _wrap_new_PyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3766 { (char *)"new_PrePyWizardPage", (PyCFunction) _wrap_new_PrePyWizardPage, METH_VARARGS | METH_KEYWORDS, NULL},
3767 { (char *)"PyWizardPage_Create", (PyCFunction) _wrap_PyWizardPage_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3768 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction) _wrap_PyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
3769 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction) _wrap_PyWizardPage_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3770 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3771 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3772 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3773 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
3774 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
3775 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction) _wrap_PyWizardPage_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
3776 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
3777 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
3778 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction) _wrap_PyWizardPage_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
3779 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3780 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
3781 { (char *)"PyWizardPage_base_Validate", (PyCFunction) _wrap_PyWizardPage_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
3782 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
3783 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
3784 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction) _wrap_PyWizardPage_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
3785 { (char *)"PyWizardPage_base_AddChild", (PyCFunction) _wrap_PyWizardPage_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
3786 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction) _wrap_PyWizardPage_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
3787 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister, METH_VARARGS, NULL},
3788 { (char *)"new_WizardPageSimple", (PyCFunction) _wrap_new_WizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3789 { (char *)"new_PreWizardPageSimple", (PyCFunction) _wrap_new_PreWizardPageSimple, METH_VARARGS | METH_KEYWORDS, NULL},
3790 { (char *)"WizardPageSimple_Create", (PyCFunction) _wrap_WizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3791 { (char *)"WizardPageSimple_SetPrev", (PyCFunction) _wrap_WizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
3792 { (char *)"WizardPageSimple_SetNext", (PyCFunction) _wrap_WizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
3793 { (char *)"WizardPageSimple_Chain", (PyCFunction) _wrap_WizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS, NULL},
3794 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister, METH_VARARGS, NULL},
3795 { (char *)"new_Wizard", (PyCFunction) _wrap_new_Wizard, METH_VARARGS | METH_KEYWORDS, NULL},
3796 { (char *)"new_PreWizard", (PyCFunction) _wrap_new_PreWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3797 { (char *)"Wizard_Create", (PyCFunction) _wrap_Wizard_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3798 { (char *)"Wizard_Init", (PyCFunction) _wrap_Wizard_Init, METH_VARARGS | METH_KEYWORDS, NULL},
3799 { (char *)"Wizard_RunWizard", (PyCFunction) _wrap_Wizard_RunWizard, METH_VARARGS | METH_KEYWORDS, NULL},
3800 { (char *)"Wizard_GetCurrentPage", (PyCFunction) _wrap_Wizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
3801 { (char *)"Wizard_SetPageSize", (PyCFunction) _wrap_Wizard_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3802 { (char *)"Wizard_GetPageSize", (PyCFunction) _wrap_Wizard_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
3803 { (char *)"Wizard_FitToPage", (PyCFunction) _wrap_Wizard_FitToPage, METH_VARARGS | METH_KEYWORDS, NULL},
3804 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction) _wrap_Wizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS, NULL},
3805 { (char *)"Wizard_SetBorder", (PyCFunction) _wrap_Wizard_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3806 { (char *)"Wizard_IsRunning", (PyCFunction) _wrap_Wizard_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
3807 { (char *)"Wizard_ShowPage", (PyCFunction) _wrap_Wizard_ShowPage, METH_VARARGS | METH_KEYWORDS, NULL},
3808 { (char *)"Wizard_HasNextPage", (PyCFunction) _wrap_Wizard_HasNextPage, METH_VARARGS | METH_KEYWORDS, NULL},
3809 { (char *)"Wizard_HasPrevPage", (PyCFunction) _wrap_Wizard_HasPrevPage, METH_VARARGS | METH_KEYWORDS, NULL},
3810 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS, NULL},
c370783e 3811 { NULL, NULL, 0, NULL }
d14a1e28
RD
3812};
3813
3814
3815/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3816
3817static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
3818 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
3819}
3820static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
3821 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
3822}
3823static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
3824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
3825}
3826static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
3827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
3828}
3829static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
3830 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
3831}
3832static void *_p_wxSizerItemTo_p_wxObject(void *x) {
3833 return (void *)((wxObject *) ((wxSizerItem *) x));
3834}
3835static void *_p_wxScrollEventTo_p_wxObject(void *x) {
3836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
3837}
3838static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
3839 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
3840}
3841static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
3842 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
3843}
3844static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
3845 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
3846}
3847static void *_p_wxSizerTo_p_wxObject(void *x) {
3848 return (void *)((wxObject *) ((wxSizer *) x));
3849}
3850static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
3851 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
3852}
3853static void *_p_wxWizardPageTo_p_wxObject(void *x) {
3854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxWizardPage *) x));
3855}
3856static void *_p_wxPyWizardPageTo_p_wxObject(void *x) {
3857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
3858}
3859static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
3860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
3861}
3862static void *_p_wxPyPanelTo_p_wxObject(void *x) {
3863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
3864}
3865static void *_p_wxEventTo_p_wxObject(void *x) {
3866 return (void *)((wxObject *) ((wxEvent *) x));
3867}
3868static void *_p_wxFontDataTo_p_wxObject(void *x) {
3869 return (void *)((wxObject *) ((wxFontData *) x));
3870}
3871static void *_p_wxPrintDataTo_p_wxObject(void *x) {
3872 return (void *)((wxObject *) ((wxPrintData *) x));
3873}
3874static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
3875 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
3876}
3877static void *_p_wxGridSizerTo_p_wxObject(void *x) {
3878 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
3879}
3880static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
3881 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
3882}
3883static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
3884 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
3885}
84f85550
RD
3886static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
3887 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
3888}
3889static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
3890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
3891}
3892static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x) {
3893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
3894}
3895static void *_p_wxPaintEventTo_p_wxObject(void *x) {
3896 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
3897}
3898static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
3899 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
3900}
3901static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
3902 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
3903}
3904static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
3905 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
3906}
3907static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
3908 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3909}
3910static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
3911 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
3912}
3913static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
3914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
3915}
3916static void *_p_wxControlTo_p_wxObject(void *x) {
3917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
3918}
3919static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
3920 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
3921}
3922static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
3923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
3924}
3925static void *_p_wxFSFileTo_p_wxObject(void *x) {
3926 return (void *)((wxObject *) ((wxFSFile *) x));
3927}
3928static void *_p_wxWizardTo_p_wxObject(void *x) {
3929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
3930}
3931static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
3932 return (void *)((wxObject *) ((wxFindReplaceData *) x));
3933}
3934static void *_p_wxPySizerTo_p_wxObject(void *x) {
3935 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
3936}
3937static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
3938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
3939}
3940static void *_p_wxColourDataTo_p_wxObject(void *x) {
3941 return (void *)((wxObject *) ((wxColourData *) x));
3942}
3943static void *_p_wxPyEventTo_p_wxObject(void *x) {
3944 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
3945}
3946static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
3947 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
3948}
3949static void *_p_wxPyWindowTo_p_wxObject(void *x) {
3950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
3951}
3952static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
3953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
3954}
3955static void *_p_wxFileDialogTo_p_wxObject(void *x) {
3956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
3957}
3958static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
3959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
3960}
3961static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
3962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
3963}
3964static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
3965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
3966}
070c48b4
RD
3967static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
3968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
3969}
d14a1e28
RD
3970static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
3971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
3972}
3973static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
3974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
3975}
3976static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
3977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
3978}
3979static void *_p_wxShowEventTo_p_wxObject(void *x) {
3980 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
3981}
3982static void *_p_wxPrinterTo_p_wxObject(void *x) {
3983 return (void *)((wxObject *) ((wxPrinter *) x));
3984}
3985static void *_p_wxMenuItemTo_p_wxObject(void *x) {
3986 return (void *)((wxObject *) ((wxMenuItem *) x));
3987}
53aa7709
RD
3988static void *_p_wxDateEventTo_p_wxObject(void *x) {
3989 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
3990}
d14a1e28
RD
3991static void *_p_wxIdleEventTo_p_wxObject(void *x) {
3992 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
3993}
3994static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
3995 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
3996}
3997static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
3998 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
3999}
4000static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
4001 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
4002}
4003static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
4004 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
4005}
4006static void *_p_wxSizeEventTo_p_wxObject(void *x) {
4007 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
4008}
4009static void *_p_wxMoveEventTo_p_wxObject(void *x) {
4010 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
4011}
4012static void *_p_wxActivateEventTo_p_wxObject(void *x) {
4013 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
4014}
d14a1e28
RD
4015static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
4016 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
4017}
4018static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
4019 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
4020}
4021static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
4022 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
4023}
4024static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
4025 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
4026}
4027static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
4028 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
4029}
4030static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
4031 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
4032}
4033static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
4034 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
4035}
4036static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
4037 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
4038}
4039static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
4040 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
4041}
943e8dfd
RD
4042static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
4043 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
4044}
d14a1e28
RD
4045static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
4046 return (void *)((wxObject *) ((wxImageHandler *) x));
4047}
943e8dfd
RD
4048static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
4049 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
4050}
d14a1e28
RD
4051static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
4052 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
4053}
4054static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
4055 return (void *)((wxObject *) ((wxEvtHandler *) x));
4056}
4057static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
4058 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
4059}
4060static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
4061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4062}
4063static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
4064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4065}
51b83b37
RD
4066static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
4067 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
4068}
d14a1e28
RD
4069static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
4070 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
4071}
4072static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
4073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4074}
4075static void *_p_wxImageTo_p_wxObject(void *x) {
4076 return (void *)((wxObject *) ((wxImage *) x));
4077}
4078static void *_p_wxFrameTo_p_wxObject(void *x) {
4079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4080}
4081static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
4082 return (void *)((wxObject *) ((wxPyPrintout *) x));
4083}
4084static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
4085 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
4086}
4087static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
4088 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
4089}
4090static void *_p_wxStatusBarTo_p_wxObject(void *x) {
4091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
4092}
4093static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
4094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4095}
4096static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
4097 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4098}
4099static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
4100 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
4101}
4102static void *_p_wxKeyEventTo_p_wxObject(void *x) {
4103 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
4104}
d14a1e28
RD
4105static void *_p_wxWindowTo_p_wxObject(void *x) {
4106 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
4107}
4108static void *_p_wxMenuTo_p_wxObject(void *x) {
4109 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
4110}
4111static void *_p_wxMenuBarTo_p_wxObject(void *x) {
4112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
4113}
41f1cec7
RD
4114static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
4115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4116}
d14a1e28
RD
4117static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
4118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
4119}
4120static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
4121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
4122}
4123static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
4124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
4125}
4126static void *_p_wxSashWindowTo_p_wxObject(void *x) {
4127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
4128}
4129static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
4130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4131}
4132static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
4133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
4134}
4135static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
4136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4137}
4138static void *_p_wxTipWindowTo_p_wxObject(void *x) {
4139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
4140}
4141static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
4142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4143}
4144static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
4145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
4146}
a2482628
RD
4147static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
4148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4149}
d14a1e28
RD
4150static void *_p_wxSashEventTo_p_wxObject(void *x) {
4151 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
4152}
4153static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
4154 return (void *)((wxObject *) ((wxPrintPreview *) x));
4155}
4156static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
4157 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
4158}
4159static void *_p_wxPanelTo_p_wxObject(void *x) {
4160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
4161}
4162static void *_p_wxDialogTo_p_wxObject(void *x) {
4163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4164}
4165static void *_p_wxColourDialogTo_p_wxObject(void *x) {
4166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4167}
4168static void *_p_wxDirDialogTo_p_wxObject(void *x) {
4169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4170}
4171static void *_p_wxFontDialogTo_p_wxObject(void *x) {
4172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4173}
4174static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 4175 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
4176}
4177static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 4178 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
4179}
4180static void *_p_wxFileSystemTo_p_wxObject(void *x) {
4181 return (void *)((wxObject *) ((wxFileSystem *) x));
4182}
4183static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
4184 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
4185}
4186static void *_p_wxMenuEventTo_p_wxObject(void *x) {
4187 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
4188}
4189static void *_p_wxPyAppTo_p_wxObject(void *x) {
4190 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
4191}
4192static void *_p_wxCloseEventTo_p_wxObject(void *x) {
4193 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
4194}
4195static void *_p_wxMouseEventTo_p_wxObject(void *x) {
4196 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
4197}
4198static void *_p_wxEraseEventTo_p_wxObject(void *x) {
4199 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
4200}
4201static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
4202 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
4203}
4204static void *_p_wxCommandEventTo_p_wxObject(void *x) {
4205 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
4206}
4207static void *_p_wxWizardEventTo_p_wxObject(void *x) {
4208 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4209}
4210static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
4211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4212}
4213static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
4214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4215}
4216static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
4217 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
4218}
4219static void *_p_wxFocusEventTo_p_wxObject(void *x) {
4220 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
4221}
4222static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
4223 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
4224}
4225static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
4226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4227}
4228static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
4229 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
4230}
4231static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
4232 return (void *)((wxObject *) ((wxPrintDialogData *) x));
4233}
4234static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
4235 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
4236}
4237static void *_p_wxValidatorTo_p_wxObject(void *x) {
4238 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
4239}
4240static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
4241 return (void *)((wxDialog *) ((wxColourDialog *) x));
4242}
4243static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
4244 return (void *)((wxDialog *) ((wxDirDialog *) x));
4245}
4246static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
4247 return (void *)((wxDialog *) ((wxFontDialog *) x));
4248}
d14a1e28
RD
4249static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
4250 return (void *)((wxDialog *) ((wxFileDialog *) x));
4251}
4252static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
4253 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
4254}
4255static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
4256 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
4257}
4258static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
4259 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
4260}
070c48b4
RD
4261static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
4262 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4263}
d14a1e28
RD
4264static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
4265 return (void *)((wxDialog *) ((wxMessageDialog *) x));
4266}
4267static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
4268 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
4269}
4270static void *_p_wxWizardTo_p_wxDialog(void *x) {
4271 return (void *)((wxDialog *) ((wxWizard *) x));
4272}
4273static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x) {
4274 return (void *)((wxWizardPage *) ((wxWizardPageSimple *) x));
4275}
4276static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x) {
4277 return (void *)((wxWizardPage *) ((wxPyWizardPage *) x));
4278}
4279static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
4280 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
4281}
4282static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
4283 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
4284}
4285static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
4286 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
4287}
4288static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
4289 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
4290}
4291static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
4292 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
4293}
4294static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
4295 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
4296}
d14a1e28
RD
4297static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
4298 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
4299}
4300static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
4301 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
4302}
4303static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
4304 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
4305}
4306static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
4307 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
4308}
4309static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x) {
4310 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxWizard *) x));
4311}
d14a1e28
RD
4312static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
4313 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
4314}
070c48b4
RD
4315static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
4316 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4317}
d14a1e28
RD
4318static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
4319 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
4320}
4321static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4322 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
4323}
4324static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
4325 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
4326}
4327static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
4328 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
4329}
070c48b4
RD
4330static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
4331 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
4332}
d14a1e28
RD
4333static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
4334 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
4335}
4336static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4337 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
4338}
4339static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
4340 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4341}
4342static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
4343 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4344}
4345static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
4346 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4347}
4348static void *_p_wxWizardPageTo_p_wxWindow(void *x) {
4349 return (void *)((wxWindow *) (wxPanel *) ((wxWizardPage *) x));
4350}
4351static void *_p_wxPyWizardPageTo_p_wxWindow(void *x) {
4352 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4353}
4354static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
4355 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
4356}
4357static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
4358 return (void *)((wxWindow *) ((wxMenuBar *) x));
4359}
4360static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
4361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4362}
4363static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
4364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4365}
4366static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
4367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4368}
070c48b4
RD
4369static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
4370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4371}
d14a1e28
RD
4372static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
4373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4374}
4375static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
4376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4377}
4378static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
4379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4380}
4381static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
4382 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4383}
4384static void *_p_wxPanelTo_p_wxWindow(void *x) {
4385 return (void *)((wxWindow *) ((wxPanel *) x));
4386}
4387static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
4388 return (void *)((wxWindow *) ((wxStatusBar *) x));
4389}
d14a1e28
RD
4390static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
4391 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
4392}
4393static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
4394 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
4395}
4396static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
4397 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4398}
4399static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
4400 return (void *)((wxWindow *) ((wxPopupWindow *) x));
4401}
4402static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
4403 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
4404}
4405static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
4406 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
4407}
4408static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
4409 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
4410}
4411static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
4412 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
4413}
4414static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
4415 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
4416}
4417static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
4418 return (void *)((wxWindow *) ((wxSashWindow *) x));
4419}
070c48b4
RD
4420static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
4421 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
4422}
a2482628
RD
4423static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
4424 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4425}
d14a1e28
RD
4426static void *_p_wxControlTo_p_wxWindow(void *x) {
4427 return (void *)((wxWindow *) ((wxControl *) x));
4428}
4429static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
4430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4431}
4432static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
4433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4434}
4435static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
4436 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4437}
4438static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
4439 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
4440}
4441static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
4442 return (void *)((wxWindow *) ((wxPyWindow *) x));
4443}
4444static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
4445 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4446}
4447static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
4448 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4449}
4450static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
4451 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4452}
4453static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
4454 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
4455}
4456static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
4457 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4458}
4459static void *_p_wxWizardTo_p_wxWindow(void *x) {
4460 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4461}
4462static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x) {
4463 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4464}
4465static void *_p_wxFrameTo_p_wxWindow(void *x) {
4466 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
4467}
4468static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
4469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4470}
4471static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
4472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4473}
4474static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
4475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4476}
4477static void *_p_wxDialogTo_p_wxWindow(void *x) {
4478 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
4479}
d14a1e28
RD
4480static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
4481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4482}
4483static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
4484 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
4485}
4486static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
4487 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
4488}
4489static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
4490 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
4491}
53aa7709
RD
4492static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
4493 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
4494}
d14a1e28
RD
4495static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
4496 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
4497}
4498static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
4499 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
4500}
4501static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
4502 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4503}
4504static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
4505 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
4506}
4507static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
4508 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
4509}
4510static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
4511 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
4512}
4513static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
4514 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
4515}
4516static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
4517 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
4518}
4519static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x) {
4520 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxWizardEvent *) x));
4521}
4522static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
4523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
4524}
4525static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
4526 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
4527}
4528static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x) {
4529 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxWizardPage *) x));
4530}
4531static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x) {
4532 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
4533}
4534static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
4535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
4536}
4537static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
4538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
4539}
4540static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
4541 return (void *)((wxEvtHandler *) ((wxValidator *) x));
4542}
4543static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
4544 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
4545}
4546static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
4547 return (void *)((wxEvtHandler *) ((wxMenu *) x));
4548}
070c48b4
RD
4549static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
4550 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
4551}
d14a1e28
RD
4552static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
4553 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
4554}
4555static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
4556 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
4557}
4558static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
4559 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
4560}
4561static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
4562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
4563}
4564static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
4565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
4566}
4567static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
4568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
4569}
4570static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
4571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
4572}
4573static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
4574 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
4575}
4576static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
4577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
4578}
4579static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
4580 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
4581}
4582static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
4583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
4584}
4585static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
4586 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
4587}
4588static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
4589 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
4590}
4591static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
4592 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
4593}
4594static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
4595 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
4596}
4597static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
4598 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
4599}
4600static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
4601 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
4602}
4603static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
4604 return (void *)((wxEvtHandler *) ((wxWindow *) x));
4605}
4606static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
4607 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
4608}
4609static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
4610 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
4611}
4612static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
4613 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
4614}
a2482628
RD
4615static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
4616 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4617}
d14a1e28
RD
4618static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
4619 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
4620}
4621static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
4622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
4623}
4624static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
4625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
4626}
4627static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
4628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
4629}
4630static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
4631 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
4632}
4633static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
4634 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
4635}
4636static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
4637 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
4638}
4639static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
4640 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
4641}
4642static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
4643 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4644}
4645static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
4646 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4647}
4648static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
4649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
4650}
4651static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
4652 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4653}
84f85550
RD
4654static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
4655 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
4656}
4657static void *_p_wxWizardTo_p_wxEvtHandler(void *x) {
4658 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
4659}
4660static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x) {
4661 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
4662}
4663static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
4664 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
4665}
d14a1e28
RD
4666static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
4667 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
4668}
4669static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
4670 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
4671}
4672static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
4673 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
4674}
070c48b4
RD
4675static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
4676 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
4677}
d14a1e28
RD
4678static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
4679 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
4680}
4681static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
4682 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
4683}
4684static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x) {
4685 return (void *)((wxNotifyEvent *) ((wxWizardEvent *) x));
4686}
4687static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
4688 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
4689}
4690static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
4691 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
4692}
a2482628
RD
4693static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
4694 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
4695}
d14a1e28
RD
4696static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x) {
4697 return (void *)((wxPanel *) (wxWizardPage *) ((wxWizardPageSimple *) x));
4698}
4699static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
4700 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
4701}
4702static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
4703 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
4704}
4705static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
4706 return (void *)((wxPanel *) ((wxPyPanel *) x));
4707}
4708static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
4709 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
4710}
4711static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
4712 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
4713}
4714static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
4715 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
4716}
4717static void *_p_wxWizardPageTo_p_wxPanel(void *x) {
4718 return (void *)((wxPanel *) ((wxWizardPage *) x));
4719}
4720static void *_p_wxPyWizardPageTo_p_wxPanel(void *x) {
4721 return (void *)((wxPanel *) (wxWizardPage *) ((wxPyWizardPage *) x));
4722}
4723static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
4724 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
4725}
4726static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
4727 return (void *)((wxEvent *) ((wxMenuEvent *) x));
4728}
4729static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
4730 return (void *)((wxEvent *) ((wxCloseEvent *) x));
4731}
4732static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
4733 return (void *)((wxEvent *) ((wxMouseEvent *) x));
4734}
4735static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
4736 return (void *)((wxEvent *) ((wxEraseEvent *) x));
4737}
4738static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
4739 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
4740}
4741static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
4742 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
4743}
4744static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
4745 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
4746}
4747static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
4748 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
4749}
4750static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
4751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
4752}
4753static void *_p_wxPyEventTo_p_wxEvent(void *x) {
4754 return (void *)((wxEvent *) ((wxPyEvent *) x));
4755}
4756static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
4757 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
4758}
4759static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
4760 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
4761}
4762static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
4763 return (void *)((wxEvent *) ((wxIdleEvent *) x));
4764}
4765static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
4766 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
4767}
4768static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
4769 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
4770}
4771static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
4772 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
4773}
4774static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
4775 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
4776}
4777static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
4778 return (void *)((wxEvent *) ((wxActivateEvent *) x));
4779}
4780static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
4781 return (void *)((wxEvent *) ((wxSizeEvent *) x));
4782}
4783static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
4784 return (void *)((wxEvent *) ((wxMoveEvent *) x));
4785}
53aa7709
RD
4786static void *_p_wxDateEventTo_p_wxEvent(void *x) {
4787 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
4788}
d14a1e28
RD
4789static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
4790 return (void *)((wxEvent *) ((wxPaintEvent *) x));
4791}
4792static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
4793 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
4794}
4795static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
4796 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
4797}
4798static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
4799 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
4800}
4801static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
4802 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
4803}
4804static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
4805 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
4806}
4807static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
4808 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
4809}
4810static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
4811 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
4812}
4813static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
4814 return (void *)((wxEvent *) ((wxFocusEvent *) x));
4815}
4816static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
4817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
4818}
4819static void *_p_wxSashEventTo_p_wxEvent(void *x) {
4820 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
4821}
4822static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
4823 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
4824}
4825static void *_p_wxShowEventTo_p_wxEvent(void *x) {
4826 return (void *)((wxEvent *) ((wxShowEvent *) x));
4827}
4828static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
4829 return (void *)((wxEvent *) ((wxCommandEvent *) x));
4830}
4831static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
4832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
4833}
4834static void *_p_wxWizardEventTo_p_wxEvent(void *x) {
4835 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
4836}
4837static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
4838 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
4839}
4840static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
4841 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
4842}
4843static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
4844 return (void *)((wxEvent *) ((wxKeyEvent *) x));
4845}
4846static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
4847 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
4848}
4849static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
4850 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
4851}
32fe5131
RD
4852static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
4853static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
4854static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
4855static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
4856static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
4857static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
4858static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
4859static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
4860static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
4861static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
4862static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
4863static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
4864static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
4865static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
4866static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
4867static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
4868static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
4869static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
4870static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
4871static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
4872static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
4873static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
4874static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
4875static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
4876static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
4877static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
4878static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
4879static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
4880static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
4881static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
4882static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
4883static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
4884static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
4885static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
4886static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
4887static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
4888static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
4889static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
4890static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
4891static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
4892static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
4893static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
4894static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
4895static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
4896static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
4897static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
4898static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
4899static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
4900static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
4901static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
4902static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
4903static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
4904static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
4905static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
4906static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
4907static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
4908static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
4909static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
4910static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
4911static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
4912static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
4913static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
4914static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
4915static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
4916static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
4917static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
4918static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
4919static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
4920static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
4921static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
4922static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
4923static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
4924static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
4925static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
4926static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0};
4927static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
4928static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
4929static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0};
4930static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
4931static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
4932static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
4933static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
4934static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
4935static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
4936static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
4937static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
4938static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
4939static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
4940static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
4941static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
4942static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
4943static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
4944static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
4945static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
4946static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
4947static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
4948static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
4949static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
4950static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
4951static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
4952static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
4953static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
4954static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
4955static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
4956static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
4957static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
4958static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
4959static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
4960static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
4961static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
4962static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
4963static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
4964static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
4965static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
4966static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
4967static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
4968static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
4969static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
4970static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
4971static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
4972static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
4973static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
4974static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
4975static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
4976static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
4977static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
4978static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
4979static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
4980static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
4981static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
4982static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
4983static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
4984static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
4985static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
4986static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
4987static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
4988static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
4989static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
4990static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
4991static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
4992static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
4993static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
4994static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
4995static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
4996static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
4997static swig_type_info _swigt__p_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, 0};
4998static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
4999static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
5000static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
5001static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
5002static swig_type_info _swigt__p_wxWizard = {"_p_wxWizard", "wxWizard *", 0, 0, 0};
5003static swig_type_info _swigt__p_wxWizardEvent = {"_p_wxWizardEvent", "wxWizardEvent *", 0, 0, 0};
5004static swig_type_info _swigt__p_wxWizardPage = {"_p_wxWizardPage", "wxWizardPage *", 0, 0, 0};
5005static swig_type_info _swigt__p_wxWizardPageSimple = {"_p_wxWizardPageSimple", "wxWizardPageSimple *", 0, 0, 0};
5006static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
5007static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
5008static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
5009
5010static swig_type_info *swig_type_initial[] = {
5011 &_swigt__p_char,
5012 &_swigt__p_form_ops_t,
5013 &_swigt__p_int,
5014 &_swigt__p_unsigned_char,
5015 &_swigt__p_unsigned_int,
5016 &_swigt__p_unsigned_long,
5017 &_swigt__p_wxANIHandler,
5018 &_swigt__p_wxAcceleratorTable,
5019 &_swigt__p_wxActivateEvent,
5020 &_swigt__p_wxBMPHandler,
5021 &_swigt__p_wxBitmap,
5022 &_swigt__p_wxBoxSizer,
5023 &_swigt__p_wxCURHandler,
5024 &_swigt__p_wxCalculateLayoutEvent,
5025 &_swigt__p_wxChar,
5026 &_swigt__p_wxChildFocusEvent,
5027 &_swigt__p_wxCloseEvent,
5028 &_swigt__p_wxColourData,
5029 &_swigt__p_wxColourDialog,
5030 &_swigt__p_wxCommandEvent,
5031 &_swigt__p_wxContextMenuEvent,
5032 &_swigt__p_wxControl,
5033 &_swigt__p_wxControlWithItems,
5034 &_swigt__p_wxDateEvent,
5035 &_swigt__p_wxDialog,
5036 &_swigt__p_wxDirDialog,
5037 &_swigt__p_wxDisplayChangedEvent,
5038 &_swigt__p_wxDropFilesEvent,
5039 &_swigt__p_wxDuplexMode,
5040 &_swigt__p_wxEraseEvent,
5041 &_swigt__p_wxEvent,
5042 &_swigt__p_wxEvtHandler,
5043 &_swigt__p_wxFSFile,
5044 &_swigt__p_wxFileDialog,
5045 &_swigt__p_wxFileSystem,
5046 &_swigt__p_wxFindDialogEvent,
5047 &_swigt__p_wxFindReplaceData,
5048 &_swigt__p_wxFindReplaceDialog,
5049 &_swigt__p_wxFlexGridSizer,
5050 &_swigt__p_wxFocusEvent,
5051 &_swigt__p_wxFontData,
5052 &_swigt__p_wxFontDialog,
5053 &_swigt__p_wxFrame,
5054 &_swigt__p_wxGBSizerItem,
5055 &_swigt__p_wxGIFHandler,
5056 &_swigt__p_wxGridBagSizer,
5057 &_swigt__p_wxGridSizer,
5058 &_swigt__p_wxICOHandler,
5059 &_swigt__p_wxIconizeEvent,
5060 &_swigt__p_wxIdleEvent,
5061 &_swigt__p_wxImage,
5062 &_swigt__p_wxImageHandler,
5063 &_swigt__p_wxIndividualLayoutConstraint,
5064 &_swigt__p_wxInitDialogEvent,
5065 &_swigt__p_wxJPEGHandler,
5066 &_swigt__p_wxKeyEvent,
5067 &_swigt__p_wxLayoutAlgorithm,
5068 &_swigt__p_wxLayoutConstraints,
5069 &_swigt__p_wxMDIChildFrame,
5070 &_swigt__p_wxMDIClientWindow,
5071 &_swigt__p_wxMDIParentFrame,
5072 &_swigt__p_wxMaximizeEvent,
5073 &_swigt__p_wxMenu,
5074 &_swigt__p_wxMenuBar,
5075 &_swigt__p_wxMenuEvent,
5076 &_swigt__p_wxMenuItem,
5077 &_swigt__p_wxMessageDialog,
5078 &_swigt__p_wxMiniFrame,
5079 &_swigt__p_wxMouseCaptureChangedEvent,
5080 &_swigt__p_wxMouseEvent,
5081 &_swigt__p_wxMoveEvent,
5082 &_swigt__p_wxMultiChoiceDialog,
5083 &_swigt__p_wxNavigationKeyEvent,
5084 &_swigt__p_wxNcPaintEvent,
5085 &_swigt__p_wxNotifyEvent,
5086 &_swigt__p_wxObject,
5087 &_swigt__p_wxPCXHandler,
5088 &_swigt__p_wxPNGHandler,
5089 &_swigt__p_wxPNMHandler,
5090 &_swigt__p_wxPageSetupDialog,
5091 &_swigt__p_wxPageSetupDialogData,
5092 &_swigt__p_wxPaintEvent,
5093 &_swigt__p_wxPaletteChangedEvent,
5094 &_swigt__p_wxPanel,
5095 &_swigt__p_wxPaperSize,
5096 &_swigt__p_wxPasswordEntryDialog,
5097 &_swigt__p_wxPopupWindow,
5098 &_swigt__p_wxPreviewCanvas,
5099 &_swigt__p_wxPreviewControlBar,
5100 &_swigt__p_wxPreviewFrame,
5101 &_swigt__p_wxPrintData,
5102 &_swigt__p_wxPrintDialog,
5103 &_swigt__p_wxPrintDialogData,
5104 &_swigt__p_wxPrintPreview,
5105 &_swigt__p_wxPrinter,
5106 &_swigt__p_wxProgressDialog,
5107 &_swigt__p_wxPyApp,
5108 &_swigt__p_wxPyCommandEvent,
5109 &_swigt__p_wxPyEvent,
5110 &_swigt__p_wxPyHtmlListBox,
5111 &_swigt__p_wxPyImageHandler,
5112 &_swigt__p_wxPyPanel,
5113 &_swigt__p_wxPyPopupTransientWindow,
5114 &_swigt__p_wxPyPreviewControlBar,
5115 &_swigt__p_wxPyPreviewFrame,
5116 &_swigt__p_wxPyPrintPreview,
5117 &_swigt__p_wxPyPrintout,
5118 &_swigt__p_wxPyScrolledWindow,
5119 &_swigt__p_wxPySizer,
5120 &_swigt__p_wxPyTaskBarIcon,
5121 &_swigt__p_wxPyVListBox,
5122 &_swigt__p_wxPyVScrolledWindow,
5123 &_swigt__p_wxPyValidator,
5124 &_swigt__p_wxPyWindow,
5125 &_swigt__p_wxPyWizardPage,
5126 &_swigt__p_wxQueryLayoutInfoEvent,
5127 &_swigt__p_wxQueryNewPaletteEvent,
5128 &_swigt__p_wxSashEvent,
5129 &_swigt__p_wxSashLayoutWindow,
5130 &_swigt__p_wxSashWindow,
5131 &_swigt__p_wxScrollEvent,
5132 &_swigt__p_wxScrollWinEvent,
5133 &_swigt__p_wxScrolledWindow,
5134 &_swigt__p_wxSetCursorEvent,
5135 &_swigt__p_wxShowEvent,
5136 &_swigt__p_wxSingleChoiceDialog,
5137 &_swigt__p_wxSize,
5138 &_swigt__p_wxSizeEvent,
5139 &_swigt__p_wxSizer,
5140 &_swigt__p_wxSizerItem,
5141 &_swigt__p_wxSplashScreen,
5142 &_swigt__p_wxSplashScreenWindow,
5143 &_swigt__p_wxSplitterEvent,
5144 &_swigt__p_wxSplitterWindow,
5145 &_swigt__p_wxStaticBoxSizer,
5146 &_swigt__p_wxStatusBar,
5147 &_swigt__p_wxStdDialogButtonSizer,
5148 &_swigt__p_wxString,
5149 &_swigt__p_wxSysColourChangedEvent,
5150 &_swigt__p_wxTIFFHandler,
5151 &_swigt__p_wxTaskBarIconEvent,
5152 &_swigt__p_wxTextEntryDialog,
5153 &_swigt__p_wxTipWindow,
5154 &_swigt__p_wxTopLevelWindow,
5155 &_swigt__p_wxUpdateUIEvent,
5156 &_swigt__p_wxValidator,
5157 &_swigt__p_wxWindow,
5158 &_swigt__p_wxWindowCreateEvent,
5159 &_swigt__p_wxWindowDestroyEvent,
5160 &_swigt__p_wxWizard,
5161 &_swigt__p_wxWizardEvent,
5162 &_swigt__p_wxWizardPage,
5163 &_swigt__p_wxWizardPageSimple,
5164 &_swigt__p_wxXPMHandler,
5165 &_swigt__ptrdiff_t,
5166 &_swigt__std__ptrdiff_t,
5167 &_swigt__unsigned_int,
5168};
5169
5170static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
5171static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
5172static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
5173static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
5174static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
5175static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
5176static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
5177static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
5178static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
5179static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
5180static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
5181static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
5182static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
5183static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
5184static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
5185static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
5186static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
5187static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
5188static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5189static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
5190static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
5191static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
5192static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
5193static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
5194static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
5195static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
5196static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
5197static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
5198static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
5199static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
5200static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
5201static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
5202static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
5203static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
5204static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
5205static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
5206static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
5207static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
5208static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
5209static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
5210static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
5211static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
5212static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5213static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5214static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
5215static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
5216static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
5217static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
5218static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
5219static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5220static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5221static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5222static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
5223static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
5224static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
5225static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
5226static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
5227static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
5228static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
5229static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5230static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
5231static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
5232static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
5233static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
5234static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
5235static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
5236static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
5237static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
5238static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
5239static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
5240static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
5241static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5242static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5243static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
5244static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
5245static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
5246static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
5247static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
5248static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
5249static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
5250static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
5251static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
5252static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
5253static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
5254static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
5255static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
5256static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
5257static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
5258static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
5259static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
5260static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
5261static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
5262static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
5263static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
5264static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
5265static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
5266static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
5267static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
5268static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxNotifyEvent, 0, 0},{0, 0, 0, 0}};
5269static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
5270static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
5271static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
5272static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
5273static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
5274static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
5275static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
5276static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
5277static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
5278static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
5279static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
5280static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
5281static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
5282static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
5283static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
5284static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
5285static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
5286static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
5287static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
5288static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
5289static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
5290static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
5291static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
5292static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
5293static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
5294static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
5295static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
5296static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
5297static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
5298static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
5299static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
5300static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
5301static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
5302static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
5303static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
5304static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
5305static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
5306static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
5307static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
5308static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
5309static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
5310static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
5311static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
5312static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
5313static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
5314static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
5315static swig_cast_info _swigc__p_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 0, 0, 0},{0, 0, 0, 0}};
5316static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
5317static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
5318static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
5319static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
5320static swig_cast_info _swigc__p_wxWizard[] = { {&_swigt__p_wxWizard, 0, 0, 0},{0, 0, 0, 0}};
5321static swig_cast_info _swigc__p_wxWizardEvent[] = { {&_swigt__p_wxWizardEvent, 0, 0, 0},{0, 0, 0, 0}};
5322static swig_cast_info _swigc__p_wxWizardPage[] = { {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0}, {&_swigt__p_wxWizardPage, 0, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWizardPage, 0, 0},{0, 0, 0, 0}};
5323static swig_cast_info _swigc__p_wxWizardPageSimple[] = { {&_swigt__p_wxWizardPageSimple, 0, 0, 0},{0, 0, 0, 0}};
5324static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
5325static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
5326static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
5327
5328static swig_cast_info *swig_cast_initial[] = {
5329 _swigc__p_char,
5330 _swigc__p_form_ops_t,
5331 _swigc__p_int,
5332 _swigc__p_unsigned_char,
5333 _swigc__p_unsigned_int,
5334 _swigc__p_unsigned_long,
5335 _swigc__p_wxANIHandler,
5336 _swigc__p_wxAcceleratorTable,
5337 _swigc__p_wxActivateEvent,
5338 _swigc__p_wxBMPHandler,
5339 _swigc__p_wxBitmap,
5340 _swigc__p_wxBoxSizer,
5341 _swigc__p_wxCURHandler,
5342 _swigc__p_wxCalculateLayoutEvent,
5343 _swigc__p_wxChar,
5344 _swigc__p_wxChildFocusEvent,
5345 _swigc__p_wxCloseEvent,
5346 _swigc__p_wxColourData,
5347 _swigc__p_wxColourDialog,
5348 _swigc__p_wxCommandEvent,
5349 _swigc__p_wxContextMenuEvent,
5350 _swigc__p_wxControl,
5351 _swigc__p_wxControlWithItems,
5352 _swigc__p_wxDateEvent,
5353 _swigc__p_wxDialog,
5354 _swigc__p_wxDirDialog,
5355 _swigc__p_wxDisplayChangedEvent,
5356 _swigc__p_wxDropFilesEvent,
5357 _swigc__p_wxDuplexMode,
5358 _swigc__p_wxEraseEvent,
5359 _swigc__p_wxEvent,
5360 _swigc__p_wxEvtHandler,
5361 _swigc__p_wxFSFile,
5362 _swigc__p_wxFileDialog,
5363 _swigc__p_wxFileSystem,
5364 _swigc__p_wxFindDialogEvent,
5365 _swigc__p_wxFindReplaceData,
5366 _swigc__p_wxFindReplaceDialog,
5367 _swigc__p_wxFlexGridSizer,
5368 _swigc__p_wxFocusEvent,
5369 _swigc__p_wxFontData,
5370 _swigc__p_wxFontDialog,
5371 _swigc__p_wxFrame,
5372 _swigc__p_wxGBSizerItem,
5373 _swigc__p_wxGIFHandler,
5374 _swigc__p_wxGridBagSizer,
5375 _swigc__p_wxGridSizer,
5376 _swigc__p_wxICOHandler,
5377 _swigc__p_wxIconizeEvent,
5378 _swigc__p_wxIdleEvent,
5379 _swigc__p_wxImage,
5380 _swigc__p_wxImageHandler,
5381 _swigc__p_wxIndividualLayoutConstraint,
5382 _swigc__p_wxInitDialogEvent,
5383 _swigc__p_wxJPEGHandler,
5384 _swigc__p_wxKeyEvent,
5385 _swigc__p_wxLayoutAlgorithm,
5386 _swigc__p_wxLayoutConstraints,
5387 _swigc__p_wxMDIChildFrame,
5388 _swigc__p_wxMDIClientWindow,
5389 _swigc__p_wxMDIParentFrame,
5390 _swigc__p_wxMaximizeEvent,
5391 _swigc__p_wxMenu,
5392 _swigc__p_wxMenuBar,
5393 _swigc__p_wxMenuEvent,
5394 _swigc__p_wxMenuItem,
5395 _swigc__p_wxMessageDialog,
5396 _swigc__p_wxMiniFrame,
5397 _swigc__p_wxMouseCaptureChangedEvent,
5398 _swigc__p_wxMouseEvent,
5399 _swigc__p_wxMoveEvent,
5400 _swigc__p_wxMultiChoiceDialog,
5401 _swigc__p_wxNavigationKeyEvent,
5402 _swigc__p_wxNcPaintEvent,
5403 _swigc__p_wxNotifyEvent,
5404 _swigc__p_wxObject,
5405 _swigc__p_wxPCXHandler,
5406 _swigc__p_wxPNGHandler,
5407 _swigc__p_wxPNMHandler,
5408 _swigc__p_wxPageSetupDialog,
5409 _swigc__p_wxPageSetupDialogData,
5410 _swigc__p_wxPaintEvent,
5411 _swigc__p_wxPaletteChangedEvent,
5412 _swigc__p_wxPanel,
5413 _swigc__p_wxPaperSize,
5414 _swigc__p_wxPasswordEntryDialog,
5415 _swigc__p_wxPopupWindow,
5416 _swigc__p_wxPreviewCanvas,
5417 _swigc__p_wxPreviewControlBar,
5418 _swigc__p_wxPreviewFrame,
5419 _swigc__p_wxPrintData,
5420 _swigc__p_wxPrintDialog,
5421 _swigc__p_wxPrintDialogData,
5422 _swigc__p_wxPrintPreview,
5423 _swigc__p_wxPrinter,
5424 _swigc__p_wxProgressDialog,
5425 _swigc__p_wxPyApp,
5426 _swigc__p_wxPyCommandEvent,
5427 _swigc__p_wxPyEvent,
5428 _swigc__p_wxPyHtmlListBox,
5429 _swigc__p_wxPyImageHandler,
5430 _swigc__p_wxPyPanel,
5431 _swigc__p_wxPyPopupTransientWindow,
5432 _swigc__p_wxPyPreviewControlBar,
5433 _swigc__p_wxPyPreviewFrame,
5434 _swigc__p_wxPyPrintPreview,
5435 _swigc__p_wxPyPrintout,
5436 _swigc__p_wxPyScrolledWindow,
5437 _swigc__p_wxPySizer,
5438 _swigc__p_wxPyTaskBarIcon,
5439 _swigc__p_wxPyVListBox,
5440 _swigc__p_wxPyVScrolledWindow,
5441 _swigc__p_wxPyValidator,
5442 _swigc__p_wxPyWindow,
5443 _swigc__p_wxPyWizardPage,
5444 _swigc__p_wxQueryLayoutInfoEvent,
5445 _swigc__p_wxQueryNewPaletteEvent,
5446 _swigc__p_wxSashEvent,
5447 _swigc__p_wxSashLayoutWindow,
5448 _swigc__p_wxSashWindow,
5449 _swigc__p_wxScrollEvent,
5450 _swigc__p_wxScrollWinEvent,
5451 _swigc__p_wxScrolledWindow,
5452 _swigc__p_wxSetCursorEvent,
5453 _swigc__p_wxShowEvent,
5454 _swigc__p_wxSingleChoiceDialog,
5455 _swigc__p_wxSize,
5456 _swigc__p_wxSizeEvent,
5457 _swigc__p_wxSizer,
5458 _swigc__p_wxSizerItem,
5459 _swigc__p_wxSplashScreen,
5460 _swigc__p_wxSplashScreenWindow,
5461 _swigc__p_wxSplitterEvent,
5462 _swigc__p_wxSplitterWindow,
5463 _swigc__p_wxStaticBoxSizer,
5464 _swigc__p_wxStatusBar,
5465 _swigc__p_wxStdDialogButtonSizer,
5466 _swigc__p_wxString,
5467 _swigc__p_wxSysColourChangedEvent,
5468 _swigc__p_wxTIFFHandler,
5469 _swigc__p_wxTaskBarIconEvent,
5470 _swigc__p_wxTextEntryDialog,
5471 _swigc__p_wxTipWindow,
5472 _swigc__p_wxTopLevelWindow,
5473 _swigc__p_wxUpdateUIEvent,
5474 _swigc__p_wxValidator,
5475 _swigc__p_wxWindow,
5476 _swigc__p_wxWindowCreateEvent,
5477 _swigc__p_wxWindowDestroyEvent,
5478 _swigc__p_wxWizard,
5479 _swigc__p_wxWizardEvent,
5480 _swigc__p_wxWizardPage,
5481 _swigc__p_wxWizardPageSimple,
5482 _swigc__p_wxXPMHandler,
5483 _swigc__ptrdiff_t,
5484 _swigc__std__ptrdiff_t,
5485 _swigc__unsigned_int,
d14a1e28
RD
5486};
5487
5488
5489/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
5490
5491static swig_const_info swig_const_table[] = {
c370783e 5492{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
5493
5494#ifdef __cplusplus
5495}
5496#endif
32fe5131
RD
5497/*************************************************************************
5498 * Type initialization:
5499 * This problem is tough by the requirement that no dynamic
5500 * memory is used. Also, since swig_type_info structures store pointers to
5501 * swig_cast_info structures and swig_cast_info structures store pointers back
5502 * to swig_type_info structures, we need some lookup code at initialization.
5503 * The idea is that swig generates all the structures that are needed.
5504 * The runtime then collects these partially filled structures.
5505 * The SWIG_InitializeModule function takes these initial arrays out of
5506 * swig_module, and does all the lookup, filling in the swig_module.types
5507 * array with the correct data and linking the correct swig_cast_info
5508 * structures together.
5509
5510 * The generated swig_type_info structures are assigned staticly to an initial
5511 * array. We just loop though that array, and handle each type individually.
5512 * First we lookup if this type has been already loaded, and if so, use the
5513 * loaded structure instead of the generated one. Then we have to fill in the
5514 * cast linked list. The cast data is initially stored in something like a
5515 * two-dimensional array. Each row corresponds to a type (there are the same
5516 * number of rows as there are in the swig_type_initial array). Each entry in
5517 * a column is one of the swig_cast_info structures for that type.
5518 * The cast_initial array is actually an array of arrays, because each row has
5519 * a variable number of columns. So to actually build the cast linked list,
5520 * we find the array of casts associated with the type, and loop through it
5521 * adding the casts to the list. The one last trick we need to do is making
5522 * sure the type pointer in the swig_cast_info struct is correct.
5523
5524 * First off, we lookup the cast->type name to see if it is already loaded.
5525 * There are three cases to handle:
5526 * 1) If the cast->type has already been loaded AND the type we are adding
5527 * casting info to has not been loaded (it is in this module), THEN we
5528 * replace the cast->type pointer with the type pointer that has already
5529 * been loaded.
5530 * 2) If BOTH types (the one we are adding casting info to, and the
5531 * cast->type) are loaded, THEN the cast info has already been loaded by
5532 * the previous module so we just ignore it.
5533 * 3) Finally, if cast->type has not already been loaded, then we add that
5534 * swig_cast_info to the linked list (because the cast->type) pointer will
5535 * be correct.
5536**/
5537
5538#ifdef __cplusplus
5539extern "C" {
5540#if 0
5541} /* c-mode */
5542#endif
5543#endif
5544
5545#if 0
5546#define SWIGRUNTIME_DEBUG
5547#endif
5548
5549SWIGRUNTIME void
5550SWIG_InitializeModule(void *clientdata) {
5551 size_t i;
5552 swig_module_info *module_head;
5553 static int init_run = 0;
5554
5555 clientdata = clientdata;
5556
5557 if (init_run) return;
5558 init_run = 1;
5559
5560 /* Initialize the swig_module */
5561 swig_module.type_initial = swig_type_initial;
5562 swig_module.cast_initial = swig_cast_initial;
5563
5564 /* Try and load any already created modules */
5565 module_head = SWIG_GetModule(clientdata);
5566 if (module_head) {
5567 swig_module.next = module_head->next;
5568 module_head->next = &swig_module;
5569 } else {
5570 /* This is the first module loaded */
5571 swig_module.next = &swig_module;
5572 SWIG_SetModule(clientdata, &swig_module);
5573 }
5574
5575 /* Now work on filling in swig_module.types */
5576#ifdef SWIGRUNTIME_DEBUG
5577 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
5578#endif
5579 for (i = 0; i < swig_module.size; ++i) {
5580 swig_type_info *type = 0;
5581 swig_type_info *ret;
5582 swig_cast_info *cast;
5583
5584#ifdef SWIGRUNTIME_DEBUG
5585 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
5586#endif
5587
5588 /* if there is another module already loaded */
5589 if (swig_module.next != &swig_module) {
5590 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
5591 }
5592 if (type) {
5593 /* Overwrite clientdata field */
5594#ifdef SWIGRUNTIME_DEBUG
5595 printf("SWIG_InitializeModule: found type %s\n", type->name);
5596#endif
5597 if (swig_module.type_initial[i]->clientdata) {
5598 type->clientdata = swig_module.type_initial[i]->clientdata;
5599#ifdef SWIGRUNTIME_DEBUG
5600 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
5601#endif
5602 }
5603 } else {
5604 type = swig_module.type_initial[i];
5605 }
5606
5607 /* Insert casting types */
5608 cast = swig_module.cast_initial[i];
5609 while (cast->type) {
5610 /* Don't need to add information already in the list */
5611 ret = 0;
5612#ifdef SWIGRUNTIME_DEBUG
5613 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
5614#endif
5615 if (swig_module.next != &swig_module) {
5616 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
5617#ifdef SWIGRUNTIME_DEBUG
5618 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
5619#endif
5620 }
5621 if (ret) {
5622 if (type == swig_module.type_initial[i]) {
5623#ifdef SWIGRUNTIME_DEBUG
5624 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
5625#endif
5626 cast->type = ret;
5627 ret = 0;
5628 } else {
5629 /* Check for casting already in the list */
5630 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
5631#ifdef SWIGRUNTIME_DEBUG
5632 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
5633#endif
5634 if (!ocast) ret = 0;
5635 }
5636 }
5637
5638 if (!ret) {
5639#ifdef SWIGRUNTIME_DEBUG
5640 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
5641#endif
5642 if (type->cast) {
5643 type->cast->prev = cast;
5644 cast->next = type->cast;
5645 }
5646 type->cast = cast;
5647 }
5648 cast++;
5649 }
5650 /* Set entry in modules->types array equal to the type */
5651 swig_module.types[i] = type;
5652 }
5653 swig_module.types[i] = 0;
5654
5655#ifdef SWIGRUNTIME_DEBUG
5656 printf("**** SWIG_InitializeModule: Cast List ******\n");
5657 for (i = 0; i < swig_module.size; ++i) {
5658 int j = 0;
5659 swig_cast_info *cast = swig_module.cast_initial[i];
5660 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
5661 while (cast->type) {
5662 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
5663 cast++;
5664 ++j;
5665 }
5666 printf("---- Total casts: %d\n",j);
5667 }
5668 printf("**** SWIG_InitializeModule: Cast List ******\n");
5669#endif
5670}
5671
5672/* This function will propagate the clientdata field of type to
5673* any new swig_type_info structures that have been added into the list
5674* of equivalent types. It is like calling
5675* SWIG_TypeClientData(type, clientdata) a second time.
5676*/
5677SWIGRUNTIME void
5678SWIG_PropagateClientData(void) {
5679 size_t i;
5680 swig_cast_info *equiv;
5681 static int init_run = 0;
5682
5683 if (init_run) return;
5684 init_run = 1;
5685
5686 for (i = 0; i < swig_module.size; i++) {
5687 if (swig_module.types[i]->clientdata) {
5688 equiv = swig_module.types[i]->cast;
5689 while (equiv) {
5690 if (!equiv->converter) {
5691 if (equiv->type && !equiv->type->clientdata)
5692 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
5693 }
5694 equiv = equiv->next;
5695 }
5696 }
5697 }
5698}
5699
5700#ifdef __cplusplus
5701#if 0
5702{
5703 /* c-mode */
5704#endif
5705}
5706#endif
5707
d14a1e28 5708
36ed4f51
RD
5709
5710#ifdef __cplusplus
5711extern "C" {
5712#endif
5713
5714 /* Python-specific SWIG API */
5715#define SWIG_newvarlink() SWIG_Python_newvarlink()
5716#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
5717#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
5718
5719 /* -----------------------------------------------------------------------------
5720 * global variable support code.
5721 * ----------------------------------------------------------------------------- */
5722
5723 typedef struct swig_globalvar {
5724 char *name; /* Name of global variable */
32fe5131 5725 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
5726 int (*set_attr)(PyObject *); /* Set the value */
5727 struct swig_globalvar *next;
5728 } swig_globalvar;
5729
5730 typedef struct swig_varlinkobject {
5731 PyObject_HEAD
5732 swig_globalvar *vars;
5733 } swig_varlinkobject;
5734
32fe5131 5735 SWIGINTERN PyObject *
36ed4f51
RD
5736 swig_varlink_repr(swig_varlinkobject *v) {
5737 v = v;
5738 return PyString_FromString("<Swig global variables>");
5739 }
5740
32fe5131 5741 SWIGINTERN int
36ed4f51
RD
5742 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
5743 swig_globalvar *var;
5744 flags = flags;
5745 fprintf(fp,"Swig global variables { ");
5746 for (var = v->vars; var; var=var->next) {
5747 fprintf(fp,"%s", var->name);
5748 if (var->next) fprintf(fp,", ");
5749 }
5750 fprintf(fp," }\n");
5751 return 0;
5752 }
5753
32fe5131 5754 SWIGINTERN PyObject *
36ed4f51
RD
5755 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
5756 swig_globalvar *var = v->vars;
5757 while (var) {
5758 if (strcmp(var->name,n) == 0) {
5759 return (*var->get_attr)();
5760 }
5761 var = var->next;
5762 }
5763 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
5764 return NULL;
5765 }
5766
32fe5131 5767 SWIGINTERN int
36ed4f51
RD
5768 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
5769 swig_globalvar *var = v->vars;
5770 while (var) {
5771 if (strcmp(var->name,n) == 0) {
5772 return (*var->set_attr)(p);
5773 }
5774 var = var->next;
5775 }
5776 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
5777 return 1;
5778 }
5779
32fe5131
RD
5780 SWIGINTERN PyTypeObject*
5781 swig_varlink_type(void) {
5782 static char varlink__doc__[] = "Swig var link object";
5783 static PyTypeObject varlink_type
5784#if !defined(__cplusplus)
5785 ;
5786 static int type_init = 0;
5787 if (!type_init) {
5788 PyTypeObject tmp
5789#endif
5790 = {
5791 PyObject_HEAD_INIT(&PyType_Type)
5792 0, /* Number of items in variable part (ob_size) */
5793 (char *)"swigvarlink", /* Type name (tp_name) */
5794 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
5795 0, /* Itemsize (tp_itemsize) */
5796 0, /* Deallocator (tp_dealloc) */
5797 (printfunc) swig_varlink_print, /* Print (tp_print) */
5798 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
5799 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
5800 0, /* tp_compare */
5801 (reprfunc) swig_varlink_repr, /* tp_repr */
5802 0, /* tp_as_number */
5803 0, /* tp_as_sequence */
5804 0, /* tp_as_mapping */
5805 0, /* tp_hash */
5806 0, /* tp_call */
5807 0, /* tp_str */
5808 0, /* tp_getattro */
5809 0, /* tp_setattro */
5810 0, /* tp_as_buffer */
5811 0, /* tp_flags */
5812 varlink__doc__, /* tp_doc */
36ed4f51 5813#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
5814 0, /* tp_traverse */
5815 0, /* tp_clear */
36ed4f51
RD
5816#endif
5817#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
5818 0, /* tp_richcompare */
5819 0, /* tp_weaklistoffset */
36ed4f51
RD
5820#endif
5821#if PY_VERSION_HEX >= 0x02020000
32fe5131 5822 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
5823#endif
5824#if PY_VERSION_HEX >= 0x02030000
32fe5131 5825 0, /* tp_del */
36ed4f51
RD
5826#endif
5827#ifdef COUNT_ALLOCS
32fe5131 5828 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 5829#endif
32fe5131
RD
5830 };
5831#if !defined(__cplusplus)
5832 varlink_type = tmp;
5833 type_init = 1;
5834 }
5835#endif
5836 return &varlink_type;
5837 }
36ed4f51
RD
5838
5839 /* Create a variable linking object for use later */
32fe5131 5840 SWIGINTERN PyObject *
36ed4f51 5841 SWIG_Python_newvarlink(void) {
32fe5131
RD
5842 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
5843 if (result) {
5844 result->vars = 0;
5845 }
36ed4f51
RD
5846 return ((PyObject*) result);
5847 }
5848
32fe5131 5849 SWIGINTERN void
36ed4f51 5850 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
5851 swig_varlinkobject *v = (swig_varlinkobject *) p;
5852 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
5853 if (gv) {
5854 size_t size = strlen(name)+1;
5855 gv->name = (char *)malloc(size);
5856 if (gv->name) {
5857 strncpy(gv->name,name,size);
5858 gv->get_attr = get_attr;
5859 gv->set_attr = set_attr;
5860 gv->next = v->vars;
5861 }
5862 }
36ed4f51
RD
5863 v->vars = gv;
5864 }
5865
5866 /* -----------------------------------------------------------------------------
5867 * constants/methods manipulation
5868 * ----------------------------------------------------------------------------- */
5869
5870 /* Install Constants */
32fe5131 5871 SWIGINTERN void
36ed4f51
RD
5872 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
5873 PyObject *obj = 0;
5874 size_t i;
32fe5131 5875 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
5876 switch(constants[i].type) {
5877 case SWIG_PY_INT:
5878 obj = PyInt_FromLong(constants[i].lvalue);
5879 break;
5880 case SWIG_PY_FLOAT:
5881 obj = PyFloat_FromDouble(constants[i].dvalue);
5882 break;
5883 case SWIG_PY_STRING:
5884 if (constants[i].pvalue) {
5885 obj = PyString_FromString((char *) constants[i].pvalue);
5886 } else {
5887 Py_INCREF(Py_None);
5888 obj = Py_None;
5889 }
5890 break;
5891 case SWIG_PY_POINTER:
5892 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
5893 break;
5894 case SWIG_PY_BINARY:
5895 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
5896 break;
5897 default:
5898 obj = 0;
5899 break;
5900 }
5901 if (obj) {
5902 PyDict_SetItemString(d,constants[i].name,obj);
5903 Py_DECREF(obj);
5904 }
5905 }
5906 }
5907
5908 /* -----------------------------------------------------------------------------*/
5909 /* Fix SwigMethods to carry the callback ptrs when needed */
5910 /* -----------------------------------------------------------------------------*/
5911
32fe5131 5912 SWIGINTERN void
36ed4f51
RD
5913 SWIG_Python_FixMethods(PyMethodDef *methods,
5914 swig_const_info *const_table,
5915 swig_type_info **types,
5916 swig_type_info **types_initial) {
5917 size_t i;
5918 for (i = 0; methods[i].ml_name; ++i) {
5919 char *c = methods[i].ml_doc;
5920 if (c && (c = strstr(c, "swig_ptr: "))) {
5921 int j;
5922 swig_const_info *ci = 0;
5923 char *name = c + 10;
32fe5131 5924 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
5925 if (strncmp(const_table[j].name, name,
5926 strlen(const_table[j].name)) == 0) {
5927 ci = &(const_table[j]);
5928 break;
5929 }
5930 }
5931 if (ci) {
5932 size_t shift = (ci->ptype) - types;
5933 swig_type_info *ty = types_initial[shift];
5934 size_t ldoc = (c - methods[i].ml_doc);
5935 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
5936 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
5937 if (ndoc) {
5938 char *buff = ndoc;
5939 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
5940 if (ptr) {
5941 strncpy(buff, methods[i].ml_doc, ldoc);
5942 buff += ldoc;
5943 strncpy(buff, "swig_ptr: ", 10);
5944 buff += 10;
5945 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
5946 methods[i].ml_doc = ndoc;
5947 }
5948 }
36ed4f51
RD
5949 }
5950 }
5951 }
5952 }
5953
5954 /* -----------------------------------------------------------------------------*
5955 * Initialize type list
5956 * -----------------------------------------------------------------------------*/
5957
36ed4f51
RD
5958#ifdef __cplusplus
5959}
5960#endif
5961
5962/* -----------------------------------------------------------------------------*
5963 * Partial Init method
5964 * -----------------------------------------------------------------------------*/
5965
36ed4f51
RD
5966#ifdef __cplusplus
5967extern "C"
5968#endif
32fe5131 5969SWIGEXPORT void SWIG_init(void) {
d14a1e28 5970 static PyObject *SWIG_globals = 0;
d14a1e28 5971 PyObject *m, *d;
d14a1e28 5972 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
5973
5974 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 5975 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 5976
d14a1e28
RD
5977 m = Py_InitModule((char *) SWIG_name, SwigMethods);
5978 d = PyModule_GetDict(m);
5979
32fe5131 5980 SWIG_InitializeModule(0);
d14a1e28
RD
5981 SWIG_InstallConstants(d,swig_const_table);
5982
36ed4f51 5983 {
32fe5131 5984 PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int(static_cast<int >(wxWIZARD_EX_HELPBUTTON)));
36ed4f51 5985 }
d14a1e28
RD
5986 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED));
5987 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING));
5988 PyDict_SetItemString(d, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL));
5989 PyDict_SetItemString(d, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP));
5990 PyDict_SetItemString(d, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED));
5991
5992
5993}
5994