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