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