]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/gtk/wizard_wrap.cpp
Allow comparrisons with None
[wxWidgets.git] / wxPython / src / gtk / wizard_wrap.cpp
... / ...
CommitLineData
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221/* Contract support */
222
223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxObject swig_types[0]
234#define SWIGTYPE_p_wxDialog swig_types[1]
235#define SWIGTYPE_p_wxWizardPageSimple swig_types[2]
236#define SWIGTYPE_p_wxWizardPage swig_types[3]
237#define SWIGTYPE_p_wxTopLevelWindow swig_types[4]
238#define SWIGTYPE_p_wxWindow swig_types[5]
239#define SWIGTYPE_p_wxPyWizardPage swig_types[6]
240#define SWIGTYPE_p_wxWizardEvent swig_types[7]
241#define SWIGTYPE_p_wxCommandEvent swig_types[8]
242#define SWIGTYPE_p_wxBitmap swig_types[9]
243#define SWIGTYPE_p_wxWizard swig_types[10]
244#define SWIGTYPE_p_char swig_types[11]
245#define SWIGTYPE_p_wxEvtHandler swig_types[12]
246#define SWIGTYPE_p_wxString swig_types[13]
247#define SWIGTYPE_p_wxNotifyEvent swig_types[14]
248#define SWIGTYPE_p_wxPanel swig_types[15]
249#define SWIGTYPE_p_wxEvent swig_types[16]
250#define SWIGTYPE_p_wxSize swig_types[17]
251#define SWIGTYPE_p_wxChar swig_types[18]
252#define SWIGTYPE_p_int swig_types[19]
253static swig_type_info *swig_types[21];
254
255/* -------- TYPES TABLE (END) -------- */
256
257
258/*-----------------------------------------------
259 @(target):= _wizard.so
260 ------------------------------------------------*/
261#define SWIG_init init_wizard
262
263#define SWIG_name "_wizard"
264
265#include <limits.h>
266#include <float.h>
267#include <string.h>
268
269#ifndef SWIGSTATIC
270#ifdef __cplusplus
271#define SWIGSTATIC(a) static inline a
272#else
273#define SWIGSTATIC(a) static a
274#endif
275#endif
276
277#ifndef numeric_cast
278#ifdef __cplusplus
279#ifdef HAVE_NUMERIC_CAST
280#define numeric_cast(type,a) numeric_cast<type>(a)
281#else
282#define numeric_cast(type,a) static_cast<type>(a)
283#endif
284#else
285#define numeric_cast(type,a) (type)(a)
286#endif
287#endif
288
289
290
291#define SWIG_PyObj_FromSignedChar PyInt_FromLong
292#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
293#define SWIG_PyObj_FromShort PyInt_FromLong
294#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
295#define SWIG_PyObj_FromInt PyInt_FromLong
296#define SWIG_PyObj_FromLong PyInt_FromLong
297#define SWIG_PyObj_FromFloat PyFloat_FromDouble
298#define SWIG_PyObj_FromDouble PyFloat_FromDouble
299#define SWIG_PyObj_FromFloat PyFloat_FromDouble
300#define SWIG_PyObj_FromDouble PyFloat_FromDouble
301
302
303#include "wx/wxPython/wxPython.h"
304#include "wx/wxPython/pyclasses.h"
305#include "wx/wxPython/printfw.h"
306
307#include <wx/wizard.h>
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311
312SWIGSTATIC(int)
313SWIG_PyObj_AsInt(PyObject *obj)
314{
315 return numeric_cast(int,
316 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
317}
318
319
320SWIGSTATIC(bool)
321SWIG_PyObj_AsBool(PyObject *obj)
322{
323 return PyObject_IsTrue(obj) ? true : false;
324}
325
326bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap,wxString const &resource){
327 wxChar* res = NULL;
328 if (resource.Length())
329 res = (wxChar*)resource.c_str();
330 return self->Create(parent, bitmap, res);
331 }
332 // C++ Version of a Python aware class
333class wxPyWizardPage : public wxWizardPage {
334 DECLARE_ABSTRACT_CLASS(wxPyWizardPage);
335public:
336 wxPyWizardPage() : wxWizardPage() {}
337 wxPyWizardPage(wxWizard *parent,
338 const wxBitmap& bitmap = wxNullBitmap,
339 const wxChar* resource = NULL)
340 : wxWizardPage(parent, bitmap, resource) {}
341
342 DEC_PYCALLBACK_WIZPG__pure(GetPrev);
343 DEC_PYCALLBACK_WIZPG__pure(GetNext);
344 DEC_PYCALLBACK_BITMAP__pure(GetBitmap);
345
346 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
347 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
348 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
349 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
350
351 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
352 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
353 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
354
355 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
356 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
357
358 DEC_PYCALLBACK__(InitDialog);
359 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
360 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
361 DEC_PYCALLBACK_BOOL_(Validate);
362
363 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
364 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
365 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
366
367 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
368 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
369
370 PYPRIVATE;
371};
372
373
374IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage);
375
376IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev);
377IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext);
378IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap);
379
380IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow);
381IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize);
382IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize);
383IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize);
384
385IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize);
386IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize);
387IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition);
388
389IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize);
390IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize);
391
392IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog);
393IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow);
394IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow);
395IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate);
396
397IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus);
398IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard);
399IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize);
400
401IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild);
402IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild);
403
404
405wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap,wxString const *resource){
406 wxChar* res = NULL;
407 if (resource->Length())
408 res = (wxChar*)resource->c_str();
409 return new wxPyWizardPage(parent, *bitmap, res);
410 }
411bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap,wxString const &resource){
412 wxChar* res = NULL;
413 if (resource.Length())
414 res = (wxChar*)resource.c_str();
415 return self->Create(parent, bitmap, res);
416 }
417
418static PyObject* t_output_helper(PyObject* target, PyObject* o) {
419 PyObject* o2;
420 PyObject* o3;
421
422 if (!target) {
423 target = o;
424 } else if (target == Py_None) {
425 Py_DECREF(Py_None);
426 target = o;
427 } else {
428 if (!PyTuple_Check(target)) {
429 o2 = target;
430 target = PyTuple_New(1);
431 PyTuple_SetItem(target, 0, o2);
432 }
433 o3 = PyTuple_New(1);
434 PyTuple_SetItem(o3, 0, o);
435
436 o2 = target;
437 target = PySequence_Concat(o2, o3);
438 Py_DECREF(o2);
439 Py_DECREF(o3);
440 }
441 return target;
442}
443
444
445SWIGSTATIC(long)
446SWIG_PyObj_AsLong(PyObject * obj)
447{
448 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
449}
450
451#ifdef __cplusplus
452extern "C" {
453#endif
454static PyObject *_wrap_new_WizardEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject *resultobj;
456 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
457 int arg2 = (int) -1 ;
458 bool arg3 = (bool) True ;
459 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
460 wxWizardEvent *result;
461 PyObject * obj0 = 0 ;
462 PyObject * obj1 = 0 ;
463 PyObject * obj2 = 0 ;
464 PyObject * obj3 = 0 ;
465 char *kwnames[] = {
466 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
467 };
468
469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
470 if (obj0) {
471 {
472 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
473 if (PyErr_Occurred()) SWIG_fail;
474 }
475 }
476 if (obj1) {
477 {
478 arg2 = (int) SWIG_PyObj_AsInt(obj1);
479 if (PyErr_Occurred()) SWIG_fail;
480 }
481 }
482 if (obj2) {
483 {
484 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
485 if (PyErr_Occurred()) SWIG_fail;
486 }
487 }
488 if (obj3) {
489 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
490 }
491 {
492 PyThreadState* __tstate = wxPyBeginAllowThreads();
493 result = (wxWizardEvent *)new wxWizardEvent(arg1,arg2,arg3,arg4);
494
495 wxPyEndAllowThreads(__tstate);
496 if (PyErr_Occurred()) SWIG_fail;
497 }
498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWizardEvent, 1);
499 return resultobj;
500 fail:
501 return NULL;
502}
503
504
505static PyObject *_wrap_WizardEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
506 PyObject *resultobj;
507 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
508 bool result;
509 PyObject * obj0 = 0 ;
510 char *kwnames[] = {
511 (char *) "self", NULL
512 };
513
514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetDirection",kwnames,&obj0)) goto fail;
515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
516 {
517 PyThreadState* __tstate = wxPyBeginAllowThreads();
518 result = (bool)((wxWizardEvent const *)arg1)->GetDirection();
519
520 wxPyEndAllowThreads(__tstate);
521 if (PyErr_Occurred()) SWIG_fail;
522 }
523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
524 return resultobj;
525 fail:
526 return NULL;
527}
528
529
530static PyObject *_wrap_WizardEvent_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
531 PyObject *resultobj;
532 wxWizardEvent *arg1 = (wxWizardEvent *) 0 ;
533 wxWizardPage *result;
534 PyObject * obj0 = 0 ;
535 char *kwnames[] = {
536 (char *) "self", NULL
537 };
538
539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardEvent_GetPage",kwnames,&obj0)) goto fail;
540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
541 {
542 PyThreadState* __tstate = wxPyBeginAllowThreads();
543 result = (wxWizardPage *)((wxWizardEvent const *)arg1)->GetPage();
544
545 wxPyEndAllowThreads(__tstate);
546 if (PyErr_Occurred()) SWIG_fail;
547 }
548 {
549 resultobj = wxPyMake_wxObject(result);
550 }
551 return resultobj;
552 fail:
553 return NULL;
554}
555
556
557static PyObject * WizardEvent_swigregister(PyObject *self, PyObject *args) {
558 PyObject *obj;
559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
560 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent, obj);
561 Py_INCREF(obj);
562 return Py_BuildValue((char *)"");
563}
564static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
565 PyObject *resultobj;
566 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
567 wxWizard *arg2 = (wxWizard *) 0 ;
568 wxBitmap const &arg3_defvalue = wxNullBitmap ;
569 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
570 wxString const &arg4_defvalue = wxPyEmptyString ;
571 wxString *arg4 = (wxString *) &arg4_defvalue ;
572 bool result;
573 bool temp4 = False ;
574 PyObject * obj0 = 0 ;
575 PyObject * obj1 = 0 ;
576 PyObject * obj2 = 0 ;
577 PyObject * obj3 = 0 ;
578 char *kwnames[] = {
579 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
580 };
581
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
585 if (obj2) {
586 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
587 if (arg3 == NULL) {
588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
589 }
590 }
591 if (obj3) {
592 {
593 arg4 = wxString_in_helper(obj3);
594 if (arg4 == NULL) SWIG_fail;
595 temp4 = True;
596 }
597 }
598 {
599 PyThreadState* __tstate = wxPyBeginAllowThreads();
600 result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
601
602 wxPyEndAllowThreads(__tstate);
603 if (PyErr_Occurred()) SWIG_fail;
604 }
605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
606 {
607 if (temp4)
608 delete arg4;
609 }
610 return resultobj;
611 fail:
612 {
613 if (temp4)
614 delete arg4;
615 }
616 return NULL;
617}
618
619
620static PyObject *_wrap_WizardPage_GetPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
621 PyObject *resultobj;
622 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
623 wxWizardPage *result;
624 PyObject * obj0 = 0 ;
625 char *kwnames[] = {
626 (char *) "self", NULL
627 };
628
629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetPrev",kwnames,&obj0)) goto fail;
630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
631 {
632 PyThreadState* __tstate = wxPyBeginAllowThreads();
633 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetPrev();
634
635 wxPyEndAllowThreads(__tstate);
636 if (PyErr_Occurred()) SWIG_fail;
637 }
638 {
639 resultobj = wxPyMake_wxObject(result);
640 }
641 return resultobj;
642 fail:
643 return NULL;
644}
645
646
647static PyObject *_wrap_WizardPage_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
648 PyObject *resultobj;
649 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
650 wxWizardPage *result;
651 PyObject * obj0 = 0 ;
652 char *kwnames[] = {
653 (char *) "self", NULL
654 };
655
656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetNext",kwnames,&obj0)) goto fail;
657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
658 {
659 PyThreadState* __tstate = wxPyBeginAllowThreads();
660 result = (wxWizardPage *)((wxWizardPage const *)arg1)->GetNext();
661
662 wxPyEndAllowThreads(__tstate);
663 if (PyErr_Occurred()) SWIG_fail;
664 }
665 {
666 resultobj = wxPyMake_wxObject(result);
667 }
668 return resultobj;
669 fail:
670 return NULL;
671}
672
673
674static PyObject *_wrap_WizardPage_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
675 PyObject *resultobj;
676 wxWizardPage *arg1 = (wxWizardPage *) 0 ;
677 wxBitmap result;
678 PyObject * obj0 = 0 ;
679 char *kwnames[] = {
680 (char *) "self", NULL
681 };
682
683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WizardPage_GetBitmap",kwnames,&obj0)) goto fail;
684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
685 {
686 PyThreadState* __tstate = wxPyBeginAllowThreads();
687 result = ((wxWizardPage const *)arg1)->GetBitmap();
688
689 wxPyEndAllowThreads(__tstate);
690 if (PyErr_Occurred()) SWIG_fail;
691 }
692 {
693 wxBitmap * resultptr;
694 resultptr = new wxBitmap((wxBitmap &) result);
695 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
696 }
697 return resultobj;
698 fail:
699 return NULL;
700}
701
702
703static PyObject * WizardPage_swigregister(PyObject *self, PyObject *args) {
704 PyObject *obj;
705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
706 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage, obj);
707 Py_INCREF(obj);
708 return Py_BuildValue((char *)"");
709}
710static PyObject *_wrap_new_PyWizardPage(PyObject *self, PyObject *args, PyObject *kwargs) {
711 PyObject *resultobj;
712 wxWizard *arg1 = (wxWizard *) 0 ;
713 wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
714 wxString *arg3 = (wxString *) &wxPyEmptyString ;
715 wxPyWizardPage *result;
716 bool temp3 = False ;
717 PyObject * obj0 = 0 ;
718 PyObject * obj1 = 0 ;
719 PyObject * obj2 = 0 ;
720 char *kwnames[] = {
721 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
722 };
723
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
726 if (obj1) {
727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
728 }
729 if (obj2) {
730 {
731 arg3 = wxString_in_helper(obj2);
732 if (arg3 == NULL) SWIG_fail;
733 temp3 = True;
734 }
735 }
736 {
737 PyThreadState* __tstate = wxPyBeginAllowThreads();
738 result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3);
739
740 wxPyEndAllowThreads(__tstate);
741 if (PyErr_Occurred()) SWIG_fail;
742 }
743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWizardPage, 1);
744 {
745 if (temp3)
746 delete arg3;
747 }
748 return resultobj;
749 fail:
750 {
751 if (temp3)
752 delete arg3;
753 }
754 return NULL;
755}
756
757
758static PyObject *_wrap_new_PrePyWizardPage(PyObject *self, PyObject *args, PyObject *kwargs) {
759 PyObject *resultobj;
760 wxPyWizardPage *result;
761 char *kwnames[] = {
762 NULL
763 };
764
765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWizardPage",kwnames)) goto fail;
766 {
767 PyThreadState* __tstate = wxPyBeginAllowThreads();
768 result = (wxPyWizardPage *)new wxPyWizardPage();
769
770 wxPyEndAllowThreads(__tstate);
771 if (PyErr_Occurred()) SWIG_fail;
772 }
773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWizardPage, 1);
774 return resultobj;
775 fail:
776 return NULL;
777}
778
779
780static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
781 PyObject *resultobj;
782 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
783 wxWizard *arg2 = (wxWizard *) 0 ;
784 wxBitmap const &arg3_defvalue = wxNullBitmap ;
785 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
786 wxString const &arg4_defvalue = wxPyEmptyString ;
787 wxString *arg4 = (wxString *) &arg4_defvalue ;
788 bool result;
789 bool temp4 = False ;
790 PyObject * obj0 = 0 ;
791 PyObject * obj1 = 0 ;
792 PyObject * obj2 = 0 ;
793 PyObject * obj3 = 0 ;
794 char *kwnames[] = {
795 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
796 };
797
798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
801 if (obj2) {
802 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
803 if (arg3 == NULL) {
804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
805 }
806 }
807 if (obj3) {
808 {
809 arg4 = wxString_in_helper(obj3);
810 if (arg4 == NULL) SWIG_fail;
811 temp4 = True;
812 }
813 }
814 {
815 PyThreadState* __tstate = wxPyBeginAllowThreads();
816 result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4);
817
818 wxPyEndAllowThreads(__tstate);
819 if (PyErr_Occurred()) SWIG_fail;
820 }
821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
822 {
823 if (temp4)
824 delete arg4;
825 }
826 return resultobj;
827 fail:
828 {
829 if (temp4)
830 delete arg4;
831 }
832 return NULL;
833}
834
835
836static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject *resultobj;
838 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
839 PyObject *arg2 = (PyObject *) 0 ;
840 PyObject *arg3 = (PyObject *) 0 ;
841 PyObject * obj0 = 0 ;
842 PyObject * obj1 = 0 ;
843 PyObject * obj2 = 0 ;
844 char *kwnames[] = {
845 (char *) "self",(char *) "self",(char *) "_class", NULL
846 };
847
848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
850 arg2 = obj1;
851 arg3 = obj2;
852 {
853 PyThreadState* __tstate = wxPyBeginAllowThreads();
854 (arg1)->_setCallbackInfo(arg2,arg3);
855
856 wxPyEndAllowThreads(__tstate);
857 if (PyErr_Occurred()) SWIG_fail;
858 }
859 Py_INCREF(Py_None); resultobj = Py_None;
860 return resultobj;
861 fail:
862 return NULL;
863}
864
865
866static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
867 PyObject *resultobj;
868 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
869 int arg2 ;
870 int arg3 ;
871 int arg4 ;
872 int arg5 ;
873 PyObject * obj0 = 0 ;
874 PyObject * obj1 = 0 ;
875 PyObject * obj2 = 0 ;
876 PyObject * obj3 = 0 ;
877 PyObject * obj4 = 0 ;
878 char *kwnames[] = {
879 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
880 };
881
882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884 {
885 arg2 = (int) SWIG_PyObj_AsInt(obj1);
886 if (PyErr_Occurred()) SWIG_fail;
887 }
888 {
889 arg3 = (int) SWIG_PyObj_AsInt(obj2);
890 if (PyErr_Occurred()) SWIG_fail;
891 }
892 {
893 arg4 = (int) SWIG_PyObj_AsInt(obj3);
894 if (PyErr_Occurred()) SWIG_fail;
895 }
896 {
897 arg5 = (int) SWIG_PyObj_AsInt(obj4);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
900 {
901 PyThreadState* __tstate = wxPyBeginAllowThreads();
902 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
903
904 wxPyEndAllowThreads(__tstate);
905 if (PyErr_Occurred()) SWIG_fail;
906 }
907 Py_INCREF(Py_None); resultobj = Py_None;
908 return resultobj;
909 fail:
910 return NULL;
911}
912
913
914static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
915 PyObject *resultobj;
916 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
917 int arg2 ;
918 int arg3 ;
919 int arg4 ;
920 int arg5 ;
921 int arg6 = (int) wxSIZE_AUTO ;
922 PyObject * obj0 = 0 ;
923 PyObject * obj1 = 0 ;
924 PyObject * obj2 = 0 ;
925 PyObject * obj3 = 0 ;
926 PyObject * obj4 = 0 ;
927 PyObject * obj5 = 0 ;
928 char *kwnames[] = {
929 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
930 };
931
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
934 {
935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
936 if (PyErr_Occurred()) SWIG_fail;
937 }
938 {
939 arg3 = (int) SWIG_PyObj_AsInt(obj2);
940 if (PyErr_Occurred()) SWIG_fail;
941 }
942 {
943 arg4 = (int) SWIG_PyObj_AsInt(obj3);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 {
947 arg5 = (int) SWIG_PyObj_AsInt(obj4);
948 if (PyErr_Occurred()) SWIG_fail;
949 }
950 if (obj5) {
951 {
952 arg6 = (int) SWIG_PyObj_AsInt(obj5);
953 if (PyErr_Occurred()) SWIG_fail;
954 }
955 }
956 {
957 PyThreadState* __tstate = wxPyBeginAllowThreads();
958 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
959
960 wxPyEndAllowThreads(__tstate);
961 if (PyErr_Occurred()) SWIG_fail;
962 }
963 Py_INCREF(Py_None); resultobj = Py_None;
964 return resultobj;
965 fail:
966 return NULL;
967}
968
969
970static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject *resultobj;
972 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
973 int arg2 ;
974 int arg3 ;
975 PyObject * obj0 = 0 ;
976 PyObject * obj1 = 0 ;
977 PyObject * obj2 = 0 ;
978 char *kwnames[] = {
979 (char *) "self",(char *) "width",(char *) "height", NULL
980 };
981
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
984 {
985 arg2 = (int) SWIG_PyObj_AsInt(obj1);
986 if (PyErr_Occurred()) SWIG_fail;
987 }
988 {
989 arg3 = (int) SWIG_PyObj_AsInt(obj2);
990 if (PyErr_Occurred()) SWIG_fail;
991 }
992 {
993 PyThreadState* __tstate = wxPyBeginAllowThreads();
994 (arg1)->base_DoSetClientSize(arg2,arg3);
995
996 wxPyEndAllowThreads(__tstate);
997 if (PyErr_Occurred()) SWIG_fail;
998 }
999 Py_INCREF(Py_None); resultobj = Py_None;
1000 return resultobj;
1001 fail:
1002 return NULL;
1003}
1004
1005
1006static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1007 PyObject *resultobj;
1008 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1009 int arg2 ;
1010 int arg3 ;
1011 PyObject * obj0 = 0 ;
1012 PyObject * obj1 = 0 ;
1013 PyObject * obj2 = 0 ;
1014 char *kwnames[] = {
1015 (char *) "self",(char *) "x",(char *) "y", NULL
1016 };
1017
1018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1020 {
1021 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1022 if (PyErr_Occurred()) SWIG_fail;
1023 }
1024 {
1025 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1026 if (PyErr_Occurred()) SWIG_fail;
1027 }
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->base_DoSetVirtualSize(arg2,arg3);
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039}
1040
1041
1042static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1045 int *arg2 = (int *) 0 ;
1046 int *arg3 = (int *) 0 ;
1047 int temp2 ;
1048 int temp3 ;
1049 PyObject * obj0 = 0 ;
1050 char *kwnames[] = {
1051 (char *) "self", NULL
1052 };
1053
1054 arg2 = &temp2;
1055 arg3 = &temp3;
1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetSize",kwnames,&obj0)) goto fail;
1057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1058 {
1059 PyThreadState* __tstate = wxPyBeginAllowThreads();
1060 ((wxPyWizardPage const *)arg1)->base_DoGetSize(arg2,arg3);
1061
1062 wxPyEndAllowThreads(__tstate);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 }
1065 Py_INCREF(Py_None); resultobj = Py_None;
1066 {
1067 PyObject *o = PyInt_FromLong((long) (*arg2));
1068 resultobj = t_output_helper(resultobj,o);
1069 }
1070 {
1071 PyObject *o = PyInt_FromLong((long) (*arg3));
1072 resultobj = t_output_helper(resultobj,o);
1073 }
1074 return resultobj;
1075 fail:
1076 return NULL;
1077}
1078
1079
1080static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject *resultobj;
1082 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1083 int *arg2 = (int *) 0 ;
1084 int *arg3 = (int *) 0 ;
1085 int temp2 ;
1086 int temp3 ;
1087 PyObject * obj0 = 0 ;
1088 char *kwnames[] = {
1089 (char *) "self", NULL
1090 };
1091
1092 arg2 = &temp2;
1093 arg3 = &temp3;
1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames,&obj0)) goto fail;
1095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 ((wxPyWizardPage const *)arg1)->base_DoGetClientSize(arg2,arg3);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 Py_INCREF(Py_None); resultobj = Py_None;
1104 {
1105 PyObject *o = PyInt_FromLong((long) (*arg2));
1106 resultobj = t_output_helper(resultobj,o);
1107 }
1108 {
1109 PyObject *o = PyInt_FromLong((long) (*arg3));
1110 resultobj = t_output_helper(resultobj,o);
1111 }
1112 return resultobj;
1113 fail:
1114 return NULL;
1115}
1116
1117
1118static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1119 PyObject *resultobj;
1120 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1121 int *arg2 = (int *) 0 ;
1122 int *arg3 = (int *) 0 ;
1123 int temp2 ;
1124 int temp3 ;
1125 PyObject * obj0 = 0 ;
1126 char *kwnames[] = {
1127 (char *) "self", NULL
1128 };
1129
1130 arg2 = &temp2;
1131 arg3 = &temp3;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames,&obj0)) goto fail;
1133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 ((wxPyWizardPage const *)arg1)->base_DoGetPosition(arg2,arg3);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 Py_INCREF(Py_None); resultobj = Py_None;
1142 {
1143 PyObject *o = PyInt_FromLong((long) (*arg2));
1144 resultobj = t_output_helper(resultobj,o);
1145 }
1146 {
1147 PyObject *o = PyInt_FromLong((long) (*arg3));
1148 resultobj = t_output_helper(resultobj,o);
1149 }
1150 return resultobj;
1151 fail:
1152 return NULL;
1153}
1154
1155
1156static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1159 wxSize result;
1160 PyObject * obj0 = 0 ;
1161 char *kwnames[] = {
1162 (char *) "self", NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
1166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = ((wxPyWizardPage const *)arg1)->base_DoGetVirtualSize();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 wxSize * resultptr;
1176 resultptr = new wxSize((wxSize &) result);
1177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1178 }
1179 return resultobj;
1180 fail:
1181 return NULL;
1182}
1183
1184
1185static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1186 PyObject *resultobj;
1187 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1188 wxSize result;
1189 PyObject * obj0 = 0 ;
1190 char *kwnames[] = {
1191 (char *) "self", NULL
1192 };
1193
1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames,&obj0)) goto fail;
1195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1196 {
1197 PyThreadState* __tstate = wxPyBeginAllowThreads();
1198 result = ((wxPyWizardPage const *)arg1)->base_DoGetBestSize();
1199
1200 wxPyEndAllowThreads(__tstate);
1201 if (PyErr_Occurred()) SWIG_fail;
1202 }
1203 {
1204 wxSize * resultptr;
1205 resultptr = new wxSize((wxSize &) result);
1206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1207 }
1208 return resultobj;
1209 fail:
1210 return NULL;
1211}
1212
1213
1214static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject *resultobj;
1216 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1217 PyObject * obj0 = 0 ;
1218 char *kwnames[] = {
1219 (char *) "self", NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_InitDialog",kwnames,&obj0)) goto fail;
1223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 (arg1)->base_InitDialog();
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 Py_INCREF(Py_None); resultobj = Py_None;
1232 return resultobj;
1233 fail:
1234 return NULL;
1235}
1236
1237
1238static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1241 bool result;
1242 PyObject * obj0 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self", NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
1248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (bool)(arg1)->base_TransferDataToWindow();
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
1256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1257 return resultobj;
1258 fail:
1259 return NULL;
1260}
1261
1262
1263static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1264 PyObject *resultobj;
1265 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1266 bool result;
1267 PyObject * obj0 = 0 ;
1268 char *kwnames[] = {
1269 (char *) "self", NULL
1270 };
1271
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
1273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1274 {
1275 PyThreadState* __tstate = wxPyBeginAllowThreads();
1276 result = (bool)(arg1)->base_TransferDataFromWindow();
1277
1278 wxPyEndAllowThreads(__tstate);
1279 if (PyErr_Occurred()) SWIG_fail;
1280 }
1281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1282 return resultobj;
1283 fail:
1284 return NULL;
1285}
1286
1287
1288static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject *resultobj;
1290 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1291 bool result;
1292 PyObject * obj0 = 0 ;
1293 char *kwnames[] = {
1294 (char *) "self", NULL
1295 };
1296
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_Validate",kwnames,&obj0)) goto fail;
1298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (bool)(arg1)->base_Validate();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310}
1311
1312
1313static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1316 bool result;
1317 PyObject * obj0 = 0 ;
1318 char *kwnames[] = {
1319 (char *) "self", NULL
1320 };
1321
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames,&obj0)) goto fail;
1323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1324 {
1325 PyThreadState* __tstate = wxPyBeginAllowThreads();
1326 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocus();
1327
1328 wxPyEndAllowThreads(__tstate);
1329 if (PyErr_Occurred()) SWIG_fail;
1330 }
1331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1332 return resultobj;
1333 fail:
1334 return NULL;
1335}
1336
1337
1338static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1341 bool result;
1342 PyObject * obj0 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (bool)((wxPyWizardPage const *)arg1)->base_AcceptsFocusFromKeyboard();
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1357 return resultobj;
1358 fail:
1359 return NULL;
1360}
1361
1362
1363static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject *resultobj;
1365 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1366 wxSize result;
1367 PyObject * obj0 = 0 ;
1368 char *kwnames[] = {
1369 (char *) "self", NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWizardPage_base_GetMaxSize",kwnames,&obj0)) goto fail;
1373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 result = ((wxPyWizardPage const *)arg1)->base_GetMaxSize();
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 {
1382 wxSize * resultptr;
1383 resultptr = new wxSize((wxSize &) result);
1384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1385 }
1386 return resultobj;
1387 fail:
1388 return NULL;
1389}
1390
1391
1392static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
1393 PyObject *resultobj;
1394 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1395 wxWindow *arg2 = (wxWindow *) 0 ;
1396 PyObject * obj0 = 0 ;
1397 PyObject * obj1 = 0 ;
1398 char *kwnames[] = {
1399 (char *) "self",(char *) "child", NULL
1400 };
1401
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
1403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1405 {
1406 PyThreadState* __tstate = wxPyBeginAllowThreads();
1407 (arg1)->base_AddChild(arg2);
1408
1409 wxPyEndAllowThreads(__tstate);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 }
1412 Py_INCREF(Py_None); resultobj = Py_None;
1413 return resultobj;
1414 fail:
1415 return NULL;
1416}
1417
1418
1419static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ;
1422 wxWindow *arg2 = (wxWindow *) 0 ;
1423 PyObject * obj0 = 0 ;
1424 PyObject * obj1 = 0 ;
1425 char *kwnames[] = {
1426 (char *) "self",(char *) "child", NULL
1427 };
1428
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
1430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1432 {
1433 PyThreadState* __tstate = wxPyBeginAllowThreads();
1434 (arg1)->base_RemoveChild(arg2);
1435
1436 wxPyEndAllowThreads(__tstate);
1437 if (PyErr_Occurred()) SWIG_fail;
1438 }
1439 Py_INCREF(Py_None); resultobj = Py_None;
1440 return resultobj;
1441 fail:
1442 return NULL;
1443}
1444
1445
1446static PyObject * PyWizardPage_swigregister(PyObject *self, PyObject *args) {
1447 PyObject *obj;
1448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1449 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage, obj);
1450 Py_INCREF(obj);
1451 return Py_BuildValue((char *)"");
1452}
1453static PyObject *_wrap_new_WizardPageSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxWizard *arg1 = (wxWizard *) 0 ;
1456 wxWizardPage *arg2 = (wxWizardPage *) NULL ;
1457 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
1458 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1459 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1460 wxChar *arg5 = (wxChar *) NULL ;
1461 wxWizardPageSimple *result;
1462 PyObject * obj0 = 0 ;
1463 PyObject * obj1 = 0 ;
1464 PyObject * obj2 = 0 ;
1465 PyObject * obj3 = 0 ;
1466 PyObject * obj4 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1473 if (obj1) {
1474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 }
1476 if (obj2) {
1477 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 }
1479 if (obj3) {
1480 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 if (arg4 == NULL) {
1482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1483 }
1484 }
1485 if (obj4) {
1486 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1487 }
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5);
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWizardPageSimple, 1);
1496 return resultobj;
1497 fail:
1498 return NULL;
1499}
1500
1501
1502static PyObject *_wrap_new_PreWizardPageSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxWizardPageSimple *result;
1505 char *kwnames[] = {
1506 NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizardPageSimple",kwnames)) goto fail;
1510 {
1511 PyThreadState* __tstate = wxPyBeginAllowThreads();
1512 result = (wxWizardPageSimple *)new wxWizardPageSimple();
1513
1514 wxPyEndAllowThreads(__tstate);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWizardPageSimple, 1);
1518 return resultobj;
1519 fail:
1520 return NULL;
1521}
1522
1523
1524static PyObject *_wrap_WizardPageSimple_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1525 PyObject *resultobj;
1526 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
1527 wxWizard *arg2 = (wxWizard *) NULL ;
1528 wxWizardPage *arg3 = (wxWizardPage *) NULL ;
1529 wxWizardPage *arg4 = (wxWizardPage *) NULL ;
1530 wxBitmap const &arg5_defvalue = wxNullBitmap ;
1531 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
1532 wxChar *arg6 = (wxChar *) NULL ;
1533 bool result;
1534 PyObject * obj0 = 0 ;
1535 PyObject * obj1 = 0 ;
1536 PyObject * obj2 = 0 ;
1537 PyObject * obj3 = 0 ;
1538 PyObject * obj4 = 0 ;
1539 PyObject * obj5 = 0 ;
1540 char *kwnames[] = {
1541 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
1542 };
1543
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPageSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 if (obj1) {
1547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 }
1549 if (obj2) {
1550 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 }
1552 if (obj3) {
1553 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1554 }
1555 if (obj4) {
1556 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1557 if (arg5 == NULL) {
1558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1559 }
1560 }
1561 if (obj5) {
1562 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 }
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575}
1576
1577
1578static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
1581 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
1582 PyObject * obj0 = 0 ;
1583 PyObject * obj1 = 0 ;
1584 char *kwnames[] = {
1585 (char *) "self",(char *) "prev", NULL
1586 };
1587
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetPrev",kwnames,&obj0,&obj1)) goto fail;
1589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPageSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1591 {
1592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1593 (arg1)->SetPrev(arg2);
1594
1595 wxPyEndAllowThreads(__tstate);
1596 if (PyErr_Occurred()) SWIG_fail;
1597 }
1598 Py_INCREF(Py_None); resultobj = Py_None;
1599 return resultobj;
1600 fail:
1601 return NULL;
1602}
1603
1604
1605static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
1608 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "self",(char *) "next", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_SetNext",kwnames,&obj0,&obj1)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPageSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 (arg1)->SetNext(arg2);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 Py_INCREF(Py_None); resultobj = Py_None;
1626 return resultobj;
1627 fail:
1628 return NULL;
1629}
1630
1631
1632static PyObject *_wrap_WizardPageSimple_Chain(PyObject *self, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ;
1635 wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ;
1636 PyObject * obj0 = 0 ;
1637 PyObject * obj1 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "first",(char *) "second", NULL
1640 };
1641
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WizardPageSimple_Chain",kwnames,&obj0,&obj1)) goto fail;
1643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizardPageSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPageSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 wxWizardPageSimple::Chain(arg1,arg2);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656}
1657
1658
1659static PyObject * WizardPageSimple_swigregister(PyObject *self, PyObject *args) {
1660 PyObject *obj;
1661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1662 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple, obj);
1663 Py_INCREF(obj);
1664 return Py_BuildValue((char *)"");
1665}
1666static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxWindow *arg1 = (wxWindow *) 0 ;
1669 int arg2 = (int) -1 ;
1670 wxString const &arg3_defvalue = wxPyEmptyString ;
1671 wxString *arg3 = (wxString *) &arg3_defvalue ;
1672 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1673 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1674 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1675 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1676 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
1677 wxWizard *result;
1678 bool temp3 = False ;
1679 wxPoint temp5 ;
1680 PyObject * obj0 = 0 ;
1681 PyObject * obj1 = 0 ;
1682 PyObject * obj2 = 0 ;
1683 PyObject * obj3 = 0 ;
1684 PyObject * obj4 = 0 ;
1685 PyObject * obj5 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Wizard",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 if (obj1) {
1693 {
1694 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 }
1698 if (obj2) {
1699 {
1700 arg3 = wxString_in_helper(obj2);
1701 if (arg3 == NULL) SWIG_fail;
1702 temp3 = True;
1703 }
1704 }
1705 if (obj3) {
1706 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 if (arg4 == NULL) {
1708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1709 }
1710 }
1711 if (obj4) {
1712 {
1713 arg5 = &temp5;
1714 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1715 }
1716 }
1717 if (obj5) {
1718 {
1719 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 }
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 result = (wxWizard *)new wxWizard(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,arg6);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWizard, 1);
1731 {
1732 if (temp3)
1733 delete arg3;
1734 }
1735 return resultobj;
1736 fail:
1737 {
1738 if (temp3)
1739 delete arg3;
1740 }
1741 return NULL;
1742}
1743
1744
1745static PyObject *_wrap_new_PreWizard(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject *resultobj;
1747 wxWizard *result;
1748 char *kwnames[] = {
1749 NULL
1750 };
1751
1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWizard",kwnames)) goto fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (wxWizard *)new wxWizard();
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWizard, 1);
1761 return resultobj;
1762 fail:
1763 return NULL;
1764}
1765
1766
1767static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxWizard *arg1 = (wxWizard *) 0 ;
1770 wxWindow *arg2 = (wxWindow *) 0 ;
1771 int arg3 = (int) -1 ;
1772 wxString const &arg4_defvalue = wxPyEmptyString ;
1773 wxString *arg4 = (wxString *) &arg4_defvalue ;
1774 wxBitmap const &arg5_defvalue = wxNullBitmap ;
1775 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
1776 wxPoint const &arg6_defvalue = wxDefaultPosition ;
1777 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
1778 bool result;
1779 bool temp4 = False ;
1780 wxPoint temp6 ;
1781 PyObject * obj0 = 0 ;
1782 PyObject * obj1 = 0 ;
1783 PyObject * obj2 = 0 ;
1784 PyObject * obj3 = 0 ;
1785 PyObject * obj4 = 0 ;
1786 PyObject * obj5 = 0 ;
1787 char *kwnames[] = {
1788 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
1789 };
1790
1791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Wizard_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1794 if (obj2) {
1795 {
1796 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 }
1800 if (obj3) {
1801 {
1802 arg4 = wxString_in_helper(obj3);
1803 if (arg4 == NULL) SWIG_fail;
1804 temp4 = True;
1805 }
1806 }
1807 if (obj4) {
1808 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1809 if (arg5 == NULL) {
1810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1811 }
1812 }
1813 if (obj5) {
1814 {
1815 arg6 = &temp6;
1816 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxPoint const &)*arg6);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1827 {
1828 if (temp4)
1829 delete arg4;
1830 }
1831 return resultobj;
1832 fail:
1833 {
1834 if (temp4)
1835 delete arg4;
1836 }
1837 return NULL;
1838}
1839
1840
1841static PyObject *_wrap_Wizard_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject *resultobj;
1843 wxWizard *arg1 = (wxWizard *) 0 ;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_Init",kwnames,&obj0)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->Init();
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_Wizard_RunWizard(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxWizard *arg1 = (wxWizard *) 0 ;
1868 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
1869 bool result;
1870 PyObject * obj0 = 0 ;
1871 PyObject * obj1 = 0 ;
1872 char *kwnames[] = {
1873 (char *) "self",(char *) "firstPage", NULL
1874 };
1875
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_RunWizard",kwnames,&obj0,&obj1)) goto fail;
1877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (bool)(arg1)->RunWizard(arg2);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890}
1891
1892
1893static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxWizard *arg1 = (wxWizard *) 0 ;
1896 wxWizardPage *result;
1897 PyObject * obj0 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self", NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetCurrentPage",kwnames,&obj0)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 result = (wxWizardPage *)((wxWizard const *)arg1)->GetCurrentPage();
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 }
1911 {
1912 resultobj = wxPyMake_wxObject(result);
1913 }
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
1920static PyObject *_wrap_Wizard_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxWizard *arg1 = (wxWizard *) 0 ;
1923 wxSize *arg2 = 0 ;
1924 wxSize temp2 ;
1925 PyObject * obj0 = 0 ;
1926 PyObject * obj1 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "size", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 {
1934 arg2 = &temp2;
1935 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1936 }
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 (arg1)->SetPageSize((wxSize const &)*arg2);
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 Py_INCREF(Py_None); resultobj = Py_None;
1945 return resultobj;
1946 fail:
1947 return NULL;
1948}
1949
1950
1951static PyObject *_wrap_Wizard_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxWizard *arg1 = (wxWizard *) 0 ;
1954 wxSize result;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageSize",kwnames,&obj0)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = ((wxWizard const *)arg1)->GetPageSize();
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 {
1970 wxSize * resultptr;
1971 resultptr = new wxSize((wxSize &) result);
1972 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1973 }
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
1980static PyObject *_wrap_Wizard_FitToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject *resultobj;
1982 wxWizard *arg1 = (wxWizard *) 0 ;
1983 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
1984 PyObject * obj0 = 0 ;
1985 PyObject * obj1 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self",(char *) "firstPage", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_FitToPage",kwnames,&obj0,&obj1)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1993 {
1994 PyThreadState* __tstate = wxPyBeginAllowThreads();
1995 (arg1)->FitToPage((wxWizardPage const *)arg2);
1996
1997 wxPyEndAllowThreads(__tstate);
1998 if (PyErr_Occurred()) SWIG_fail;
1999 }
2000 Py_INCREF(Py_None); resultobj = Py_None;
2001 return resultobj;
2002 fail:
2003 return NULL;
2004}
2005
2006
2007static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject *resultobj;
2009 wxWizard *arg1 = (wxWizard *) 0 ;
2010 wxSizer *result;
2011 PyObject * obj0 = 0 ;
2012 char *kwnames[] = {
2013 (char *) "self", NULL
2014 };
2015
2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_GetPageAreaSizer",kwnames,&obj0)) goto fail;
2017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 result = (wxSizer *)((wxWizard const *)arg1)->GetPageAreaSizer();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 {
2026 resultobj = wxPyMake_wxSizer(result);
2027 }
2028 return resultobj;
2029 fail:
2030 return NULL;
2031}
2032
2033
2034static PyObject *_wrap_Wizard_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxWizard *arg1 = (wxWizard *) 0 ;
2037 int arg2 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj1 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "border", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 {
2047 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->SetBorder(arg2);
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 Py_INCREF(Py_None); resultobj = Py_None;
2058 return resultobj;
2059 fail:
2060 return NULL;
2061}
2062
2063
2064static PyObject *_wrap_Wizard_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxWizard *arg1 = (wxWizard *) 0 ;
2067 bool result;
2068 PyObject * obj0 = 0 ;
2069 char *kwnames[] = {
2070 (char *) "self", NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wizard_IsRunning",kwnames,&obj0)) goto fail;
2074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 result = (bool)((wxWizard const *)arg1)->IsRunning();
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2083 return resultobj;
2084 fail:
2085 return NULL;
2086}
2087
2088
2089static PyObject *_wrap_Wizard_ShowPage(PyObject *self, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 wxWizard *arg1 = (wxWizard *) 0 ;
2092 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2093 bool arg3 = (bool) True ;
2094 bool result;
2095 PyObject * obj0 = 0 ;
2096 PyObject * obj1 = 0 ;
2097 PyObject * obj2 = 0 ;
2098 char *kwnames[] = {
2099 (char *) "self",(char *) "page",(char *) "goingForward", NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Wizard_ShowPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 if (obj2) {
2106 {
2107 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 }
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 result = (bool)(arg1)->ShowPage(arg2,arg3);
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2119 return resultobj;
2120 fail:
2121 return NULL;
2122}
2123
2124
2125static PyObject *_wrap_Wizard_HasNextPage(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxWizard *arg1 = (wxWizard *) 0 ;
2128 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2129 bool result;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "page", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasNextPage",kwnames,&obj0,&obj1)) goto fail;
2137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 result = (bool)(arg1)->HasNextPage(arg2);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2147 return resultobj;
2148 fail:
2149 return NULL;
2150}
2151
2152
2153static PyObject *_wrap_Wizard_HasPrevPage(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxWizard *arg1 = (wxWizard *) 0 ;
2156 wxWizardPage *arg2 = (wxWizardPage *) 0 ;
2157 bool result;
2158 PyObject * obj0 = 0 ;
2159 PyObject * obj1 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self",(char *) "page", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Wizard_HasPrevPage",kwnames,&obj0,&obj1)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWizard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWizardPage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (bool)(arg1)->HasPrevPage(arg2);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2181static PyObject * Wizard_swigregister(PyObject *self, PyObject *args) {
2182 PyObject *obj;
2183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxWizard, obj);
2185 Py_INCREF(obj);
2186 return Py_BuildValue((char *)"");
2187}
2188static PyMethodDef SwigMethods[] = {
2189 { (char *)"new_WizardEvent", (PyCFunction) _wrap_new_WizardEvent, METH_VARARGS | METH_KEYWORDS },
2190 { (char *)"WizardEvent_GetDirection", (PyCFunction) _wrap_WizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
2191 { (char *)"WizardEvent_GetPage", (PyCFunction) _wrap_WizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS },
2192 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister, METH_VARARGS },
2193 { (char *)"WizardPage_Create", (PyCFunction) _wrap_WizardPage_Create, METH_VARARGS | METH_KEYWORDS },
2194 { (char *)"WizardPage_GetPrev", (PyCFunction) _wrap_WizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS },
2195 { (char *)"WizardPage_GetNext", (PyCFunction) _wrap_WizardPage_GetNext, METH_VARARGS | METH_KEYWORDS },
2196 { (char *)"WizardPage_GetBitmap", (PyCFunction) _wrap_WizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS },
2197 { (char *)"WizardPage_swigregister", WizardPage_swigregister, METH_VARARGS },
2198 { (char *)"new_PyWizardPage", (PyCFunction) _wrap_new_PyWizardPage, METH_VARARGS | METH_KEYWORDS },
2199 { (char *)"new_PrePyWizardPage", (PyCFunction) _wrap_new_PrePyWizardPage, METH_VARARGS | METH_KEYWORDS },
2200 { (char *)"PyWizardPage_Create", (PyCFunction) _wrap_PyWizardPage_Create, METH_VARARGS | METH_KEYWORDS },
2201 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction) _wrap_PyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2202 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction) _wrap_PyWizardPage_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
2203 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
2204 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
2205 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
2206 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
2207 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
2208 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction) _wrap_PyWizardPage_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
2209 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
2210 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction) _wrap_PyWizardPage_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
2211 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction) _wrap_PyWizardPage_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
2212 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
2213 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWizardPage_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
2214 { (char *)"PyWizardPage_base_Validate", (PyCFunction) _wrap_PyWizardPage_base_Validate, METH_VARARGS | METH_KEYWORDS },
2215 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
2216 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
2217 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction) _wrap_PyWizardPage_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
2218 { (char *)"PyWizardPage_base_AddChild", (PyCFunction) _wrap_PyWizardPage_base_AddChild, METH_VARARGS | METH_KEYWORDS },
2219 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction) _wrap_PyWizardPage_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
2220 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister, METH_VARARGS },
2221 { (char *)"new_WizardPageSimple", (PyCFunction) _wrap_new_WizardPageSimple, METH_VARARGS | METH_KEYWORDS },
2222 { (char *)"new_PreWizardPageSimple", (PyCFunction) _wrap_new_PreWizardPageSimple, METH_VARARGS | METH_KEYWORDS },
2223 { (char *)"WizardPageSimple_Create", (PyCFunction) _wrap_WizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS },
2224 { (char *)"WizardPageSimple_SetPrev", (PyCFunction) _wrap_WizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS },
2225 { (char *)"WizardPageSimple_SetNext", (PyCFunction) _wrap_WizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS },
2226 { (char *)"WizardPageSimple_Chain", (PyCFunction) _wrap_WizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS },
2227 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister, METH_VARARGS },
2228 { (char *)"new_Wizard", (PyCFunction) _wrap_new_Wizard, METH_VARARGS | METH_KEYWORDS },
2229 { (char *)"new_PreWizard", (PyCFunction) _wrap_new_PreWizard, METH_VARARGS | METH_KEYWORDS },
2230 { (char *)"Wizard_Create", (PyCFunction) _wrap_Wizard_Create, METH_VARARGS | METH_KEYWORDS },
2231 { (char *)"Wizard_Init", (PyCFunction) _wrap_Wizard_Init, METH_VARARGS | METH_KEYWORDS },
2232 { (char *)"Wizard_RunWizard", (PyCFunction) _wrap_Wizard_RunWizard, METH_VARARGS | METH_KEYWORDS },
2233 { (char *)"Wizard_GetCurrentPage", (PyCFunction) _wrap_Wizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
2234 { (char *)"Wizard_SetPageSize", (PyCFunction) _wrap_Wizard_SetPageSize, METH_VARARGS | METH_KEYWORDS },
2235 { (char *)"Wizard_GetPageSize", (PyCFunction) _wrap_Wizard_GetPageSize, METH_VARARGS | METH_KEYWORDS },
2236 { (char *)"Wizard_FitToPage", (PyCFunction) _wrap_Wizard_FitToPage, METH_VARARGS | METH_KEYWORDS },
2237 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction) _wrap_Wizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS },
2238 { (char *)"Wizard_SetBorder", (PyCFunction) _wrap_Wizard_SetBorder, METH_VARARGS | METH_KEYWORDS },
2239 { (char *)"Wizard_IsRunning", (PyCFunction) _wrap_Wizard_IsRunning, METH_VARARGS | METH_KEYWORDS },
2240 { (char *)"Wizard_ShowPage", (PyCFunction) _wrap_Wizard_ShowPage, METH_VARARGS | METH_KEYWORDS },
2241 { (char *)"Wizard_HasNextPage", (PyCFunction) _wrap_Wizard_HasNextPage, METH_VARARGS | METH_KEYWORDS },
2242 { (char *)"Wizard_HasPrevPage", (PyCFunction) _wrap_Wizard_HasPrevPage, METH_VARARGS | METH_KEYWORDS },
2243 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS },
2244 { NULL, NULL }
2245};
2246
2247
2248/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2249
2250static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
2251 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
2252}
2253static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
2254 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
2255}
2256static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
2257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
2258}
2259static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
2260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
2261}
2262static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
2263 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
2264}
2265static void *_p_wxSizerItemTo_p_wxObject(void *x) {
2266 return (void *)((wxObject *) ((wxSizerItem *) x));
2267}
2268static void *_p_wxScrollEventTo_p_wxObject(void *x) {
2269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
2270}
2271static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
2272 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
2273}
2274static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
2275 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
2276}
2277static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
2278 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
2279}
2280static void *_p_wxSizerTo_p_wxObject(void *x) {
2281 return (void *)((wxObject *) ((wxSizer *) x));
2282}
2283static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
2284 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
2285}
2286static void *_p_wxWizardPageTo_p_wxObject(void *x) {
2287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxWizardPage *) x));
2288}
2289static void *_p_wxPyWizardPageTo_p_wxObject(void *x) {
2290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
2291}
2292static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
2293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
2294}
2295static void *_p_wxPyPanelTo_p_wxObject(void *x) {
2296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
2297}
2298static void *_p_wxEventTo_p_wxObject(void *x) {
2299 return (void *)((wxObject *) ((wxEvent *) x));
2300}
2301static void *_p_wxFontDataTo_p_wxObject(void *x) {
2302 return (void *)((wxObject *) ((wxFontData *) x));
2303}
2304static void *_p_wxPrintDataTo_p_wxObject(void *x) {
2305 return (void *)((wxObject *) ((wxPrintData *) x));
2306}
2307static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
2308 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
2309}
2310static void *_p_wxGridSizerTo_p_wxObject(void *x) {
2311 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
2312}
2313static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
2314 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
2315}
2316static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
2317 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
2318}
2319static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
2320 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
2321}
2322static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
2323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
2324}
2325static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x) {
2326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
2327}
2328static void *_p_wxPaintEventTo_p_wxObject(void *x) {
2329 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
2330}
2331static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
2332 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
2333}
2334static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
2335 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
2336}
2337static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
2338 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
2339}
2340static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
2341 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
2342}
2343static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
2344 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
2345}
2346static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
2347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
2348}
2349static void *_p_wxControlTo_p_wxObject(void *x) {
2350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
2351}
2352static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
2353 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
2354}
2355static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
2356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
2357}
2358static void *_p_wxFSFileTo_p_wxObject(void *x) {
2359 return (void *)((wxObject *) ((wxFSFile *) x));
2360}
2361static void *_p_wxWizardTo_p_wxObject(void *x) {
2362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
2363}
2364static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
2365 return (void *)((wxObject *) ((wxFindReplaceData *) x));
2366}
2367static void *_p_wxPySizerTo_p_wxObject(void *x) {
2368 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
2369}
2370static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
2371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
2372}
2373static void *_p_wxColourDataTo_p_wxObject(void *x) {
2374 return (void *)((wxObject *) ((wxColourData *) x));
2375}
2376static void *_p_wxPyEventTo_p_wxObject(void *x) {
2377 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
2378}
2379static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
2380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
2381}
2382static void *_p_wxPyWindowTo_p_wxObject(void *x) {
2383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
2384}
2385static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
2386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
2387}
2388static void *_p_wxFileDialogTo_p_wxObject(void *x) {
2389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
2390}
2391static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
2392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
2393}
2394static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
2395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
2396}
2397static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
2398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
2399}
2400static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
2401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
2402}
2403static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
2404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
2405}
2406static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
2407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
2408}
2409static void *_p_wxShowEventTo_p_wxObject(void *x) {
2410 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
2411}
2412static void *_p_wxPrinterTo_p_wxObject(void *x) {
2413 return (void *)((wxObject *) ((wxPrinter *) x));
2414}
2415static void *_p_wxMenuItemTo_p_wxObject(void *x) {
2416 return (void *)((wxObject *) ((wxMenuItem *) x));
2417}
2418static void *_p_wxIdleEventTo_p_wxObject(void *x) {
2419 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
2420}
2421static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
2422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
2423}
2424static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
2425 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
2426}
2427static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
2428 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
2429}
2430static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
2431 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
2432}
2433static void *_p_wxSizeEventTo_p_wxObject(void *x) {
2434 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
2435}
2436static void *_p_wxMoveEventTo_p_wxObject(void *x) {
2437 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
2438}
2439static void *_p_wxActivateEventTo_p_wxObject(void *x) {
2440 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
2441}
2442static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
2443 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
2444}
2445static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
2446 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
2447}
2448static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
2449 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
2450}
2451static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
2452 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
2453}
2454static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
2455 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
2456}
2457static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
2458 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
2459}
2460static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
2461 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
2462}
2463static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
2464 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
2465}
2466static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
2467 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
2468}
2469static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
2470 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
2471}
2472static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
2473 return (void *)((wxObject *) ((wxImageHandler *) x));
2474}
2475static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
2476 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
2477}
2478static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
2479 return (void *)((wxObject *) ((wxEvtHandler *) x));
2480}
2481static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
2482 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
2483}
2484static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
2485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
2486}
2487static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
2488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
2489}
2490static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
2491 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
2492}
2493static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
2494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
2495}
2496static void *_p_wxImageTo_p_wxObject(void *x) {
2497 return (void *)((wxObject *) ((wxImage *) x));
2498}
2499static void *_p_wxFrameTo_p_wxObject(void *x) {
2500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
2501}
2502static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
2503 return (void *)((wxObject *) ((wxPyPrintout *) x));
2504}
2505static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
2506 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
2507}
2508static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
2509 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
2510}
2511static void *_p_wxStatusBarTo_p_wxObject(void *x) {
2512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
2513}
2514static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
2515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
2516}
2517static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
2518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
2519}
2520static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
2521 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
2522}
2523static void *_p_wxKeyEventTo_p_wxObject(void *x) {
2524 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
2525}
2526static void *_p_wxWindowTo_p_wxObject(void *x) {
2527 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
2528}
2529static void *_p_wxMenuTo_p_wxObject(void *x) {
2530 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
2531}
2532static void *_p_wxMenuBarTo_p_wxObject(void *x) {
2533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
2534}
2535static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
2536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
2537}
2538static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
2539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
2540}
2541static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
2542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
2543}
2544static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
2545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
2546}
2547static void *_p_wxSashWindowTo_p_wxObject(void *x) {
2548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
2549}
2550static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
2551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
2552}
2553static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
2554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
2555}
2556static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
2557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
2558}
2559static void *_p_wxTipWindowTo_p_wxObject(void *x) {
2560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
2561}
2562static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
2563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
2564}
2565static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
2566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
2567}
2568static void *_p_wxSashEventTo_p_wxObject(void *x) {
2569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
2570}
2571static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
2572 return (void *)((wxObject *) ((wxPrintPreview *) x));
2573}
2574static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
2575 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
2576}
2577static void *_p_wxPanelTo_p_wxObject(void *x) {
2578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
2579}
2580static void *_p_wxDialogTo_p_wxObject(void *x) {
2581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
2582}
2583static void *_p_wxColourDialogTo_p_wxObject(void *x) {
2584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
2585}
2586static void *_p_wxDirDialogTo_p_wxObject(void *x) {
2587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
2588}
2589static void *_p_wxFontDialogTo_p_wxObject(void *x) {
2590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
2591}
2592static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
2593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
2594}
2595static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
2596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
2597}
2598static void *_p_wxFileSystemTo_p_wxObject(void *x) {
2599 return (void *)((wxObject *) ((wxFileSystem *) x));
2600}
2601static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
2602 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
2603}
2604static void *_p_wxMenuEventTo_p_wxObject(void *x) {
2605 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
2606}
2607static void *_p_wxPyAppTo_p_wxObject(void *x) {
2608 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
2609}
2610static void *_p_wxCloseEventTo_p_wxObject(void *x) {
2611 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
2612}
2613static void *_p_wxMouseEventTo_p_wxObject(void *x) {
2614 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
2615}
2616static void *_p_wxEraseEventTo_p_wxObject(void *x) {
2617 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
2618}
2619static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
2620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
2621}
2622static void *_p_wxCommandEventTo_p_wxObject(void *x) {
2623 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
2624}
2625static void *_p_wxWizardEventTo_p_wxObject(void *x) {
2626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
2627}
2628static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
2629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
2630}
2631static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
2632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
2633}
2634static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
2635 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
2636}
2637static void *_p_wxFocusEventTo_p_wxObject(void *x) {
2638 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
2639}
2640static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
2641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
2642}
2643static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
2644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
2645}
2646static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
2647 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
2648}
2649static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
2650 return (void *)((wxObject *) ((wxPrintDialogData *) x));
2651}
2652static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
2653 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
2654}
2655static void *_p_wxValidatorTo_p_wxObject(void *x) {
2656 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
2657}
2658static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
2659 return (void *)((wxDialog *) ((wxColourDialog *) x));
2660}
2661static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
2662 return (void *)((wxDialog *) ((wxDirDialog *) x));
2663}
2664static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
2665 return (void *)((wxDialog *) ((wxFontDialog *) x));
2666}
2667static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
2668 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
2669}
2670static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
2671 return (void *)((wxDialog *) ((wxPrintDialog *) x));
2672}
2673static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
2674 return (void *)((wxDialog *) ((wxFileDialog *) x));
2675}
2676static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
2677 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
2678}
2679static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
2680 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
2681}
2682static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
2683 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
2684}
2685static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
2686 return (void *)((wxDialog *) ((wxMessageDialog *) x));
2687}
2688static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
2689 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
2690}
2691static void *_p_wxWizardTo_p_wxDialog(void *x) {
2692 return (void *)((wxDialog *) ((wxWizard *) x));
2693}
2694static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x) {
2695 return (void *)((wxWizardPage *) ((wxWizardPageSimple *) x));
2696}
2697static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x) {
2698 return (void *)((wxWizardPage *) ((wxPyWizardPage *) x));
2699}
2700static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
2701 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
2702}
2703static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
2704 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
2705}
2706static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
2707 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
2708}
2709static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
2710 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
2711}
2712static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
2713 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
2714}
2715static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
2716 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
2717}
2718static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
2719 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
2720}
2721static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
2722 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
2723}
2724static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
2725 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
2726}
2727static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
2728 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
2729}
2730static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
2731 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
2732}
2733static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x) {
2734 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxWizard *) x));
2735}
2736static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
2737 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
2738}
2739static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
2740 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
2741}
2742static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
2743 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
2744}
2745static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
2746 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
2747}
2748static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
2749 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
2750}
2751static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
2752 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
2753}
2754static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
2755 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
2756}
2757static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
2758 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
2759}
2760static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
2761 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
2762}
2763static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
2764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
2765}
2766static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
2767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
2768}
2769static void *_p_wxWizardPageTo_p_wxWindow(void *x) {
2770 return (void *)((wxWindow *) (wxPanel *) ((wxWizardPage *) x));
2771}
2772static void *_p_wxPyWizardPageTo_p_wxWindow(void *x) {
2773 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
2774}
2775static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
2776 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
2777}
2778static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
2779 return (void *)((wxWindow *) ((wxMenuBar *) x));
2780}
2781static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
2782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
2783}
2784static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
2785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
2786}
2787static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
2788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
2789}
2790static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
2791 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
2792}
2793static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
2794 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
2795}
2796static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
2797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
2798}
2799static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
2800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
2801}
2802static void *_p_wxPanelTo_p_wxWindow(void *x) {
2803 return (void *)((wxWindow *) ((wxPanel *) x));
2804}
2805static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
2806 return (void *)((wxWindow *) ((wxStatusBar *) x));
2807}
2808static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
2809 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
2810}
2811static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
2812 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
2813}
2814static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
2815 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
2816}
2817static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
2818 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
2819}
2820static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
2821 return (void *)((wxWindow *) ((wxPopupWindow *) x));
2822}
2823static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
2824 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
2825}
2826static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
2827 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
2828}
2829static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
2830 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
2831}
2832static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
2833 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
2834}
2835static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
2836 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
2837}
2838static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
2839 return (void *)((wxWindow *) ((wxSashWindow *) x));
2840}
2841static void *_p_wxControlTo_p_wxWindow(void *x) {
2842 return (void *)((wxWindow *) ((wxControl *) x));
2843}
2844static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
2845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
2846}
2847static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
2848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
2849}
2850static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
2851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
2852}
2853static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
2854 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
2855}
2856static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
2857 return (void *)((wxWindow *) ((wxPyWindow *) x));
2858}
2859static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
2860 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
2861}
2862static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
2863 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
2864}
2865static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
2866 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
2867}
2868static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
2869 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
2870}
2871static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
2872 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
2873}
2874static void *_p_wxWizardTo_p_wxWindow(void *x) {
2875 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
2876}
2877static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x) {
2878 return (void *)((wxWindow *) (wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
2879}
2880static void *_p_wxFrameTo_p_wxWindow(void *x) {
2881 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
2882}
2883static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
2884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
2885}
2886static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
2887 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
2888}
2889static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
2890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
2891}
2892static void *_p_wxDialogTo_p_wxWindow(void *x) {
2893 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
2894}
2895static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
2896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
2897}
2898static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
2899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
2900}
2901static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
2902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
2903}
2904static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
2905 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
2906}
2907static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
2908 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
2909}
2910static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
2911 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
2912}
2913static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
2914 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
2915}
2916static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
2917 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
2918}
2919static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
2920 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
2921}
2922static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
2923 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
2924}
2925static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
2926 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
2927}
2928static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
2929 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
2930}
2931static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
2932 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
2933}
2934static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
2935 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
2936}
2937static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x) {
2938 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxWizardEvent *) x));
2939}
2940static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
2941 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
2942}
2943static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
2944 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
2945}
2946static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x) {
2947 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxWizardPage *) x));
2948}
2949static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x) {
2950 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxPyWizardPage *) x));
2951}
2952static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
2953 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
2954}
2955static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
2956 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
2957}
2958static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
2959 return (void *)((wxEvtHandler *) ((wxValidator *) x));
2960}
2961static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
2962 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
2963}
2964static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
2965 return (void *)((wxEvtHandler *) ((wxMenu *) x));
2966}
2967static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
2968 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
2969}
2970static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
2971 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
2972}
2973static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
2974 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
2975}
2976static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
2977 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
2978}
2979static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
2980 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
2981}
2982static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
2983 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
2984}
2985static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
2986 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
2987}
2988static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
2989 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
2990}
2991static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
2992 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
2993}
2994static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
2995 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
2996}
2997static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
2998 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
2999}
3000static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
3001 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
3002}
3003static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
3004 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
3005}
3006static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
3007 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
3008}
3009static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
3010 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
3011}
3012static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
3013 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
3014}
3015static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
3016 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
3017}
3018static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
3019 return (void *)((wxEvtHandler *) ((wxWindow *) x));
3020}
3021static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
3022 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
3023}
3024static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
3025 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
3026}
3027static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
3028 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
3029}
3030static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
3031 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
3032}
3033static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
3034 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
3035}
3036static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
3037 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
3038}
3039static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
3040 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
3041}
3042static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
3043 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
3044}
3045static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
3046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
3047}
3048static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
3049 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
3050}
3051static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
3052 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
3053}
3054static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
3055 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
3056}
3057static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
3058 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
3059}
3060static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
3061 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
3062}
3063static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
3064 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
3065}
3066static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
3067 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
3068}
3069static void *_p_wxWizardTo_p_wxEvtHandler(void *x) {
3070 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxWizard *) x));
3071}
3072static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x) {
3073 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxWizardPage *) ((wxWizardPageSimple *) x));
3074}
3075static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
3076 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
3077}
3078static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
3079 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
3080}
3081static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
3082 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
3083}
3084static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
3085 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
3086}
3087static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
3088 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
3089}
3090static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
3091 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
3092}
3093static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
3094 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
3095}
3096static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
3097 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
3098}
3099static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
3100 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
3101}
3102static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x) {
3103 return (void *)((wxNotifyEvent *) ((wxWizardEvent *) x));
3104}
3105static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
3106 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
3107}
3108static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
3109 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
3110}
3111static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x) {
3112 return (void *)((wxPanel *) (wxWizardPage *) ((wxWizardPageSimple *) x));
3113}
3114static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
3115 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
3116}
3117static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
3118 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
3119}
3120static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
3121 return (void *)((wxPanel *) ((wxPyPanel *) x));
3122}
3123static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
3124 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
3125}
3126static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
3127 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
3128}
3129static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
3130 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
3131}
3132static void *_p_wxWizardPageTo_p_wxPanel(void *x) {
3133 return (void *)((wxPanel *) ((wxWizardPage *) x));
3134}
3135static void *_p_wxPyWizardPageTo_p_wxPanel(void *x) {
3136 return (void *)((wxPanel *) (wxWizardPage *) ((wxPyWizardPage *) x));
3137}
3138static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
3139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
3140}
3141static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
3142 return (void *)((wxEvent *) ((wxMenuEvent *) x));
3143}
3144static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
3145 return (void *)((wxEvent *) ((wxCloseEvent *) x));
3146}
3147static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
3148 return (void *)((wxEvent *) ((wxMouseEvent *) x));
3149}
3150static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
3151 return (void *)((wxEvent *) ((wxEraseEvent *) x));
3152}
3153static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
3154 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
3155}
3156static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
3157 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
3158}
3159static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
3160 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
3161}
3162static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
3163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
3164}
3165static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
3166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
3167}
3168static void *_p_wxPyEventTo_p_wxEvent(void *x) {
3169 return (void *)((wxEvent *) ((wxPyEvent *) x));
3170}
3171static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
3172 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
3173}
3174static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
3175 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
3176}
3177static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
3178 return (void *)((wxEvent *) ((wxIdleEvent *) x));
3179}
3180static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
3181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
3182}
3183static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
3184 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
3185}
3186static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
3187 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
3188}
3189static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
3190 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
3191}
3192static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
3193 return (void *)((wxEvent *) ((wxActivateEvent *) x));
3194}
3195static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
3196 return (void *)((wxEvent *) ((wxSizeEvent *) x));
3197}
3198static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
3199 return (void *)((wxEvent *) ((wxMoveEvent *) x));
3200}
3201static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
3202 return (void *)((wxEvent *) ((wxPaintEvent *) x));
3203}
3204static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
3205 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
3206}
3207static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
3208 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
3209}
3210static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
3211 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
3212}
3213static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
3214 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
3215}
3216static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
3217 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3218}
3219static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
3220 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
3221}
3222static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
3223 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
3224}
3225static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
3226 return (void *)((wxEvent *) ((wxFocusEvent *) x));
3227}
3228static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
3229 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
3230}
3231static void *_p_wxSashEventTo_p_wxEvent(void *x) {
3232 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
3233}
3234static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
3235 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
3236}
3237static void *_p_wxShowEventTo_p_wxEvent(void *x) {
3238 return (void *)((wxEvent *) ((wxShowEvent *) x));
3239}
3240static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
3241 return (void *)((wxEvent *) ((wxCommandEvent *) x));
3242}
3243static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
3244 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
3245}
3246static void *_p_wxWizardEventTo_p_wxEvent(void *x) {
3247 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxWizardEvent *) x));
3248}
3249static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
3250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3251}
3252static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
3253 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
3254}
3255static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
3256 return (void *)((wxEvent *) ((wxKeyEvent *) x));
3257}
3258static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
3259 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
3260}
3261static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
3262 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
3263}
3264static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxObject},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWizard", _p_wxWizardTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
3265static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{"_p_wxWizard", _p_wxWizardTo_p_wxDialog},{0}};
3266static swig_type_info _swigt__p_wxWizardPageSimple[] = {{"_p_wxWizardPageSimple", 0, "wxWizardPageSimple *", 0},{"_p_wxWizardPageSimple"},{0}};
3267static swig_type_info _swigt__p_wxWizardPage[] = {{"_p_wxWizardPage", 0, "wxWizardPage *", 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWizardPage},{"_p_wxWizardPage"},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWizardPage},{0}};
3268static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxWizard", _p_wxWizardTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{0}};
3269static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxWindow},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxWizard", _p_wxWizardTo_p_wxWindow},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
3270static swig_type_info _swigt__p_wxPyWizardPage[] = {{"_p_wxPyWizardPage", 0, "wxPyWizardPage *", 0},{"_p_wxPyWizardPage"},{0}};
3271static swig_type_info _swigt__p_wxWizardEvent[] = {{"_p_wxWizardEvent", 0, "wxWizardEvent *", 0},{"_p_wxWizardEvent"},{0}};
3272static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
3273static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
3274static swig_type_info _swigt__p_wxWizard[] = {{"_p_wxWizard", 0, "wxWizard *", 0},{"_p_wxWizard"},{0}};
3275static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
3276static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxEvtHandler},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxEvtHandler},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxWizard", _p_wxWizardTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
3277static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
3278static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxNotifyEvent},{0}};
3279static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxPanel},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxPanel},{0}};
3280static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
3281static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
3282static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
3283static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
3284
3285static swig_type_info *swig_types_initial[] = {
3286_swigt__p_wxObject,
3287_swigt__p_wxDialog,
3288_swigt__p_wxWizardPageSimple,
3289_swigt__p_wxWizardPage,
3290_swigt__p_wxTopLevelWindow,
3291_swigt__p_wxWindow,
3292_swigt__p_wxPyWizardPage,
3293_swigt__p_wxWizardEvent,
3294_swigt__p_wxCommandEvent,
3295_swigt__p_wxBitmap,
3296_swigt__p_wxWizard,
3297_swigt__p_char,
3298_swigt__p_wxEvtHandler,
3299_swigt__p_wxString,
3300_swigt__p_wxNotifyEvent,
3301_swigt__p_wxPanel,
3302_swigt__p_wxEvent,
3303_swigt__p_wxSize,
3304_swigt__p_wxChar,
3305_swigt__p_int,
33060
3307};
3308
3309
3310/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
3311
3312static swig_const_info swig_const_table[] = {
3313{0}};
3314
3315#ifdef __cplusplus
3316}
3317#endif
3318
3319#ifdef __cplusplus
3320extern "C"
3321#endif
3322SWIGEXPORT(void) SWIG_init(void) {
3323 static PyObject *SWIG_globals = 0;
3324 static int typeinit = 0;
3325 PyObject *m, *d;
3326 int i;
3327 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
3328 m = Py_InitModule((char *) SWIG_name, SwigMethods);
3329 d = PyModule_GetDict(m);
3330
3331 if (!typeinit) {
3332 for (i = 0; swig_types_initial[i]; i++) {
3333 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
3334 }
3335 typeinit = 1;
3336 }
3337 SWIG_InstallConstants(d,swig_const_table);
3338
3339 PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_PyObj_FromInt((int)wxWIZARD_EX_HELPBUTTON));
3340 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED));
3341 PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING));
3342 PyDict_SetItemString(d, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL));
3343 PyDict_SetItemString(d, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP));
3344 PyDict_SetItemString(d, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED));
3345
3346
3347}
3348