]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
9c039d08 | 2 | * FILE : msw/cmndlgs.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initcmndlgsc | |
53 | ||
54 | #define SWIG_name "cmndlgsc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/colordlg.h> | |
58 | #include <wx/dirdlg.h> | |
59 | #include <wx/fontdlg.h> | |
60 | #include <wx/printdlg.h> | |
61 | ||
62 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | if (!target) { | |
65 | target = o; | |
66 | } else if (target == Py_None) { | |
67 | Py_DECREF(Py_None); | |
68 | target = o; | |
69 | } else { | |
70 | if (!PyList_Check(target)) { | |
71 | o2 = target; | |
72 | target = PyList_New(0); | |
73 | PyList_Append(target, o2); | |
74 | Py_XDECREF(o2); | |
75 | } | |
76 | PyList_Append(target,o); | |
77 | Py_XDECREF(o); | |
78 | } | |
79 | return target; | |
80 | } | |
81 | ||
82 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
83 | PyObject* o2; | |
84 | PyObject* o3; | |
85 | ||
86 | if (!target) { | |
87 | target = o; | |
88 | } else if (target == Py_None) { | |
89 | Py_DECREF(Py_None); | |
90 | target = o; | |
91 | } else { | |
92 | if (!PyTuple_Check(target)) { | |
93 | o2 = target; | |
94 | target = PyTuple_New(1); | |
95 | PyTuple_SetItem(target, 0, o2); | |
96 | } | |
97 | o3 = PyTuple_New(1); | |
98 | PyTuple_SetItem(o3, 0, o); | |
99 | ||
100 | o2 = target; | |
101 | target = PySequence_Concat(o2, o3); | |
102 | Py_DECREF(o2); | |
103 | Py_DECREF(o3); | |
104 | } | |
105 | return target; | |
106 | } | |
107 | ||
108 | ||
b639c3c5 | 109 | extern byte* byte_LIST_helper(PyObject* source); |
8ab979d7 RD |
110 | extern int* int_LIST_helper(PyObject* source); |
111 | extern long* long_LIST_helper(PyObject* source); | |
112 | extern char** string_LIST_helper(PyObject* source); | |
113 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
114 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
115 | extern wxString* wxString_LIST_helper(PyObject* source); | |
8ab979d7 | 116 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
8ab979d7 RD |
117 | |
118 | ||
119 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
120 | #define new_wxColourData() (new wxColourData()) | |
121 | static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args) { | |
122 | PyObject * _resultobj; | |
123 | wxColourData * _result; | |
124 | char _ptemp[128]; | |
125 | ||
126 | self = self; | |
127 | if(!PyArg_ParseTuple(args,":new_wxColourData")) | |
128 | return NULL; | |
129 | _result = (wxColourData *)new_wxColourData(); | |
130 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p"); | |
131 | _resultobj = Py_BuildValue("s",_ptemp); | |
132 | return _resultobj; | |
133 | } | |
134 | ||
135 | #define delete_wxColourData(_swigobj) (delete _swigobj) | |
136 | static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args) { | |
137 | PyObject * _resultobj; | |
138 | wxColourData * _arg0; | |
139 | char * _argc0 = 0; | |
140 | ||
141 | self = self; | |
142 | if(!PyArg_ParseTuple(args,"s:delete_wxColourData",&_argc0)) | |
143 | return NULL; | |
144 | if (_argc0) { | |
145 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p."); | |
147 | return NULL; | |
148 | } | |
149 | } | |
150 | delete_wxColourData(_arg0); | |
151 | Py_INCREF(Py_None); | |
152 | _resultobj = Py_None; | |
153 | return _resultobj; | |
154 | } | |
155 | ||
156 | #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull()) | |
157 | static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args) { | |
158 | PyObject * _resultobj; | |
159 | bool _result; | |
160 | wxColourData * _arg0; | |
161 | char * _argc0 = 0; | |
162 | ||
163 | self = self; | |
164 | if(!PyArg_ParseTuple(args,"s:wxColourData_GetChooseFull",&_argc0)) | |
165 | return NULL; | |
166 | if (_argc0) { | |
167 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p."); | |
169 | return NULL; | |
170 | } | |
171 | } | |
172 | _result = (bool )wxColourData_GetChooseFull(_arg0); | |
173 | _resultobj = Py_BuildValue("i",_result); | |
174 | return _resultobj; | |
175 | } | |
176 | ||
177 | #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour()) | |
178 | static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args) { | |
179 | PyObject * _resultobj; | |
180 | wxColour * _result; | |
181 | wxColourData * _arg0; | |
182 | char * _argc0 = 0; | |
183 | char _ptemp[128]; | |
184 | ||
185 | self = self; | |
186 | if(!PyArg_ParseTuple(args,"s:wxColourData_GetColour",&_argc0)) | |
187 | return NULL; | |
188 | if (_argc0) { | |
189 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p."); | |
191 | return NULL; | |
192 | } | |
193 | } | |
194 | wxColour & _result_ref = wxColourData_GetColour(_arg0); | |
195 | _result = (wxColour *) &_result_ref; | |
196 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
197 | _resultobj = Py_BuildValue("s",_ptemp); | |
198 | return _resultobj; | |
199 | } | |
200 | ||
201 | #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0)) | |
202 | static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args) { | |
203 | PyObject * _resultobj; | |
204 | wxColour * _result; | |
205 | wxColourData * _arg0; | |
206 | int _arg1; | |
207 | char * _argc0 = 0; | |
208 | char _ptemp[128]; | |
209 | ||
210 | self = self; | |
211 | if(!PyArg_ParseTuple(args,"si:wxColourData_GetCustomColour",&_argc0,&_arg1)) | |
212 | return NULL; | |
213 | if (_argc0) { | |
214 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p."); | |
216 | return NULL; | |
217 | } | |
218 | } | |
219 | _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1)); | |
220 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
221 | _resultobj = Py_BuildValue("s",_ptemp); | |
222 | return _resultobj; | |
223 | } | |
224 | ||
225 | #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0)) | |
226 | static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args) { | |
227 | PyObject * _resultobj; | |
228 | wxColourData * _arg0; | |
229 | int _arg1; | |
230 | char * _argc0 = 0; | |
231 | ||
232 | self = self; | |
233 | if(!PyArg_ParseTuple(args,"si:wxColourData_SetChooseFull",&_argc0,&_arg1)) | |
234 | return NULL; | |
235 | if (_argc0) { | |
236 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p."); | |
238 | return NULL; | |
239 | } | |
240 | } | |
241 | wxColourData_SetChooseFull(_arg0,_arg1); | |
242 | Py_INCREF(Py_None); | |
243 | _resultobj = Py_None; | |
244 | return _resultobj; | |
245 | } | |
246 | ||
247 | #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
248 | static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args) { | |
249 | PyObject * _resultobj; | |
250 | wxColourData * _arg0; | |
251 | wxColour * _arg1; | |
252 | char * _argc0 = 0; | |
253 | char * _argc1 = 0; | |
254 | ||
255 | self = self; | |
256 | if(!PyArg_ParseTuple(args,"ss:wxColourData_SetColour",&_argc0,&_argc1)) | |
257 | return NULL; | |
258 | if (_argc0) { | |
259 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p."); | |
261 | return NULL; | |
262 | } | |
263 | } | |
264 | if (_argc1) { | |
265 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p."); | |
267 | return NULL; | |
268 | } | |
269 | } | |
270 | wxColourData_SetColour(_arg0,*_arg1); | |
271 | Py_INCREF(Py_None); | |
272 | _resultobj = Py_None; | |
273 | return _resultobj; | |
274 | } | |
275 | ||
276 | #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1)) | |
277 | static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args) { | |
278 | PyObject * _resultobj; | |
279 | wxColourData * _arg0; | |
280 | int _arg1; | |
281 | wxColour * _arg2; | |
282 | char * _argc0 = 0; | |
283 | char * _argc2 = 0; | |
284 | ||
285 | self = self; | |
286 | if(!PyArg_ParseTuple(args,"sis:wxColourData_SetCustomColour",&_argc0,&_arg1,&_argc2)) | |
287 | return NULL; | |
288 | if (_argc0) { | |
289 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) { | |
290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p."); | |
291 | return NULL; | |
292 | } | |
293 | } | |
294 | if (_argc2) { | |
295 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxColour_p")) { | |
296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p."); | |
297 | return NULL; | |
298 | } | |
299 | } | |
300 | wxColourData_SetCustomColour(_arg0,_arg1,*_arg2); | |
301 | Py_INCREF(Py_None); | |
302 | _resultobj = Py_None; | |
303 | return _resultobj; | |
304 | } | |
305 | ||
306 | static void *SwigwxColourDialogTowxDialog(void *ptr) { | |
307 | wxColourDialog *src; | |
308 | wxDialog *dest; | |
309 | src = (wxColourDialog *) ptr; | |
310 | dest = (wxDialog *) src; | |
311 | return (void *) dest; | |
312 | } | |
313 | ||
314 | static void *SwigwxColourDialogTowxPanel(void *ptr) { | |
315 | wxColourDialog *src; | |
316 | wxPanel *dest; | |
317 | src = (wxColourDialog *) ptr; | |
318 | dest = (wxPanel *) src; | |
319 | return (void *) dest; | |
320 | } | |
321 | ||
322 | static void *SwigwxColourDialogTowxWindow(void *ptr) { | |
323 | wxColourDialog *src; | |
324 | wxWindow *dest; | |
325 | src = (wxColourDialog *) ptr; | |
326 | dest = (wxWindow *) src; | |
327 | return (void *) dest; | |
328 | } | |
329 | ||
330 | static void *SwigwxColourDialogTowxEvtHandler(void *ptr) { | |
331 | wxColourDialog *src; | |
332 | wxEvtHandler *dest; | |
333 | src = (wxColourDialog *) ptr; | |
334 | dest = (wxEvtHandler *) src; | |
335 | return (void *) dest; | |
336 | } | |
337 | ||
338 | #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1)) | |
339 | static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args) { | |
340 | PyObject * _resultobj; | |
341 | wxColourDialog * _result; | |
342 | wxWindow * _arg0; | |
343 | wxColourData * _arg1 = NULL; | |
344 | char * _argc0 = 0; | |
345 | char * _argc1 = 0; | |
346 | char _ptemp[128]; | |
347 | ||
348 | self = self; | |
349 | if(!PyArg_ParseTuple(args,"s|s:new_wxColourDialog",&_argc0,&_argc1)) | |
350 | return NULL; | |
351 | if (_argc0) { | |
352 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p."); | |
354 | return NULL; | |
355 | } | |
356 | } | |
357 | if (_argc1) { | |
358 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColourData_p")) { | |
359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p."); | |
360 | return NULL; | |
361 | } | |
362 | } | |
363 | _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1); | |
364 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p"); | |
365 | _resultobj = Py_BuildValue("s",_ptemp); | |
366 | return _resultobj; | |
367 | } | |
368 | ||
369 | #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData()) | |
370 | static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args) { | |
371 | PyObject * _resultobj; | |
372 | wxColourData * _result; | |
373 | wxColourDialog * _arg0; | |
374 | char * _argc0 = 0; | |
375 | char _ptemp[128]; | |
376 | ||
377 | self = self; | |
378 | if(!PyArg_ParseTuple(args,"s:wxColourDialog_GetColourData",&_argc0)) | |
379 | return NULL; | |
380 | if (_argc0) { | |
381 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourDialog_p")) { | |
382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p."); | |
383 | return NULL; | |
384 | } | |
385 | } | |
386 | wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0); | |
387 | _result = (wxColourData *) &_result_ref; | |
388 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p"); | |
389 | _resultobj = Py_BuildValue("s",_ptemp); | |
390 | return _resultobj; | |
391 | } | |
392 | ||
393 | #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
394 | static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args) { | |
395 | PyObject * _resultobj; | |
396 | int _result; | |
397 | wxColourDialog * _arg0; | |
398 | char * _argc0 = 0; | |
399 | ||
400 | self = self; | |
401 | if(!PyArg_ParseTuple(args,"s:wxColourDialog_ShowModal",&_argc0)) | |
402 | return NULL; | |
403 | if (_argc0) { | |
404 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourDialog_p")) { | |
405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p."); | |
406 | return NULL; | |
407 | } | |
408 | } | |
409 | _result = (int )wxColourDialog_ShowModal(_arg0); | |
410 | _resultobj = Py_BuildValue("i",_result); | |
411 | return _resultobj; | |
412 | } | |
413 | ||
414 | static void *SwigwxDirDialogTowxDialog(void *ptr) { | |
415 | wxDirDialog *src; | |
416 | wxDialog *dest; | |
417 | src = (wxDirDialog *) ptr; | |
418 | dest = (wxDialog *) src; | |
419 | return (void *) dest; | |
420 | } | |
421 | ||
422 | static void *SwigwxDirDialogTowxPanel(void *ptr) { | |
423 | wxDirDialog *src; | |
424 | wxPanel *dest; | |
425 | src = (wxDirDialog *) ptr; | |
426 | dest = (wxPanel *) src; | |
427 | return (void *) dest; | |
428 | } | |
429 | ||
430 | static void *SwigwxDirDialogTowxWindow(void *ptr) { | |
431 | wxDirDialog *src; | |
432 | wxWindow *dest; | |
433 | src = (wxDirDialog *) ptr; | |
434 | dest = (wxWindow *) src; | |
435 | return (void *) dest; | |
436 | } | |
437 | ||
438 | static void *SwigwxDirDialogTowxEvtHandler(void *ptr) { | |
439 | wxDirDialog *src; | |
440 | wxEvtHandler *dest; | |
441 | src = (wxDirDialog *) ptr; | |
442 | dest = (wxEvtHandler *) src; | |
443 | return (void *) dest; | |
444 | } | |
445 | ||
446 | #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
447 | static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args) { | |
448 | PyObject * _resultobj; | |
449 | wxDirDialog * _result; | |
450 | wxWindow * _arg0; | |
451 | char * _arg1 = "Choose a directory"; | |
452 | char * _arg2 = ""; | |
453 | long _arg3 = 0; | |
454 | wxPoint * _arg4 = &wxPyDefaultPosition; | |
455 | char * _argc0 = 0; | |
456 | char * _argc4 = 0; | |
457 | char _ptemp[128]; | |
458 | ||
459 | self = self; | |
460 | if(!PyArg_ParseTuple(args,"s|ssls:new_wxDirDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_argc4)) | |
461 | return NULL; | |
462 | if (_argc0) { | |
463 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p."); | |
465 | return NULL; | |
466 | } | |
467 | } | |
468 | if (_argc4) { | |
469 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxPoint_p")) { | |
470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDirDialog. Expected _wxPoint_p."); | |
471 | return NULL; | |
472 | } | |
473 | } | |
474 | _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4); | |
475 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirDialog_p"); | |
476 | _resultobj = Py_BuildValue("s",_ptemp); | |
477 | return _resultobj; | |
478 | } | |
479 | ||
480 | #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath()) | |
481 | static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args) { | |
482 | PyObject * _resultobj; | |
483 | wxString * _result; | |
484 | wxDirDialog * _arg0; | |
485 | char * _argc0 = 0; | |
486 | ||
487 | self = self; | |
488 | if(!PyArg_ParseTuple(args,"s:wxDirDialog_GetPath",&_argc0)) | |
489 | return NULL; | |
490 | if (_argc0) { | |
491 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p."); | |
493 | return NULL; | |
494 | } | |
495 | } | |
496 | _result = new wxString (wxDirDialog_GetPath(_arg0)); | |
497 | { | |
498 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
499 | } | |
500 | { | |
501 | delete _result; | |
502 | } | |
503 | return _resultobj; | |
504 | } | |
505 | ||
506 | #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
507 | static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args) { | |
508 | PyObject * _resultobj; | |
509 | wxString * _result; | |
510 | wxDirDialog * _arg0; | |
511 | char * _argc0 = 0; | |
512 | ||
513 | self = self; | |
514 | if(!PyArg_ParseTuple(args,"s:wxDirDialog_GetMessage",&_argc0)) | |
515 | return NULL; | |
516 | if (_argc0) { | |
517 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p."); | |
519 | return NULL; | |
520 | } | |
521 | } | |
522 | _result = new wxString (wxDirDialog_GetMessage(_arg0)); | |
523 | { | |
524 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
525 | } | |
526 | { | |
527 | delete _result; | |
528 | } | |
529 | return _resultobj; | |
530 | } | |
531 | ||
532 | #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle()) | |
533 | static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args) { | |
534 | PyObject * _resultobj; | |
535 | long _result; | |
536 | wxDirDialog * _arg0; | |
537 | char * _argc0 = 0; | |
538 | ||
539 | self = self; | |
540 | if(!PyArg_ParseTuple(args,"s:wxDirDialog_GetStyle",&_argc0)) | |
541 | return NULL; | |
542 | if (_argc0) { | |
543 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p."); | |
545 | return NULL; | |
546 | } | |
547 | } | |
548 | _result = (long )wxDirDialog_GetStyle(_arg0); | |
549 | _resultobj = Py_BuildValue("l",_result); | |
550 | return _resultobj; | |
551 | } | |
552 | ||
553 | #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
554 | static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args) { | |
555 | PyObject * _resultobj; | |
556 | wxDirDialog * _arg0; | |
557 | wxString * _arg1; | |
558 | char * _argc0 = 0; | |
559 | PyObject * _obj1 = 0; | |
560 | ||
561 | self = self; | |
562 | if(!PyArg_ParseTuple(args,"sO:wxDirDialog_SetMessage",&_argc0,&_obj1)) | |
563 | return NULL; | |
564 | if (_argc0) { | |
565 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p."); | |
567 | return NULL; | |
568 | } | |
569 | } | |
570 | { | |
571 | if (!PyString_Check(_obj1)) { | |
572 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
573 | return NULL; | |
574 | } | |
575 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
576 | } | |
577 | wxDirDialog_SetMessage(_arg0,*_arg1); | |
578 | Py_INCREF(Py_None); | |
579 | _resultobj = Py_None; | |
580 | { | |
581 | if (_obj1) | |
582 | delete _arg1; | |
583 | } | |
584 | return _resultobj; | |
585 | } | |
586 | ||
587 | #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0)) | |
588 | static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args) { | |
589 | PyObject * _resultobj; | |
590 | wxDirDialog * _arg0; | |
591 | wxString * _arg1; | |
592 | char * _argc0 = 0; | |
593 | PyObject * _obj1 = 0; | |
594 | ||
595 | self = self; | |
596 | if(!PyArg_ParseTuple(args,"sO:wxDirDialog_SetPath",&_argc0,&_obj1)) | |
597 | return NULL; | |
598 | if (_argc0) { | |
599 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | { | |
605 | if (!PyString_Check(_obj1)) { | |
606 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
607 | return NULL; | |
608 | } | |
609 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
610 | } | |
611 | wxDirDialog_SetPath(_arg0,*_arg1); | |
612 | Py_INCREF(Py_None); | |
613 | _resultobj = Py_None; | |
614 | { | |
615 | if (_obj1) | |
616 | delete _arg1; | |
617 | } | |
618 | return _resultobj; | |
619 | } | |
620 | ||
621 | #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
622 | static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args) { | |
623 | PyObject * _resultobj; | |
624 | int _result; | |
625 | wxDirDialog * _arg0; | |
626 | char * _argc0 = 0; | |
627 | ||
628 | self = self; | |
629 | if(!PyArg_ParseTuple(args,"s:wxDirDialog_ShowModal",&_argc0)) | |
630 | return NULL; | |
631 | if (_argc0) { | |
632 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDirDialog_p")) { | |
633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p."); | |
634 | return NULL; | |
635 | } | |
636 | } | |
637 | _result = (int )wxDirDialog_ShowModal(_arg0); | |
638 | _resultobj = Py_BuildValue("i",_result); | |
639 | return _resultobj; | |
640 | } | |
641 | ||
642 | static void *SwigwxFileDialogTowxDialog(void *ptr) { | |
643 | wxFileDialog *src; | |
644 | wxDialog *dest; | |
645 | src = (wxFileDialog *) ptr; | |
646 | dest = (wxDialog *) src; | |
647 | return (void *) dest; | |
648 | } | |
649 | ||
650 | static void *SwigwxFileDialogTowxPanel(void *ptr) { | |
651 | wxFileDialog *src; | |
652 | wxPanel *dest; | |
653 | src = (wxFileDialog *) ptr; | |
654 | dest = (wxPanel *) src; | |
655 | return (void *) dest; | |
656 | } | |
657 | ||
658 | static void *SwigwxFileDialogTowxWindow(void *ptr) { | |
659 | wxFileDialog *src; | |
660 | wxWindow *dest; | |
661 | src = (wxFileDialog *) ptr; | |
662 | dest = (wxWindow *) src; | |
663 | return (void *) dest; | |
664 | } | |
665 | ||
666 | static void *SwigwxFileDialogTowxEvtHandler(void *ptr) { | |
667 | wxFileDialog *src; | |
668 | wxEvtHandler *dest; | |
669 | src = (wxFileDialog *) ptr; | |
670 | dest = (wxEvtHandler *) src; | |
671 | return (void *) dest; | |
672 | } | |
673 | ||
674 | #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
675 | static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args) { | |
676 | PyObject * _resultobj; | |
677 | wxFileDialog * _result; | |
678 | wxWindow * _arg0; | |
679 | char * _arg1 = "Choose a file"; | |
680 | char * _arg2 = ""; | |
681 | char * _arg3 = ""; | |
682 | char * _arg4 = "*.*"; | |
683 | long _arg5 = 0; | |
684 | wxPoint * _arg6 = &wxPyDefaultPosition; | |
685 | char * _argc0 = 0; | |
686 | char * _argc6 = 0; | |
687 | char _ptemp[128]; | |
688 | ||
689 | self = self; | |
690 | if(!PyArg_ParseTuple(args,"s|ssssls:new_wxFileDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6)) | |
691 | return NULL; | |
692 | if (_argc0) { | |
693 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p."); | |
695 | return NULL; | |
696 | } | |
697 | } | |
698 | if (_argc6) { | |
699 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxPoint_p")) { | |
700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxFileDialog. Expected _wxPoint_p."); | |
701 | return NULL; | |
702 | } | |
703 | } | |
704 | _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6); | |
705 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p"); | |
706 | _resultobj = Py_BuildValue("s",_ptemp); | |
707 | return _resultobj; | |
708 | } | |
709 | ||
710 | #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory()) | |
711 | static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args) { | |
712 | PyObject * _resultobj; | |
713 | wxString * _result; | |
714 | wxFileDialog * _arg0; | |
715 | char * _argc0 = 0; | |
716 | ||
717 | self = self; | |
718 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetDirectory",&_argc0)) | |
719 | return NULL; | |
720 | if (_argc0) { | |
721 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p."); | |
723 | return NULL; | |
724 | } | |
725 | } | |
726 | _result = new wxString (wxFileDialog_GetDirectory(_arg0)); | |
727 | { | |
728 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
729 | } | |
730 | { | |
731 | delete _result; | |
732 | } | |
733 | return _resultobj; | |
734 | } | |
735 | ||
736 | #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
737 | static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args) { | |
738 | PyObject * _resultobj; | |
739 | wxString * _result; | |
740 | wxFileDialog * _arg0; | |
741 | char * _argc0 = 0; | |
742 | ||
743 | self = self; | |
744 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetFilename",&_argc0)) | |
745 | return NULL; | |
746 | if (_argc0) { | |
747 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p."); | |
749 | return NULL; | |
750 | } | |
751 | } | |
752 | _result = new wxString (wxFileDialog_GetFilename(_arg0)); | |
753 | { | |
754 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
755 | } | |
756 | { | |
757 | delete _result; | |
758 | } | |
759 | return _resultobj; | |
760 | } | |
761 | ||
762 | #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex()) | |
763 | static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args) { | |
764 | PyObject * _resultobj; | |
765 | int _result; | |
766 | wxFileDialog * _arg0; | |
767 | char * _argc0 = 0; | |
768 | ||
769 | self = self; | |
770 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetFilterIndex",&_argc0)) | |
771 | return NULL; | |
772 | if (_argc0) { | |
773 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p."); | |
775 | return NULL; | |
776 | } | |
777 | } | |
778 | _result = (int )wxFileDialog_GetFilterIndex(_arg0); | |
779 | _resultobj = Py_BuildValue("i",_result); | |
780 | return _resultobj; | |
781 | } | |
782 | ||
783 | #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
784 | static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args) { | |
785 | PyObject * _resultobj; | |
786 | wxString * _result; | |
787 | wxFileDialog * _arg0; | |
788 | char * _argc0 = 0; | |
789 | ||
790 | self = self; | |
791 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetMessage",&_argc0)) | |
792 | return NULL; | |
793 | if (_argc0) { | |
794 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p."); | |
796 | return NULL; | |
797 | } | |
798 | } | |
799 | _result = new wxString (wxFileDialog_GetMessage(_arg0)); | |
800 | { | |
801 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
802 | } | |
803 | { | |
804 | delete _result; | |
805 | } | |
806 | return _resultobj; | |
807 | } | |
808 | ||
809 | #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath()) | |
810 | static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args) { | |
811 | PyObject * _resultobj; | |
812 | wxString * _result; | |
813 | wxFileDialog * _arg0; | |
814 | char * _argc0 = 0; | |
815 | ||
816 | self = self; | |
817 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetPath",&_argc0)) | |
818 | return NULL; | |
819 | if (_argc0) { | |
820 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p."); | |
822 | return NULL; | |
823 | } | |
824 | } | |
825 | _result = new wxString (wxFileDialog_GetPath(_arg0)); | |
826 | { | |
827 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
828 | } | |
829 | { | |
830 | delete _result; | |
831 | } | |
832 | return _resultobj; | |
833 | } | |
834 | ||
835 | #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle()) | |
836 | static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args) { | |
837 | PyObject * _resultobj; | |
838 | long _result; | |
839 | wxFileDialog * _arg0; | |
840 | char * _argc0 = 0; | |
841 | ||
842 | self = self; | |
843 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetStyle",&_argc0)) | |
844 | return NULL; | |
845 | if (_argc0) { | |
846 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p."); | |
848 | return NULL; | |
849 | } | |
850 | } | |
851 | _result = (long )wxFileDialog_GetStyle(_arg0); | |
852 | _resultobj = Py_BuildValue("l",_result); | |
853 | return _resultobj; | |
854 | } | |
855 | ||
856 | #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard()) | |
857 | static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args) { | |
858 | PyObject * _resultobj; | |
859 | wxString * _result; | |
860 | wxFileDialog * _arg0; | |
861 | char * _argc0 = 0; | |
862 | ||
863 | self = self; | |
864 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetWildcard",&_argc0)) | |
865 | return NULL; | |
866 | if (_argc0) { | |
867 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p."); | |
869 | return NULL; | |
870 | } | |
871 | } | |
872 | _result = new wxString (wxFileDialog_GetWildcard(_arg0)); | |
873 | { | |
874 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
875 | } | |
876 | { | |
877 | delete _result; | |
878 | } | |
879 | return _resultobj; | |
880 | } | |
881 | ||
882 | #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0)) | |
883 | static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args) { | |
884 | PyObject * _resultobj; | |
885 | wxFileDialog * _arg0; | |
886 | wxString * _arg1; | |
887 | char * _argc0 = 0; | |
888 | PyObject * _obj1 = 0; | |
889 | ||
890 | self = self; | |
891 | if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetDirectory",&_argc0,&_obj1)) | |
892 | return NULL; | |
893 | if (_argc0) { | |
894 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p."); | |
896 | return NULL; | |
897 | } | |
898 | } | |
899 | { | |
900 | if (!PyString_Check(_obj1)) { | |
901 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
902 | return NULL; | |
903 | } | |
904 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
905 | } | |
906 | wxFileDialog_SetDirectory(_arg0,*_arg1); | |
907 | Py_INCREF(Py_None); | |
908 | _resultobj = Py_None; | |
909 | { | |
910 | if (_obj1) | |
911 | delete _arg1; | |
912 | } | |
913 | return _resultobj; | |
914 | } | |
915 | ||
916 | #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
917 | static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args) { | |
918 | PyObject * _resultobj; | |
919 | wxFileDialog * _arg0; | |
920 | wxString * _arg1; | |
921 | char * _argc0 = 0; | |
922 | PyObject * _obj1 = 0; | |
923 | ||
924 | self = self; | |
925 | if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetFilename",&_argc0,&_obj1)) | |
926 | return NULL; | |
927 | if (_argc0) { | |
928 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p."); | |
930 | return NULL; | |
931 | } | |
932 | } | |
933 | { | |
934 | if (!PyString_Check(_obj1)) { | |
935 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
936 | return NULL; | |
937 | } | |
938 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
939 | } | |
940 | wxFileDialog_SetFilename(_arg0,*_arg1); | |
941 | Py_INCREF(Py_None); | |
942 | _resultobj = Py_None; | |
943 | { | |
944 | if (_obj1) | |
945 | delete _arg1; | |
946 | } | |
947 | return _resultobj; | |
948 | } | |
949 | ||
950 | #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0)) | |
951 | static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args) { | |
952 | PyObject * _resultobj; | |
953 | wxFileDialog * _arg0; | |
954 | int _arg1; | |
955 | char * _argc0 = 0; | |
956 | ||
957 | self = self; | |
958 | if(!PyArg_ParseTuple(args,"si:wxFileDialog_SetFilterIndex",&_argc0,&_arg1)) | |
959 | return NULL; | |
960 | if (_argc0) { | |
961 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p."); | |
963 | return NULL; | |
964 | } | |
965 | } | |
966 | wxFileDialog_SetFilterIndex(_arg0,_arg1); | |
967 | Py_INCREF(Py_None); | |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
973 | static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args) { | |
974 | PyObject * _resultobj; | |
975 | wxFileDialog * _arg0; | |
976 | wxString * _arg1; | |
977 | char * _argc0 = 0; | |
978 | PyObject * _obj1 = 0; | |
979 | ||
980 | self = self; | |
981 | if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetMessage",&_argc0,&_obj1)) | |
982 | return NULL; | |
983 | if (_argc0) { | |
984 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p."); | |
986 | return NULL; | |
987 | } | |
988 | } | |
989 | { | |
990 | if (!PyString_Check(_obj1)) { | |
991 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
992 | return NULL; | |
993 | } | |
994 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
995 | } | |
996 | wxFileDialog_SetMessage(_arg0,*_arg1); | |
997 | Py_INCREF(Py_None); | |
998 | _resultobj = Py_None; | |
999 | { | |
1000 | if (_obj1) | |
1001 | delete _arg1; | |
1002 | } | |
1003 | return _resultobj; | |
1004 | } | |
1005 | ||
1006 | #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0)) | |
1007 | static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args) { | |
1008 | PyObject * _resultobj; | |
1009 | wxFileDialog * _arg0; | |
1010 | wxString * _arg1; | |
1011 | char * _argc0 = 0; | |
1012 | PyObject * _obj1 = 0; | |
1013 | ||
1014 | self = self; | |
1015 | if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetPath",&_argc0,&_obj1)) | |
1016 | return NULL; | |
1017 | if (_argc0) { | |
1018 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
1019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p."); | |
1020 | return NULL; | |
1021 | } | |
1022 | } | |
1023 | { | |
1024 | if (!PyString_Check(_obj1)) { | |
1025 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1026 | return NULL; | |
1027 | } | |
1028 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1029 | } | |
1030 | wxFileDialog_SetPath(_arg0,*_arg1); | |
1031 | Py_INCREF(Py_None); | |
1032 | _resultobj = Py_None; | |
1033 | { | |
1034 | if (_obj1) | |
1035 | delete _arg1; | |
1036 | } | |
1037 | return _resultobj; | |
1038 | } | |
1039 | ||
1040 | #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0)) | |
1041 | static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args) { | |
1042 | PyObject * _resultobj; | |
1043 | wxFileDialog * _arg0; | |
1044 | long _arg1; | |
1045 | char * _argc0 = 0; | |
1046 | ||
1047 | self = self; | |
1048 | if(!PyArg_ParseTuple(args,"sl:wxFileDialog_SetStyle",&_argc0,&_arg1)) | |
1049 | return NULL; | |
1050 | if (_argc0) { | |
1051 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
1052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p."); | |
1053 | return NULL; | |
1054 | } | |
1055 | } | |
1056 | wxFileDialog_SetStyle(_arg0,_arg1); | |
1057 | Py_INCREF(Py_None); | |
1058 | _resultobj = Py_None; | |
1059 | return _resultobj; | |
1060 | } | |
1061 | ||
1062 | #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0)) | |
1063 | static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args) { | |
1064 | PyObject * _resultobj; | |
1065 | wxFileDialog * _arg0; | |
1066 | wxString * _arg1; | |
1067 | char * _argc0 = 0; | |
1068 | PyObject * _obj1 = 0; | |
1069 | ||
1070 | self = self; | |
1071 | if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetWildcard",&_argc0,&_obj1)) | |
1072 | return NULL; | |
1073 | if (_argc0) { | |
1074 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
1075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p."); | |
1076 | return NULL; | |
1077 | } | |
1078 | } | |
1079 | { | |
1080 | if (!PyString_Check(_obj1)) { | |
1081 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1082 | return NULL; | |
1083 | } | |
1084 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1085 | } | |
1086 | wxFileDialog_SetWildcard(_arg0,*_arg1); | |
1087 | Py_INCREF(Py_None); | |
1088 | _resultobj = Py_None; | |
1089 | { | |
1090 | if (_obj1) | |
1091 | delete _arg1; | |
1092 | } | |
1093 | return _resultobj; | |
1094 | } | |
1095 | ||
1096 | #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
1097 | static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args) { | |
1098 | PyObject * _resultobj; | |
1099 | int _result; | |
1100 | wxFileDialog * _arg0; | |
1101 | char * _argc0 = 0; | |
1102 | ||
1103 | self = self; | |
1104 | if(!PyArg_ParseTuple(args,"s:wxFileDialog_ShowModal",&_argc0)) | |
1105 | return NULL; | |
1106 | if (_argc0) { | |
1107 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) { | |
1108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p."); | |
1109 | return NULL; | |
1110 | } | |
1111 | } | |
1112 | _result = (int )wxFileDialog_ShowModal(_arg0); | |
1113 | _resultobj = Py_BuildValue("i",_result); | |
1114 | return _resultobj; | |
1115 | } | |
1116 | ||
1117 | static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) { | |
1118 | wxSingleChoiceDialog *src; | |
1119 | wxDialog *dest; | |
1120 | src = (wxSingleChoiceDialog *) ptr; | |
1121 | dest = (wxDialog *) src; | |
1122 | return (void *) dest; | |
1123 | } | |
1124 | ||
1125 | static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr) { | |
1126 | wxSingleChoiceDialog *src; | |
1127 | wxPanel *dest; | |
1128 | src = (wxSingleChoiceDialog *) ptr; | |
1129 | dest = (wxPanel *) src; | |
1130 | return (void *) dest; | |
1131 | } | |
1132 | ||
1133 | static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) { | |
1134 | wxSingleChoiceDialog *src; | |
1135 | wxWindow *dest; | |
1136 | src = (wxSingleChoiceDialog *) ptr; | |
1137 | dest = (wxWindow *) src; | |
1138 | return (void *) dest; | |
1139 | } | |
1140 | ||
1141 | static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) { | |
1142 | wxSingleChoiceDialog *src; | |
1143 | wxEvtHandler *dest; | |
1144 | src = (wxSingleChoiceDialog *) ptr; | |
1145 | dest = (wxEvtHandler *) src; | |
1146 | return (void *) dest; | |
1147 | } | |
1148 | ||
1149 | static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *LIST,long style,wxPoint *pos) { | |
1150 | return new wxSingleChoiceDialog(parent, *message, *caption, | |
1151 | LCOUNT, LIST, NULL, style, *pos); | |
1152 | } | |
1153 | ||
1154 | static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args) { | |
1155 | PyObject * _resultobj; | |
1156 | wxSingleChoiceDialog * _result; | |
1157 | wxWindow * _arg0; | |
1158 | wxString * _arg1; | |
1159 | wxString * _arg2; | |
1160 | int _arg3; | |
1161 | wxString * _arg4; | |
1162 | long _arg5 = (wxOK)|(wxCANCEL)|(wxCENTRE); | |
1163 | wxPoint * _arg6 = &wxPyDefaultPosition; | |
1164 | char * _argc0 = 0; | |
1165 | PyObject * _obj1 = 0; | |
1166 | PyObject * _obj2 = 0; | |
1167 | PyObject * _obj4 = 0; | |
1168 | char * _argc6 = 0; | |
1169 | char _ptemp[128]; | |
1170 | ||
1171 | self = self; | |
1172 | if(!PyArg_ParseTuple(args,"sOOO|ls:new_wxSingleChoiceDialog",&_argc0,&_obj1,&_obj2,&_obj4,&_arg5,&_argc6)) | |
1173 | return NULL; | |
1174 | if (_argc0) { | |
1175 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p."); | |
1177 | return NULL; | |
1178 | } | |
1179 | } | |
1180 | { | |
1181 | if (!PyString_Check(_obj1)) { | |
1182 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1183 | return NULL; | |
1184 | } | |
1185 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1186 | } | |
1187 | { | |
1188 | if (!PyString_Check(_obj2)) { | |
1189 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1190 | return NULL; | |
1191 | } | |
1192 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1193 | } | |
1194 | if (_obj4) | |
1195 | { | |
1196 | _arg4 = wxString_LIST_helper(_obj4); | |
1197 | if (_arg4 == NULL) { | |
1198 | return NULL; | |
1199 | } | |
1200 | } | |
1201 | if (_argc6) { | |
1202 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxPoint_p")) { | |
1203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSingleChoiceDialog. Expected _wxPoint_p."); | |
1204 | return NULL; | |
1205 | } | |
1206 | } | |
1207 | { | |
1208 | _arg3 = PyList_Size(_obj4); | |
1209 | } | |
1210 | _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1211 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p"); | |
1212 | _resultobj = Py_BuildValue("s",_ptemp); | |
1213 | { | |
1214 | if (_obj1) | |
1215 | delete _arg1; | |
1216 | } | |
1217 | { | |
1218 | if (_obj2) | |
1219 | delete _arg2; | |
1220 | } | |
1221 | { | |
1222 | delete [] _arg4; | |
1223 | } | |
1224 | return _resultobj; | |
1225 | } | |
1226 | ||
1227 | #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
1228 | static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args) { | |
1229 | PyObject * _resultobj; | |
1230 | int _result; | |
1231 | wxSingleChoiceDialog * _arg0; | |
1232 | char * _argc0 = 0; | |
1233 | ||
1234 | self = self; | |
1235 | if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_GetSelection",&_argc0)) | |
1236 | return NULL; | |
1237 | if (_argc0) { | |
1238 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
1239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p."); | |
1240 | return NULL; | |
1241 | } | |
1242 | } | |
1243 | _result = (int )wxSingleChoiceDialog_GetSelection(_arg0); | |
1244 | _resultobj = Py_BuildValue("i",_result); | |
1245 | return _resultobj; | |
1246 | } | |
1247 | ||
1248 | #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
1249 | static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args) { | |
1250 | PyObject * _resultobj; | |
1251 | wxString * _result; | |
1252 | wxSingleChoiceDialog * _arg0; | |
1253 | char * _argc0 = 0; | |
1254 | ||
1255 | self = self; | |
1256 | if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_GetStringSelection",&_argc0)) | |
1257 | return NULL; | |
1258 | if (_argc0) { | |
1259 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
1260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p."); | |
1261 | return NULL; | |
1262 | } | |
1263 | } | |
1264 | _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0)); | |
1265 | { | |
1266 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1267 | } | |
1268 | { | |
1269 | delete _result; | |
1270 | } | |
1271 | return _resultobj; | |
1272 | } | |
1273 | ||
1274 | #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
1275 | static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args) { | |
1276 | PyObject * _resultobj; | |
1277 | wxSingleChoiceDialog * _arg0; | |
1278 | int _arg1; | |
1279 | char * _argc0 = 0; | |
1280 | ||
1281 | self = self; | |
1282 | if(!PyArg_ParseTuple(args,"si:wxSingleChoiceDialog_SetSelection",&_argc0,&_arg1)) | |
1283 | return NULL; | |
1284 | if (_argc0) { | |
1285 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
1286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p."); | |
1287 | return NULL; | |
1288 | } | |
1289 | } | |
1290 | wxSingleChoiceDialog_SetSelection(_arg0,_arg1); | |
1291 | Py_INCREF(Py_None); | |
1292 | _resultobj = Py_None; | |
1293 | return _resultobj; | |
1294 | } | |
1295 | ||
1296 | #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
1297 | static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args) { | |
1298 | PyObject * _resultobj; | |
1299 | int _result; | |
1300 | wxSingleChoiceDialog * _arg0; | |
1301 | char * _argc0 = 0; | |
1302 | ||
1303 | self = self; | |
1304 | if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_ShowModal",&_argc0)) | |
1305 | return NULL; | |
1306 | if (_argc0) { | |
1307 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
1308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p."); | |
1309 | return NULL; | |
1310 | } | |
1311 | } | |
1312 | _result = (int )wxSingleChoiceDialog_ShowModal(_arg0); | |
1313 | _resultobj = Py_BuildValue("i",_result); | |
1314 | return _resultobj; | |
1315 | } | |
1316 | ||
1317 | static void *SwigwxTextEntryDialogTowxDialog(void *ptr) { | |
1318 | wxTextEntryDialog *src; | |
1319 | wxDialog *dest; | |
1320 | src = (wxTextEntryDialog *) ptr; | |
1321 | dest = (wxDialog *) src; | |
1322 | return (void *) dest; | |
1323 | } | |
1324 | ||
1325 | static void *SwigwxTextEntryDialogTowxPanel(void *ptr) { | |
1326 | wxTextEntryDialog *src; | |
1327 | wxPanel *dest; | |
1328 | src = (wxTextEntryDialog *) ptr; | |
1329 | dest = (wxPanel *) src; | |
1330 | return (void *) dest; | |
1331 | } | |
1332 | ||
1333 | static void *SwigwxTextEntryDialogTowxWindow(void *ptr) { | |
1334 | wxTextEntryDialog *src; | |
1335 | wxWindow *dest; | |
1336 | src = (wxTextEntryDialog *) ptr; | |
1337 | dest = (wxWindow *) src; | |
1338 | return (void *) dest; | |
1339 | } | |
1340 | ||
1341 | static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) { | |
1342 | wxTextEntryDialog *src; | |
1343 | wxEvtHandler *dest; | |
1344 | src = (wxTextEntryDialog *) ptr; | |
1345 | dest = (wxEvtHandler *) src; | |
1346 | return (void *) dest; | |
1347 | } | |
1348 | ||
1349 | #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1350 | static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args) { | |
1351 | PyObject * _resultobj; | |
1352 | wxTextEntryDialog * _result; | |
1353 | wxWindow * _arg0; | |
1354 | char * _arg1; | |
1355 | char * _arg2 = "Input Text"; | |
1356 | char * _arg3 = ""; | |
1357 | long _arg4 = (wxOK)|(wxCANCEL)|(wxCENTRE); | |
1358 | wxPoint * _arg5 = &wxPyDefaultPosition; | |
1359 | char * _argc0 = 0; | |
1360 | char * _argc5 = 0; | |
1361 | char _ptemp[128]; | |
1362 | ||
1363 | self = self; | |
1364 | if(!PyArg_ParseTuple(args,"ss|ssls:new_wxTextEntryDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5)) | |
1365 | return NULL; | |
1366 | if (_argc0) { | |
1367 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p."); | |
1369 | return NULL; | |
1370 | } | |
1371 | } | |
1372 | if (_argc5) { | |
1373 | if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) { | |
1374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTextEntryDialog. Expected _wxPoint_p."); | |
1375 | return NULL; | |
1376 | } | |
1377 | } | |
1378 | _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5); | |
1379 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p"); | |
1380 | _resultobj = Py_BuildValue("s",_ptemp); | |
1381 | return _resultobj; | |
1382 | } | |
1383 | ||
1384 | #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue()) | |
1385 | static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args) { | |
1386 | PyObject * _resultobj; | |
1387 | wxString * _result; | |
1388 | wxTextEntryDialog * _arg0; | |
1389 | char * _argc0 = 0; | |
1390 | ||
1391 | self = self; | |
1392 | if(!PyArg_ParseTuple(args,"s:wxTextEntryDialog_GetValue",&_argc0)) | |
1393 | return NULL; | |
1394 | if (_argc0) { | |
1395 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
1396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p."); | |
1397 | return NULL; | |
1398 | } | |
1399 | } | |
1400 | _result = new wxString (wxTextEntryDialog_GetValue(_arg0)); | |
1401 | { | |
1402 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1403 | } | |
1404 | { | |
1405 | delete _result; | |
1406 | } | |
1407 | return _resultobj; | |
1408 | } | |
1409 | ||
1410 | #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
1411 | static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args) { | |
1412 | PyObject * _resultobj; | |
1413 | wxTextEntryDialog * _arg0; | |
1414 | wxString * _arg1; | |
1415 | char * _argc0 = 0; | |
1416 | PyObject * _obj1 = 0; | |
1417 | ||
1418 | self = self; | |
1419 | if(!PyArg_ParseTuple(args,"sO:wxTextEntryDialog_SetValue",&_argc0,&_obj1)) | |
1420 | return NULL; | |
1421 | if (_argc0) { | |
1422 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
1423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p."); | |
1424 | return NULL; | |
1425 | } | |
1426 | } | |
1427 | { | |
1428 | if (!PyString_Check(_obj1)) { | |
1429 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1430 | return NULL; | |
1431 | } | |
1432 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1433 | } | |
1434 | wxTextEntryDialog_SetValue(_arg0,*_arg1); | |
1435 | Py_INCREF(Py_None); | |
1436 | _resultobj = Py_None; | |
1437 | { | |
1438 | if (_obj1) | |
1439 | delete _arg1; | |
1440 | } | |
1441 | return _resultobj; | |
1442 | } | |
1443 | ||
1444 | #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
1445 | static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args) { | |
1446 | PyObject * _resultobj; | |
1447 | int _result; | |
1448 | wxTextEntryDialog * _arg0; | |
1449 | char * _argc0 = 0; | |
1450 | ||
1451 | self = self; | |
1452 | if(!PyArg_ParseTuple(args,"s:wxTextEntryDialog_ShowModal",&_argc0)) | |
1453 | return NULL; | |
1454 | if (_argc0) { | |
1455 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
1456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p."); | |
1457 | return NULL; | |
1458 | } | |
1459 | } | |
1460 | _result = (int )wxTextEntryDialog_ShowModal(_arg0); | |
1461 | _resultobj = Py_BuildValue("i",_result); | |
1462 | return _resultobj; | |
1463 | } | |
1464 | ||
1465 | #define new_wxFontData() (new wxFontData()) | |
1466 | static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args) { | |
1467 | PyObject * _resultobj; | |
1468 | wxFontData * _result; | |
1469 | char _ptemp[128]; | |
1470 | ||
1471 | self = self; | |
1472 | if(!PyArg_ParseTuple(args,":new_wxFontData")) | |
1473 | return NULL; | |
1474 | _result = (wxFontData *)new_wxFontData(); | |
1475 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p"); | |
1476 | _resultobj = Py_BuildValue("s",_ptemp); | |
1477 | return _resultobj; | |
1478 | } | |
1479 | ||
1480 | #define delete_wxFontData(_swigobj) (delete _swigobj) | |
1481 | static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args) { | |
1482 | PyObject * _resultobj; | |
1483 | wxFontData * _arg0; | |
1484 | char * _argc0 = 0; | |
1485 | ||
1486 | self = self; | |
1487 | if(!PyArg_ParseTuple(args,"s:delete_wxFontData",&_argc0)) | |
1488 | return NULL; | |
1489 | if (_argc0) { | |
1490 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p."); | |
1492 | return NULL; | |
1493 | } | |
1494 | } | |
1495 | delete_wxFontData(_arg0); | |
1496 | Py_INCREF(Py_None); | |
1497 | _resultobj = Py_None; | |
1498 | return _resultobj; | |
1499 | } | |
1500 | ||
1501 | #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0)) | |
1502 | static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args) { | |
1503 | PyObject * _resultobj; | |
1504 | wxFontData * _arg0; | |
1505 | bool _arg1; | |
1506 | char * _argc0 = 0; | |
1507 | int tempbool1; | |
1508 | ||
1509 | self = self; | |
1510 | if(!PyArg_ParseTuple(args,"si:wxFontData_EnableEffects",&_argc0,&tempbool1)) | |
1511 | return NULL; | |
1512 | if (_argc0) { | |
1513 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p."); | |
1515 | return NULL; | |
1516 | } | |
1517 | } | |
1518 | _arg1 = (bool ) tempbool1; | |
1519 | wxFontData_EnableEffects(_arg0,_arg1); | |
1520 | Py_INCREF(Py_None); | |
1521 | _resultobj = Py_None; | |
1522 | return _resultobj; | |
1523 | } | |
1524 | ||
1525 | #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols()) | |
1526 | static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args) { | |
1527 | PyObject * _resultobj; | |
1528 | bool _result; | |
1529 | wxFontData * _arg0; | |
1530 | char * _argc0 = 0; | |
1531 | ||
1532 | self = self; | |
1533 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetAllowSymbols",&_argc0)) | |
1534 | return NULL; | |
1535 | if (_argc0) { | |
1536 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p."); | |
1538 | return NULL; | |
1539 | } | |
1540 | } | |
1541 | _result = (bool )wxFontData_GetAllowSymbols(_arg0); | |
1542 | _resultobj = Py_BuildValue("i",_result); | |
1543 | return _resultobj; | |
1544 | } | |
1545 | ||
1546 | #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour()) | |
1547 | static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args) { | |
1548 | PyObject * _resultobj; | |
1549 | wxColour * _result; | |
1550 | wxFontData * _arg0; | |
1551 | char * _argc0 = 0; | |
1552 | char _ptemp[128]; | |
1553 | ||
1554 | self = self; | |
1555 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetColour",&_argc0)) | |
1556 | return NULL; | |
1557 | if (_argc0) { | |
1558 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p."); | |
1560 | return NULL; | |
1561 | } | |
1562 | } | |
1563 | wxColour & _result_ref = wxFontData_GetColour(_arg0); | |
1564 | _result = (wxColour *) &_result_ref; | |
1565 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1566 | _resultobj = Py_BuildValue("s",_ptemp); | |
1567 | return _resultobj; | |
1568 | } | |
1569 | ||
1570 | #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont()) | |
1571 | static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args) { | |
1572 | PyObject * _resultobj; | |
1573 | wxFont * _result; | |
1574 | wxFontData * _arg0; | |
1575 | char * _argc0 = 0; | |
1576 | char _ptemp[128]; | |
1577 | ||
1578 | self = self; | |
1579 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetChosenFont",&_argc0)) | |
1580 | return NULL; | |
1581 | if (_argc0) { | |
1582 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p."); | |
1584 | return NULL; | |
1585 | } | |
1586 | } | |
1587 | _result = new wxFont (wxFontData_GetChosenFont(_arg0)); | |
1588 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1589 | _resultobj = Py_BuildValue("s",_ptemp); | |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
1593 | #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects()) | |
1594 | static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args) { | |
1595 | PyObject * _resultobj; | |
1596 | bool _result; | |
1597 | wxFontData * _arg0; | |
1598 | char * _argc0 = 0; | |
1599 | ||
1600 | self = self; | |
1601 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetEnableEffects",&_argc0)) | |
1602 | return NULL; | |
1603 | if (_argc0) { | |
1604 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p."); | |
1606 | return NULL; | |
1607 | } | |
1608 | } | |
1609 | _result = (bool )wxFontData_GetEnableEffects(_arg0); | |
1610 | _resultobj = Py_BuildValue("i",_result); | |
1611 | return _resultobj; | |
1612 | } | |
1613 | ||
1614 | #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont()) | |
1615 | static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args) { | |
1616 | PyObject * _resultobj; | |
1617 | wxFont * _result; | |
1618 | wxFontData * _arg0; | |
1619 | char * _argc0 = 0; | |
1620 | char _ptemp[128]; | |
1621 | ||
1622 | self = self; | |
1623 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetInitialFont",&_argc0)) | |
1624 | return NULL; | |
1625 | if (_argc0) { | |
1626 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p."); | |
1628 | return NULL; | |
1629 | } | |
1630 | } | |
1631 | _result = new wxFont (wxFontData_GetInitialFont(_arg0)); | |
1632 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1633 | _resultobj = Py_BuildValue("s",_ptemp); | |
1634 | return _resultobj; | |
1635 | } | |
1636 | ||
1637 | #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp()) | |
1638 | static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args) { | |
1639 | PyObject * _resultobj; | |
1640 | bool _result; | |
1641 | wxFontData * _arg0; | |
1642 | char * _argc0 = 0; | |
1643 | ||
1644 | self = self; | |
1645 | if(!PyArg_ParseTuple(args,"s:wxFontData_GetShowHelp",&_argc0)) | |
1646 | return NULL; | |
1647 | if (_argc0) { | |
1648 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p."); | |
1650 | return NULL; | |
1651 | } | |
1652 | } | |
1653 | _result = (bool )wxFontData_GetShowHelp(_arg0); | |
1654 | _resultobj = Py_BuildValue("i",_result); | |
1655 | return _resultobj; | |
1656 | } | |
1657 | ||
1658 | #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0)) | |
1659 | static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args) { | |
1660 | PyObject * _resultobj; | |
1661 | wxFontData * _arg0; | |
1662 | bool _arg1; | |
1663 | char * _argc0 = 0; | |
1664 | int tempbool1; | |
1665 | ||
1666 | self = self; | |
1667 | if(!PyArg_ParseTuple(args,"si:wxFontData_SetAllowSymbols",&_argc0,&tempbool1)) | |
1668 | return NULL; | |
1669 | if (_argc0) { | |
1670 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p."); | |
1672 | return NULL; | |
1673 | } | |
1674 | } | |
1675 | _arg1 = (bool ) tempbool1; | |
1676 | wxFontData_SetAllowSymbols(_arg0,_arg1); | |
1677 | Py_INCREF(Py_None); | |
1678 | _resultobj = Py_None; | |
1679 | return _resultobj; | |
1680 | } | |
1681 | ||
1682 | #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0)) | |
1683 | static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args) { | |
1684 | PyObject * _resultobj; | |
1685 | wxFontData * _arg0; | |
1686 | wxFont * _arg1; | |
1687 | char * _argc0 = 0; | |
1688 | char * _argc1 = 0; | |
1689 | ||
1690 | self = self; | |
1691 | if(!PyArg_ParseTuple(args,"ss:wxFontData_SetChosenFont",&_argc0,&_argc1)) | |
1692 | return NULL; | |
1693 | if (_argc0) { | |
1694 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p."); | |
1696 | return NULL; | |
1697 | } | |
1698 | } | |
1699 | if (_argc1) { | |
1700 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p."); | |
1702 | return NULL; | |
1703 | } | |
1704 | } | |
1705 | wxFontData_SetChosenFont(_arg0,*_arg1); | |
1706 | Py_INCREF(Py_None); | |
1707 | _resultobj = Py_None; | |
1708 | return _resultobj; | |
1709 | } | |
1710 | ||
1711 | #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
1712 | static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args) { | |
1713 | PyObject * _resultobj; | |
1714 | wxFontData * _arg0; | |
1715 | wxColour * _arg1; | |
1716 | char * _argc0 = 0; | |
1717 | char * _argc1 = 0; | |
1718 | ||
1719 | self = self; | |
1720 | if(!PyArg_ParseTuple(args,"ss:wxFontData_SetColour",&_argc0,&_argc1)) | |
1721 | return NULL; | |
1722 | if (_argc0) { | |
1723 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p."); | |
1725 | return NULL; | |
1726 | } | |
1727 | } | |
1728 | if (_argc1) { | |
1729 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p."); | |
1731 | return NULL; | |
1732 | } | |
1733 | } | |
1734 | wxFontData_SetColour(_arg0,*_arg1); | |
1735 | Py_INCREF(Py_None); | |
1736 | _resultobj = Py_None; | |
1737 | return _resultobj; | |
1738 | } | |
1739 | ||
1740 | #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0)) | |
1741 | static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args) { | |
1742 | PyObject * _resultobj; | |
1743 | wxFontData * _arg0; | |
1744 | wxFont * _arg1; | |
1745 | char * _argc0 = 0; | |
1746 | char * _argc1 = 0; | |
1747 | ||
1748 | self = self; | |
1749 | if(!PyArg_ParseTuple(args,"ss:wxFontData_SetInitialFont",&_argc0,&_argc1)) | |
1750 | return NULL; | |
1751 | if (_argc0) { | |
1752 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p."); | |
1754 | return NULL; | |
1755 | } | |
1756 | } | |
1757 | if (_argc1) { | |
1758 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p."); | |
1760 | return NULL; | |
1761 | } | |
1762 | } | |
1763 | wxFontData_SetInitialFont(_arg0,*_arg1); | |
1764 | Py_INCREF(Py_None); | |
1765 | _resultobj = Py_None; | |
1766 | return _resultobj; | |
1767 | } | |
1768 | ||
1769 | #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
1770 | static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args) { | |
1771 | PyObject * _resultobj; | |
1772 | wxFontData * _arg0; | |
1773 | int _arg1; | |
1774 | int _arg2; | |
1775 | char * _argc0 = 0; | |
1776 | ||
1777 | self = self; | |
1778 | if(!PyArg_ParseTuple(args,"sii:wxFontData_SetRange",&_argc0,&_arg1,&_arg2)) | |
1779 | return NULL; | |
1780 | if (_argc0) { | |
1781 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p."); | |
1783 | return NULL; | |
1784 | } | |
1785 | } | |
1786 | wxFontData_SetRange(_arg0,_arg1,_arg2); | |
1787 | Py_INCREF(Py_None); | |
1788 | _resultobj = Py_None; | |
1789 | return _resultobj; | |
1790 | } | |
1791 | ||
1792 | #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0)) | |
1793 | static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args) { | |
1794 | PyObject * _resultobj; | |
1795 | wxFontData * _arg0; | |
1796 | bool _arg1; | |
1797 | char * _argc0 = 0; | |
1798 | int tempbool1; | |
1799 | ||
1800 | self = self; | |
1801 | if(!PyArg_ParseTuple(args,"si:wxFontData_SetShowHelp",&_argc0,&tempbool1)) | |
1802 | return NULL; | |
1803 | if (_argc0) { | |
1804 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) { | |
1805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p."); | |
1806 | return NULL; | |
1807 | } | |
1808 | } | |
1809 | _arg1 = (bool ) tempbool1; | |
1810 | wxFontData_SetShowHelp(_arg0,_arg1); | |
1811 | Py_INCREF(Py_None); | |
1812 | _resultobj = Py_None; | |
1813 | return _resultobj; | |
1814 | } | |
1815 | ||
1816 | static void *SwigwxFontDialogTowxDialog(void *ptr) { | |
1817 | wxFontDialog *src; | |
1818 | wxDialog *dest; | |
1819 | src = (wxFontDialog *) ptr; | |
1820 | dest = (wxDialog *) src; | |
1821 | return (void *) dest; | |
1822 | } | |
1823 | ||
1824 | static void *SwigwxFontDialogTowxPanel(void *ptr) { | |
1825 | wxFontDialog *src; | |
1826 | wxPanel *dest; | |
1827 | src = (wxFontDialog *) ptr; | |
1828 | dest = (wxPanel *) src; | |
1829 | return (void *) dest; | |
1830 | } | |
1831 | ||
1832 | static void *SwigwxFontDialogTowxWindow(void *ptr) { | |
1833 | wxFontDialog *src; | |
1834 | wxWindow *dest; | |
1835 | src = (wxFontDialog *) ptr; | |
1836 | dest = (wxWindow *) src; | |
1837 | return (void *) dest; | |
1838 | } | |
1839 | ||
1840 | static void *SwigwxFontDialogTowxEvtHandler(void *ptr) { | |
1841 | wxFontDialog *src; | |
1842 | wxEvtHandler *dest; | |
1843 | src = (wxFontDialog *) ptr; | |
1844 | dest = (wxEvtHandler *) src; | |
1845 | return (void *) dest; | |
1846 | } | |
1847 | ||
1848 | #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1)) | |
1849 | static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args) { | |
1850 | PyObject * _resultobj; | |
1851 | wxFontDialog * _result; | |
1852 | wxWindow * _arg0; | |
1853 | wxFontData * _arg1 = NULL; | |
1854 | char * _argc0 = 0; | |
1855 | char * _argc1 = 0; | |
1856 | char _ptemp[128]; | |
1857 | ||
1858 | self = self; | |
1859 | if(!PyArg_ParseTuple(args,"s|s:new_wxFontDialog",&_argc0,&_argc1)) | |
1860 | return NULL; | |
1861 | if (_argc0) { | |
1862 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p."); | |
1864 | return NULL; | |
1865 | } | |
1866 | } | |
1867 | if (_argc1) { | |
1868 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFontData_p")) { | |
1869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p."); | |
1870 | return NULL; | |
1871 | } | |
1872 | } | |
1873 | _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1); | |
1874 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p"); | |
1875 | _resultobj = Py_BuildValue("s",_ptemp); | |
1876 | return _resultobj; | |
1877 | } | |
1878 | ||
1879 | #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData()) | |
1880 | static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args) { | |
1881 | PyObject * _resultobj; | |
1882 | wxFontData * _result; | |
1883 | wxFontDialog * _arg0; | |
1884 | char * _argc0 = 0; | |
1885 | char _ptemp[128]; | |
1886 | ||
1887 | self = self; | |
1888 | if(!PyArg_ParseTuple(args,"s:wxFontDialog_GetFontData",&_argc0)) | |
1889 | return NULL; | |
1890 | if (_argc0) { | |
1891 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontDialog_p")) { | |
1892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p."); | |
1893 | return NULL; | |
1894 | } | |
1895 | } | |
1896 | wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0); | |
1897 | _result = (wxFontData *) &_result_ref; | |
1898 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p"); | |
1899 | _resultobj = Py_BuildValue("s",_ptemp); | |
1900 | return _resultobj; | |
1901 | } | |
1902 | ||
1903 | #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
1904 | static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args) { | |
1905 | PyObject * _resultobj; | |
1906 | int _result; | |
1907 | wxFontDialog * _arg0; | |
1908 | char * _argc0 = 0; | |
1909 | ||
1910 | self = self; | |
1911 | if(!PyArg_ParseTuple(args,"s:wxFontDialog_ShowModal",&_argc0)) | |
1912 | return NULL; | |
1913 | if (_argc0) { | |
1914 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontDialog_p")) { | |
1915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p."); | |
1916 | return NULL; | |
1917 | } | |
1918 | } | |
1919 | _result = (int )wxFontDialog_ShowModal(_arg0); | |
1920 | _resultobj = Py_BuildValue("i",_result); | |
1921 | return _resultobj; | |
1922 | } | |
1923 | ||
1924 | #define new_wxPageSetupData() (new wxPageSetupData()) | |
1925 | static PyObject *_wrap_new_wxPageSetupData(PyObject *self, PyObject *args) { | |
1926 | PyObject * _resultobj; | |
1927 | wxPageSetupData * _result; | |
1928 | char _ptemp[128]; | |
1929 | ||
1930 | self = self; | |
1931 | if(!PyArg_ParseTuple(args,":new_wxPageSetupData")) | |
1932 | return NULL; | |
1933 | _result = (wxPageSetupData *)new_wxPageSetupData(); | |
1934 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupData_p"); | |
1935 | _resultobj = Py_BuildValue("s",_ptemp); | |
1936 | return _resultobj; | |
1937 | } | |
1938 | ||
1939 | #define delete_wxPageSetupData(_swigobj) (delete _swigobj) | |
1940 | static PyObject *_wrap_delete_wxPageSetupData(PyObject *self, PyObject *args) { | |
1941 | PyObject * _resultobj; | |
1942 | wxPageSetupData * _arg0; | |
1943 | char * _argc0 = 0; | |
1944 | ||
1945 | self = self; | |
1946 | if(!PyArg_ParseTuple(args,"s:delete_wxPageSetupData",&_argc0)) | |
1947 | return NULL; | |
1948 | if (_argc0) { | |
1949 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
1950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupData. Expected _wxPageSetupData_p."); | |
1951 | return NULL; | |
1952 | } | |
1953 | } | |
1954 | delete_wxPageSetupData(_arg0); | |
1955 | Py_INCREF(Py_None); | |
1956 | _resultobj = Py_None; | |
1957 | return _resultobj; | |
1958 | } | |
1959 | ||
1960 | #define wxPageSetupData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0)) | |
1961 | static PyObject *_wrap_wxPageSetupData_EnableHelp(PyObject *self, PyObject *args) { | |
1962 | PyObject * _resultobj; | |
1963 | wxPageSetupData * _arg0; | |
1964 | bool _arg1; | |
1965 | char * _argc0 = 0; | |
1966 | int tempbool1; | |
1967 | ||
1968 | self = self; | |
1969 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_EnableHelp",&_argc0,&tempbool1)) | |
1970 | return NULL; | |
1971 | if (_argc0) { | |
1972 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
1973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_EnableHelp. Expected _wxPageSetupData_p."); | |
1974 | return NULL; | |
1975 | } | |
1976 | } | |
1977 | _arg1 = (bool ) tempbool1; | |
1978 | wxPageSetupData_EnableHelp(_arg0,_arg1); | |
1979 | Py_INCREF(Py_None); | |
1980 | _resultobj = Py_None; | |
1981 | return _resultobj; | |
1982 | } | |
1983 | ||
1984 | #define wxPageSetupData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0)) | |
1985 | static PyObject *_wrap_wxPageSetupData_EnableMargins(PyObject *self, PyObject *args) { | |
1986 | PyObject * _resultobj; | |
1987 | wxPageSetupData * _arg0; | |
1988 | bool _arg1; | |
1989 | char * _argc0 = 0; | |
1990 | int tempbool1; | |
1991 | ||
1992 | self = self; | |
1993 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_EnableMargins",&_argc0,&tempbool1)) | |
1994 | return NULL; | |
1995 | if (_argc0) { | |
1996 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
1997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_EnableMargins. Expected _wxPageSetupData_p."); | |
1998 | return NULL; | |
1999 | } | |
2000 | } | |
2001 | _arg1 = (bool ) tempbool1; | |
2002 | wxPageSetupData_EnableMargins(_arg0,_arg1); | |
2003 | Py_INCREF(Py_None); | |
2004 | _resultobj = Py_None; | |
2005 | return _resultobj; | |
2006 | } | |
2007 | ||
2008 | #define wxPageSetupData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0)) | |
2009 | static PyObject *_wrap_wxPageSetupData_EnableOrientation(PyObject *self, PyObject *args) { | |
2010 | PyObject * _resultobj; | |
2011 | wxPageSetupData * _arg0; | |
2012 | bool _arg1; | |
2013 | char * _argc0 = 0; | |
2014 | int tempbool1; | |
2015 | ||
2016 | self = self; | |
2017 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_EnableOrientation",&_argc0,&tempbool1)) | |
2018 | return NULL; | |
2019 | if (_argc0) { | |
2020 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_EnableOrientation. Expected _wxPageSetupData_p."); | |
2022 | return NULL; | |
2023 | } | |
2024 | } | |
2025 | _arg1 = (bool ) tempbool1; | |
2026 | wxPageSetupData_EnableOrientation(_arg0,_arg1); | |
2027 | Py_INCREF(Py_None); | |
2028 | _resultobj = Py_None; | |
2029 | return _resultobj; | |
2030 | } | |
2031 | ||
2032 | #define wxPageSetupData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0)) | |
2033 | static PyObject *_wrap_wxPageSetupData_EnablePaper(PyObject *self, PyObject *args) { | |
2034 | PyObject * _resultobj; | |
2035 | wxPageSetupData * _arg0; | |
2036 | bool _arg1; | |
2037 | char * _argc0 = 0; | |
2038 | int tempbool1; | |
2039 | ||
2040 | self = self; | |
2041 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_EnablePaper",&_argc0,&tempbool1)) | |
2042 | return NULL; | |
2043 | if (_argc0) { | |
2044 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_EnablePaper. Expected _wxPageSetupData_p."); | |
2046 | return NULL; | |
2047 | } | |
2048 | } | |
2049 | _arg1 = (bool ) tempbool1; | |
2050 | wxPageSetupData_EnablePaper(_arg0,_arg1); | |
2051 | Py_INCREF(Py_None); | |
2052 | _resultobj = Py_None; | |
2053 | return _resultobj; | |
2054 | } | |
2055 | ||
2056 | #define wxPageSetupData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0)) | |
2057 | static PyObject *_wrap_wxPageSetupData_EnablePrinter(PyObject *self, PyObject *args) { | |
2058 | PyObject * _resultobj; | |
2059 | wxPageSetupData * _arg0; | |
2060 | bool _arg1; | |
2061 | char * _argc0 = 0; | |
2062 | int tempbool1; | |
2063 | ||
2064 | self = self; | |
2065 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_EnablePrinter",&_argc0,&tempbool1)) | |
2066 | return NULL; | |
2067 | if (_argc0) { | |
2068 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_EnablePrinter. Expected _wxPageSetupData_p."); | |
2070 | return NULL; | |
2071 | } | |
2072 | } | |
2073 | _arg1 = (bool ) tempbool1; | |
2074 | wxPageSetupData_EnablePrinter(_arg0,_arg1); | |
2075 | Py_INCREF(Py_None); | |
2076 | _resultobj = Py_None; | |
2077 | return _resultobj; | |
2078 | } | |
2079 | ||
2080 | #define wxPageSetupData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize()) | |
2081 | static PyObject *_wrap_wxPageSetupData_GetPaperSize(PyObject *self, PyObject *args) { | |
2082 | PyObject * _resultobj; | |
2083 | wxPoint * _result; | |
2084 | wxPageSetupData * _arg0; | |
2085 | char * _argc0 = 0; | |
2086 | char _ptemp[128]; | |
2087 | ||
2088 | self = self; | |
2089 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetPaperSize",&_argc0)) | |
2090 | return NULL; | |
2091 | if (_argc0) { | |
2092 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetPaperSize. Expected _wxPageSetupData_p."); | |
2094 | return NULL; | |
2095 | } | |
2096 | } | |
2097 | _result = new wxPoint (wxPageSetupData_GetPaperSize(_arg0)); | |
2098 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2099 | _resultobj = Py_BuildValue("s",_ptemp); | |
2100 | return _resultobj; | |
2101 | } | |
2102 | ||
2103 | #define wxPageSetupData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft()) | |
2104 | static PyObject *_wrap_wxPageSetupData_GetMarginTopLeft(PyObject *self, PyObject *args) { | |
2105 | PyObject * _resultobj; | |
2106 | wxPoint * _result; | |
2107 | wxPageSetupData * _arg0; | |
2108 | char * _argc0 = 0; | |
2109 | char _ptemp[128]; | |
2110 | ||
2111 | self = self; | |
2112 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetMarginTopLeft",&_argc0)) | |
2113 | return NULL; | |
2114 | if (_argc0) { | |
2115 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetMarginTopLeft. Expected _wxPageSetupData_p."); | |
2117 | return NULL; | |
2118 | } | |
2119 | } | |
2120 | _result = new wxPoint (wxPageSetupData_GetMarginTopLeft(_arg0)); | |
2121 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2122 | _resultobj = Py_BuildValue("s",_ptemp); | |
2123 | return _resultobj; | |
2124 | } | |
2125 | ||
2126 | #define wxPageSetupData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight()) | |
2127 | static PyObject *_wrap_wxPageSetupData_GetMarginBottomRight(PyObject *self, PyObject *args) { | |
2128 | PyObject * _resultobj; | |
2129 | wxPoint * _result; | |
2130 | wxPageSetupData * _arg0; | |
2131 | char * _argc0 = 0; | |
2132 | char _ptemp[128]; | |
2133 | ||
2134 | self = self; | |
2135 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetMarginBottomRight",&_argc0)) | |
2136 | return NULL; | |
2137 | if (_argc0) { | |
2138 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetMarginBottomRight. Expected _wxPageSetupData_p."); | |
2140 | return NULL; | |
2141 | } | |
2142 | } | |
2143 | _result = new wxPoint (wxPageSetupData_GetMarginBottomRight(_arg0)); | |
2144 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2145 | _resultobj = Py_BuildValue("s",_ptemp); | |
2146 | return _resultobj; | |
2147 | } | |
2148 | ||
2149 | #define wxPageSetupData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft()) | |
2150 | static PyObject *_wrap_wxPageSetupData_GetMinMarginTopLeft(PyObject *self, PyObject *args) { | |
2151 | PyObject * _resultobj; | |
2152 | wxPoint * _result; | |
2153 | wxPageSetupData * _arg0; | |
2154 | char * _argc0 = 0; | |
2155 | char _ptemp[128]; | |
2156 | ||
2157 | self = self; | |
2158 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetMinMarginTopLeft",&_argc0)) | |
2159 | return NULL; | |
2160 | if (_argc0) { | |
2161 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetMinMarginTopLeft. Expected _wxPageSetupData_p."); | |
2163 | return NULL; | |
2164 | } | |
2165 | } | |
2166 | _result = new wxPoint (wxPageSetupData_GetMinMarginTopLeft(_arg0)); | |
2167 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2168 | _resultobj = Py_BuildValue("s",_ptemp); | |
2169 | return _resultobj; | |
2170 | } | |
2171 | ||
2172 | #define wxPageSetupData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight()) | |
2173 | static PyObject *_wrap_wxPageSetupData_GetMinMarginBottomRight(PyObject *self, PyObject *args) { | |
2174 | PyObject * _resultobj; | |
2175 | wxPoint * _result; | |
2176 | wxPageSetupData * _arg0; | |
2177 | char * _argc0 = 0; | |
2178 | char _ptemp[128]; | |
2179 | ||
2180 | self = self; | |
2181 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetMinMarginBottomRight",&_argc0)) | |
2182 | return NULL; | |
2183 | if (_argc0) { | |
2184 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetMinMarginBottomRight. Expected _wxPageSetupData_p."); | |
2186 | return NULL; | |
2187 | } | |
2188 | } | |
2189 | _result = new wxPoint (wxPageSetupData_GetMinMarginBottomRight(_arg0)); | |
2190 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2191 | _resultobj = Py_BuildValue("s",_ptemp); | |
2192 | return _resultobj; | |
2193 | } | |
2194 | ||
2195 | #define wxPageSetupData_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
2196 | static PyObject *_wrap_wxPageSetupData_GetOrientation(PyObject *self, PyObject *args) { | |
2197 | PyObject * _resultobj; | |
2198 | int _result; | |
2199 | wxPageSetupData * _arg0; | |
2200 | char * _argc0 = 0; | |
2201 | ||
2202 | self = self; | |
2203 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetOrientation",&_argc0)) | |
2204 | return NULL; | |
2205 | if (_argc0) { | |
2206 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetOrientation. Expected _wxPageSetupData_p."); | |
2208 | return NULL; | |
2209 | } | |
2210 | } | |
2211 | _result = (int )wxPageSetupData_GetOrientation(_arg0); | |
2212 | _resultobj = Py_BuildValue("i",_result); | |
2213 | return _resultobj; | |
2214 | } | |
2215 | ||
2216 | #define wxPageSetupData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins()) | |
2217 | static PyObject *_wrap_wxPageSetupData_GetDefaultMinMargins(PyObject *self, PyObject *args) { | |
2218 | PyObject * _resultobj; | |
2219 | bool _result; | |
2220 | wxPageSetupData * _arg0; | |
2221 | char * _argc0 = 0; | |
2222 | ||
2223 | self = self; | |
2224 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetDefaultMinMargins",&_argc0)) | |
2225 | return NULL; | |
2226 | if (_argc0) { | |
2227 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetDefaultMinMargins. Expected _wxPageSetupData_p."); | |
2229 | return NULL; | |
2230 | } | |
2231 | } | |
2232 | _result = (bool )wxPageSetupData_GetDefaultMinMargins(_arg0); | |
2233 | _resultobj = Py_BuildValue("i",_result); | |
2234 | return _resultobj; | |
2235 | } | |
2236 | ||
2237 | #define wxPageSetupData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins()) | |
2238 | static PyObject *_wrap_wxPageSetupData_GetEnableMargins(PyObject *self, PyObject *args) { | |
2239 | PyObject * _resultobj; | |
2240 | bool _result; | |
2241 | wxPageSetupData * _arg0; | |
2242 | char * _argc0 = 0; | |
2243 | ||
2244 | self = self; | |
2245 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetEnableMargins",&_argc0)) | |
2246 | return NULL; | |
2247 | if (_argc0) { | |
2248 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetEnableMargins. Expected _wxPageSetupData_p."); | |
2250 | return NULL; | |
2251 | } | |
2252 | } | |
2253 | _result = (bool )wxPageSetupData_GetEnableMargins(_arg0); | |
2254 | _resultobj = Py_BuildValue("i",_result); | |
2255 | return _resultobj; | |
2256 | } | |
2257 | ||
2258 | #define wxPageSetupData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation()) | |
2259 | static PyObject *_wrap_wxPageSetupData_GetEnableOrientation(PyObject *self, PyObject *args) { | |
2260 | PyObject * _resultobj; | |
2261 | bool _result; | |
2262 | wxPageSetupData * _arg0; | |
2263 | char * _argc0 = 0; | |
2264 | ||
2265 | self = self; | |
2266 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetEnableOrientation",&_argc0)) | |
2267 | return NULL; | |
2268 | if (_argc0) { | |
2269 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetEnableOrientation. Expected _wxPageSetupData_p."); | |
2271 | return NULL; | |
2272 | } | |
2273 | } | |
2274 | _result = (bool )wxPageSetupData_GetEnableOrientation(_arg0); | |
2275 | _resultobj = Py_BuildValue("i",_result); | |
2276 | return _resultobj; | |
2277 | } | |
2278 | ||
2279 | #define wxPageSetupData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper()) | |
2280 | static PyObject *_wrap_wxPageSetupData_GetEnablePaper(PyObject *self, PyObject *args) { | |
2281 | PyObject * _resultobj; | |
2282 | bool _result; | |
2283 | wxPageSetupData * _arg0; | |
2284 | char * _argc0 = 0; | |
2285 | ||
2286 | self = self; | |
2287 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetEnablePaper",&_argc0)) | |
2288 | return NULL; | |
2289 | if (_argc0) { | |
2290 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetEnablePaper. Expected _wxPageSetupData_p."); | |
2292 | return NULL; | |
2293 | } | |
2294 | } | |
2295 | _result = (bool )wxPageSetupData_GetEnablePaper(_arg0); | |
2296 | _resultobj = Py_BuildValue("i",_result); | |
2297 | return _resultobj; | |
2298 | } | |
2299 | ||
2300 | #define wxPageSetupData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter()) | |
2301 | static PyObject *_wrap_wxPageSetupData_GetEnablePrinter(PyObject *self, PyObject *args) { | |
2302 | PyObject * _resultobj; | |
2303 | bool _result; | |
2304 | wxPageSetupData * _arg0; | |
2305 | char * _argc0 = 0; | |
2306 | ||
2307 | self = self; | |
2308 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetEnablePrinter",&_argc0)) | |
2309 | return NULL; | |
2310 | if (_argc0) { | |
2311 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetEnablePrinter. Expected _wxPageSetupData_p."); | |
2313 | return NULL; | |
2314 | } | |
2315 | } | |
2316 | _result = (bool )wxPageSetupData_GetEnablePrinter(_arg0); | |
2317 | _resultobj = Py_BuildValue("i",_result); | |
2318 | return _resultobj; | |
2319 | } | |
2320 | ||
2321 | #define wxPageSetupData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp()) | |
2322 | static PyObject *_wrap_wxPageSetupData_GetEnableHelp(PyObject *self, PyObject *args) { | |
2323 | PyObject * _resultobj; | |
2324 | bool _result; | |
2325 | wxPageSetupData * _arg0; | |
2326 | char * _argc0 = 0; | |
2327 | ||
2328 | self = self; | |
2329 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetEnableHelp",&_argc0)) | |
2330 | return NULL; | |
2331 | if (_argc0) { | |
2332 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetEnableHelp. Expected _wxPageSetupData_p."); | |
2334 | return NULL; | |
2335 | } | |
2336 | } | |
2337 | _result = (bool )wxPageSetupData_GetEnableHelp(_arg0); | |
2338 | _resultobj = Py_BuildValue("i",_result); | |
2339 | return _resultobj; | |
2340 | } | |
2341 | ||
2342 | #define wxPageSetupData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo()) | |
2343 | static PyObject *_wrap_wxPageSetupData_GetDefaultInfo(PyObject *self, PyObject *args) { | |
2344 | PyObject * _resultobj; | |
2345 | bool _result; | |
2346 | wxPageSetupData * _arg0; | |
2347 | char * _argc0 = 0; | |
2348 | ||
2349 | self = self; | |
2350 | if(!PyArg_ParseTuple(args,"s:wxPageSetupData_GetDefaultInfo",&_argc0)) | |
2351 | return NULL; | |
2352 | if (_argc0) { | |
2353 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_GetDefaultInfo. Expected _wxPageSetupData_p."); | |
2355 | return NULL; | |
2356 | } | |
2357 | } | |
2358 | _result = (bool )wxPageSetupData_GetDefaultInfo(_arg0); | |
2359 | _resultobj = Py_BuildValue("i",_result); | |
2360 | return _resultobj; | |
2361 | } | |
2362 | ||
2363 | #define wxPageSetupData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0)) | |
2364 | static PyObject *_wrap_wxPageSetupData_SetPaperSize(PyObject *self, PyObject *args) { | |
2365 | PyObject * _resultobj; | |
2366 | wxPageSetupData * _arg0; | |
2367 | wxPoint * _arg1; | |
2368 | char * _argc0 = 0; | |
2369 | char * _argc1 = 0; | |
2370 | ||
2371 | self = self; | |
2372 | if(!PyArg_ParseTuple(args,"ss:wxPageSetupData_SetPaperSize",&_argc0,&_argc1)) | |
2373 | return NULL; | |
2374 | if (_argc0) { | |
2375 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetPaperSize. Expected _wxPageSetupData_p."); | |
2377 | return NULL; | |
2378 | } | |
2379 | } | |
2380 | if (_argc1) { | |
2381 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupData_SetPaperSize. Expected _wxPoint_p."); | |
2383 | return NULL; | |
2384 | } | |
2385 | } | |
2386 | wxPageSetupData_SetPaperSize(_arg0,*_arg1); | |
2387 | Py_INCREF(Py_None); | |
2388 | _resultobj = Py_None; | |
2389 | return _resultobj; | |
2390 | } | |
2391 | ||
2392 | #define wxPageSetupData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0)) | |
2393 | static PyObject *_wrap_wxPageSetupData_SetMarginTopLeft(PyObject *self, PyObject *args) { | |
2394 | PyObject * _resultobj; | |
2395 | wxPageSetupData * _arg0; | |
2396 | wxPoint * _arg1; | |
2397 | char * _argc0 = 0; | |
2398 | char * _argc1 = 0; | |
2399 | ||
2400 | self = self; | |
2401 | if(!PyArg_ParseTuple(args,"ss:wxPageSetupData_SetMarginTopLeft",&_argc0,&_argc1)) | |
2402 | return NULL; | |
2403 | if (_argc0) { | |
2404 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetMarginTopLeft. Expected _wxPageSetupData_p."); | |
2406 | return NULL; | |
2407 | } | |
2408 | } | |
2409 | if (_argc1) { | |
2410 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupData_SetMarginTopLeft. Expected _wxPoint_p."); | |
2412 | return NULL; | |
2413 | } | |
2414 | } | |
2415 | wxPageSetupData_SetMarginTopLeft(_arg0,*_arg1); | |
2416 | Py_INCREF(Py_None); | |
2417 | _resultobj = Py_None; | |
2418 | return _resultobj; | |
2419 | } | |
2420 | ||
2421 | #define wxPageSetupData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0)) | |
2422 | static PyObject *_wrap_wxPageSetupData_SetMarginBottomRight(PyObject *self, PyObject *args) { | |
2423 | PyObject * _resultobj; | |
2424 | wxPageSetupData * _arg0; | |
2425 | wxPoint * _arg1; | |
2426 | char * _argc0 = 0; | |
2427 | char * _argc1 = 0; | |
2428 | ||
2429 | self = self; | |
2430 | if(!PyArg_ParseTuple(args,"ss:wxPageSetupData_SetMarginBottomRight",&_argc0,&_argc1)) | |
2431 | return NULL; | |
2432 | if (_argc0) { | |
2433 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetMarginBottomRight. Expected _wxPageSetupData_p."); | |
2435 | return NULL; | |
2436 | } | |
2437 | } | |
2438 | if (_argc1) { | |
2439 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupData_SetMarginBottomRight. Expected _wxPoint_p."); | |
2441 | return NULL; | |
2442 | } | |
2443 | } | |
2444 | wxPageSetupData_SetMarginBottomRight(_arg0,*_arg1); | |
2445 | Py_INCREF(Py_None); | |
2446 | _resultobj = Py_None; | |
2447 | return _resultobj; | |
2448 | } | |
2449 | ||
2450 | #define wxPageSetupData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0)) | |
2451 | static PyObject *_wrap_wxPageSetupData_SetMinMarginTopLeft(PyObject *self, PyObject *args) { | |
2452 | PyObject * _resultobj; | |
2453 | wxPageSetupData * _arg0; | |
2454 | wxPoint * _arg1; | |
2455 | char * _argc0 = 0; | |
2456 | char * _argc1 = 0; | |
2457 | ||
2458 | self = self; | |
2459 | if(!PyArg_ParseTuple(args,"ss:wxPageSetupData_SetMinMarginTopLeft",&_argc0,&_argc1)) | |
2460 | return NULL; | |
2461 | if (_argc0) { | |
2462 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetMinMarginTopLeft. Expected _wxPageSetupData_p."); | |
2464 | return NULL; | |
2465 | } | |
2466 | } | |
2467 | if (_argc1) { | |
2468 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupData_SetMinMarginTopLeft. Expected _wxPoint_p."); | |
2470 | return NULL; | |
2471 | } | |
2472 | } | |
2473 | wxPageSetupData_SetMinMarginTopLeft(_arg0,*_arg1); | |
2474 | Py_INCREF(Py_None); | |
2475 | _resultobj = Py_None; | |
2476 | return _resultobj; | |
2477 | } | |
2478 | ||
2479 | #define wxPageSetupData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0)) | |
2480 | static PyObject *_wrap_wxPageSetupData_SetMinMarginBottomRight(PyObject *self, PyObject *args) { | |
2481 | PyObject * _resultobj; | |
2482 | wxPageSetupData * _arg0; | |
2483 | wxPoint * _arg1; | |
2484 | char * _argc0 = 0; | |
2485 | char * _argc1 = 0; | |
2486 | ||
2487 | self = self; | |
2488 | if(!PyArg_ParseTuple(args,"ss:wxPageSetupData_SetMinMarginBottomRight",&_argc0,&_argc1)) | |
2489 | return NULL; | |
2490 | if (_argc0) { | |
2491 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetMinMarginBottomRight. Expected _wxPageSetupData_p."); | |
2493 | return NULL; | |
2494 | } | |
2495 | } | |
2496 | if (_argc1) { | |
2497 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupData_SetMinMarginBottomRight. Expected _wxPoint_p."); | |
2499 | return NULL; | |
2500 | } | |
2501 | } | |
2502 | wxPageSetupData_SetMinMarginBottomRight(_arg0,*_arg1); | |
2503 | Py_INCREF(Py_None); | |
2504 | _resultobj = Py_None; | |
2505 | return _resultobj; | |
2506 | } | |
2507 | ||
2508 | #define wxPageSetupData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0)) | |
2509 | static PyObject *_wrap_wxPageSetupData_SetOrientation(PyObject *self, PyObject *args) { | |
2510 | PyObject * _resultobj; | |
2511 | wxPageSetupData * _arg0; | |
2512 | int _arg1; | |
2513 | char * _argc0 = 0; | |
2514 | ||
2515 | self = self; | |
2516 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_SetOrientation",&_argc0,&_arg1)) | |
2517 | return NULL; | |
2518 | if (_argc0) { | |
2519 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetOrientation. Expected _wxPageSetupData_p."); | |
2521 | return NULL; | |
2522 | } | |
2523 | } | |
2524 | wxPageSetupData_SetOrientation(_arg0,_arg1); | |
2525 | Py_INCREF(Py_None); | |
2526 | _resultobj = Py_None; | |
2527 | return _resultobj; | |
2528 | } | |
2529 | ||
2530 | #define wxPageSetupData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0)) | |
2531 | static PyObject *_wrap_wxPageSetupData_SetDefaultMinMargins(PyObject *self, PyObject *args) { | |
2532 | PyObject * _resultobj; | |
2533 | wxPageSetupData * _arg0; | |
2534 | bool _arg1; | |
2535 | char * _argc0 = 0; | |
2536 | int tempbool1; | |
2537 | ||
2538 | self = self; | |
2539 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_SetDefaultMinMargins",&_argc0,&tempbool1)) | |
2540 | return NULL; | |
2541 | if (_argc0) { | |
2542 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetDefaultMinMargins. Expected _wxPageSetupData_p."); | |
2544 | return NULL; | |
2545 | } | |
2546 | } | |
2547 | _arg1 = (bool ) tempbool1; | |
2548 | wxPageSetupData_SetDefaultMinMargins(_arg0,_arg1); | |
2549 | Py_INCREF(Py_None); | |
2550 | _resultobj = Py_None; | |
2551 | return _resultobj; | |
2552 | } | |
2553 | ||
2554 | #define wxPageSetupData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0)) | |
2555 | static PyObject *_wrap_wxPageSetupData_SetDefaultInfo(PyObject *self, PyObject *args) { | |
2556 | PyObject * _resultobj; | |
2557 | wxPageSetupData * _arg0; | |
2558 | bool _arg1; | |
2559 | char * _argc0 = 0; | |
2560 | int tempbool1; | |
2561 | ||
2562 | self = self; | |
2563 | if(!PyArg_ParseTuple(args,"si:wxPageSetupData_SetDefaultInfo",&_argc0,&tempbool1)) | |
2564 | return NULL; | |
2565 | if (_argc0) { | |
2566 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupData_p")) { | |
2567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupData_SetDefaultInfo. Expected _wxPageSetupData_p."); | |
2568 | return NULL; | |
2569 | } | |
2570 | } | |
2571 | _arg1 = (bool ) tempbool1; | |
2572 | wxPageSetupData_SetDefaultInfo(_arg0,_arg1); | |
2573 | Py_INCREF(Py_None); | |
2574 | _resultobj = Py_None; | |
2575 | return _resultobj; | |
2576 | } | |
2577 | ||
2578 | static void *SwigwxPageSetupDialogTowxDialog(void *ptr) { | |
2579 | wxPageSetupDialog *src; | |
2580 | wxDialog *dest; | |
2581 | src = (wxPageSetupDialog *) ptr; | |
2582 | dest = (wxDialog *) src; | |
2583 | return (void *) dest; | |
2584 | } | |
2585 | ||
2586 | static void *SwigwxPageSetupDialogTowxPanel(void *ptr) { | |
2587 | wxPageSetupDialog *src; | |
2588 | wxPanel *dest; | |
2589 | src = (wxPageSetupDialog *) ptr; | |
2590 | dest = (wxPanel *) src; | |
2591 | return (void *) dest; | |
2592 | } | |
2593 | ||
2594 | static void *SwigwxPageSetupDialogTowxWindow(void *ptr) { | |
2595 | wxPageSetupDialog *src; | |
2596 | wxWindow *dest; | |
2597 | src = (wxPageSetupDialog *) ptr; | |
2598 | dest = (wxWindow *) src; | |
2599 | return (void *) dest; | |
2600 | } | |
2601 | ||
2602 | static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) { | |
2603 | wxPageSetupDialog *src; | |
2604 | wxEvtHandler *dest; | |
2605 | src = (wxPageSetupDialog *) ptr; | |
2606 | dest = (wxEvtHandler *) src; | |
2607 | return (void *) dest; | |
2608 | } | |
2609 | ||
2610 | #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1)) | |
2611 | static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args) { | |
2612 | PyObject * _resultobj; | |
2613 | wxPageSetupDialog * _result; | |
2614 | wxWindow * _arg0; | |
2615 | wxPageSetupData * _arg1 = NULL; | |
2616 | char * _argc0 = 0; | |
2617 | char * _argc1 = 0; | |
2618 | char _ptemp[128]; | |
2619 | ||
2620 | self = self; | |
2621 | if(!PyArg_ParseTuple(args,"s|s:new_wxPageSetupDialog",&_argc0,&_argc1)) | |
2622 | return NULL; | |
2623 | if (_argc0) { | |
2624 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p."); | |
2626 | return NULL; | |
2627 | } | |
2628 | } | |
2629 | if (_argc1) { | |
2630 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPageSetupData_p")) { | |
2631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupData_p."); | |
2632 | return NULL; | |
2633 | } | |
2634 | } | |
2635 | _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1); | |
2636 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p"); | |
2637 | _resultobj = Py_BuildValue("s",_ptemp); | |
2638 | return _resultobj; | |
2639 | } | |
2640 | ||
2641 | #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData()) | |
2642 | static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args) { | |
2643 | PyObject * _resultobj; | |
2644 | wxPageSetupData * _result; | |
2645 | wxPageSetupDialog * _arg0; | |
2646 | char * _argc0 = 0; | |
2647 | char _ptemp[128]; | |
2648 | ||
2649 | self = self; | |
2650 | if(!PyArg_ParseTuple(args,"s:wxPageSetupDialog_GetPageSetupData",&_argc0)) | |
2651 | return NULL; | |
2652 | if (_argc0) { | |
2653 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupDialog_p")) { | |
2654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p."); | |
2655 | return NULL; | |
2656 | } | |
2657 | } | |
2658 | wxPageSetupData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0); | |
2659 | _result = (wxPageSetupData *) &_result_ref; | |
2660 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupData_p"); | |
2661 | _resultobj = Py_BuildValue("s",_ptemp); | |
2662 | return _resultobj; | |
2663 | } | |
2664 | ||
2665 | #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
2666 | static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args) { | |
2667 | PyObject * _resultobj; | |
2668 | int _result; | |
2669 | wxPageSetupDialog * _arg0; | |
2670 | char * _argc0 = 0; | |
2671 | ||
2672 | self = self; | |
2673 | if(!PyArg_ParseTuple(args,"s:wxPageSetupDialog_ShowModal",&_argc0)) | |
2674 | return NULL; | |
2675 | if (_argc0) { | |
2676 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPageSetupDialog_p")) { | |
2677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p."); | |
2678 | return NULL; | |
2679 | } | |
2680 | } | |
2681 | _result = (int )wxPageSetupDialog_ShowModal(_arg0); | |
2682 | _resultobj = Py_BuildValue("i",_result); | |
2683 | return _resultobj; | |
2684 | } | |
2685 | ||
2686 | #define new_wxPrintData() (new wxPrintData()) | |
2687 | static PyObject *_wrap_new_wxPrintData(PyObject *self, PyObject *args) { | |
2688 | PyObject * _resultobj; | |
2689 | wxPrintData * _result; | |
2690 | char _ptemp[128]; | |
2691 | ||
2692 | self = self; | |
2693 | if(!PyArg_ParseTuple(args,":new_wxPrintData")) | |
2694 | return NULL; | |
2695 | _result = (wxPrintData *)new_wxPrintData(); | |
2696 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
2697 | _resultobj = Py_BuildValue("s",_ptemp); | |
2698 | return _resultobj; | |
2699 | } | |
2700 | ||
2701 | #define delete_wxPrintData(_swigobj) (delete _swigobj) | |
2702 | static PyObject *_wrap_delete_wxPrintData(PyObject *self, PyObject *args) { | |
2703 | PyObject * _resultobj; | |
2704 | wxPrintData * _arg0; | |
2705 | char * _argc0 = 0; | |
2706 | ||
2707 | self = self; | |
2708 | if(!PyArg_ParseTuple(args,"s:delete_wxPrintData",&_argc0)) | |
2709 | return NULL; | |
2710 | if (_argc0) { | |
2711 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p."); | |
2713 | return NULL; | |
2714 | } | |
2715 | } | |
2716 | delete_wxPrintData(_arg0); | |
2717 | Py_INCREF(Py_None); | |
2718 | _resultobj = Py_None; | |
2719 | return _resultobj; | |
2720 | } | |
2721 | ||
2722 | #define wxPrintData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0)) | |
2723 | static PyObject *_wrap_wxPrintData_EnableHelp(PyObject *self, PyObject *args) { | |
2724 | PyObject * _resultobj; | |
2725 | wxPrintData * _arg0; | |
2726 | bool _arg1; | |
2727 | char * _argc0 = 0; | |
2728 | int tempbool1; | |
2729 | ||
2730 | self = self; | |
2731 | if(!PyArg_ParseTuple(args,"si:wxPrintData_EnableHelp",&_argc0,&tempbool1)) | |
2732 | return NULL; | |
2733 | if (_argc0) { | |
2734 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_EnableHelp. Expected _wxPrintData_p."); | |
2736 | return NULL; | |
2737 | } | |
2738 | } | |
2739 | _arg1 = (bool ) tempbool1; | |
2740 | wxPrintData_EnableHelp(_arg0,_arg1); | |
2741 | Py_INCREF(Py_None); | |
2742 | _resultobj = Py_None; | |
2743 | return _resultobj; | |
2744 | } | |
2745 | ||
2746 | #define wxPrintData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0)) | |
2747 | static PyObject *_wrap_wxPrintData_EnablePageNumbers(PyObject *self, PyObject *args) { | |
2748 | PyObject * _resultobj; | |
2749 | wxPrintData * _arg0; | |
2750 | bool _arg1; | |
2751 | char * _argc0 = 0; | |
2752 | int tempbool1; | |
2753 | ||
2754 | self = self; | |
2755 | if(!PyArg_ParseTuple(args,"si:wxPrintData_EnablePageNumbers",&_argc0,&tempbool1)) | |
2756 | return NULL; | |
2757 | if (_argc0) { | |
2758 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_EnablePageNumbers. Expected _wxPrintData_p."); | |
2760 | return NULL; | |
2761 | } | |
2762 | } | |
2763 | _arg1 = (bool ) tempbool1; | |
2764 | wxPrintData_EnablePageNumbers(_arg0,_arg1); | |
2765 | Py_INCREF(Py_None); | |
2766 | _resultobj = Py_None; | |
2767 | return _resultobj; | |
2768 | } | |
2769 | ||
2770 | #define wxPrintData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0)) | |
2771 | static PyObject *_wrap_wxPrintData_EnablePrintToFile(PyObject *self, PyObject *args) { | |
2772 | PyObject * _resultobj; | |
2773 | wxPrintData * _arg0; | |
2774 | bool _arg1; | |
2775 | char * _argc0 = 0; | |
2776 | int tempbool1; | |
2777 | ||
2778 | self = self; | |
2779 | if(!PyArg_ParseTuple(args,"si:wxPrintData_EnablePrintToFile",&_argc0,&tempbool1)) | |
2780 | return NULL; | |
2781 | if (_argc0) { | |
2782 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_EnablePrintToFile. Expected _wxPrintData_p."); | |
2784 | return NULL; | |
2785 | } | |
2786 | } | |
2787 | _arg1 = (bool ) tempbool1; | |
2788 | wxPrintData_EnablePrintToFile(_arg0,_arg1); | |
2789 | Py_INCREF(Py_None); | |
2790 | _resultobj = Py_None; | |
2791 | return _resultobj; | |
2792 | } | |
2793 | ||
2794 | #define wxPrintData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0)) | |
2795 | static PyObject *_wrap_wxPrintData_EnableSelection(PyObject *self, PyObject *args) { | |
2796 | PyObject * _resultobj; | |
2797 | wxPrintData * _arg0; | |
2798 | bool _arg1; | |
2799 | char * _argc0 = 0; | |
2800 | int tempbool1; | |
2801 | ||
2802 | self = self; | |
2803 | if(!PyArg_ParseTuple(args,"si:wxPrintData_EnableSelection",&_argc0,&tempbool1)) | |
2804 | return NULL; | |
2805 | if (_argc0) { | |
2806 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_EnableSelection. Expected _wxPrintData_p."); | |
2808 | return NULL; | |
2809 | } | |
2810 | } | |
2811 | _arg1 = (bool ) tempbool1; | |
2812 | wxPrintData_EnableSelection(_arg0,_arg1); | |
2813 | Py_INCREF(Py_None); | |
2814 | _resultobj = Py_None; | |
2815 | return _resultobj; | |
2816 | } | |
2817 | ||
2818 | #define wxPrintData_GetAllPages(_swigobj) (_swigobj->GetAllPages()) | |
2819 | static PyObject *_wrap_wxPrintData_GetAllPages(PyObject *self, PyObject *args) { | |
2820 | PyObject * _resultobj; | |
2821 | bool _result; | |
2822 | wxPrintData * _arg0; | |
2823 | char * _argc0 = 0; | |
2824 | ||
2825 | self = self; | |
2826 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetAllPages",&_argc0)) | |
2827 | return NULL; | |
2828 | if (_argc0) { | |
2829 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetAllPages. Expected _wxPrintData_p."); | |
2831 | return NULL; | |
2832 | } | |
2833 | } | |
2834 | _result = (bool )wxPrintData_GetAllPages(_arg0); | |
2835 | _resultobj = Py_BuildValue("i",_result); | |
2836 | return _resultobj; | |
2837 | } | |
2838 | ||
2839 | #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate()) | |
2840 | static PyObject *_wrap_wxPrintData_GetCollate(PyObject *self, PyObject *args) { | |
2841 | PyObject * _resultobj; | |
2842 | bool _result; | |
2843 | wxPrintData * _arg0; | |
2844 | char * _argc0 = 0; | |
2845 | ||
2846 | self = self; | |
2847 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetCollate",&_argc0)) | |
2848 | return NULL; | |
2849 | if (_argc0) { | |
2850 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p."); | |
2852 | return NULL; | |
2853 | } | |
2854 | } | |
2855 | _result = (bool )wxPrintData_GetCollate(_arg0); | |
2856 | _resultobj = Py_BuildValue("i",_result); | |
2857 | return _resultobj; | |
2858 | } | |
2859 | ||
2860 | #define wxPrintData_GetFromPage(_swigobj) (_swigobj->GetFromPage()) | |
2861 | static PyObject *_wrap_wxPrintData_GetFromPage(PyObject *self, PyObject *args) { | |
2862 | PyObject * _resultobj; | |
2863 | int _result; | |
2864 | wxPrintData * _arg0; | |
2865 | char * _argc0 = 0; | |
2866 | ||
2867 | self = self; | |
2868 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetFromPage",&_argc0)) | |
2869 | return NULL; | |
2870 | if (_argc0) { | |
2871 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFromPage. Expected _wxPrintData_p."); | |
2873 | return NULL; | |
2874 | } | |
2875 | } | |
2876 | _result = (int )wxPrintData_GetFromPage(_arg0); | |
2877 | _resultobj = Py_BuildValue("i",_result); | |
2878 | return _resultobj; | |
2879 | } | |
2880 | ||
2881 | #define wxPrintData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage()) | |
2882 | static PyObject *_wrap_wxPrintData_GetMaxPage(PyObject *self, PyObject *args) { | |
2883 | PyObject * _resultobj; | |
2884 | int _result; | |
2885 | wxPrintData * _arg0; | |
2886 | char * _argc0 = 0; | |
2887 | ||
2888 | self = self; | |
2889 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetMaxPage",&_argc0)) | |
2890 | return NULL; | |
2891 | if (_argc0) { | |
2892 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetMaxPage. Expected _wxPrintData_p."); | |
2894 | return NULL; | |
2895 | } | |
2896 | } | |
2897 | _result = (int )wxPrintData_GetMaxPage(_arg0); | |
2898 | _resultobj = Py_BuildValue("i",_result); | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
2902 | #define wxPrintData_GetMinPage(_swigobj) (_swigobj->GetMinPage()) | |
2903 | static PyObject *_wrap_wxPrintData_GetMinPage(PyObject *self, PyObject *args) { | |
2904 | PyObject * _resultobj; | |
2905 | int _result; | |
2906 | wxPrintData * _arg0; | |
2907 | char * _argc0 = 0; | |
2908 | ||
2909 | self = self; | |
2910 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetMinPage",&_argc0)) | |
2911 | return NULL; | |
2912 | if (_argc0) { | |
2913 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetMinPage. Expected _wxPrintData_p."); | |
2915 | return NULL; | |
2916 | } | |
2917 | } | |
2918 | _result = (int )wxPrintData_GetMinPage(_arg0); | |
2919 | _resultobj = Py_BuildValue("i",_result); | |
2920 | return _resultobj; | |
2921 | } | |
2922 | ||
2923 | #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies()) | |
2924 | static PyObject *_wrap_wxPrintData_GetNoCopies(PyObject *self, PyObject *args) { | |
2925 | PyObject * _resultobj; | |
2926 | int _result; | |
2927 | wxPrintData * _arg0; | |
2928 | char * _argc0 = 0; | |
2929 | ||
2930 | self = self; | |
2931 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetNoCopies",&_argc0)) | |
2932 | return NULL; | |
2933 | if (_argc0) { | |
2934 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p."); | |
2936 | return NULL; | |
2937 | } | |
2938 | } | |
2939 | _result = (int )wxPrintData_GetNoCopies(_arg0); | |
2940 | _resultobj = Py_BuildValue("i",_result); | |
2941 | return _resultobj; | |
2942 | } | |
2943 | ||
2944 | #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
2945 | static PyObject *_wrap_wxPrintData_GetOrientation(PyObject *self, PyObject *args) { | |
2946 | PyObject * _resultobj; | |
2947 | int _result; | |
2948 | wxPrintData * _arg0; | |
2949 | char * _argc0 = 0; | |
2950 | ||
2951 | self = self; | |
2952 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetOrientation",&_argc0)) | |
2953 | return NULL; | |
2954 | if (_argc0) { | |
2955 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p."); | |
2957 | return NULL; | |
2958 | } | |
2959 | } | |
2960 | _result = (int )wxPrintData_GetOrientation(_arg0); | |
2961 | _resultobj = Py_BuildValue("i",_result); | |
2962 | return _resultobj; | |
2963 | } | |
2964 | ||
2965 | #define wxPrintData_GetToPage(_swigobj) (_swigobj->GetToPage()) | |
2966 | static PyObject *_wrap_wxPrintData_GetToPage(PyObject *self, PyObject *args) { | |
2967 | PyObject * _resultobj; | |
2968 | int _result; | |
2969 | wxPrintData * _arg0; | |
2970 | char * _argc0 = 0; | |
2971 | ||
2972 | self = self; | |
2973 | if(!PyArg_ParseTuple(args,"s:wxPrintData_GetToPage",&_argc0)) | |
2974 | return NULL; | |
2975 | if (_argc0) { | |
2976 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetToPage. Expected _wxPrintData_p."); | |
2978 | return NULL; | |
2979 | } | |
2980 | } | |
2981 | _result = (int )wxPrintData_GetToPage(_arg0); | |
2982 | _resultobj = Py_BuildValue("i",_result); | |
2983 | return _resultobj; | |
2984 | } | |
2985 | ||
2986 | #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0)) | |
2987 | static PyObject *_wrap_wxPrintData_SetCollate(PyObject *self, PyObject *args) { | |
2988 | PyObject * _resultobj; | |
2989 | wxPrintData * _arg0; | |
2990 | bool _arg1; | |
2991 | char * _argc0 = 0; | |
2992 | int tempbool1; | |
2993 | ||
2994 | self = self; | |
2995 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetCollate",&_argc0,&tempbool1)) | |
2996 | return NULL; | |
2997 | if (_argc0) { | |
2998 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
2999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p."); | |
3000 | return NULL; | |
3001 | } | |
3002 | } | |
3003 | _arg1 = (bool ) tempbool1; | |
3004 | wxPrintData_SetCollate(_arg0,_arg1); | |
3005 | Py_INCREF(Py_None); | |
3006 | _resultobj = Py_None; | |
3007 | return _resultobj; | |
3008 | } | |
3009 | ||
3010 | #define wxPrintData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0)) | |
3011 | static PyObject *_wrap_wxPrintData_SetFromPage(PyObject *self, PyObject *args) { | |
3012 | PyObject * _resultobj; | |
3013 | wxPrintData * _arg0; | |
3014 | int _arg1; | |
3015 | char * _argc0 = 0; | |
3016 | ||
3017 | self = self; | |
3018 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetFromPage",&_argc0,&_arg1)) | |
3019 | return NULL; | |
3020 | if (_argc0) { | |
3021 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFromPage. Expected _wxPrintData_p."); | |
3023 | return NULL; | |
3024 | } | |
3025 | } | |
3026 | wxPrintData_SetFromPage(_arg0,_arg1); | |
3027 | Py_INCREF(Py_None); | |
3028 | _resultobj = Py_None; | |
3029 | return _resultobj; | |
3030 | } | |
3031 | ||
3032 | #define wxPrintData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0)) | |
3033 | static PyObject *_wrap_wxPrintData_SetMaxPage(PyObject *self, PyObject *args) { | |
3034 | PyObject * _resultobj; | |
3035 | wxPrintData * _arg0; | |
3036 | int _arg1; | |
3037 | char * _argc0 = 0; | |
3038 | ||
3039 | self = self; | |
3040 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetMaxPage",&_argc0,&_arg1)) | |
3041 | return NULL; | |
3042 | if (_argc0) { | |
3043 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetMaxPage. Expected _wxPrintData_p."); | |
3045 | return NULL; | |
3046 | } | |
3047 | } | |
3048 | wxPrintData_SetMaxPage(_arg0,_arg1); | |
3049 | Py_INCREF(Py_None); | |
3050 | _resultobj = Py_None; | |
3051 | return _resultobj; | |
3052 | } | |
3053 | ||
3054 | #define wxPrintData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0)) | |
3055 | static PyObject *_wrap_wxPrintData_SetMinPage(PyObject *self, PyObject *args) { | |
3056 | PyObject * _resultobj; | |
3057 | wxPrintData * _arg0; | |
3058 | int _arg1; | |
3059 | char * _argc0 = 0; | |
3060 | ||
3061 | self = self; | |
3062 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetMinPage",&_argc0,&_arg1)) | |
3063 | return NULL; | |
3064 | if (_argc0) { | |
3065 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetMinPage. Expected _wxPrintData_p."); | |
3067 | return NULL; | |
3068 | } | |
3069 | } | |
3070 | wxPrintData_SetMinPage(_arg0,_arg1); | |
3071 | Py_INCREF(Py_None); | |
3072 | _resultobj = Py_None; | |
3073 | return _resultobj; | |
3074 | } | |
3075 | ||
3076 | #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0)) | |
3077 | static PyObject *_wrap_wxPrintData_SetOrientation(PyObject *self, PyObject *args) { | |
3078 | PyObject * _resultobj; | |
3079 | wxPrintData * _arg0; | |
3080 | int _arg1; | |
3081 | char * _argc0 = 0; | |
3082 | ||
3083 | self = self; | |
3084 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetOrientation",&_argc0,&_arg1)) | |
3085 | return NULL; | |
3086 | if (_argc0) { | |
3087 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p."); | |
3089 | return NULL; | |
3090 | } | |
3091 | } | |
3092 | wxPrintData_SetOrientation(_arg0,_arg1); | |
3093 | Py_INCREF(Py_None); | |
3094 | _resultobj = Py_None; | |
3095 | return _resultobj; | |
3096 | } | |
3097 | ||
3098 | #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0)) | |
3099 | static PyObject *_wrap_wxPrintData_SetNoCopies(PyObject *self, PyObject *args) { | |
3100 | PyObject * _resultobj; | |
3101 | wxPrintData * _arg0; | |
3102 | int _arg1; | |
3103 | char * _argc0 = 0; | |
3104 | ||
3105 | self = self; | |
3106 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetNoCopies",&_argc0,&_arg1)) | |
3107 | return NULL; | |
3108 | if (_argc0) { | |
3109 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p."); | |
3111 | return NULL; | |
3112 | } | |
3113 | } | |
3114 | wxPrintData_SetNoCopies(_arg0,_arg1); | |
3115 | Py_INCREF(Py_None); | |
3116 | _resultobj = Py_None; | |
3117 | return _resultobj; | |
3118 | } | |
3119 | ||
3120 | #define wxPrintData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0)) | |
3121 | static PyObject *_wrap_wxPrintData_SetPrintToFile(PyObject *self, PyObject *args) { | |
3122 | PyObject * _resultobj; | |
3123 | wxPrintData * _arg0; | |
3124 | bool _arg1; | |
3125 | char * _argc0 = 0; | |
3126 | int tempbool1; | |
3127 | ||
3128 | self = self; | |
3129 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetPrintToFile",&_argc0,&tempbool1)) | |
3130 | return NULL; | |
3131 | if (_argc0) { | |
3132 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrintToFile. Expected _wxPrintData_p."); | |
3134 | return NULL; | |
3135 | } | |
3136 | } | |
3137 | _arg1 = (bool ) tempbool1; | |
3138 | wxPrintData_SetPrintToFile(_arg0,_arg1); | |
3139 | Py_INCREF(Py_None); | |
3140 | _resultobj = Py_None; | |
3141 | return _resultobj; | |
3142 | } | |
3143 | ||
3144 | #define wxPrintData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0)) | |
3145 | static PyObject *_wrap_wxPrintData_SetSetupDialog(PyObject *self, PyObject *args) { | |
3146 | PyObject * _resultobj; | |
3147 | wxPrintData * _arg0; | |
3148 | bool _arg1; | |
3149 | char * _argc0 = 0; | |
3150 | int tempbool1; | |
3151 | ||
3152 | self = self; | |
3153 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetSetupDialog",&_argc0,&tempbool1)) | |
3154 | return NULL; | |
3155 | if (_argc0) { | |
3156 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetSetupDialog. Expected _wxPrintData_p."); | |
3158 | return NULL; | |
3159 | } | |
3160 | } | |
3161 | _arg1 = (bool ) tempbool1; | |
3162 | wxPrintData_SetSetupDialog(_arg0,_arg1); | |
3163 | Py_INCREF(Py_None); | |
3164 | _resultobj = Py_None; | |
3165 | return _resultobj; | |
3166 | } | |
3167 | ||
3168 | #define wxPrintData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0)) | |
3169 | static PyObject *_wrap_wxPrintData_SetToPage(PyObject *self, PyObject *args) { | |
3170 | PyObject * _resultobj; | |
3171 | wxPrintData * _arg0; | |
3172 | int _arg1; | |
3173 | char * _argc0 = 0; | |
3174 | ||
3175 | self = self; | |
3176 | if(!PyArg_ParseTuple(args,"si:wxPrintData_SetToPage",&_argc0,&_arg1)) | |
3177 | return NULL; | |
3178 | if (_argc0) { | |
3179 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintData_p")) { | |
3180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetToPage. Expected _wxPrintData_p."); | |
3181 | return NULL; | |
3182 | } | |
3183 | } | |
3184 | wxPrintData_SetToPage(_arg0,_arg1); | |
3185 | Py_INCREF(Py_None); | |
3186 | _resultobj = Py_None; | |
3187 | return _resultobj; | |
3188 | } | |
3189 | ||
3190 | static void *SwigwxPrintDialogTowxDialog(void *ptr) { | |
3191 | wxPrintDialog *src; | |
3192 | wxDialog *dest; | |
3193 | src = (wxPrintDialog *) ptr; | |
3194 | dest = (wxDialog *) src; | |
3195 | return (void *) dest; | |
3196 | } | |
3197 | ||
3198 | static void *SwigwxPrintDialogTowxPanel(void *ptr) { | |
3199 | wxPrintDialog *src; | |
3200 | wxPanel *dest; | |
3201 | src = (wxPrintDialog *) ptr; | |
3202 | dest = (wxPanel *) src; | |
3203 | return (void *) dest; | |
3204 | } | |
3205 | ||
3206 | static void *SwigwxPrintDialogTowxWindow(void *ptr) { | |
3207 | wxPrintDialog *src; | |
3208 | wxWindow *dest; | |
3209 | src = (wxPrintDialog *) ptr; | |
3210 | dest = (wxWindow *) src; | |
3211 | return (void *) dest; | |
3212 | } | |
3213 | ||
3214 | static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) { | |
3215 | wxPrintDialog *src; | |
3216 | wxEvtHandler *dest; | |
3217 | src = (wxPrintDialog *) ptr; | |
3218 | dest = (wxEvtHandler *) src; | |
3219 | return (void *) dest; | |
3220 | } | |
3221 | ||
3222 | #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1)) | |
3223 | static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args) { | |
3224 | PyObject * _resultobj; | |
3225 | wxPrintDialog * _result; | |
3226 | wxWindow * _arg0; | |
3227 | wxPrintData * _arg1 = NULL; | |
3228 | char * _argc0 = 0; | |
3229 | char * _argc1 = 0; | |
3230 | char _ptemp[128]; | |
3231 | ||
3232 | self = self; | |
3233 | if(!PyArg_ParseTuple(args,"s|s:new_wxPrintDialog",&_argc0,&_argc1)) | |
3234 | return NULL; | |
3235 | if (_argc0) { | |
3236 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
3237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p."); | |
3238 | return NULL; | |
3239 | } | |
3240 | } | |
3241 | if (_argc1) { | |
3242 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPrintData_p")) { | |
3243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintData_p."); | |
3244 | return NULL; | |
3245 | } | |
3246 | } | |
3247 | _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1); | |
3248 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p"); | |
3249 | _resultobj = Py_BuildValue("s",_ptemp); | |
3250 | return _resultobj; | |
3251 | } | |
3252 | ||
3253 | #define wxPrintDialog_GetPrintData(_swigobj) (_swigobj->GetPrintData()) | |
3254 | static PyObject *_wrap_wxPrintDialog_GetPrintData(PyObject *self, PyObject *args) { | |
3255 | PyObject * _resultobj; | |
3256 | wxPrintData * _result; | |
3257 | wxPrintDialog * _arg0; | |
3258 | char * _argc0 = 0; | |
3259 | char _ptemp[128]; | |
3260 | ||
3261 | self = self; | |
3262 | if(!PyArg_ParseTuple(args,"s:wxPrintDialog_GetPrintData",&_argc0)) | |
3263 | return NULL; | |
3264 | if (_argc0) { | |
3265 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
3266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintData. Expected _wxPrintDialog_p."); | |
3267 | return NULL; | |
3268 | } | |
3269 | } | |
3270 | wxPrintData & _result_ref = wxPrintDialog_GetPrintData(_arg0); | |
3271 | _result = (wxPrintData *) &_result_ref; | |
3272 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
3273 | _resultobj = Py_BuildValue("s",_ptemp); | |
3274 | return _resultobj; | |
3275 | } | |
3276 | ||
3277 | #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC()) | |
3278 | static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args) { | |
3279 | PyObject * _resultobj; | |
3280 | wxDC * _result; | |
3281 | wxPrintDialog * _arg0; | |
3282 | char * _argc0 = 0; | |
3283 | char _ptemp[128]; | |
3284 | ||
3285 | self = self; | |
3286 | if(!PyArg_ParseTuple(args,"s:wxPrintDialog_GetPrintDC",&_argc0)) | |
3287 | return NULL; | |
3288 | if (_argc0) { | |
3289 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
3290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p."); | |
3291 | return NULL; | |
3292 | } | |
3293 | } | |
3294 | _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0); | |
3295 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
3296 | _resultobj = Py_BuildValue("s",_ptemp); | |
3297 | return _resultobj; | |
3298 | } | |
3299 | ||
3300 | #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
3301 | static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args) { | |
3302 | PyObject * _resultobj; | |
3303 | int _result; | |
3304 | wxPrintDialog * _arg0; | |
3305 | char * _argc0 = 0; | |
3306 | ||
3307 | self = self; | |
3308 | if(!PyArg_ParseTuple(args,"s:wxPrintDialog_ShowModal",&_argc0)) | |
3309 | return NULL; | |
3310 | if (_argc0) { | |
3311 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
3312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p."); | |
3313 | return NULL; | |
3314 | } | |
3315 | } | |
3316 | _result = (int )wxPrintDialog_ShowModal(_arg0); | |
3317 | _resultobj = Py_BuildValue("i",_result); | |
3318 | return _resultobj; | |
3319 | } | |
3320 | ||
3321 | static void *SwigwxMessageDialogTowxDialog(void *ptr) { | |
3322 | wxMessageDialog *src; | |
3323 | wxDialog *dest; | |
3324 | src = (wxMessageDialog *) ptr; | |
3325 | dest = (wxDialog *) src; | |
3326 | return (void *) dest; | |
3327 | } | |
3328 | ||
3329 | static void *SwigwxMessageDialogTowxPanel(void *ptr) { | |
3330 | wxMessageDialog *src; | |
3331 | wxPanel *dest; | |
3332 | src = (wxMessageDialog *) ptr; | |
3333 | dest = (wxPanel *) src; | |
3334 | return (void *) dest; | |
3335 | } | |
3336 | ||
3337 | static void *SwigwxMessageDialogTowxWindow(void *ptr) { | |
3338 | wxMessageDialog *src; | |
3339 | wxWindow *dest; | |
3340 | src = (wxMessageDialog *) ptr; | |
3341 | dest = (wxWindow *) src; | |
3342 | return (void *) dest; | |
3343 | } | |
3344 | ||
3345 | static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) { | |
3346 | wxMessageDialog *src; | |
3347 | wxEvtHandler *dest; | |
3348 | src = (wxMessageDialog *) ptr; | |
3349 | dest = (wxEvtHandler *) src; | |
3350 | return (void *) dest; | |
3351 | } | |
3352 | ||
3353 | #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3354 | static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args) { | |
3355 | PyObject * _resultobj; | |
3356 | wxMessageDialog * _result; | |
3357 | wxWindow * _arg0; | |
3358 | char * _arg1; | |
3359 | char * _arg2 = "Message box"; | |
3360 | long _arg3 = (wxOK)|(wxCANCEL)|(wxCENTRE); | |
3361 | wxPoint * _arg4 = &wxPyDefaultPosition; | |
3362 | char * _argc0 = 0; | |
3363 | char * _argc4 = 0; | |
3364 | char _ptemp[128]; | |
3365 | ||
3366 | self = self; | |
3367 | if(!PyArg_ParseTuple(args,"ss|sls:new_wxMessageDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_argc4)) | |
3368 | return NULL; | |
3369 | if (_argc0) { | |
3370 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
3371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p."); | |
3372 | return NULL; | |
3373 | } | |
3374 | } | |
3375 | if (_argc4) { | |
3376 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxPoint_p")) { | |
3377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMessageDialog. Expected _wxPoint_p."); | |
3378 | return NULL; | |
3379 | } | |
3380 | } | |
3381 | _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4); | |
3382 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p"); | |
3383 | _resultobj = Py_BuildValue("s",_ptemp); | |
3384 | return _resultobj; | |
3385 | } | |
3386 | ||
3387 | #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
3388 | static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args) { | |
3389 | PyObject * _resultobj; | |
3390 | int _result; | |
3391 | wxMessageDialog * _arg0; | |
3392 | char * _argc0 = 0; | |
3393 | ||
3394 | self = self; | |
3395 | if(!PyArg_ParseTuple(args,"s:wxMessageDialog_ShowModal",&_argc0)) | |
3396 | return NULL; | |
3397 | if (_argc0) { | |
3398 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMessageDialog_p")) { | |
3399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p."); | |
3400 | return NULL; | |
3401 | } | |
3402 | } | |
3403 | _result = (int )wxMessageDialog_ShowModal(_arg0); | |
3404 | _resultobj = Py_BuildValue("i",_result); | |
3405 | return _resultobj; | |
3406 | } | |
3407 | ||
3408 | static PyMethodDef cmndlgscMethods[] = { | |
3409 | { "wxMessageDialog_ShowModal", _wrap_wxMessageDialog_ShowModal, 1 }, | |
3410 | { "new_wxMessageDialog", _wrap_new_wxMessageDialog, 1 }, | |
3411 | { "wxPrintDialog_ShowModal", _wrap_wxPrintDialog_ShowModal, 1 }, | |
3412 | { "wxPrintDialog_GetPrintDC", _wrap_wxPrintDialog_GetPrintDC, 1 }, | |
3413 | { "wxPrintDialog_GetPrintData", _wrap_wxPrintDialog_GetPrintData, 1 }, | |
3414 | { "new_wxPrintDialog", _wrap_new_wxPrintDialog, 1 }, | |
3415 | { "wxPrintData_SetToPage", _wrap_wxPrintData_SetToPage, 1 }, | |
3416 | { "wxPrintData_SetSetupDialog", _wrap_wxPrintData_SetSetupDialog, 1 }, | |
3417 | { "wxPrintData_SetPrintToFile", _wrap_wxPrintData_SetPrintToFile, 1 }, | |
3418 | { "wxPrintData_SetNoCopies", _wrap_wxPrintData_SetNoCopies, 1 }, | |
3419 | { "wxPrintData_SetOrientation", _wrap_wxPrintData_SetOrientation, 1 }, | |
3420 | { "wxPrintData_SetMinPage", _wrap_wxPrintData_SetMinPage, 1 }, | |
3421 | { "wxPrintData_SetMaxPage", _wrap_wxPrintData_SetMaxPage, 1 }, | |
3422 | { "wxPrintData_SetFromPage", _wrap_wxPrintData_SetFromPage, 1 }, | |
3423 | { "wxPrintData_SetCollate", _wrap_wxPrintData_SetCollate, 1 }, | |
3424 | { "wxPrintData_GetToPage", _wrap_wxPrintData_GetToPage, 1 }, | |
3425 | { "wxPrintData_GetOrientation", _wrap_wxPrintData_GetOrientation, 1 }, | |
3426 | { "wxPrintData_GetNoCopies", _wrap_wxPrintData_GetNoCopies, 1 }, | |
3427 | { "wxPrintData_GetMinPage", _wrap_wxPrintData_GetMinPage, 1 }, | |
3428 | { "wxPrintData_GetMaxPage", _wrap_wxPrintData_GetMaxPage, 1 }, | |
3429 | { "wxPrintData_GetFromPage", _wrap_wxPrintData_GetFromPage, 1 }, | |
3430 | { "wxPrintData_GetCollate", _wrap_wxPrintData_GetCollate, 1 }, | |
3431 | { "wxPrintData_GetAllPages", _wrap_wxPrintData_GetAllPages, 1 }, | |
3432 | { "wxPrintData_EnableSelection", _wrap_wxPrintData_EnableSelection, 1 }, | |
3433 | { "wxPrintData_EnablePrintToFile", _wrap_wxPrintData_EnablePrintToFile, 1 }, | |
3434 | { "wxPrintData_EnablePageNumbers", _wrap_wxPrintData_EnablePageNumbers, 1 }, | |
3435 | { "wxPrintData_EnableHelp", _wrap_wxPrintData_EnableHelp, 1 }, | |
3436 | { "delete_wxPrintData", _wrap_delete_wxPrintData, 1 }, | |
3437 | { "new_wxPrintData", _wrap_new_wxPrintData, 1 }, | |
3438 | { "wxPageSetupDialog_ShowModal", _wrap_wxPageSetupDialog_ShowModal, 1 }, | |
3439 | { "wxPageSetupDialog_GetPageSetupData", _wrap_wxPageSetupDialog_GetPageSetupData, 1 }, | |
3440 | { "new_wxPageSetupDialog", _wrap_new_wxPageSetupDialog, 1 }, | |
3441 | { "wxPageSetupData_SetDefaultInfo", _wrap_wxPageSetupData_SetDefaultInfo, 1 }, | |
3442 | { "wxPageSetupData_SetDefaultMinMargins", _wrap_wxPageSetupData_SetDefaultMinMargins, 1 }, | |
3443 | { "wxPageSetupData_SetOrientation", _wrap_wxPageSetupData_SetOrientation, 1 }, | |
3444 | { "wxPageSetupData_SetMinMarginBottomRight", _wrap_wxPageSetupData_SetMinMarginBottomRight, 1 }, | |
3445 | { "wxPageSetupData_SetMinMarginTopLeft", _wrap_wxPageSetupData_SetMinMarginTopLeft, 1 }, | |
3446 | { "wxPageSetupData_SetMarginBottomRight", _wrap_wxPageSetupData_SetMarginBottomRight, 1 }, | |
3447 | { "wxPageSetupData_SetMarginTopLeft", _wrap_wxPageSetupData_SetMarginTopLeft, 1 }, | |
3448 | { "wxPageSetupData_SetPaperSize", _wrap_wxPageSetupData_SetPaperSize, 1 }, | |
3449 | { "wxPageSetupData_GetDefaultInfo", _wrap_wxPageSetupData_GetDefaultInfo, 1 }, | |
3450 | { "wxPageSetupData_GetEnableHelp", _wrap_wxPageSetupData_GetEnableHelp, 1 }, | |
3451 | { "wxPageSetupData_GetEnablePrinter", _wrap_wxPageSetupData_GetEnablePrinter, 1 }, | |
3452 | { "wxPageSetupData_GetEnablePaper", _wrap_wxPageSetupData_GetEnablePaper, 1 }, | |
3453 | { "wxPageSetupData_GetEnableOrientation", _wrap_wxPageSetupData_GetEnableOrientation, 1 }, | |
3454 | { "wxPageSetupData_GetEnableMargins", _wrap_wxPageSetupData_GetEnableMargins, 1 }, | |
3455 | { "wxPageSetupData_GetDefaultMinMargins", _wrap_wxPageSetupData_GetDefaultMinMargins, 1 }, | |
3456 | { "wxPageSetupData_GetOrientation", _wrap_wxPageSetupData_GetOrientation, 1 }, | |
3457 | { "wxPageSetupData_GetMinMarginBottomRight", _wrap_wxPageSetupData_GetMinMarginBottomRight, 1 }, | |
3458 | { "wxPageSetupData_GetMinMarginTopLeft", _wrap_wxPageSetupData_GetMinMarginTopLeft, 1 }, | |
3459 | { "wxPageSetupData_GetMarginBottomRight", _wrap_wxPageSetupData_GetMarginBottomRight, 1 }, | |
3460 | { "wxPageSetupData_GetMarginTopLeft", _wrap_wxPageSetupData_GetMarginTopLeft, 1 }, | |
3461 | { "wxPageSetupData_GetPaperSize", _wrap_wxPageSetupData_GetPaperSize, 1 }, | |
3462 | { "wxPageSetupData_EnablePrinter", _wrap_wxPageSetupData_EnablePrinter, 1 }, | |
3463 | { "wxPageSetupData_EnablePaper", _wrap_wxPageSetupData_EnablePaper, 1 }, | |
3464 | { "wxPageSetupData_EnableOrientation", _wrap_wxPageSetupData_EnableOrientation, 1 }, | |
3465 | { "wxPageSetupData_EnableMargins", _wrap_wxPageSetupData_EnableMargins, 1 }, | |
3466 | { "wxPageSetupData_EnableHelp", _wrap_wxPageSetupData_EnableHelp, 1 }, | |
3467 | { "delete_wxPageSetupData", _wrap_delete_wxPageSetupData, 1 }, | |
3468 | { "new_wxPageSetupData", _wrap_new_wxPageSetupData, 1 }, | |
3469 | { "wxFontDialog_ShowModal", _wrap_wxFontDialog_ShowModal, 1 }, | |
3470 | { "wxFontDialog_GetFontData", _wrap_wxFontDialog_GetFontData, 1 }, | |
3471 | { "new_wxFontDialog", _wrap_new_wxFontDialog, 1 }, | |
3472 | { "wxFontData_SetShowHelp", _wrap_wxFontData_SetShowHelp, 1 }, | |
3473 | { "wxFontData_SetRange", _wrap_wxFontData_SetRange, 1 }, | |
3474 | { "wxFontData_SetInitialFont", _wrap_wxFontData_SetInitialFont, 1 }, | |
3475 | { "wxFontData_SetColour", _wrap_wxFontData_SetColour, 1 }, | |
3476 | { "wxFontData_SetChosenFont", _wrap_wxFontData_SetChosenFont, 1 }, | |
3477 | { "wxFontData_SetAllowSymbols", _wrap_wxFontData_SetAllowSymbols, 1 }, | |
3478 | { "wxFontData_GetShowHelp", _wrap_wxFontData_GetShowHelp, 1 }, | |
3479 | { "wxFontData_GetInitialFont", _wrap_wxFontData_GetInitialFont, 1 }, | |
3480 | { "wxFontData_GetEnableEffects", _wrap_wxFontData_GetEnableEffects, 1 }, | |
3481 | { "wxFontData_GetChosenFont", _wrap_wxFontData_GetChosenFont, 1 }, | |
3482 | { "wxFontData_GetColour", _wrap_wxFontData_GetColour, 1 }, | |
3483 | { "wxFontData_GetAllowSymbols", _wrap_wxFontData_GetAllowSymbols, 1 }, | |
3484 | { "wxFontData_EnableEffects", _wrap_wxFontData_EnableEffects, 1 }, | |
3485 | { "delete_wxFontData", _wrap_delete_wxFontData, 1 }, | |
3486 | { "new_wxFontData", _wrap_new_wxFontData, 1 }, | |
3487 | { "wxTextEntryDialog_ShowModal", _wrap_wxTextEntryDialog_ShowModal, 1 }, | |
3488 | { "wxTextEntryDialog_SetValue", _wrap_wxTextEntryDialog_SetValue, 1 }, | |
3489 | { "wxTextEntryDialog_GetValue", _wrap_wxTextEntryDialog_GetValue, 1 }, | |
3490 | { "new_wxTextEntryDialog", _wrap_new_wxTextEntryDialog, 1 }, | |
3491 | { "wxSingleChoiceDialog_ShowModal", _wrap_wxSingleChoiceDialog_ShowModal, 1 }, | |
3492 | { "wxSingleChoiceDialog_SetSelection", _wrap_wxSingleChoiceDialog_SetSelection, 1 }, | |
3493 | { "wxSingleChoiceDialog_GetStringSelection", _wrap_wxSingleChoiceDialog_GetStringSelection, 1 }, | |
3494 | { "wxSingleChoiceDialog_GetSelection", _wrap_wxSingleChoiceDialog_GetSelection, 1 }, | |
3495 | { "new_wxSingleChoiceDialog", _wrap_new_wxSingleChoiceDialog, 1 }, | |
3496 | { "wxFileDialog_ShowModal", _wrap_wxFileDialog_ShowModal, 1 }, | |
3497 | { "wxFileDialog_SetWildcard", _wrap_wxFileDialog_SetWildcard, 1 }, | |
3498 | { "wxFileDialog_SetStyle", _wrap_wxFileDialog_SetStyle, 1 }, | |
3499 | { "wxFileDialog_SetPath", _wrap_wxFileDialog_SetPath, 1 }, | |
3500 | { "wxFileDialog_SetMessage", _wrap_wxFileDialog_SetMessage, 1 }, | |
3501 | { "wxFileDialog_SetFilterIndex", _wrap_wxFileDialog_SetFilterIndex, 1 }, | |
3502 | { "wxFileDialog_SetFilename", _wrap_wxFileDialog_SetFilename, 1 }, | |
3503 | { "wxFileDialog_SetDirectory", _wrap_wxFileDialog_SetDirectory, 1 }, | |
3504 | { "wxFileDialog_GetWildcard", _wrap_wxFileDialog_GetWildcard, 1 }, | |
3505 | { "wxFileDialog_GetStyle", _wrap_wxFileDialog_GetStyle, 1 }, | |
3506 | { "wxFileDialog_GetPath", _wrap_wxFileDialog_GetPath, 1 }, | |
3507 | { "wxFileDialog_GetMessage", _wrap_wxFileDialog_GetMessage, 1 }, | |
3508 | { "wxFileDialog_GetFilterIndex", _wrap_wxFileDialog_GetFilterIndex, 1 }, | |
3509 | { "wxFileDialog_GetFilename", _wrap_wxFileDialog_GetFilename, 1 }, | |
3510 | { "wxFileDialog_GetDirectory", _wrap_wxFileDialog_GetDirectory, 1 }, | |
3511 | { "new_wxFileDialog", _wrap_new_wxFileDialog, 1 }, | |
3512 | { "wxDirDialog_ShowModal", _wrap_wxDirDialog_ShowModal, 1 }, | |
3513 | { "wxDirDialog_SetPath", _wrap_wxDirDialog_SetPath, 1 }, | |
3514 | { "wxDirDialog_SetMessage", _wrap_wxDirDialog_SetMessage, 1 }, | |
3515 | { "wxDirDialog_GetStyle", _wrap_wxDirDialog_GetStyle, 1 }, | |
3516 | { "wxDirDialog_GetMessage", _wrap_wxDirDialog_GetMessage, 1 }, | |
3517 | { "wxDirDialog_GetPath", _wrap_wxDirDialog_GetPath, 1 }, | |
3518 | { "new_wxDirDialog", _wrap_new_wxDirDialog, 1 }, | |
3519 | { "wxColourDialog_ShowModal", _wrap_wxColourDialog_ShowModal, 1 }, | |
3520 | { "wxColourDialog_GetColourData", _wrap_wxColourDialog_GetColourData, 1 }, | |
3521 | { "new_wxColourDialog", _wrap_new_wxColourDialog, 1 }, | |
3522 | { "wxColourData_SetCustomColour", _wrap_wxColourData_SetCustomColour, 1 }, | |
3523 | { "wxColourData_SetColour", _wrap_wxColourData_SetColour, 1 }, | |
3524 | { "wxColourData_SetChooseFull", _wrap_wxColourData_SetChooseFull, 1 }, | |
3525 | { "wxColourData_GetCustomColour", _wrap_wxColourData_GetCustomColour, 1 }, | |
3526 | { "wxColourData_GetColour", _wrap_wxColourData_GetColour, 1 }, | |
3527 | { "wxColourData_GetChooseFull", _wrap_wxColourData_GetChooseFull, 1 }, | |
3528 | { "delete_wxColourData", _wrap_delete_wxColourData, 1 }, | |
3529 | { "new_wxColourData", _wrap_new_wxColourData, 1 }, | |
3530 | { NULL, NULL } | |
3531 | }; | |
3532 | static PyObject *SWIG_globals; | |
3533 | #ifdef __cplusplus | |
3534 | extern "C" | |
3535 | #endif | |
3536 | SWIGEXPORT(void,initcmndlgsc)() { | |
3537 | PyObject *m, *d; | |
3538 | SWIG_globals = SWIG_newvarlink(); | |
3539 | m = Py_InitModule("cmndlgsc", cmndlgscMethods); | |
3540 | d = PyModule_GetDict(m); | |
3541 | /* | |
3542 | * These are the pointer type-equivalency mappings. | |
3543 | * (Used by the SWIG pointer type-checker). | |
3544 | */ | |
3545 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
3546 | SWIG_RegisterMapping("_signed_long","_long",0); | |
3547 | SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0); | |
b639c3c5 | 3548 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); |
8ab979d7 RD |
3549 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); |
3550 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler); | |
3551 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler); | |
3552 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler); | |
3553 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler); | |
3554 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler); | |
3555 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler); | |
3556 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler); | |
3557 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler); | |
3558 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler); | |
3559 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler); | |
3560 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler); | |
3561 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler); | |
3562 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler); | |
3563 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler); | |
3564 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler); | |
3565 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler); | |
3566 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler); | |
3567 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler); | |
3568 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
3569 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
3570 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
3571 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
3572 | SWIG_RegisterMapping("_wxPageSetupData","_class_wxPageSetupData",0); | |
3573 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
3574 | SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0); | |
3575 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
3576 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
3577 | SWIG_RegisterMapping("_long","_wxDash",0); | |
3578 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3579 | SWIG_RegisterMapping("_long","_signed_long",0); | |
3580 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
3581 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
3582 | SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0); | |
3583 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
3584 | SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0); | |
3585 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
8ab979d7 RD |
3586 | SWIG_RegisterMapping("_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel); |
3587 | SWIG_RegisterMapping("_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel); | |
3588 | SWIG_RegisterMapping("_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel); | |
3589 | SWIG_RegisterMapping("_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel); | |
3590 | SWIG_RegisterMapping("_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel); | |
3591 | SWIG_RegisterMapping("_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel); | |
3592 | SWIG_RegisterMapping("_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel); | |
3593 | SWIG_RegisterMapping("_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel); | |
3594 | SWIG_RegisterMapping("_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel); | |
3595 | SWIG_RegisterMapping("_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel); | |
3596 | SWIG_RegisterMapping("_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel); | |
3597 | SWIG_RegisterMapping("_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel); | |
3598 | SWIG_RegisterMapping("_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel); | |
3599 | SWIG_RegisterMapping("_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel); | |
3600 | SWIG_RegisterMapping("_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel); | |
3601 | SWIG_RegisterMapping("_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel); | |
3602 | SWIG_RegisterMapping("_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel); | |
3603 | SWIG_RegisterMapping("_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel); | |
3604 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
3605 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
3606 | SWIG_RegisterMapping("_class_wxPageSetupData","_wxPageSetupData",0); | |
3607 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
3608 | SWIG_RegisterMapping("_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog); | |
3609 | SWIG_RegisterMapping("_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog); | |
3610 | SWIG_RegisterMapping("_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog); | |
3611 | SWIG_RegisterMapping("_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog); | |
3612 | SWIG_RegisterMapping("_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog); | |
3613 | SWIG_RegisterMapping("_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog); | |
3614 | SWIG_RegisterMapping("_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog); | |
3615 | SWIG_RegisterMapping("_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog); | |
3616 | SWIG_RegisterMapping("_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog); | |
3617 | SWIG_RegisterMapping("_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog); | |
3618 | SWIG_RegisterMapping("_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog); | |
3619 | SWIG_RegisterMapping("_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog); | |
3620 | SWIG_RegisterMapping("_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog); | |
3621 | SWIG_RegisterMapping("_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog); | |
3622 | SWIG_RegisterMapping("_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog); | |
3623 | SWIG_RegisterMapping("_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog); | |
3624 | SWIG_RegisterMapping("_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog); | |
3625 | SWIG_RegisterMapping("_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog); | |
3626 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
3627 | SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0); | |
3628 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
8ab979d7 RD |
3629 | SWIG_RegisterMapping("_uint","_unsigned_int",0); |
3630 | SWIG_RegisterMapping("_uint","_int",0); | |
3631 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
3632 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
3633 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3634 | SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0); | |
3635 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
3636 | SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0); | |
3637 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
b639c3c5 | 3638 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); |
8ab979d7 RD |
3639 | SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0); |
3640 | SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0); | |
3641 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
3642 | SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0); | |
3643 | SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0); | |
3644 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3645 | SWIG_RegisterMapping("_EBool","_int",0); | |
3646 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
b639c3c5 | 3647 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); |
8ab979d7 RD |
3648 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); |
3649 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
3650 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
3651 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3652 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
3653 | SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0); | |
3654 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
3655 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
3656 | SWIG_RegisterMapping("_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel); | |
3657 | SWIG_RegisterMapping("_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel); | |
3658 | SWIG_RegisterMapping("_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel); | |
3659 | SWIG_RegisterMapping("_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel); | |
3660 | SWIG_RegisterMapping("_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel); | |
3661 | SWIG_RegisterMapping("_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel); | |
3662 | SWIG_RegisterMapping("_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel); | |
3663 | SWIG_RegisterMapping("_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel); | |
3664 | SWIG_RegisterMapping("_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel); | |
3665 | SWIG_RegisterMapping("_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel); | |
3666 | SWIG_RegisterMapping("_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel); | |
3667 | SWIG_RegisterMapping("_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel); | |
3668 | SWIG_RegisterMapping("_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel); | |
3669 | SWIG_RegisterMapping("_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel); | |
3670 | SWIG_RegisterMapping("_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel); | |
3671 | SWIG_RegisterMapping("_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel); | |
3672 | SWIG_RegisterMapping("_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel); | |
3673 | SWIG_RegisterMapping("_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel); | |
3674 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
3675 | SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0); | |
3676 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
3677 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3678 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3679 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3680 | SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0); | |
3681 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
3682 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
3683 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3684 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3685 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3686 | SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0); | |
3687 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
3688 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3689 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
3690 | SWIG_RegisterMapping("_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow); | |
3691 | SWIG_RegisterMapping("_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow); | |
3692 | SWIG_RegisterMapping("_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow); | |
3693 | SWIG_RegisterMapping("_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow); | |
3694 | SWIG_RegisterMapping("_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow); | |
3695 | SWIG_RegisterMapping("_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow); | |
3696 | SWIG_RegisterMapping("_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow); | |
3697 | SWIG_RegisterMapping("_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow); | |
3698 | SWIG_RegisterMapping("_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow); | |
3699 | SWIG_RegisterMapping("_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow); | |
3700 | SWIG_RegisterMapping("_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow); | |
3701 | SWIG_RegisterMapping("_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow); | |
3702 | SWIG_RegisterMapping("_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow); | |
3703 | SWIG_RegisterMapping("_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow); | |
3704 | SWIG_RegisterMapping("_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow); | |
3705 | SWIG_RegisterMapping("_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow); | |
3706 | SWIG_RegisterMapping("_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow); | |
3707 | SWIG_RegisterMapping("_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow); | |
3708 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
3709 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
3710 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
3711 | SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0); | |
3712 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3713 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3714 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3715 | SWIG_RegisterMapping("_signed_short","_short",0); | |
3716 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
3717 | SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0); | |
3718 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
b639c3c5 | 3719 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); |
8ab979d7 RD |
3720 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); |
3721 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
8ab979d7 RD |
3722 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); |
3723 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
3724 | SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0); | |
3725 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
3726 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
3727 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
3728 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
3729 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
3730 | SWIG_RegisterMapping("_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog); | |
3731 | SWIG_RegisterMapping("_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog); | |
3732 | SWIG_RegisterMapping("_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog); | |
3733 | SWIG_RegisterMapping("_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog); | |
3734 | SWIG_RegisterMapping("_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog); | |
3735 | SWIG_RegisterMapping("_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog); | |
3736 | SWIG_RegisterMapping("_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog); | |
3737 | SWIG_RegisterMapping("_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog); | |
3738 | SWIG_RegisterMapping("_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog); | |
3739 | SWIG_RegisterMapping("_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog); | |
3740 | SWIG_RegisterMapping("_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog); | |
3741 | SWIG_RegisterMapping("_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog); | |
3742 | SWIG_RegisterMapping("_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog); | |
3743 | SWIG_RegisterMapping("_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog); | |
3744 | SWIG_RegisterMapping("_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog); | |
3745 | SWIG_RegisterMapping("_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog); | |
3746 | SWIG_RegisterMapping("_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog); | |
3747 | SWIG_RegisterMapping("_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog); | |
3748 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
3749 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
3750 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
3751 | SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0); | |
3752 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
3753 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
3754 | SWIG_RegisterMapping("_short","_signed_short",0); | |
8ab979d7 RD |
3755 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); |
3756 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
3757 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
3758 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
3759 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
3760 | SWIG_RegisterMapping("_int","_EBool",0); | |
3761 | SWIG_RegisterMapping("_int","_uint",0); | |
3762 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
3763 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
3764 | SWIG_RegisterMapping("_int","_signed_int",0); | |
3765 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
b639c3c5 | 3766 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); |
8ab979d7 RD |
3767 | SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0); |
3768 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
3769 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
3770 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
3771 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
3772 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
3773 | SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0); | |
b639c3c5 | 3774 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); |
8ab979d7 | 3775 | SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0); |
b639c3c5 | 3776 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); |
8ab979d7 RD |
3777 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); |
3778 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
3779 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
3780 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
3781 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
3782 | SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0); | |
3783 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler); | |
3784 | SWIG_RegisterMapping("_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler); | |
3785 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler); | |
3786 | SWIG_RegisterMapping("_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler); | |
3787 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler); | |
3788 | SWIG_RegisterMapping("_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler); | |
3789 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler); | |
3790 | SWIG_RegisterMapping("_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler); | |
3791 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler); | |
3792 | SWIG_RegisterMapping("_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler); | |
3793 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler); | |
3794 | SWIG_RegisterMapping("_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler); | |
3795 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler); | |
3796 | SWIG_RegisterMapping("_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler); | |
3797 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler); | |
3798 | SWIG_RegisterMapping("_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler); | |
3799 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler); | |
3800 | SWIG_RegisterMapping("_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler); | |
3801 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
3802 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
3803 | SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0); | |
3804 | SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0); | |
3805 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
3806 | SWIG_RegisterMapping("_wxDash","_long",0); | |
3807 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
3808 | SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0); | |
3809 | SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0); | |
b639c3c5 | 3810 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); |
8ab979d7 RD |
3811 | SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0); |
3812 | SWIG_RegisterMapping("_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow); | |
3813 | SWIG_RegisterMapping("_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow); | |
3814 | SWIG_RegisterMapping("_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow); | |
3815 | SWIG_RegisterMapping("_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow); | |
3816 | SWIG_RegisterMapping("_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow); | |
3817 | SWIG_RegisterMapping("_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow); | |
3818 | SWIG_RegisterMapping("_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow); | |
3819 | SWIG_RegisterMapping("_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow); | |
3820 | SWIG_RegisterMapping("_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow); | |
3821 | SWIG_RegisterMapping("_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow); | |
3822 | SWIG_RegisterMapping("_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow); | |
3823 | SWIG_RegisterMapping("_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow); | |
3824 | SWIG_RegisterMapping("_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow); | |
3825 | SWIG_RegisterMapping("_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow); | |
3826 | SWIG_RegisterMapping("_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow); | |
3827 | SWIG_RegisterMapping("_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow); | |
3828 | SWIG_RegisterMapping("_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow); | |
3829 | SWIG_RegisterMapping("_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow); | |
3830 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
8ab979d7 | 3831 | } |