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