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