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