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