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