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