]>
Commit | Line | Data |
---|---|---|
c81fd4b9 RD |
1 | /* |
2 | * FILE : src/gtk/wizard.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #include "Python.h" | |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
44 | ||
45 | extern void SWIG_MakePtr(char *, void *, char *); | |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initwizardc | |
55 | ||
56 | #define SWIG_name "wizardc" | |
57 | ||
58 | #include "wxPython.h" | |
59 | #include <wx/wizard.h> | |
60 | ||
61 | ||
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
66 | if (!target) { | |
67 | target = o; | |
68 | } else if (target == Py_None) { | |
69 | Py_DECREF(Py_None); | |
70 | target = o; | |
71 | } else { | |
72 | if (!PyTuple_Check(target)) { | |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
77 | o3 = PyTuple_New(1); | |
78 | PyTuple_SetItem(o3, 0, o); | |
79 | ||
80 | o2 = target; | |
81 | target = PySequence_Concat(o2, o3); | |
82 | Py_DECREF(o2); | |
83 | Py_DECREF(o3); | |
84 | } | |
85 | return target; | |
86 | } | |
87 | // C++ Version of a Python aware class | |
88 | class wxPyWizardPage : public wxWizardPage { | |
89 | DECLARE_ABSTRACT_CLASS(wxPyWizardPage); | |
90 | public: | |
91 | wxPyWizardPage() : wxWizardPage() {} | |
92 | wxPyWizardPage(wxWizard *parent, | |
93 | const wxBitmap& bitmap = wxNullBitmap, | |
94 | const wxChar* resource = NULL) | |
95 | : wxWizardPage(parent, bitmap, resource) {} | |
96 | ||
97 | DEC_PYCALLBACK_WIZPG__pure(GetPrev); | |
98 | DEC_PYCALLBACK_WIZPG__pure(GetNext); | |
99 | DEC_PYCALLBACK_BITMAP__pure(GetBitmap); | |
100 | ||
101 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
102 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
103 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
104 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
105 | ||
106 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
107 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
108 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
109 | ||
110 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
111 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
112 | ||
113 | DEC_PYCALLBACK__(InitDialog); | |
114 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
115 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
116 | DEC_PYCALLBACK_BOOL_(Validate); | |
117 | ||
118 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
119 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
120 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
121 | ||
122 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
123 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
124 | ||
125 | PYPRIVATE; | |
126 | }; | |
127 | ||
128 | ||
129 | IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage, wxWizardPage); | |
130 | ||
131 | IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetPrev); | |
132 | IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage, wxWizardPage, GetNext); | |
133 | IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage, wxWizardPage, GetBitmap); | |
134 | ||
135 | IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage, wxWizardPage, DoMoveWindow); | |
136 | IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage, wxWizardPage, DoSetSize); | |
137 | IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetClientSize); | |
138 | IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage, wxWizardPage, DoSetVirtualSize); | |
139 | ||
140 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetSize); | |
141 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetClientSize); | |
142 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage, wxWizardPage, DoGetPosition); | |
143 | ||
144 | IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetVirtualSize); | |
145 | IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, DoGetBestSize); | |
146 | ||
147 | IMP_PYCALLBACK__(wxPyWizardPage, wxWizardPage, InitDialog); | |
148 | IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataFromWindow); | |
149 | IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, TransferDataToWindow); | |
150 | IMP_PYCALLBACK_BOOL_(wxPyWizardPage, wxWizardPage, Validate); | |
151 | ||
152 | IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocus); | |
153 | IMP_PYCALLBACK_BOOL_const(wxPyWizardPage, wxWizardPage, AcceptsFocusFromKeyboard); | |
154 | IMP_PYCALLBACK_SIZE_const(wxPyWizardPage, wxWizardPage, GetMaxSize); | |
155 | ||
156 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild); | |
157 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); | |
158 | ||
159 | #ifdef __cplusplus | |
160 | extern "C" { | |
161 | #endif | |
162 | static void *SwigwxWizardEventTowxNotifyEvent(void *ptr) { | |
163 | wxWizardEvent *src; | |
164 | wxNotifyEvent *dest; | |
165 | src = (wxWizardEvent *) ptr; | |
166 | dest = (wxNotifyEvent *) src; | |
167 | return (void *) dest; | |
168 | } | |
169 | ||
170 | static void *SwigwxWizardEventTowxCommandEvent(void *ptr) { | |
171 | wxWizardEvent *src; | |
172 | wxCommandEvent *dest; | |
173 | src = (wxWizardEvent *) ptr; | |
174 | dest = (wxCommandEvent *) src; | |
175 | return (void *) dest; | |
176 | } | |
177 | ||
178 | static void *SwigwxWizardEventTowxEvent(void *ptr) { | |
179 | wxWizardEvent *src; | |
180 | wxEvent *dest; | |
181 | src = (wxWizardEvent *) ptr; | |
182 | dest = (wxEvent *) src; | |
183 | return (void *) dest; | |
184 | } | |
185 | ||
186 | static void *SwigwxWizardEventTowxObject(void *ptr) { | |
187 | wxWizardEvent *src; | |
188 | wxObject *dest; | |
189 | src = (wxWizardEvent *) ptr; | |
190 | dest = (wxObject *) src; | |
191 | return (void *) dest; | |
192 | } | |
193 | ||
194 | #define new_wxWizardEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxWizardEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
195 | static PyObject *_wrap_new_wxWizardEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
196 | PyObject * _resultobj; | |
197 | wxWizardEvent * _result; | |
198 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
199 | int _arg1 = (int ) -1; | |
200 | bool _arg2 = (bool ) TRUE; | |
201 | wxWizardPage * _arg3 = (wxWizardPage *) NULL; | |
202 | int tempbool2 = (int) TRUE; | |
203 | PyObject * _argo3 = 0; | |
204 | char *_kwnames[] = { "type","id","direction","page", NULL }; | |
205 | char _ptemp[128]; | |
206 | ||
207 | self = self; | |
208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiiO:new_wxWizardEvent",_kwnames,&_arg0,&_arg1,&tempbool2,&_argo3)) | |
209 | return NULL; | |
210 | _arg2 = (bool ) tempbool2; | |
211 | if (_argo3) { | |
212 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
213 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWizardPage_p")) { | |
214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWizardEvent. Expected _wxWizardPage_p."); | |
215 | return NULL; | |
216 | } | |
217 | } | |
218 | { | |
219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
220 | _result = (wxWizardEvent *)new_wxWizardEvent(_arg0,_arg1,_arg2,_arg3); | |
221 | ||
222 | wxPyEndAllowThreads(__tstate); | |
223 | if (PyErr_Occurred()) return NULL; | |
224 | } if (_result) { | |
225 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardEvent_p"); | |
226 | _resultobj = Py_BuildValue("s",_ptemp); | |
227 | } else { | |
228 | Py_INCREF(Py_None); | |
229 | _resultobj = Py_None; | |
230 | } | |
231 | return _resultobj; | |
232 | } | |
233 | ||
234 | #define wxWizardEvent_GetDirection(_swigobj) (_swigobj->GetDirection()) | |
235 | static PyObject *_wrap_wxWizardEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
236 | PyObject * _resultobj; | |
237 | bool _result; | |
238 | wxWizardEvent * _arg0; | |
239 | PyObject * _argo0 = 0; | |
240 | char *_kwnames[] = { "self", NULL }; | |
241 | ||
242 | self = self; | |
243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardEvent_GetDirection",_kwnames,&_argo0)) | |
244 | return NULL; | |
245 | if (_argo0) { | |
246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardEvent_p")) { | |
248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardEvent_GetDirection. Expected _wxWizardEvent_p."); | |
249 | return NULL; | |
250 | } | |
251 | } | |
252 | { | |
253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
254 | _result = (bool )wxWizardEvent_GetDirection(_arg0); | |
255 | ||
256 | wxPyEndAllowThreads(__tstate); | |
257 | if (PyErr_Occurred()) return NULL; | |
258 | } _resultobj = Py_BuildValue("i",_result); | |
259 | return _resultobj; | |
260 | } | |
261 | ||
262 | #define wxWizardEvent_GetPage(_swigobj) (_swigobj->GetPage()) | |
263 | static PyObject *_wrap_wxWizardEvent_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
264 | PyObject * _resultobj; | |
265 | wxWizardPage * _result; | |
266 | wxWizardEvent * _arg0; | |
267 | PyObject * _argo0 = 0; | |
268 | char *_kwnames[] = { "self", NULL }; | |
269 | char _ptemp[128]; | |
270 | ||
271 | self = self; | |
272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardEvent_GetPage",_kwnames,&_argo0)) | |
273 | return NULL; | |
274 | if (_argo0) { | |
275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardEvent_p")) { | |
277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardEvent_GetPage. Expected _wxWizardEvent_p."); | |
278 | return NULL; | |
279 | } | |
280 | } | |
281 | { | |
282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
283 | _result = (wxWizardPage *)wxWizardEvent_GetPage(_arg0); | |
284 | ||
285 | wxPyEndAllowThreads(__tstate); | |
286 | if (PyErr_Occurred()) return NULL; | |
287 | } if (_result) { | |
288 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPage_p"); | |
289 | _resultobj = Py_BuildValue("s",_ptemp); | |
290 | } else { | |
291 | Py_INCREF(Py_None); | |
292 | _resultobj = Py_None; | |
293 | } | |
294 | return _resultobj; | |
295 | } | |
296 | ||
297 | static void *SwigwxWizardPageTowxPanel(void *ptr) { | |
298 | wxWizardPage *src; | |
299 | wxPanel *dest; | |
300 | src = (wxWizardPage *) ptr; | |
301 | dest = (wxPanel *) src; | |
302 | return (void *) dest; | |
303 | } | |
304 | ||
305 | static void *SwigwxWizardPageTowxWindow(void *ptr) { | |
306 | wxWizardPage *src; | |
307 | wxWindow *dest; | |
308 | src = (wxWizardPage *) ptr; | |
309 | dest = (wxWindow *) src; | |
310 | return (void *) dest; | |
311 | } | |
312 | ||
313 | static void *SwigwxWizardPageTowxEvtHandler(void *ptr) { | |
314 | wxWizardPage *src; | |
315 | wxEvtHandler *dest; | |
316 | src = (wxWizardPage *) ptr; | |
317 | dest = (wxEvtHandler *) src; | |
318 | return (void *) dest; | |
319 | } | |
320 | ||
321 | static void *SwigwxWizardPageTowxObject(void *ptr) { | |
322 | wxWizardPage *src; | |
323 | wxObject *dest; | |
324 | src = (wxWizardPage *) ptr; | |
325 | dest = (wxObject *) src; | |
326 | return (void *) dest; | |
327 | } | |
328 | ||
329 | #define wxWizardPage_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
330 | static PyObject *_wrap_wxWizardPage_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
331 | PyObject * _resultobj; | |
332 | bool _result; | |
333 | wxWizardPage * _arg0; | |
334 | wxWizard * _arg1; | |
335 | wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap; | |
336 | char * _arg3 = (char *) NULL; | |
337 | PyObject * _argo0 = 0; | |
338 | PyObject * _argo1 = 0; | |
339 | PyObject * _argo2 = 0; | |
340 | char *_kwnames[] = { "self","parent","bitmap","resource", NULL }; | |
341 | ||
342 | self = self; | |
343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Os:wxWizardPage_Create",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
344 | return NULL; | |
345 | if (_argo0) { | |
346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPage_p")) { | |
348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPage_Create. Expected _wxWizardPage_p."); | |
349 | return NULL; | |
350 | } | |
351 | } | |
352 | if (_argo1) { | |
353 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
354 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizard_p")) { | |
355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizardPage_Create. Expected _wxWizard_p."); | |
356 | return NULL; | |
357 | } | |
358 | } | |
359 | if (_argo2) { | |
360 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
361 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWizardPage_Create. Expected _wxBitmap_p."); | |
363 | return NULL; | |
364 | } | |
365 | } | |
366 | { | |
367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
368 | _result = (bool )wxWizardPage_Create(_arg0,_arg1,*_arg2,_arg3); | |
369 | ||
370 | wxPyEndAllowThreads(__tstate); | |
371 | if (PyErr_Occurred()) return NULL; | |
372 | } _resultobj = Py_BuildValue("i",_result); | |
373 | return _resultobj; | |
374 | } | |
375 | ||
376 | #define wxWizardPage_Init(_swigobj) (_swigobj->Init()) | |
377 | static PyObject *_wrap_wxWizardPage_Init(PyObject *self, PyObject *args, PyObject *kwargs) { | |
378 | PyObject * _resultobj; | |
379 | wxWizardPage * _arg0; | |
380 | PyObject * _argo0 = 0; | |
381 | char *_kwnames[] = { "self", NULL }; | |
382 | ||
383 | self = self; | |
384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardPage_Init",_kwnames,&_argo0)) | |
385 | return NULL; | |
386 | if (_argo0) { | |
387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPage_p")) { | |
389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPage_Init. Expected _wxWizardPage_p."); | |
390 | return NULL; | |
391 | } | |
392 | } | |
393 | { | |
394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
395 | wxWizardPage_Init(_arg0); | |
396 | ||
397 | wxPyEndAllowThreads(__tstate); | |
398 | if (PyErr_Occurred()) return NULL; | |
399 | } Py_INCREF(Py_None); | |
400 | _resultobj = Py_None; | |
401 | return _resultobj; | |
402 | } | |
403 | ||
404 | #define wxWizardPage_GetPrev(_swigobj) (_swigobj->GetPrev()) | |
405 | static PyObject *_wrap_wxWizardPage_GetPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
406 | PyObject * _resultobj; | |
407 | wxWizardPage * _result; | |
408 | wxWizardPage * _arg0; | |
409 | PyObject * _argo0 = 0; | |
410 | char *_kwnames[] = { "self", NULL }; | |
411 | char _ptemp[128]; | |
412 | ||
413 | self = self; | |
414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardPage_GetPrev",_kwnames,&_argo0)) | |
415 | return NULL; | |
416 | if (_argo0) { | |
417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPage_p")) { | |
419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPage_GetPrev. Expected _wxWizardPage_p."); | |
420 | return NULL; | |
421 | } | |
422 | } | |
423 | { | |
424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
425 | _result = (wxWizardPage *)wxWizardPage_GetPrev(_arg0); | |
426 | ||
427 | wxPyEndAllowThreads(__tstate); | |
428 | if (PyErr_Occurred()) return NULL; | |
429 | } if (_result) { | |
430 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPage_p"); | |
431 | _resultobj = Py_BuildValue("s",_ptemp); | |
432 | } else { | |
433 | Py_INCREF(Py_None); | |
434 | _resultobj = Py_None; | |
435 | } | |
436 | return _resultobj; | |
437 | } | |
438 | ||
439 | #define wxWizardPage_GetNext(_swigobj) (_swigobj->GetNext()) | |
440 | static PyObject *_wrap_wxWizardPage_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
441 | PyObject * _resultobj; | |
442 | wxWizardPage * _result; | |
443 | wxWizardPage * _arg0; | |
444 | PyObject * _argo0 = 0; | |
445 | char *_kwnames[] = { "self", NULL }; | |
446 | char _ptemp[128]; | |
447 | ||
448 | self = self; | |
449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardPage_GetNext",_kwnames,&_argo0)) | |
450 | return NULL; | |
451 | if (_argo0) { | |
452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPage_p")) { | |
454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPage_GetNext. Expected _wxWizardPage_p."); | |
455 | return NULL; | |
456 | } | |
457 | } | |
458 | { | |
459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
460 | _result = (wxWizardPage *)wxWizardPage_GetNext(_arg0); | |
461 | ||
462 | wxPyEndAllowThreads(__tstate); | |
463 | if (PyErr_Occurred()) return NULL; | |
464 | } if (_result) { | |
465 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPage_p"); | |
466 | _resultobj = Py_BuildValue("s",_ptemp); | |
467 | } else { | |
468 | Py_INCREF(Py_None); | |
469 | _resultobj = Py_None; | |
470 | } | |
471 | return _resultobj; | |
472 | } | |
473 | ||
474 | #define wxWizardPage_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
475 | static PyObject *_wrap_wxWizardPage_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
476 | PyObject * _resultobj; | |
477 | wxBitmap * _result; | |
478 | wxWizardPage * _arg0; | |
479 | PyObject * _argo0 = 0; | |
480 | char *_kwnames[] = { "self", NULL }; | |
481 | char _ptemp[128]; | |
482 | ||
483 | self = self; | |
484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardPage_GetBitmap",_kwnames,&_argo0)) | |
485 | return NULL; | |
486 | if (_argo0) { | |
487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPage_p")) { | |
489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPage_GetBitmap. Expected _wxWizardPage_p."); | |
490 | return NULL; | |
491 | } | |
492 | } | |
493 | { | |
494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
495 | _result = new wxBitmap (wxWizardPage_GetBitmap(_arg0)); | |
496 | ||
497 | wxPyEndAllowThreads(__tstate); | |
498 | if (PyErr_Occurred()) return NULL; | |
499 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p"); | |
500 | _resultobj = Py_BuildValue("s",_ptemp); | |
501 | return _resultobj; | |
502 | } | |
503 | ||
504 | static void *SwigwxPyWizardPageTowxWizardPage(void *ptr) { | |
505 | wxPyWizardPage *src; | |
506 | wxWizardPage *dest; | |
507 | src = (wxPyWizardPage *) ptr; | |
508 | dest = (wxWizardPage *) src; | |
509 | return (void *) dest; | |
510 | } | |
511 | ||
512 | static void *SwigwxPyWizardPageTowxPanel(void *ptr) { | |
513 | wxPyWizardPage *src; | |
514 | wxPanel *dest; | |
515 | src = (wxPyWizardPage *) ptr; | |
516 | dest = (wxPanel *) src; | |
517 | return (void *) dest; | |
518 | } | |
519 | ||
520 | static void *SwigwxPyWizardPageTowxWindow(void *ptr) { | |
521 | wxPyWizardPage *src; | |
522 | wxWindow *dest; | |
523 | src = (wxPyWizardPage *) ptr; | |
524 | dest = (wxWindow *) src; | |
525 | return (void *) dest; | |
526 | } | |
527 | ||
528 | static void *SwigwxPyWizardPageTowxEvtHandler(void *ptr) { | |
529 | wxPyWizardPage *src; | |
530 | wxEvtHandler *dest; | |
531 | src = (wxPyWizardPage *) ptr; | |
532 | dest = (wxEvtHandler *) src; | |
533 | return (void *) dest; | |
534 | } | |
535 | ||
536 | static void *SwigwxPyWizardPageTowxObject(void *ptr) { | |
537 | wxPyWizardPage *src; | |
538 | wxObject *dest; | |
539 | src = (wxPyWizardPage *) ptr; | |
540 | dest = (wxObject *) src; | |
541 | return (void *) dest; | |
542 | } | |
543 | ||
544 | #define new_wxPyWizardPage(_swigarg0,_swigarg1,_swigarg2) (new wxPyWizardPage(_swigarg0,_swigarg1,_swigarg2)) | |
545 | static PyObject *_wrap_new_wxPyWizardPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
546 | PyObject * _resultobj; | |
547 | wxPyWizardPage * _result; | |
548 | wxWizard * _arg0; | |
549 | wxBitmap * _arg1 = (wxBitmap *) &wxNullBitmap; | |
550 | char * _arg2 = (char *) NULL; | |
551 | PyObject * _argo0 = 0; | |
552 | PyObject * _argo1 = 0; | |
553 | char *_kwnames[] = { "parent","bitmap","resource", NULL }; | |
554 | char _ptemp[128]; | |
555 | ||
556 | self = self; | |
557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Os:new_wxPyWizardPage",_kwnames,&_argo0,&_argo1,&_arg2)) | |
558 | return NULL; | |
559 | if (_argo0) { | |
560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWizardPage. Expected _wxWizard_p."); | |
563 | return NULL; | |
564 | } | |
565 | } | |
566 | if (_argo1) { | |
567 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
568 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyWizardPage. Expected _wxBitmap_p."); | |
570 | return NULL; | |
571 | } | |
572 | } | |
573 | { | |
574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
575 | _result = (wxPyWizardPage *)new_wxPyWizardPage(_arg0,*_arg1,_arg2); | |
576 | ||
577 | wxPyEndAllowThreads(__tstate); | |
578 | if (PyErr_Occurred()) return NULL; | |
579 | } if (_result) { | |
580 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWizardPage_p"); | |
581 | _resultobj = Py_BuildValue("s",_ptemp); | |
582 | } else { | |
583 | Py_INCREF(Py_None); | |
584 | _resultobj = Py_None; | |
585 | } | |
586 | return _resultobj; | |
587 | } | |
588 | ||
589 | #define new_wxPrePyWizardPage() (new wxPyWizardPage()) | |
590 | static PyObject *_wrap_new_wxPrePyWizardPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
591 | PyObject * _resultobj; | |
592 | wxPyWizardPage * _result; | |
593 | char *_kwnames[] = { NULL }; | |
594 | char _ptemp[128]; | |
595 | ||
596 | self = self; | |
597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePyWizardPage",_kwnames)) | |
598 | return NULL; | |
599 | { | |
600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
601 | _result = (wxPyWizardPage *)new_wxPrePyWizardPage(); | |
602 | ||
603 | wxPyEndAllowThreads(__tstate); | |
604 | if (PyErr_Occurred()) return NULL; | |
605 | } if (_result) { | |
606 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWizardPage_p"); | |
607 | _resultobj = Py_BuildValue("s",_ptemp); | |
608 | } else { | |
609 | Py_INCREF(Py_None); | |
610 | _resultobj = Py_None; | |
611 | } | |
612 | return _resultobj; | |
613 | } | |
614 | ||
615 | #define wxPyWizardPage_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
616 | static PyObject *_wrap_wxPyWizardPage_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
617 | PyObject * _resultobj; | |
618 | bool _result; | |
619 | wxPyWizardPage * _arg0; | |
620 | wxWizard * _arg1; | |
621 | wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap; | |
622 | char * _arg3 = (char *) NULL; | |
623 | PyObject * _argo0 = 0; | |
624 | PyObject * _argo1 = 0; | |
625 | PyObject * _argo2 = 0; | |
626 | char *_kwnames[] = { "self","parent","bitmap","resource", NULL }; | |
627 | ||
628 | self = self; | |
629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Os:wxPyWizardPage_Create",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
630 | return NULL; | |
631 | if (_argo0) { | |
632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_Create. Expected _wxPyWizardPage_p."); | |
635 | return NULL; | |
636 | } | |
637 | } | |
638 | if (_argo1) { | |
639 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
640 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizard_p")) { | |
641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWizardPage_Create. Expected _wxWizard_p."); | |
642 | return NULL; | |
643 | } | |
644 | } | |
645 | if (_argo2) { | |
646 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
647 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyWizardPage_Create. Expected _wxBitmap_p."); | |
649 | return NULL; | |
650 | } | |
651 | } | |
652 | { | |
653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
654 | _result = (bool )wxPyWizardPage_Create(_arg0,_arg1,*_arg2,_arg3); | |
655 | ||
656 | wxPyEndAllowThreads(__tstate); | |
657 | if (PyErr_Occurred()) return NULL; | |
658 | } _resultobj = Py_BuildValue("i",_result); | |
659 | return _resultobj; | |
660 | } | |
661 | ||
662 | #define wxPyWizardPage__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
663 | static PyObject *_wrap_wxPyWizardPage__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
664 | PyObject * _resultobj; | |
665 | wxPyWizardPage * _arg0; | |
666 | PyObject * _arg1; | |
667 | PyObject * _arg2; | |
668 | PyObject * _argo0 = 0; | |
669 | PyObject * _obj1 = 0; | |
670 | PyObject * _obj2 = 0; | |
671 | char *_kwnames[] = { "self","self","_class", NULL }; | |
672 | ||
673 | self = self; | |
674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWizardPage__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
675 | return NULL; | |
676 | if (_argo0) { | |
677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage__setCallbackInfo. Expected _wxPyWizardPage_p."); | |
680 | return NULL; | |
681 | } | |
682 | } | |
683 | { | |
684 | _arg1 = _obj1; | |
685 | } | |
686 | { | |
687 | _arg2 = _obj2; | |
688 | } | |
689 | { | |
690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
691 | wxPyWizardPage__setCallbackInfo(_arg0,_arg1,_arg2); | |
692 | ||
693 | wxPyEndAllowThreads(__tstate); | |
694 | if (PyErr_Occurred()) return NULL; | |
695 | } Py_INCREF(Py_None); | |
696 | _resultobj = Py_None; | |
697 | return _resultobj; | |
698 | } | |
699 | ||
700 | #define wxPyWizardPage_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
701 | static PyObject *_wrap_wxPyWizardPage_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
702 | PyObject * _resultobj; | |
703 | wxPyWizardPage * _arg0; | |
704 | int _arg1; | |
705 | int _arg2; | |
706 | int _arg3; | |
707 | int _arg4; | |
708 | PyObject * _argo0 = 0; | |
709 | char *_kwnames[] = { "self","x","y","width","height", NULL }; | |
710 | ||
711 | self = self; | |
712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWizardPage_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
713 | return NULL; | |
714 | if (_argo0) { | |
715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoMoveWindow. Expected _wxPyWizardPage_p."); | |
718 | return NULL; | |
719 | } | |
720 | } | |
721 | { | |
722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
723 | wxPyWizardPage_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4); | |
724 | ||
725 | wxPyEndAllowThreads(__tstate); | |
726 | if (PyErr_Occurred()) return NULL; | |
727 | } Py_INCREF(Py_None); | |
728 | _resultobj = Py_None; | |
729 | return _resultobj; | |
730 | } | |
731 | ||
732 | #define wxPyWizardPage_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
733 | static PyObject *_wrap_wxPyWizardPage_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
734 | PyObject * _resultobj; | |
735 | wxPyWizardPage * _arg0; | |
736 | int _arg1; | |
737 | int _arg2; | |
738 | int _arg3; | |
739 | int _arg4; | |
740 | int _arg5 = (int ) wxSIZE_AUTO; | |
741 | PyObject * _argo0 = 0; | |
742 | char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL }; | |
743 | ||
744 | self = self; | |
745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWizardPage_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
746 | return NULL; | |
747 | if (_argo0) { | |
748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoSetSize. Expected _wxPyWizardPage_p."); | |
751 | return NULL; | |
752 | } | |
753 | } | |
754 | { | |
755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
756 | wxPyWizardPage_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
757 | ||
758 | wxPyEndAllowThreads(__tstate); | |
759 | if (PyErr_Occurred()) return NULL; | |
760 | } Py_INCREF(Py_None); | |
761 | _resultobj = Py_None; | |
762 | return _resultobj; | |
763 | } | |
764 | ||
765 | #define wxPyWizardPage_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1)) | |
766 | static PyObject *_wrap_wxPyWizardPage_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
767 | PyObject * _resultobj; | |
768 | wxPyWizardPage * _arg0; | |
769 | int _arg1; | |
770 | int _arg2; | |
771 | PyObject * _argo0 = 0; | |
772 | char *_kwnames[] = { "self","width","height", NULL }; | |
773 | ||
774 | self = self; | |
775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWizardPage_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
776 | return NULL; | |
777 | if (_argo0) { | |
778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoSetClientSize. Expected _wxPyWizardPage_p."); | |
781 | return NULL; | |
782 | } | |
783 | } | |
784 | { | |
785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
786 | wxPyWizardPage_base_DoSetClientSize(_arg0,_arg1,_arg2); | |
787 | ||
788 | wxPyEndAllowThreads(__tstate); | |
789 | if (PyErr_Occurred()) return NULL; | |
790 | } Py_INCREF(Py_None); | |
791 | _resultobj = Py_None; | |
792 | return _resultobj; | |
793 | } | |
794 | ||
795 | #define wxPyWizardPage_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1)) | |
796 | static PyObject *_wrap_wxPyWizardPage_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
797 | PyObject * _resultobj; | |
798 | wxPyWizardPage * _arg0; | |
799 | int _arg1; | |
800 | int _arg2; | |
801 | PyObject * _argo0 = 0; | |
802 | char *_kwnames[] = { "self","x","y", NULL }; | |
803 | ||
804 | self = self; | |
805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWizardPage_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
806 | return NULL; | |
807 | if (_argo0) { | |
808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoSetVirtualSize. Expected _wxPyWizardPage_p."); | |
811 | return NULL; | |
812 | } | |
813 | } | |
814 | { | |
815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
816 | wxPyWizardPage_base_DoSetVirtualSize(_arg0,_arg1,_arg2); | |
817 | ||
818 | wxPyEndAllowThreads(__tstate); | |
819 | if (PyErr_Occurred()) return NULL; | |
820 | } Py_INCREF(Py_None); | |
821 | _resultobj = Py_None; | |
822 | return _resultobj; | |
823 | } | |
824 | ||
825 | #define wxPyWizardPage_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1)) | |
826 | static PyObject *_wrap_wxPyWizardPage_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
827 | PyObject * _resultobj; | |
828 | wxPyWizardPage * _arg0; | |
829 | int * _arg1; | |
830 | int temp; | |
831 | int * _arg2; | |
832 | int temp0; | |
833 | PyObject * _argo0 = 0; | |
834 | char *_kwnames[] = { "self", NULL }; | |
835 | ||
836 | self = self; | |
837 | { | |
838 | _arg1 = &temp; | |
839 | } | |
840 | { | |
841 | _arg2 = &temp0; | |
842 | } | |
843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_DoGetSize",_kwnames,&_argo0)) | |
844 | return NULL; | |
845 | if (_argo0) { | |
846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoGetSize. Expected _wxPyWizardPage_p."); | |
849 | return NULL; | |
850 | } | |
851 | } | |
852 | { | |
853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
854 | wxPyWizardPage_base_DoGetSize(_arg0,_arg1,_arg2); | |
855 | ||
856 | wxPyEndAllowThreads(__tstate); | |
857 | if (PyErr_Occurred()) return NULL; | |
858 | } Py_INCREF(Py_None); | |
859 | _resultobj = Py_None; | |
860 | { | |
861 | PyObject *o; | |
862 | o = PyInt_FromLong((long) (*_arg1)); | |
863 | _resultobj = t_output_helper(_resultobj, o); | |
864 | } | |
865 | { | |
866 | PyObject *o; | |
867 | o = PyInt_FromLong((long) (*_arg2)); | |
868 | _resultobj = t_output_helper(_resultobj, o); | |
869 | } | |
870 | return _resultobj; | |
871 | } | |
872 | ||
873 | #define wxPyWizardPage_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1)) | |
874 | static PyObject *_wrap_wxPyWizardPage_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
875 | PyObject * _resultobj; | |
876 | wxPyWizardPage * _arg0; | |
877 | int * _arg1; | |
878 | int temp; | |
879 | int * _arg2; | |
880 | int temp0; | |
881 | PyObject * _argo0 = 0; | |
882 | char *_kwnames[] = { "self", NULL }; | |
883 | ||
884 | self = self; | |
885 | { | |
886 | _arg1 = &temp; | |
887 | } | |
888 | { | |
889 | _arg2 = &temp0; | |
890 | } | |
891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_DoGetClientSize",_kwnames,&_argo0)) | |
892 | return NULL; | |
893 | if (_argo0) { | |
894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoGetClientSize. Expected _wxPyWizardPage_p."); | |
897 | return NULL; | |
898 | } | |
899 | } | |
900 | { | |
901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
902 | wxPyWizardPage_base_DoGetClientSize(_arg0,_arg1,_arg2); | |
903 | ||
904 | wxPyEndAllowThreads(__tstate); | |
905 | if (PyErr_Occurred()) return NULL; | |
906 | } Py_INCREF(Py_None); | |
907 | _resultobj = Py_None; | |
908 | { | |
909 | PyObject *o; | |
910 | o = PyInt_FromLong((long) (*_arg1)); | |
911 | _resultobj = t_output_helper(_resultobj, o); | |
912 | } | |
913 | { | |
914 | PyObject *o; | |
915 | o = PyInt_FromLong((long) (*_arg2)); | |
916 | _resultobj = t_output_helper(_resultobj, o); | |
917 | } | |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxPyWizardPage_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1)) | |
922 | static PyObject *_wrap_wxPyWizardPage_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | wxPyWizardPage * _arg0; | |
925 | int * _arg1; | |
926 | int temp; | |
927 | int * _arg2; | |
928 | int temp0; | |
929 | PyObject * _argo0 = 0; | |
930 | char *_kwnames[] = { "self", NULL }; | |
931 | ||
932 | self = self; | |
933 | { | |
934 | _arg1 = &temp; | |
935 | } | |
936 | { | |
937 | _arg2 = &temp0; | |
938 | } | |
939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_DoGetPosition",_kwnames,&_argo0)) | |
940 | return NULL; | |
941 | if (_argo0) { | |
942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoGetPosition. Expected _wxPyWizardPage_p."); | |
945 | return NULL; | |
946 | } | |
947 | } | |
948 | { | |
949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
950 | wxPyWizardPage_base_DoGetPosition(_arg0,_arg1,_arg2); | |
951 | ||
952 | wxPyEndAllowThreads(__tstate); | |
953 | if (PyErr_Occurred()) return NULL; | |
954 | } Py_INCREF(Py_None); | |
955 | _resultobj = Py_None; | |
956 | { | |
957 | PyObject *o; | |
958 | o = PyInt_FromLong((long) (*_arg1)); | |
959 | _resultobj = t_output_helper(_resultobj, o); | |
960 | } | |
961 | { | |
962 | PyObject *o; | |
963 | o = PyInt_FromLong((long) (*_arg2)); | |
964 | _resultobj = t_output_helper(_resultobj, o); | |
965 | } | |
966 | return _resultobj; | |
967 | } | |
968 | ||
969 | #define wxPyWizardPage_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize()) | |
970 | static PyObject *_wrap_wxPyWizardPage_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
971 | PyObject * _resultobj; | |
972 | wxSize * _result; | |
973 | wxPyWizardPage * _arg0; | |
974 | PyObject * _argo0 = 0; | |
975 | char *_kwnames[] = { "self", NULL }; | |
976 | char _ptemp[128]; | |
977 | ||
978 | self = self; | |
979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_DoGetVirtualSize",_kwnames,&_argo0)) | |
980 | return NULL; | |
981 | if (_argo0) { | |
982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoGetVirtualSize. Expected _wxPyWizardPage_p."); | |
985 | return NULL; | |
986 | } | |
987 | } | |
988 | { | |
989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
990 | _result = new wxSize (wxPyWizardPage_base_DoGetVirtualSize(_arg0)); | |
991 | ||
992 | wxPyEndAllowThreads(__tstate); | |
993 | if (PyErr_Occurred()) return NULL; | |
994 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
995 | _resultobj = Py_BuildValue("s",_ptemp); | |
996 | return _resultobj; | |
997 | } | |
998 | ||
999 | #define wxPyWizardPage_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize()) | |
1000 | static PyObject *_wrap_wxPyWizardPage_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1001 | PyObject * _resultobj; | |
1002 | wxSize * _result; | |
1003 | wxPyWizardPage * _arg0; | |
1004 | PyObject * _argo0 = 0; | |
1005 | char *_kwnames[] = { "self", NULL }; | |
1006 | char _ptemp[128]; | |
1007 | ||
1008 | self = self; | |
1009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_DoGetBestSize",_kwnames,&_argo0)) | |
1010 | return NULL; | |
1011 | if (_argo0) { | |
1012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_DoGetBestSize. Expected _wxPyWizardPage_p."); | |
1015 | return NULL; | |
1016 | } | |
1017 | } | |
1018 | { | |
1019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1020 | _result = new wxSize (wxPyWizardPage_base_DoGetBestSize(_arg0)); | |
1021 | ||
1022 | wxPyEndAllowThreads(__tstate); | |
1023 | if (PyErr_Occurred()) return NULL; | |
1024 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1025 | _resultobj = Py_BuildValue("s",_ptemp); | |
1026 | return _resultobj; | |
1027 | } | |
1028 | ||
1029 | #define wxPyWizardPage_base_InitDialog(_swigobj) (_swigobj->base_InitDialog()) | |
1030 | static PyObject *_wrap_wxPyWizardPage_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1031 | PyObject * _resultobj; | |
1032 | wxPyWizardPage * _arg0; | |
1033 | PyObject * _argo0 = 0; | |
1034 | char *_kwnames[] = { "self", NULL }; | |
1035 | ||
1036 | self = self; | |
1037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_InitDialog",_kwnames,&_argo0)) | |
1038 | return NULL; | |
1039 | if (_argo0) { | |
1040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_InitDialog. Expected _wxPyWizardPage_p."); | |
1043 | return NULL; | |
1044 | } | |
1045 | } | |
1046 | { | |
1047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1048 | wxPyWizardPage_base_InitDialog(_arg0); | |
1049 | ||
1050 | wxPyEndAllowThreads(__tstate); | |
1051 | if (PyErr_Occurred()) return NULL; | |
1052 | } Py_INCREF(Py_None); | |
1053 | _resultobj = Py_None; | |
1054 | return _resultobj; | |
1055 | } | |
1056 | ||
1057 | #define wxPyWizardPage_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow()) | |
1058 | static PyObject *_wrap_wxPyWizardPage_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1059 | PyObject * _resultobj; | |
1060 | bool _result; | |
1061 | wxPyWizardPage * _arg0; | |
1062 | PyObject * _argo0 = 0; | |
1063 | char *_kwnames[] = { "self", NULL }; | |
1064 | ||
1065 | self = self; | |
1066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_TransferDataToWindow",_kwnames,&_argo0)) | |
1067 | return NULL; | |
1068 | if (_argo0) { | |
1069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_TransferDataToWindow. Expected _wxPyWizardPage_p."); | |
1072 | return NULL; | |
1073 | } | |
1074 | } | |
1075 | { | |
1076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1077 | _result = (bool )wxPyWizardPage_base_TransferDataToWindow(_arg0); | |
1078 | ||
1079 | wxPyEndAllowThreads(__tstate); | |
1080 | if (PyErr_Occurred()) return NULL; | |
1081 | } _resultobj = Py_BuildValue("i",_result); | |
1082 | return _resultobj; | |
1083 | } | |
1084 | ||
1085 | #define wxPyWizardPage_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow()) | |
1086 | static PyObject *_wrap_wxPyWizardPage_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1087 | PyObject * _resultobj; | |
1088 | bool _result; | |
1089 | wxPyWizardPage * _arg0; | |
1090 | PyObject * _argo0 = 0; | |
1091 | char *_kwnames[] = { "self", NULL }; | |
1092 | ||
1093 | self = self; | |
1094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_TransferDataFromWindow",_kwnames,&_argo0)) | |
1095 | return NULL; | |
1096 | if (_argo0) { | |
1097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_TransferDataFromWindow. Expected _wxPyWizardPage_p."); | |
1100 | return NULL; | |
1101 | } | |
1102 | } | |
1103 | { | |
1104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1105 | _result = (bool )wxPyWizardPage_base_TransferDataFromWindow(_arg0); | |
1106 | ||
1107 | wxPyEndAllowThreads(__tstate); | |
1108 | if (PyErr_Occurred()) return NULL; | |
1109 | } _resultobj = Py_BuildValue("i",_result); | |
1110 | return _resultobj; | |
1111 | } | |
1112 | ||
1113 | #define wxPyWizardPage_base_Validate(_swigobj) (_swigobj->base_Validate()) | |
1114 | static PyObject *_wrap_wxPyWizardPage_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1115 | PyObject * _resultobj; | |
1116 | bool _result; | |
1117 | wxPyWizardPage * _arg0; | |
1118 | PyObject * _argo0 = 0; | |
1119 | char *_kwnames[] = { "self", NULL }; | |
1120 | ||
1121 | self = self; | |
1122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_Validate",_kwnames,&_argo0)) | |
1123 | return NULL; | |
1124 | if (_argo0) { | |
1125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_Validate. Expected _wxPyWizardPage_p."); | |
1128 | return NULL; | |
1129 | } | |
1130 | } | |
1131 | { | |
1132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1133 | _result = (bool )wxPyWizardPage_base_Validate(_arg0); | |
1134 | ||
1135 | wxPyEndAllowThreads(__tstate); | |
1136 | if (PyErr_Occurred()) return NULL; | |
1137 | } _resultobj = Py_BuildValue("i",_result); | |
1138 | return _resultobj; | |
1139 | } | |
1140 | ||
1141 | #define wxPyWizardPage_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus()) | |
1142 | static PyObject *_wrap_wxPyWizardPage_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1143 | PyObject * _resultobj; | |
1144 | bool _result; | |
1145 | wxPyWizardPage * _arg0; | |
1146 | PyObject * _argo0 = 0; | |
1147 | char *_kwnames[] = { "self", NULL }; | |
1148 | ||
1149 | self = self; | |
1150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_AcceptsFocus",_kwnames,&_argo0)) | |
1151 | return NULL; | |
1152 | if (_argo0) { | |
1153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_AcceptsFocus. Expected _wxPyWizardPage_p."); | |
1156 | return NULL; | |
1157 | } | |
1158 | } | |
1159 | { | |
1160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1161 | _result = (bool )wxPyWizardPage_base_AcceptsFocus(_arg0); | |
1162 | ||
1163 | wxPyEndAllowThreads(__tstate); | |
1164 | if (PyErr_Occurred()) return NULL; | |
1165 | } _resultobj = Py_BuildValue("i",_result); | |
1166 | return _resultobj; | |
1167 | } | |
1168 | ||
1169 | #define wxPyWizardPage_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard()) | |
1170 | static PyObject *_wrap_wxPyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1171 | PyObject * _resultobj; | |
1172 | bool _result; | |
1173 | wxPyWizardPage * _arg0; | |
1174 | PyObject * _argo0 = 0; | |
1175 | char *_kwnames[] = { "self", NULL }; | |
1176 | ||
1177 | self = self; | |
1178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0)) | |
1179 | return NULL; | |
1180 | if (_argo0) { | |
1181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_AcceptsFocusFromKeyboard. Expected _wxPyWizardPage_p."); | |
1184 | return NULL; | |
1185 | } | |
1186 | } | |
1187 | { | |
1188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1189 | _result = (bool )wxPyWizardPage_base_AcceptsFocusFromKeyboard(_arg0); | |
1190 | ||
1191 | wxPyEndAllowThreads(__tstate); | |
1192 | if (PyErr_Occurred()) return NULL; | |
1193 | } _resultobj = Py_BuildValue("i",_result); | |
1194 | return _resultobj; | |
1195 | } | |
1196 | ||
1197 | #define wxPyWizardPage_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize()) | |
1198 | static PyObject *_wrap_wxPyWizardPage_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1199 | PyObject * _resultobj; | |
1200 | wxSize * _result; | |
1201 | wxPyWizardPage * _arg0; | |
1202 | PyObject * _argo0 = 0; | |
1203 | char *_kwnames[] = { "self", NULL }; | |
1204 | char _ptemp[128]; | |
1205 | ||
1206 | self = self; | |
1207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWizardPage_base_GetMaxSize",_kwnames,&_argo0)) | |
1208 | return NULL; | |
1209 | if (_argo0) { | |
1210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_GetMaxSize. Expected _wxPyWizardPage_p."); | |
1213 | return NULL; | |
1214 | } | |
1215 | } | |
1216 | { | |
1217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1218 | _result = new wxSize (wxPyWizardPage_base_GetMaxSize(_arg0)); | |
1219 | ||
1220 | wxPyEndAllowThreads(__tstate); | |
1221 | if (PyErr_Occurred()) return NULL; | |
1222 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1223 | _resultobj = Py_BuildValue("s",_ptemp); | |
1224 | return _resultobj; | |
1225 | } | |
1226 | ||
1227 | #define wxPyWizardPage_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0)) | |
1228 | static PyObject *_wrap_wxPyWizardPage_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1229 | PyObject * _resultobj; | |
1230 | wxPyWizardPage * _arg0; | |
1231 | wxWindow * _arg1; | |
1232 | PyObject * _argo0 = 0; | |
1233 | PyObject * _argo1 = 0; | |
1234 | char *_kwnames[] = { "self","child", NULL }; | |
1235 | ||
1236 | self = self; | |
1237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWizardPage_base_AddChild",_kwnames,&_argo0,&_argo1)) | |
1238 | return NULL; | |
1239 | if (_argo0) { | |
1240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_AddChild. Expected _wxPyWizardPage_p."); | |
1243 | return NULL; | |
1244 | } | |
1245 | } | |
1246 | if (_argo1) { | |
1247 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1248 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWizardPage_base_AddChild. Expected _wxWindow_p."); | |
1250 | return NULL; | |
1251 | } | |
1252 | } | |
1253 | { | |
1254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1255 | wxPyWizardPage_base_AddChild(_arg0,_arg1); | |
1256 | ||
1257 | wxPyEndAllowThreads(__tstate); | |
1258 | if (PyErr_Occurred()) return NULL; | |
1259 | } Py_INCREF(Py_None); | |
1260 | _resultobj = Py_None; | |
1261 | return _resultobj; | |
1262 | } | |
1263 | ||
1264 | #define wxPyWizardPage_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0)) | |
1265 | static PyObject *_wrap_wxPyWizardPage_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1266 | PyObject * _resultobj; | |
1267 | wxPyWizardPage * _arg0; | |
1268 | wxWindow * _arg1; | |
1269 | PyObject * _argo0 = 0; | |
1270 | PyObject * _argo1 = 0; | |
1271 | char *_kwnames[] = { "self","child", NULL }; | |
1272 | ||
1273 | self = self; | |
1274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWizardPage_base_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
1275 | return NULL; | |
1276 | if (_argo0) { | |
1277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWizardPage_p")) { | |
1279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWizardPage_base_RemoveChild. Expected _wxPyWizardPage_p."); | |
1280 | return NULL; | |
1281 | } | |
1282 | } | |
1283 | if (_argo1) { | |
1284 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1285 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWizardPage_base_RemoveChild. Expected _wxWindow_p."); | |
1287 | return NULL; | |
1288 | } | |
1289 | } | |
1290 | { | |
1291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1292 | wxPyWizardPage_base_RemoveChild(_arg0,_arg1); | |
1293 | ||
1294 | wxPyEndAllowThreads(__tstate); | |
1295 | if (PyErr_Occurred()) return NULL; | |
1296 | } Py_INCREF(Py_None); | |
1297 | _resultobj = Py_None; | |
1298 | return _resultobj; | |
1299 | } | |
1300 | ||
1301 | static void *SwigwxWizardPageSimpleTowxWizardPage(void *ptr) { | |
1302 | wxWizardPageSimple *src; | |
1303 | wxWizardPage *dest; | |
1304 | src = (wxWizardPageSimple *) ptr; | |
1305 | dest = (wxWizardPage *) src; | |
1306 | return (void *) dest; | |
1307 | } | |
1308 | ||
1309 | static void *SwigwxWizardPageSimpleTowxPanel(void *ptr) { | |
1310 | wxWizardPageSimple *src; | |
1311 | wxPanel *dest; | |
1312 | src = (wxWizardPageSimple *) ptr; | |
1313 | dest = (wxPanel *) src; | |
1314 | return (void *) dest; | |
1315 | } | |
1316 | ||
1317 | static void *SwigwxWizardPageSimpleTowxWindow(void *ptr) { | |
1318 | wxWizardPageSimple *src; | |
1319 | wxWindow *dest; | |
1320 | src = (wxWizardPageSimple *) ptr; | |
1321 | dest = (wxWindow *) src; | |
1322 | return (void *) dest; | |
1323 | } | |
1324 | ||
1325 | static void *SwigwxWizardPageSimpleTowxEvtHandler(void *ptr) { | |
1326 | wxWizardPageSimple *src; | |
1327 | wxEvtHandler *dest; | |
1328 | src = (wxWizardPageSimple *) ptr; | |
1329 | dest = (wxEvtHandler *) src; | |
1330 | return (void *) dest; | |
1331 | } | |
1332 | ||
1333 | static void *SwigwxWizardPageSimpleTowxObject(void *ptr) { | |
1334 | wxWizardPageSimple *src; | |
1335 | wxObject *dest; | |
1336 | src = (wxWizardPageSimple *) ptr; | |
1337 | dest = (wxObject *) src; | |
1338 | return (void *) dest; | |
1339 | } | |
1340 | ||
1341 | #define new_wxWizardPageSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxWizardPageSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1342 | static PyObject *_wrap_new_wxWizardPageSimple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1343 | PyObject * _resultobj; | |
1344 | wxWizardPageSimple * _result; | |
1345 | wxWizard * _arg0; | |
1346 | wxWizardPage * _arg1 = (wxWizardPage *) NULL; | |
1347 | wxWizardPage * _arg2 = (wxWizardPage *) NULL; | |
1348 | wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap; | |
1349 | wxChar * _arg4 = (wxChar *) NULL; | |
1350 | PyObject * _argo0 = 0; | |
1351 | PyObject * _argo1 = 0; | |
1352 | PyObject * _argo2 = 0; | |
1353 | PyObject * _argo3 = 0; | |
1354 | char *_kwnames[] = { "parent","prev","next","bitmap","resource", NULL }; | |
1355 | char _ptemp[128]; | |
1356 | ||
1357 | self = self; | |
1358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOs:new_wxWizardPageSimple",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4)) | |
1359 | return NULL; | |
1360 | if (_argo0) { | |
1361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWizardPageSimple. Expected _wxWizard_p."); | |
1364 | return NULL; | |
1365 | } | |
1366 | } | |
1367 | if (_argo1) { | |
1368 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1369 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
1370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxWizardPageSimple. Expected _wxWizardPage_p."); | |
1371 | return NULL; | |
1372 | } | |
1373 | } | |
1374 | if (_argo2) { | |
1375 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1376 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWizardPage_p")) { | |
1377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWizardPageSimple. Expected _wxWizardPage_p."); | |
1378 | return NULL; | |
1379 | } | |
1380 | } | |
1381 | if (_argo3) { | |
1382 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1383 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
1384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWizardPageSimple. Expected _wxBitmap_p."); | |
1385 | return NULL; | |
1386 | } | |
1387 | } | |
1388 | { | |
1389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1390 | _result = (wxWizardPageSimple *)new_wxWizardPageSimple(_arg0,_arg1,_arg2,*_arg3,_arg4); | |
1391 | ||
1392 | wxPyEndAllowThreads(__tstate); | |
1393 | if (PyErr_Occurred()) return NULL; | |
1394 | } if (_result) { | |
1395 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPageSimple_p"); | |
1396 | _resultobj = Py_BuildValue("s",_ptemp); | |
1397 | } else { | |
1398 | Py_INCREF(Py_None); | |
1399 | _resultobj = Py_None; | |
1400 | } | |
1401 | return _resultobj; | |
1402 | } | |
1403 | ||
1404 | #define new_wxPreWizardPageSimple() (new wxWizardPageSimple()) | |
1405 | static PyObject *_wrap_new_wxPreWizardPageSimple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1406 | PyObject * _resultobj; | |
1407 | wxWizardPageSimple * _result; | |
1408 | char *_kwnames[] = { NULL }; | |
1409 | char _ptemp[128]; | |
1410 | ||
1411 | self = self; | |
1412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWizardPageSimple",_kwnames)) | |
1413 | return NULL; | |
1414 | { | |
1415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1416 | _result = (wxWizardPageSimple *)new_wxPreWizardPageSimple(); | |
1417 | ||
1418 | wxPyEndAllowThreads(__tstate); | |
1419 | if (PyErr_Occurred()) return NULL; | |
1420 | } if (_result) { | |
1421 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPageSimple_p"); | |
1422 | _resultobj = Py_BuildValue("s",_ptemp); | |
1423 | } else { | |
1424 | Py_INCREF(Py_None); | |
1425 | _resultobj = Py_None; | |
1426 | } | |
1427 | return _resultobj; | |
1428 | } | |
1429 | ||
1430 | #define wxWizardPageSimple_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1431 | static PyObject *_wrap_wxWizardPageSimple_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1432 | PyObject * _resultobj; | |
1433 | bool _result; | |
1434 | wxWizardPageSimple * _arg0; | |
1435 | wxWizard * _arg1 = (wxWizard *) NULL; | |
1436 | wxWizardPage * _arg2 = (wxWizardPage *) NULL; | |
1437 | wxWizardPage * _arg3 = (wxWizardPage *) NULL; | |
1438 | wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap; | |
1439 | wxChar * _arg5 = (wxChar *) NULL; | |
1440 | PyObject * _argo0 = 0; | |
1441 | PyObject * _argo1 = 0; | |
1442 | PyObject * _argo2 = 0; | |
1443 | PyObject * _argo3 = 0; | |
1444 | PyObject * _argo4 = 0; | |
1445 | char *_kwnames[] = { "self","parent","prev","next","bitmap","resource", NULL }; | |
1446 | ||
1447 | self = self; | |
1448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOOs:wxWizardPageSimple_Create",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4,&_arg5)) | |
1449 | return NULL; | |
1450 | if (_argo0) { | |
1451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPageSimple_p")) { | |
1453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPageSimple_Create. Expected _wxWizardPageSimple_p."); | |
1454 | return NULL; | |
1455 | } | |
1456 | } | |
1457 | if (_argo1) { | |
1458 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1459 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizard_p")) { | |
1460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizardPageSimple_Create. Expected _wxWizard_p."); | |
1461 | return NULL; | |
1462 | } | |
1463 | } | |
1464 | if (_argo2) { | |
1465 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1466 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWizardPage_p")) { | |
1467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWizardPageSimple_Create. Expected _wxWizardPage_p."); | |
1468 | return NULL; | |
1469 | } | |
1470 | } | |
1471 | if (_argo3) { | |
1472 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1473 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWizardPage_p")) { | |
1474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWizardPageSimple_Create. Expected _wxWizardPage_p."); | |
1475 | return NULL; | |
1476 | } | |
1477 | } | |
1478 | if (_argo4) { | |
1479 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) { | |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxWizardPageSimple_Create. Expected _wxBitmap_p."); | |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
1485 | { | |
1486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1487 | _result = (bool )wxWizardPageSimple_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,_arg5); | |
1488 | ||
1489 | wxPyEndAllowThreads(__tstate); | |
1490 | if (PyErr_Occurred()) return NULL; | |
1491 | } _resultobj = Py_BuildValue("i",_result); | |
1492 | return _resultobj; | |
1493 | } | |
1494 | ||
1495 | #define wxWizardPageSimple_Init(_swigobj) (_swigobj->Init()) | |
1496 | static PyObject *_wrap_wxWizardPageSimple_Init(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1497 | PyObject * _resultobj; | |
1498 | wxWizardPageSimple * _arg0; | |
1499 | PyObject * _argo0 = 0; | |
1500 | char *_kwnames[] = { "self", NULL }; | |
1501 | ||
1502 | self = self; | |
1503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizardPageSimple_Init",_kwnames,&_argo0)) | |
1504 | return NULL; | |
1505 | if (_argo0) { | |
1506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPageSimple_p")) { | |
1508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPageSimple_Init. Expected _wxWizardPageSimple_p."); | |
1509 | return NULL; | |
1510 | } | |
1511 | } | |
1512 | { | |
1513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1514 | wxWizardPageSimple_Init(_arg0); | |
1515 | ||
1516 | wxPyEndAllowThreads(__tstate); | |
1517 | if (PyErr_Occurred()) return NULL; | |
1518 | } Py_INCREF(Py_None); | |
1519 | _resultobj = Py_None; | |
1520 | return _resultobj; | |
1521 | } | |
1522 | ||
1523 | #define wxWizardPageSimple_SetPrev(_swigobj,_swigarg0) (_swigobj->SetPrev(_swigarg0)) | |
1524 | static PyObject *_wrap_wxWizardPageSimple_SetPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1525 | PyObject * _resultobj; | |
1526 | wxWizardPageSimple * _arg0; | |
1527 | wxWizardPage * _arg1; | |
1528 | PyObject * _argo0 = 0; | |
1529 | PyObject * _argo1 = 0; | |
1530 | char *_kwnames[] = { "self","prev", NULL }; | |
1531 | ||
1532 | self = self; | |
1533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizardPageSimple_SetPrev",_kwnames,&_argo0,&_argo1)) | |
1534 | return NULL; | |
1535 | if (_argo0) { | |
1536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPageSimple_p")) { | |
1538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPageSimple_SetPrev. Expected _wxWizardPageSimple_p."); | |
1539 | return NULL; | |
1540 | } | |
1541 | } | |
1542 | if (_argo1) { | |
1543 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1544 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
1545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizardPageSimple_SetPrev. Expected _wxWizardPage_p."); | |
1546 | return NULL; | |
1547 | } | |
1548 | } | |
1549 | { | |
1550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1551 | wxWizardPageSimple_SetPrev(_arg0,_arg1); | |
1552 | ||
1553 | wxPyEndAllowThreads(__tstate); | |
1554 | if (PyErr_Occurred()) return NULL; | |
1555 | } Py_INCREF(Py_None); | |
1556 | _resultobj = Py_None; | |
1557 | return _resultobj; | |
1558 | } | |
1559 | ||
1560 | #define wxWizardPageSimple_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0)) | |
1561 | static PyObject *_wrap_wxWizardPageSimple_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1562 | PyObject * _resultobj; | |
1563 | wxWizardPageSimple * _arg0; | |
1564 | wxWizardPage * _arg1; | |
1565 | PyObject * _argo0 = 0; | |
1566 | PyObject * _argo1 = 0; | |
1567 | char *_kwnames[] = { "self","next", NULL }; | |
1568 | ||
1569 | self = self; | |
1570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizardPageSimple_SetNext",_kwnames,&_argo0,&_argo1)) | |
1571 | return NULL; | |
1572 | if (_argo0) { | |
1573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPageSimple_p")) { | |
1575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPageSimple_SetNext. Expected _wxWizardPageSimple_p."); | |
1576 | return NULL; | |
1577 | } | |
1578 | } | |
1579 | if (_argo1) { | |
1580 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1581 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
1582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizardPageSimple_SetNext. Expected _wxWizardPage_p."); | |
1583 | return NULL; | |
1584 | } | |
1585 | } | |
1586 | { | |
1587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1588 | wxWizardPageSimple_SetNext(_arg0,_arg1); | |
1589 | ||
1590 | wxPyEndAllowThreads(__tstate); | |
1591 | if (PyErr_Occurred()) return NULL; | |
1592 | } Py_INCREF(Py_None); | |
1593 | _resultobj = Py_None; | |
1594 | return _resultobj; | |
1595 | } | |
1596 | ||
1597 | static PyObject *_wrap_wxWizardPageSimple_Chain(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1598 | PyObject * _resultobj; | |
1599 | wxWizardPageSimple * _arg0; | |
1600 | wxWizardPageSimple * _arg1; | |
1601 | PyObject * _argo0 = 0; | |
1602 | PyObject * _argo1 = 0; | |
1603 | char *_kwnames[] = { "first","second", NULL }; | |
1604 | ||
1605 | self = self; | |
1606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizardPageSimple_Chain",_kwnames,&_argo0,&_argo1)) | |
1607 | return NULL; | |
1608 | if (_argo0) { | |
1609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizardPageSimple_p")) { | |
1611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizardPageSimple_Chain. Expected _wxWizardPageSimple_p."); | |
1612 | return NULL; | |
1613 | } | |
1614 | } | |
1615 | if (_argo1) { | |
1616 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1617 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPageSimple_p")) { | |
1618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizardPageSimple_Chain. Expected _wxWizardPageSimple_p."); | |
1619 | return NULL; | |
1620 | } | |
1621 | } | |
1622 | { | |
1623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1624 | wxWizardPageSimple::Chain(_arg0,_arg1); | |
1625 | ||
1626 | wxPyEndAllowThreads(__tstate); | |
1627 | if (PyErr_Occurred()) return NULL; | |
1628 | } Py_INCREF(Py_None); | |
1629 | _resultobj = Py_None; | |
1630 | return _resultobj; | |
1631 | } | |
1632 | ||
1633 | static void *SwigwxWizardTowxDialog(void *ptr) { | |
1634 | wxWizard *src; | |
1635 | wxDialog *dest; | |
1636 | src = (wxWizard *) ptr; | |
1637 | dest = (wxDialog *) src; | |
1638 | return (void *) dest; | |
1639 | } | |
1640 | ||
1641 | static void *SwigwxWizardTowxTopLevelWindow(void *ptr) { | |
1642 | wxWizard *src; | |
1643 | wxTopLevelWindow *dest; | |
1644 | src = (wxWizard *) ptr; | |
1645 | dest = (wxTopLevelWindow *) src; | |
1646 | return (void *) dest; | |
1647 | } | |
1648 | ||
1649 | static void *SwigwxWizardTowxWindow(void *ptr) { | |
1650 | wxWizard *src; | |
1651 | wxWindow *dest; | |
1652 | src = (wxWizard *) ptr; | |
1653 | dest = (wxWindow *) src; | |
1654 | return (void *) dest; | |
1655 | } | |
1656 | ||
1657 | static void *SwigwxWizardTowxEvtHandler(void *ptr) { | |
1658 | wxWizard *src; | |
1659 | wxEvtHandler *dest; | |
1660 | src = (wxWizard *) ptr; | |
1661 | dest = (wxEvtHandler *) src; | |
1662 | return (void *) dest; | |
1663 | } | |
1664 | ||
1665 | static void *SwigwxWizardTowxObject(void *ptr) { | |
1666 | wxWizard *src; | |
1667 | wxObject *dest; | |
1668 | src = (wxWizard *) ptr; | |
1669 | dest = (wxObject *) src; | |
1670 | return (void *) dest; | |
1671 | } | |
1672 | ||
1673 | #define new_wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1674 | static PyObject *_wrap_new_wxWizard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1675 | PyObject * _resultobj; | |
1676 | wxWizard * _result; | |
1677 | wxWindow * _arg0; | |
1678 | int _arg1 = (int ) -1; | |
1679 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
1680 | wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap; | |
1681 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
1682 | PyObject * _argo0 = 0; | |
1683 | PyObject * _obj2 = 0; | |
1684 | PyObject * _argo3 = 0; | |
1685 | wxPoint temp; | |
1686 | PyObject * _obj4 = 0; | |
1687 | char *_kwnames[] = { "parent","id","title","bitmap","pos", NULL }; | |
1688 | char _ptemp[128]; | |
1689 | ||
1690 | self = self; | |
1691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOO:new_wxWizard",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4)) | |
1692 | return NULL; | |
1693 | if (_argo0) { | |
1694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWizard. Expected _wxWindow_p."); | |
1697 | return NULL; | |
1698 | } | |
1699 | } | |
1700 | if (_obj2) | |
1701 | { | |
1702 | _arg2 = wxString_in_helper(_obj2); | |
1703 | if (_arg2 == NULL) | |
1704 | return NULL; | |
1705 | } | |
1706 | if (_argo3) { | |
1707 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1708 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
1709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWizard. Expected _wxBitmap_p."); | |
1710 | return NULL; | |
1711 | } | |
1712 | } | |
1713 | if (_obj4) | |
1714 | { | |
1715 | _arg4 = &temp; | |
1716 | if (! wxPoint_helper(_obj4, &_arg4)) | |
1717 | return NULL; | |
1718 | } | |
1719 | { | |
1720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1721 | _result = (wxWizard *)new_wxWizard(_arg0,_arg1,*_arg2,*_arg3,*_arg4); | |
1722 | ||
1723 | wxPyEndAllowThreads(__tstate); | |
1724 | if (PyErr_Occurred()) return NULL; | |
1725 | } if (_result) { | |
1726 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizard_p"); | |
1727 | _resultobj = Py_BuildValue("s",_ptemp); | |
1728 | } else { | |
1729 | Py_INCREF(Py_None); | |
1730 | _resultobj = Py_None; | |
1731 | } | |
1732 | { | |
1733 | if (_obj2) | |
1734 | delete _arg2; | |
1735 | } | |
1736 | return _resultobj; | |
1737 | } | |
1738 | ||
1739 | #define new_wxPreWizard() (new wxWizard()) | |
1740 | static PyObject *_wrap_new_wxPreWizard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1741 | PyObject * _resultobj; | |
1742 | wxWizard * _result; | |
1743 | char *_kwnames[] = { NULL }; | |
1744 | char _ptemp[128]; | |
1745 | ||
1746 | self = self; | |
1747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWizard",_kwnames)) | |
1748 | return NULL; | |
1749 | { | |
1750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1751 | _result = (wxWizard *)new_wxPreWizard(); | |
1752 | ||
1753 | wxPyEndAllowThreads(__tstate); | |
1754 | if (PyErr_Occurred()) return NULL; | |
1755 | } if (_result) { | |
1756 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizard_p"); | |
1757 | _resultobj = Py_BuildValue("s",_ptemp); | |
1758 | } else { | |
1759 | Py_INCREF(Py_None); | |
1760 | _resultobj = Py_None; | |
1761 | } | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxWizard_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1766 | static PyObject *_wrap_wxWizard_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject * _resultobj; | |
1768 | bool _result; | |
1769 | wxWizard * _arg0; | |
1770 | wxWindow * _arg1; | |
1771 | int _arg2 = (int ) -1; | |
1772 | wxString * _arg3 = (wxString *) &wxEmptyString; | |
1773 | wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap; | |
1774 | wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition; | |
1775 | PyObject * _argo0 = 0; | |
1776 | PyObject * _argo1 = 0; | |
1777 | PyObject * _obj3 = 0; | |
1778 | PyObject * _argo4 = 0; | |
1779 | wxPoint temp; | |
1780 | PyObject * _obj5 = 0; | |
1781 | char *_kwnames[] = { "self","parent","id","title","bitmap","pos", NULL }; | |
1782 | ||
1783 | self = self; | |
1784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOO:wxWizard_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_argo4,&_obj5)) | |
1785 | return NULL; | |
1786 | if (_argo0) { | |
1787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_Create. Expected _wxWizard_p."); | |
1790 | return NULL; | |
1791 | } | |
1792 | } | |
1793 | if (_argo1) { | |
1794 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1795 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizard_Create. Expected _wxWindow_p."); | |
1797 | return NULL; | |
1798 | } | |
1799 | } | |
1800 | if (_obj3) | |
1801 | { | |
1802 | _arg3 = wxString_in_helper(_obj3); | |
1803 | if (_arg3 == NULL) | |
1804 | return NULL; | |
1805 | } | |
1806 | if (_argo4) { | |
1807 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1808 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) { | |
1809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxWizard_Create. Expected _wxBitmap_p."); | |
1810 | return NULL; | |
1811 | } | |
1812 | } | |
1813 | if (_obj5) | |
1814 | { | |
1815 | _arg5 = &temp; | |
1816 | if (! wxPoint_helper(_obj5, &_arg5)) | |
1817 | return NULL; | |
1818 | } | |
1819 | { | |
1820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1821 | _result = (bool )wxWizard_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5); | |
1822 | ||
1823 | wxPyEndAllowThreads(__tstate); | |
1824 | if (PyErr_Occurred()) return NULL; | |
1825 | } _resultobj = Py_BuildValue("i",_result); | |
1826 | { | |
1827 | if (_obj3) | |
1828 | delete _arg3; | |
1829 | } | |
1830 | return _resultobj; | |
1831 | } | |
1832 | ||
1833 | #define wxWizard_Init(_swigobj) (_swigobj->Init()) | |
1834 | static PyObject *_wrap_wxWizard_Init(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1835 | PyObject * _resultobj; | |
1836 | wxWizard * _arg0; | |
1837 | PyObject * _argo0 = 0; | |
1838 | char *_kwnames[] = { "self", NULL }; | |
1839 | ||
1840 | self = self; | |
1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizard_Init",_kwnames,&_argo0)) | |
1842 | return NULL; | |
1843 | if (_argo0) { | |
1844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_Init. Expected _wxWizard_p."); | |
1847 | return NULL; | |
1848 | } | |
1849 | } | |
1850 | { | |
1851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1852 | wxWizard_Init(_arg0); | |
1853 | ||
1854 | wxPyEndAllowThreads(__tstate); | |
1855 | if (PyErr_Occurred()) return NULL; | |
1856 | } Py_INCREF(Py_None); | |
1857 | _resultobj = Py_None; | |
1858 | return _resultobj; | |
1859 | } | |
1860 | ||
1861 | #define wxWizard_RunWizard(_swigobj,_swigarg0) (_swigobj->RunWizard(_swigarg0)) | |
1862 | static PyObject *_wrap_wxWizard_RunWizard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1863 | PyObject * _resultobj; | |
1864 | bool _result; | |
1865 | wxWizard * _arg0; | |
1866 | wxWizardPage * _arg1; | |
1867 | PyObject * _argo0 = 0; | |
1868 | PyObject * _argo1 = 0; | |
1869 | char *_kwnames[] = { "self","firstPage", NULL }; | |
1870 | ||
1871 | self = self; | |
1872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizard_RunWizard",_kwnames,&_argo0,&_argo1)) | |
1873 | return NULL; | |
1874 | if (_argo0) { | |
1875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_RunWizard. Expected _wxWizard_p."); | |
1878 | return NULL; | |
1879 | } | |
1880 | } | |
1881 | if (_argo1) { | |
1882 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1883 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
1884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizard_RunWizard. Expected _wxWizardPage_p."); | |
1885 | return NULL; | |
1886 | } | |
1887 | } | |
1888 | { | |
1889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1890 | _result = (bool )wxWizard_RunWizard(_arg0,_arg1); | |
1891 | ||
1892 | wxPyEndAllowThreads(__tstate); | |
1893 | if (PyErr_Occurred()) return NULL; | |
1894 | } _resultobj = Py_BuildValue("i",_result); | |
1895 | return _resultobj; | |
1896 | } | |
1897 | ||
1898 | #define wxWizard_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage()) | |
1899 | static PyObject *_wrap_wxWizard_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1900 | PyObject * _resultobj; | |
1901 | wxWizardPage * _result; | |
1902 | wxWizard * _arg0; | |
1903 | PyObject * _argo0 = 0; | |
1904 | char *_kwnames[] = { "self", NULL }; | |
1905 | char _ptemp[128]; | |
1906 | ||
1907 | self = self; | |
1908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizard_GetCurrentPage",_kwnames,&_argo0)) | |
1909 | return NULL; | |
1910 | if (_argo0) { | |
1911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_GetCurrentPage. Expected _wxWizard_p."); | |
1914 | return NULL; | |
1915 | } | |
1916 | } | |
1917 | { | |
1918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1919 | _result = (wxWizardPage *)wxWizard_GetCurrentPage(_arg0); | |
1920 | ||
1921 | wxPyEndAllowThreads(__tstate); | |
1922 | if (PyErr_Occurred()) return NULL; | |
1923 | } if (_result) { | |
1924 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWizardPage_p"); | |
1925 | _resultobj = Py_BuildValue("s",_ptemp); | |
1926 | } else { | |
1927 | Py_INCREF(Py_None); | |
1928 | _resultobj = Py_None; | |
1929 | } | |
1930 | return _resultobj; | |
1931 | } | |
1932 | ||
1933 | #define wxWizard_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0)) | |
1934 | static PyObject *_wrap_wxWizard_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1935 | PyObject * _resultobj; | |
1936 | wxWizard * _arg0; | |
1937 | wxSize * _arg1; | |
1938 | PyObject * _argo0 = 0; | |
1939 | wxSize temp; | |
1940 | PyObject * _obj1 = 0; | |
1941 | char *_kwnames[] = { "self","size", NULL }; | |
1942 | ||
1943 | self = self; | |
1944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizard_SetPageSize",_kwnames,&_argo0,&_obj1)) | |
1945 | return NULL; | |
1946 | if (_argo0) { | |
1947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_SetPageSize. Expected _wxWizard_p."); | |
1950 | return NULL; | |
1951 | } | |
1952 | } | |
1953 | { | |
1954 | _arg1 = &temp; | |
1955 | if (! wxSize_helper(_obj1, &_arg1)) | |
1956 | return NULL; | |
1957 | } | |
1958 | { | |
1959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1960 | wxWizard_SetPageSize(_arg0,*_arg1); | |
1961 | ||
1962 | wxPyEndAllowThreads(__tstate); | |
1963 | if (PyErr_Occurred()) return NULL; | |
1964 | } Py_INCREF(Py_None); | |
1965 | _resultobj = Py_None; | |
1966 | return _resultobj; | |
1967 | } | |
1968 | ||
1969 | #define wxWizard_GetPageSize(_swigobj) (_swigobj->GetPageSize()) | |
1970 | static PyObject *_wrap_wxWizard_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1971 | PyObject * _resultobj; | |
1972 | wxSize * _result; | |
1973 | wxWizard * _arg0; | |
1974 | PyObject * _argo0 = 0; | |
1975 | char *_kwnames[] = { "self", NULL }; | |
1976 | char _ptemp[128]; | |
1977 | ||
1978 | self = self; | |
1979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizard_GetPageSize",_kwnames,&_argo0)) | |
1980 | return NULL; | |
1981 | if (_argo0) { | |
1982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
1984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_GetPageSize. Expected _wxWizard_p."); | |
1985 | return NULL; | |
1986 | } | |
1987 | } | |
1988 | { | |
1989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1990 | _result = new wxSize (wxWizard_GetPageSize(_arg0)); | |
1991 | ||
1992 | wxPyEndAllowThreads(__tstate); | |
1993 | if (PyErr_Occurred()) return NULL; | |
1994 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1995 | _resultobj = Py_BuildValue("s",_ptemp); | |
1996 | return _resultobj; | |
1997 | } | |
1998 | ||
1999 | #define wxWizard_FitToPage(_swigobj,_swigarg0) (_swigobj->FitToPage(_swigarg0)) | |
2000 | static PyObject *_wrap_wxWizard_FitToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2001 | PyObject * _resultobj; | |
2002 | wxWizard * _arg0; | |
2003 | wxWizardPage * _arg1; | |
2004 | PyObject * _argo0 = 0; | |
2005 | PyObject * _argo1 = 0; | |
2006 | char *_kwnames[] = { "self","firstPage", NULL }; | |
2007 | ||
2008 | self = self; | |
2009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWizard_FitToPage",_kwnames,&_argo0,&_argo1)) | |
2010 | return NULL; | |
2011 | if (_argo0) { | |
2012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
2014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_FitToPage. Expected _wxWizard_p."); | |
2015 | return NULL; | |
2016 | } | |
2017 | } | |
2018 | if (_argo1) { | |
2019 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2020 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
2021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizard_FitToPage. Expected _wxWizardPage_p."); | |
2022 | return NULL; | |
2023 | } | |
2024 | } | |
2025 | { | |
2026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2027 | wxWizard_FitToPage(_arg0,_arg1); | |
2028 | ||
2029 | wxPyEndAllowThreads(__tstate); | |
2030 | if (PyErr_Occurred()) return NULL; | |
2031 | } Py_INCREF(Py_None); | |
2032 | _resultobj = Py_None; | |
2033 | return _resultobj; | |
2034 | } | |
2035 | ||
2036 | #define wxWizard_IsRunning(_swigobj) (_swigobj->IsRunning()) | |
2037 | static PyObject *_wrap_wxWizard_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2038 | PyObject * _resultobj; | |
2039 | bool _result; | |
2040 | wxWizard * _arg0; | |
2041 | PyObject * _argo0 = 0; | |
2042 | char *_kwnames[] = { "self", NULL }; | |
2043 | ||
2044 | self = self; | |
2045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizard_IsRunning",_kwnames,&_argo0)) | |
2046 | return NULL; | |
2047 | if (_argo0) { | |
2048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
2050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_IsRunning. Expected _wxWizard_p."); | |
2051 | return NULL; | |
2052 | } | |
2053 | } | |
2054 | { | |
2055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2056 | _result = (bool )wxWizard_IsRunning(_arg0); | |
2057 | ||
2058 | wxPyEndAllowThreads(__tstate); | |
2059 | if (PyErr_Occurred()) return NULL; | |
2060 | } _resultobj = Py_BuildValue("i",_result); | |
2061 | return _resultobj; | |
2062 | } | |
2063 | ||
2064 | #define wxWizard_ShowPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowPage(_swigarg0,_swigarg1)) | |
2065 | static PyObject *_wrap_wxWizard_ShowPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2066 | PyObject * _resultobj; | |
2067 | bool _result; | |
2068 | wxWizard * _arg0; | |
2069 | wxWizardPage * _arg1; | |
2070 | bool _arg2 = (bool ) TRUE; | |
2071 | PyObject * _argo0 = 0; | |
2072 | PyObject * _argo1 = 0; | |
2073 | int tempbool2 = (int) TRUE; | |
2074 | char *_kwnames[] = { "self","page","goingForward", NULL }; | |
2075 | ||
2076 | self = self; | |
2077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWizard_ShowPage",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2078 | return NULL; | |
2079 | if (_argo0) { | |
2080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) { | |
2082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_ShowPage. Expected _wxWizard_p."); | |
2083 | return NULL; | |
2084 | } | |
2085 | } | |
2086 | if (_argo1) { | |
2087 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2088 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWizardPage_p")) { | |
2089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWizard_ShowPage. Expected _wxWizardPage_p."); | |
2090 | return NULL; | |
2091 | } | |
2092 | } | |
2093 | _arg2 = (bool ) tempbool2; | |
2094 | { | |
2095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2096 | _result = (bool )wxWizard_ShowPage(_arg0,_arg1,_arg2); | |
2097 | ||
2098 | wxPyEndAllowThreads(__tstate); | |
2099 | if (PyErr_Occurred()) return NULL; | |
2100 | } _resultobj = Py_BuildValue("i",_result); | |
2101 | return _resultobj; | |
2102 | } | |
2103 | ||
2104 | static PyMethodDef wizardcMethods[] = { | |
2105 | { "wxWizard_ShowPage", (PyCFunction) _wrap_wxWizard_ShowPage, METH_VARARGS | METH_KEYWORDS }, | |
2106 | { "wxWizard_IsRunning", (PyCFunction) _wrap_wxWizard_IsRunning, METH_VARARGS | METH_KEYWORDS }, | |
2107 | { "wxWizard_FitToPage", (PyCFunction) _wrap_wxWizard_FitToPage, METH_VARARGS | METH_KEYWORDS }, | |
2108 | { "wxWizard_GetPageSize", (PyCFunction) _wrap_wxWizard_GetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
2109 | { "wxWizard_SetPageSize", (PyCFunction) _wrap_wxWizard_SetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
2110 | { "wxWizard_GetCurrentPage", (PyCFunction) _wrap_wxWizard_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
2111 | { "wxWizard_RunWizard", (PyCFunction) _wrap_wxWizard_RunWizard, METH_VARARGS | METH_KEYWORDS }, | |
2112 | { "wxWizard_Init", (PyCFunction) _wrap_wxWizard_Init, METH_VARARGS | METH_KEYWORDS }, | |
2113 | { "wxWizard_Create", (PyCFunction) _wrap_wxWizard_Create, METH_VARARGS | METH_KEYWORDS }, | |
2114 | { "new_wxPreWizard", (PyCFunction) _wrap_new_wxPreWizard, METH_VARARGS | METH_KEYWORDS }, | |
2115 | { "new_wxWizard", (PyCFunction) _wrap_new_wxWizard, METH_VARARGS | METH_KEYWORDS }, | |
2116 | { "wxWizardPageSimple_Chain", (PyCFunction) _wrap_wxWizardPageSimple_Chain, METH_VARARGS | METH_KEYWORDS }, | |
2117 | { "wxWizardPageSimple_SetNext", (PyCFunction) _wrap_wxWizardPageSimple_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
2118 | { "wxWizardPageSimple_SetPrev", (PyCFunction) _wrap_wxWizardPageSimple_SetPrev, METH_VARARGS | METH_KEYWORDS }, | |
2119 | { "wxWizardPageSimple_Init", (PyCFunction) _wrap_wxWizardPageSimple_Init, METH_VARARGS | METH_KEYWORDS }, | |
2120 | { "wxWizardPageSimple_Create", (PyCFunction) _wrap_wxWizardPageSimple_Create, METH_VARARGS | METH_KEYWORDS }, | |
2121 | { "new_wxPreWizardPageSimple", (PyCFunction) _wrap_new_wxPreWizardPageSimple, METH_VARARGS | METH_KEYWORDS }, | |
2122 | { "new_wxWizardPageSimple", (PyCFunction) _wrap_new_wxWizardPageSimple, METH_VARARGS | METH_KEYWORDS }, | |
2123 | { "wxPyWizardPage_base_RemoveChild", (PyCFunction) _wrap_wxPyWizardPage_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
2124 | { "wxPyWizardPage_base_AddChild", (PyCFunction) _wrap_wxPyWizardPage_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
2125 | { "wxPyWizardPage_base_GetMaxSize", (PyCFunction) _wrap_wxPyWizardPage_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
2126 | { "wxPyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWizardPage_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
2127 | { "wxPyWizardPage_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWizardPage_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
2128 | { "wxPyWizardPage_base_Validate", (PyCFunction) _wrap_wxPyWizardPage_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
2129 | { "wxPyWizardPage_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWizardPage_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
2130 | { "wxPyWizardPage_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWizardPage_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
2131 | { "wxPyWizardPage_base_InitDialog", (PyCFunction) _wrap_wxPyWizardPage_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
2132 | { "wxPyWizardPage_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
2133 | { "wxPyWizardPage_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
2134 | { "wxPyWizardPage_base_DoGetPosition", (PyCFunction) _wrap_wxPyWizardPage_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
2135 | { "wxPyWizardPage_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
2136 | { "wxPyWizardPage_base_DoGetSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
2137 | { "wxPyWizardPage_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
2138 | { "wxPyWizardPage_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
2139 | { "wxPyWizardPage_base_DoSetSize", (PyCFunction) _wrap_wxPyWizardPage_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
2140 | { "wxPyWizardPage_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWizardPage_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
2141 | { "wxPyWizardPage__setCallbackInfo", (PyCFunction) _wrap_wxPyWizardPage__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
2142 | { "wxPyWizardPage_Create", (PyCFunction) _wrap_wxPyWizardPage_Create, METH_VARARGS | METH_KEYWORDS }, | |
2143 | { "new_wxPrePyWizardPage", (PyCFunction) _wrap_new_wxPrePyWizardPage, METH_VARARGS | METH_KEYWORDS }, | |
2144 | { "new_wxPyWizardPage", (PyCFunction) _wrap_new_wxPyWizardPage, METH_VARARGS | METH_KEYWORDS }, | |
2145 | { "wxWizardPage_GetBitmap", (PyCFunction) _wrap_wxWizardPage_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
2146 | { "wxWizardPage_GetNext", (PyCFunction) _wrap_wxWizardPage_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
2147 | { "wxWizardPage_GetPrev", (PyCFunction) _wrap_wxWizardPage_GetPrev, METH_VARARGS | METH_KEYWORDS }, | |
2148 | { "wxWizardPage_Init", (PyCFunction) _wrap_wxWizardPage_Init, METH_VARARGS | METH_KEYWORDS }, | |
2149 | { "wxWizardPage_Create", (PyCFunction) _wrap_wxWizardPage_Create, METH_VARARGS | METH_KEYWORDS }, | |
2150 | { "wxWizardEvent_GetPage", (PyCFunction) _wrap_wxWizardEvent_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
2151 | { "wxWizardEvent_GetDirection", (PyCFunction) _wrap_wxWizardEvent_GetDirection, METH_VARARGS | METH_KEYWORDS }, | |
2152 | { "new_wxWizardEvent", (PyCFunction) _wrap_new_wxWizardEvent, METH_VARARGS | METH_KEYWORDS }, | |
2153 | { NULL, NULL } | |
2154 | }; | |
2155 | #ifdef __cplusplus | |
2156 | } | |
2157 | #endif | |
2158 | /* | |
2159 | * This table is used by the pointer type-checker | |
2160 | */ | |
2161 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
2162 | { "_wxEvent","_wxWizardEvent",SwigwxWizardEventTowxEvent}, | |
2163 | { "_signed_long","_long",0}, | |
2164 | { "_wxPrintQuality","_wxCoord",0}, | |
2165 | { "_wxPrintQuality","_int",0}, | |
2166 | { "_wxPrintQuality","_signed_int",0}, | |
2167 | { "_wxPrintQuality","_unsigned_int",0}, | |
2168 | { "_wxPrintQuality","_wxWindowID",0}, | |
2169 | { "_wxPrintQuality","_uint",0}, | |
2170 | { "_wxPrintQuality","_EBool",0}, | |
2171 | { "_wxPrintQuality","_size_t",0}, | |
2172 | { "_wxPrintQuality","_time_t",0}, | |
2173 | { "_wxNotifyEvent","_wxWizardEvent",SwigwxWizardEventTowxNotifyEvent}, | |
2174 | { "_wxWizardPage","_wxWizardPageSimple",SwigwxWizardPageSimpleTowxWizardPage}, | |
2175 | { "_wxWizardPage","_wxPyWizardPage",SwigwxPyWizardPageTowxWizardPage}, | |
2176 | { "_byte","_unsigned_char",0}, | |
2177 | { "_long","_unsigned_long",0}, | |
2178 | { "_long","_signed_long",0}, | |
2179 | { "_size_t","_wxCoord",0}, | |
2180 | { "_size_t","_wxPrintQuality",0}, | |
2181 | { "_size_t","_time_t",0}, | |
2182 | { "_size_t","_unsigned_int",0}, | |
2183 | { "_size_t","_int",0}, | |
2184 | { "_size_t","_wxWindowID",0}, | |
2185 | { "_size_t","_uint",0}, | |
2186 | { "_wxPanel","_wxWizardPageSimple",SwigwxWizardPageSimpleTowxPanel}, | |
2187 | { "_wxPanel","_wxPyWizardPage",SwigwxPyWizardPageTowxPanel}, | |
2188 | { "_wxPanel","_wxWizardPage",SwigwxWizardPageTowxPanel}, | |
2189 | { "_wxTopLevelWindow","_wxWizard",SwigwxWizardTowxTopLevelWindow}, | |
2190 | { "_uint","_wxCoord",0}, | |
2191 | { "_uint","_wxPrintQuality",0}, | |
2192 | { "_uint","_time_t",0}, | |
2193 | { "_uint","_size_t",0}, | |
2194 | { "_uint","_unsigned_int",0}, | |
2195 | { "_uint","_int",0}, | |
2196 | { "_uint","_wxWindowID",0}, | |
2197 | { "_wxChar","_char",0}, | |
2198 | { "_wxCommandEvent","_wxWizardEvent",SwigwxWizardEventTowxCommandEvent}, | |
2199 | { "_char","_wxChar",0}, | |
2200 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
2201 | { "_EBool","_wxCoord",0}, | |
2202 | { "_EBool","_wxPrintQuality",0}, | |
2203 | { "_EBool","_signed_int",0}, | |
2204 | { "_EBool","_int",0}, | |
2205 | { "_EBool","_wxWindowID",0}, | |
2206 | { "_unsigned_long","_long",0}, | |
2207 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
2208 | { "_signed_int","_wxCoord",0}, | |
2209 | { "_signed_int","_wxPrintQuality",0}, | |
2210 | { "_signed_int","_EBool",0}, | |
2211 | { "_signed_int","_wxWindowID",0}, | |
2212 | { "_signed_int","_int",0}, | |
2213 | { "_WXTYPE","_short",0}, | |
2214 | { "_WXTYPE","_signed_short",0}, | |
2215 | { "_WXTYPE","_unsigned_short",0}, | |
2216 | { "_unsigned_short","_WXTYPE",0}, | |
2217 | { "_unsigned_short","_short",0}, | |
2218 | { "_wxObject","_wxWizard",SwigwxWizardTowxObject}, | |
2219 | { "_wxObject","_wxWizardPageSimple",SwigwxWizardPageSimpleTowxObject}, | |
2220 | { "_wxObject","_wxPyWizardPage",SwigwxPyWizardPageTowxObject}, | |
2221 | { "_wxObject","_wxWizardPage",SwigwxWizardPageTowxObject}, | |
2222 | { "_wxObject","_wxWizardEvent",SwigwxWizardEventTowxObject}, | |
2223 | { "_signed_short","_WXTYPE",0}, | |
2224 | { "_signed_short","_short",0}, | |
2225 | { "_unsigned_char","_byte",0}, | |
2226 | { "_unsigned_int","_wxCoord",0}, | |
2227 | { "_unsigned_int","_wxPrintQuality",0}, | |
2228 | { "_unsigned_int","_time_t",0}, | |
2229 | { "_unsigned_int","_size_t",0}, | |
2230 | { "_unsigned_int","_uint",0}, | |
2231 | { "_unsigned_int","_wxWindowID",0}, | |
2232 | { "_unsigned_int","_int",0}, | |
2233 | { "_wxDialog","_wxWizard",SwigwxWizardTowxDialog}, | |
2234 | { "_short","_WXTYPE",0}, | |
2235 | { "_short","_unsigned_short",0}, | |
2236 | { "_short","_signed_short",0}, | |
2237 | { "_wxWindowID","_wxCoord",0}, | |
2238 | { "_wxWindowID","_wxPrintQuality",0}, | |
2239 | { "_wxWindowID","_time_t",0}, | |
2240 | { "_wxWindowID","_size_t",0}, | |
2241 | { "_wxWindowID","_EBool",0}, | |
2242 | { "_wxWindowID","_uint",0}, | |
2243 | { "_wxWindowID","_int",0}, | |
2244 | { "_wxWindowID","_signed_int",0}, | |
2245 | { "_wxWindowID","_unsigned_int",0}, | |
2246 | { "_int","_wxCoord",0}, | |
2247 | { "_int","_wxPrintQuality",0}, | |
2248 | { "_int","_time_t",0}, | |
2249 | { "_int","_size_t",0}, | |
2250 | { "_int","_EBool",0}, | |
2251 | { "_int","_uint",0}, | |
2252 | { "_int","_wxWindowID",0}, | |
2253 | { "_int","_unsigned_int",0}, | |
2254 | { "_int","_signed_int",0}, | |
2255 | { "_time_t","_wxCoord",0}, | |
2256 | { "_time_t","_wxPrintQuality",0}, | |
2257 | { "_time_t","_unsigned_int",0}, | |
2258 | { "_time_t","_int",0}, | |
2259 | { "_time_t","_wxWindowID",0}, | |
2260 | { "_time_t","_uint",0}, | |
2261 | { "_time_t","_size_t",0}, | |
2262 | { "_wxCoord","_int",0}, | |
2263 | { "_wxCoord","_signed_int",0}, | |
2264 | { "_wxCoord","_unsigned_int",0}, | |
2265 | { "_wxCoord","_wxWindowID",0}, | |
2266 | { "_wxCoord","_uint",0}, | |
2267 | { "_wxCoord","_EBool",0}, | |
2268 | { "_wxCoord","_size_t",0}, | |
2269 | { "_wxCoord","_time_t",0}, | |
2270 | { "_wxCoord","_wxPrintQuality",0}, | |
2271 | { "_wxEvtHandler","_wxWizard",SwigwxWizardTowxEvtHandler}, | |
2272 | { "_wxEvtHandler","_wxWizardPageSimple",SwigwxWizardPageSimpleTowxEvtHandler}, | |
2273 | { "_wxEvtHandler","_wxPyWizardPage",SwigwxPyWizardPageTowxEvtHandler}, | |
2274 | { "_wxEvtHandler","_wxWizardPage",SwigwxWizardPageTowxEvtHandler}, | |
2275 | { "_wxWindow","_wxWizard",SwigwxWizardTowxWindow}, | |
2276 | { "_wxWindow","_wxWizardPageSimple",SwigwxWizardPageSimpleTowxWindow}, | |
2277 | { "_wxWindow","_wxPyWizardPage",SwigwxPyWizardPageTowxWindow}, | |
2278 | { "_wxWindow","_wxWizardPage",SwigwxWizardPageTowxWindow}, | |
2279 | {0,0,0}}; | |
2280 | ||
2281 | static PyObject *SWIG_globals; | |
2282 | #ifdef __cplusplus | |
2283 | extern "C" | |
2284 | #endif | |
2285 | SWIGEXPORT(void) initwizardc() { | |
2286 | PyObject *m, *d; | |
2287 | SWIG_globals = SWIG_newvarlink(); | |
2288 | m = Py_InitModule("wizardc", wizardcMethods); | |
2289 | d = PyModule_GetDict(m); | |
2290 | PyDict_SetItemString(d,"wxWIZARD_EX_HELPBUTTON", PyInt_FromLong((long) wxWIZARD_EX_HELPBUTTON)); | |
2291 | PyDict_SetItemString(d,"wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_WIZARD_PAGE_CHANGED)); | |
2292 | PyDict_SetItemString(d,"wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_WIZARD_PAGE_CHANGING)); | |
2293 | PyDict_SetItemString(d,"wxEVT_WIZARD_CANCEL", PyInt_FromLong((long) wxEVT_WIZARD_CANCEL)); | |
2294 | PyDict_SetItemString(d,"wxEVT_WIZARD_HELP", PyInt_FromLong((long) wxEVT_WIZARD_HELP)); | |
2295 | { | |
2296 | int i; | |
2297 | for (i = 0; _swig_mapping[i].n1; i++) | |
2298 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2299 | } | |
2300 | } |