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