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