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