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