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