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