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