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