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