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