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