]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/printfw.cpp
Emptied patch.rsp
[wxWidgets.git] / wxPython / src / gtk / printfw.cpp
1 /*
2 * FILE : src/gtk/printfw.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initprintfwc
55
56 #define SWIG_name "printfwc"
57
58 #include "helpers.h"
59 #include <wx/print.h>
60 #include <wx/printdlg.h>
61 #include <wx/dcps.h>
62
63 #include "printfw.h"
64
65
66 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 PyObject* o3;
69
70 if (!target) {
71 target = o;
72 } else if (target == Py_None) {
73 Py_DECREF(Py_None);
74 target = o;
75 } else {
76 if (!PyTuple_Check(target)) {
77 o2 = target;
78 target = PyTuple_New(1);
79 PyTuple_SetItem(target, 0, o2);
80 }
81 o3 = PyTuple_New(1);
82 PyTuple_SetItem(o3, 0, o);
83
84 o2 = target;
85 target = PySequence_Concat(o2, o3);
86 Py_DECREF(o2);
87 Py_DECREF(o3);
88 }
89 return target;
90 }
91
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg = "String or Unicode type required";
94 #else
95 static char* wxStringErrorMsg = "String type required";
96 #endif
97
98
99
100 // Since this one would be tough and ugly to do with the Macros...
101 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
102 bool hadErr = FALSE;
103 bool found;
104
105 wxPyTState* state = wxPyBeginBlockThreads();
106 if ((found = m_myInst.findCallback("GetPageInfo"))) {
107 PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
108 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
109 PyObject* val;
110
111 val = PyTuple_GetItem(result, 0);
112 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
113 else hadErr = TRUE;
114
115 val = PyTuple_GetItem(result, 1);
116 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
117 else hadErr = TRUE;
118
119 val = PyTuple_GetItem(result, 2);
120 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
121 else hadErr = TRUE;
122
123 val = PyTuple_GetItem(result, 3);
124 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
125 else hadErr = TRUE;
126 }
127 else
128 hadErr = TRUE;
129
130 if (hadErr) {
131 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
132 PyErr_Print();
133 }
134 Py_DECREF(result);
135 }
136 wxPyEndBlockThreads(state);
137 if (! found)
138 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
139 }
140
141 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
142 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
143 }
144
145
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
147 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
148 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
149 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
150 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
153
154
155 #ifdef __cplusplus
156 extern "C" {
157 #endif
158 static void *SwigwxPrintDataTowxObject(void *ptr) {
159 wxPrintData *src;
160 wxObject *dest;
161 src = (wxPrintData *) ptr;
162 dest = (wxObject *) src;
163 return (void *) dest;
164 }
165
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject *_wrap_new_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
168 PyObject * _resultobj;
169 wxPrintData * _result;
170 char *_kwnames[] = { NULL };
171 char _ptemp[128];
172
173 self = self;
174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintData",_kwnames))
175 return NULL;
176 {
177 wxPy_BEGIN_ALLOW_THREADS;
178 _result = (wxPrintData *)new_wxPrintData();
179
180 wxPy_END_ALLOW_THREADS;
181 if (PyErr_Occurred()) return NULL;
182 } if (_result) {
183 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
184 _resultobj = Py_BuildValue("s",_ptemp);
185 } else {
186 Py_INCREF(Py_None);
187 _resultobj = Py_None;
188 }
189 return _resultobj;
190 }
191
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject *_wrap_delete_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
194 PyObject * _resultobj;
195 wxPrintData * _arg0;
196 PyObject * _argo0 = 0;
197 char *_kwnames[] = { "self", NULL };
198
199 self = self;
200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintData",_kwnames,&_argo0))
201 return NULL;
202 if (_argo0) {
203 if (_argo0 == Py_None) { _arg0 = NULL; }
204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
206 return NULL;
207 }
208 }
209 {
210 wxPy_BEGIN_ALLOW_THREADS;
211 delete_wxPrintData(_arg0);
212
213 wxPy_END_ALLOW_THREADS;
214 if (PyErr_Occurred()) return NULL;
215 } Py_INCREF(Py_None);
216 _resultobj = Py_None;
217 return _resultobj;
218 }
219
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject *_wrap_wxPrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
222 PyObject * _resultobj;
223 int _result;
224 wxPrintData * _arg0;
225 PyObject * _argo0 = 0;
226 char *_kwnames[] = { "self", NULL };
227
228 self = self;
229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetNoCopies",_kwnames,&_argo0))
230 return NULL;
231 if (_argo0) {
232 if (_argo0 == Py_None) { _arg0 = NULL; }
233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
235 return NULL;
236 }
237 }
238 {
239 wxPy_BEGIN_ALLOW_THREADS;
240 _result = (int )wxPrintData_GetNoCopies(_arg0);
241
242 wxPy_END_ALLOW_THREADS;
243 if (PyErr_Occurred()) return NULL;
244 } _resultobj = Py_BuildValue("i",_result);
245 return _resultobj;
246 }
247
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject *_wrap_wxPrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
250 PyObject * _resultobj;
251 bool _result;
252 wxPrintData * _arg0;
253 PyObject * _argo0 = 0;
254 char *_kwnames[] = { "self", NULL };
255
256 self = self;
257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetCollate",_kwnames,&_argo0))
258 return NULL;
259 if (_argo0) {
260 if (_argo0 == Py_None) { _arg0 = NULL; }
261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
263 return NULL;
264 }
265 }
266 {
267 wxPy_BEGIN_ALLOW_THREADS;
268 _result = (bool )wxPrintData_GetCollate(_arg0);
269
270 wxPy_END_ALLOW_THREADS;
271 if (PyErr_Occurred()) return NULL;
272 } _resultobj = Py_BuildValue("i",_result);
273 return _resultobj;
274 }
275
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject *_wrap_wxPrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
278 PyObject * _resultobj;
279 int _result;
280 wxPrintData * _arg0;
281 PyObject * _argo0 = 0;
282 char *_kwnames[] = { "self", NULL };
283
284 self = self;
285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetOrientation",_kwnames,&_argo0))
286 return NULL;
287 if (_argo0) {
288 if (_argo0 == Py_None) { _arg0 = NULL; }
289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
291 return NULL;
292 }
293 }
294 {
295 wxPy_BEGIN_ALLOW_THREADS;
296 _result = (int )wxPrintData_GetOrientation(_arg0);
297
298 wxPy_END_ALLOW_THREADS;
299 if (PyErr_Occurred()) return NULL;
300 } _resultobj = Py_BuildValue("i",_result);
301 return _resultobj;
302 }
303
304 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
305 static PyObject *_wrap_wxPrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
306 PyObject * _resultobj;
307 wxString * _result;
308 wxPrintData * _arg0;
309 PyObject * _argo0 = 0;
310 char *_kwnames[] = { "self", NULL };
311
312 self = self;
313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterName",_kwnames,&_argo0))
314 return NULL;
315 if (_argo0) {
316 if (_argo0 == Py_None) { _arg0 = NULL; }
317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
319 return NULL;
320 }
321 }
322 {
323 wxPy_BEGIN_ALLOW_THREADS;
324 const wxString & _result_ref = wxPrintData_GetPrinterName(_arg0);
325 _result = (wxString *) &_result_ref;
326
327 wxPy_END_ALLOW_THREADS;
328 if (PyErr_Occurred()) return NULL;
329 }{
330 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
331 }
332 return _resultobj;
333 }
334
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject *_wrap_wxPrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
337 PyObject * _resultobj;
338 bool _result;
339 wxPrintData * _arg0;
340 PyObject * _argo0 = 0;
341 char *_kwnames[] = { "self", NULL };
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetColour",_kwnames,&_argo0))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
350 return NULL;
351 }
352 }
353 {
354 wxPy_BEGIN_ALLOW_THREADS;
355 _result = (bool )wxPrintData_GetColour(_arg0);
356
357 wxPy_END_ALLOW_THREADS;
358 if (PyErr_Occurred()) return NULL;
359 } _resultobj = Py_BuildValue("i",_result);
360 return _resultobj;
361 }
362
363 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
364 static PyObject *_wrap_wxPrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
365 PyObject * _resultobj;
366 wxDuplexMode _result;
367 wxPrintData * _arg0;
368 PyObject * _argo0 = 0;
369 char *_kwnames[] = { "self", NULL };
370
371 self = self;
372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetDuplex",_kwnames,&_argo0))
373 return NULL;
374 if (_argo0) {
375 if (_argo0 == Py_None) { _arg0 = NULL; }
376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
378 return NULL;
379 }
380 }
381 {
382 wxPy_BEGIN_ALLOW_THREADS;
383 _result = (wxDuplexMode )wxPrintData_GetDuplex(_arg0);
384
385 wxPy_END_ALLOW_THREADS;
386 if (PyErr_Occurred()) return NULL;
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, PyObject *kwargs) {
393 PyObject * _resultobj;
394 wxPaperSize _result;
395 wxPrintData * _arg0;
396 PyObject * _argo0 = 0;
397 char *_kwnames[] = { "self", NULL };
398
399 self = self;
400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperId",_kwnames,&_argo0))
401 return NULL;
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
406 return NULL;
407 }
408 }
409 {
410 wxPy_BEGIN_ALLOW_THREADS;
411 _result = (wxPaperSize )wxPrintData_GetPaperId(_arg0);
412
413 wxPy_END_ALLOW_THREADS;
414 if (PyErr_Occurred()) return NULL;
415 } _resultobj = Py_BuildValue("i",_result);
416 return _resultobj;
417 }
418
419 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
420 static PyObject *_wrap_wxPrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxSize * _result;
423 wxPrintData * _arg0;
424 PyObject * _argo0 = 0;
425 char *_kwnames[] = { "self", NULL };
426 char _ptemp[128];
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperSize",_kwnames,&_argo0))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
435 return NULL;
436 }
437 }
438 {
439 wxPy_BEGIN_ALLOW_THREADS;
440 const wxSize & _result_ref = wxPrintData_GetPaperSize(_arg0);
441 _result = (wxSize *) &_result_ref;
442
443 wxPy_END_ALLOW_THREADS;
444 if (PyErr_Occurred()) return NULL;
445 } if (_result) {
446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
447 _resultobj = Py_BuildValue("s",_ptemp);
448 } else {
449 Py_INCREF(Py_None);
450 _resultobj = Py_None;
451 }
452 return _resultobj;
453 }
454
455 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
456 static PyObject *_wrap_wxPrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
457 PyObject * _resultobj;
458 wxPrintQuality _result;
459 wxPrintData * _arg0;
460 PyObject * _argo0 = 0;
461 char *_kwnames[] = { "self", NULL };
462
463 self = self;
464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetQuality",_kwnames,&_argo0))
465 return NULL;
466 if (_argo0) {
467 if (_argo0 == Py_None) { _arg0 = NULL; }
468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
470 return NULL;
471 }
472 }
473 {
474 wxPy_BEGIN_ALLOW_THREADS;
475 _result = (wxPrintQuality )wxPrintData_GetQuality(_arg0);
476
477 wxPy_END_ALLOW_THREADS;
478 if (PyErr_Occurred()) return NULL;
479 } _resultobj = Py_BuildValue("i",_result);
480 return _resultobj;
481 }
482
483 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
484 static PyObject *_wrap_wxPrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
485 PyObject * _resultobj;
486 wxPrintData * _arg0;
487 int _arg1;
488 PyObject * _argo0 = 0;
489 char *_kwnames[] = { "self","v", NULL };
490
491 self = self;
492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetNoCopies",_kwnames,&_argo0,&_arg1))
493 return NULL;
494 if (_argo0) {
495 if (_argo0 == Py_None) { _arg0 = NULL; }
496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
498 return NULL;
499 }
500 }
501 {
502 wxPy_BEGIN_ALLOW_THREADS;
503 wxPrintData_SetNoCopies(_arg0,_arg1);
504
505 wxPy_END_ALLOW_THREADS;
506 if (PyErr_Occurred()) return NULL;
507 } Py_INCREF(Py_None);
508 _resultobj = Py_None;
509 return _resultobj;
510 }
511
512 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
513 static PyObject *_wrap_wxPrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
514 PyObject * _resultobj;
515 wxPrintData * _arg0;
516 bool _arg1;
517 PyObject * _argo0 = 0;
518 int tempbool1;
519 char *_kwnames[] = { "self","flag", NULL };
520
521 self = self;
522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetCollate",_kwnames,&_argo0,&tempbool1))
523 return NULL;
524 if (_argo0) {
525 if (_argo0 == Py_None) { _arg0 = NULL; }
526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
528 return NULL;
529 }
530 }
531 _arg1 = (bool ) tempbool1;
532 {
533 wxPy_BEGIN_ALLOW_THREADS;
534 wxPrintData_SetCollate(_arg0,_arg1);
535
536 wxPy_END_ALLOW_THREADS;
537 if (PyErr_Occurred()) return NULL;
538 } Py_INCREF(Py_None);
539 _resultobj = Py_None;
540 return _resultobj;
541 }
542
543 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
544 static PyObject *_wrap_wxPrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject * _resultobj;
546 wxPrintData * _arg0;
547 int _arg1;
548 PyObject * _argo0 = 0;
549 char *_kwnames[] = { "self","orient", NULL };
550
551 self = self;
552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetOrientation",_kwnames,&_argo0,&_arg1))
553 return NULL;
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
558 return NULL;
559 }
560 }
561 {
562 wxPy_BEGIN_ALLOW_THREADS;
563 wxPrintData_SetOrientation(_arg0,_arg1);
564
565 wxPy_END_ALLOW_THREADS;
566 if (PyErr_Occurred()) return NULL;
567 } Py_INCREF(Py_None);
568 _resultobj = Py_None;
569 return _resultobj;
570 }
571
572 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
573 static PyObject *_wrap_wxPrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
574 PyObject * _resultobj;
575 wxPrintData * _arg0;
576 wxString * _arg1;
577 PyObject * _argo0 = 0;
578 PyObject * _obj1 = 0;
579 char *_kwnames[] = { "self","name", NULL };
580
581 self = self;
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterName",_kwnames,&_argo0,&_obj1))
583 return NULL;
584 if (_argo0) {
585 if (_argo0 == Py_None) { _arg0 = NULL; }
586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
588 return NULL;
589 }
590 }
591 {
592 #if PYTHON_API_VERSION >= 1009
593 char* tmpPtr; int tmpSize;
594 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
596 return NULL;
597 }
598 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
599 return NULL;
600 _arg1 = new wxString(tmpPtr, tmpSize);
601 #else
602 if (!PyString_Check(_obj1)) {
603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
604 return NULL;
605 }
606 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
607 #endif
608 }
609 {
610 wxPy_BEGIN_ALLOW_THREADS;
611 wxPrintData_SetPrinterName(_arg0,*_arg1);
612
613 wxPy_END_ALLOW_THREADS;
614 if (PyErr_Occurred()) return NULL;
615 } Py_INCREF(Py_None);
616 _resultobj = Py_None;
617 {
618 if (_obj1)
619 delete _arg1;
620 }
621 return _resultobj;
622 }
623
624 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
625 static PyObject *_wrap_wxPrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
626 PyObject * _resultobj;
627 wxPrintData * _arg0;
628 bool _arg1;
629 PyObject * _argo0 = 0;
630 int tempbool1;
631 char *_kwnames[] = { "self","colour", NULL };
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetColour",_kwnames,&_argo0,&tempbool1))
635 return NULL;
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
640 return NULL;
641 }
642 }
643 _arg1 = (bool ) tempbool1;
644 {
645 wxPy_BEGIN_ALLOW_THREADS;
646 wxPrintData_SetColour(_arg0,_arg1);
647
648 wxPy_END_ALLOW_THREADS;
649 if (PyErr_Occurred()) return NULL;
650 } Py_INCREF(Py_None);
651 _resultobj = Py_None;
652 return _resultobj;
653 }
654
655 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
656 static PyObject *_wrap_wxPrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
657 PyObject * _resultobj;
658 wxPrintData * _arg0;
659 wxDuplexMode _arg1;
660 PyObject * _argo0 = 0;
661 char *_kwnames[] = { "self","duplex", NULL };
662
663 self = self;
664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetDuplex",_kwnames,&_argo0,&_arg1))
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
670 return NULL;
671 }
672 }
673 {
674 wxPy_BEGIN_ALLOW_THREADS;
675 wxPrintData_SetDuplex(_arg0,_arg1);
676
677 wxPy_END_ALLOW_THREADS;
678 if (PyErr_Occurred()) return NULL;
679 } Py_INCREF(Py_None);
680 _resultobj = Py_None;
681 return _resultobj;
682 }
683
684 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
685 static PyObject *_wrap_wxPrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 wxPrintData * _arg0;
688 wxPaperSize _arg1;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self","sizeId", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetPaperId",_kwnames,&_argo0,&_arg1))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
699 return NULL;
700 }
701 }
702 {
703 wxPy_BEGIN_ALLOW_THREADS;
704 wxPrintData_SetPaperId(_arg0,_arg1);
705
706 wxPy_END_ALLOW_THREADS;
707 if (PyErr_Occurred()) return NULL;
708 } Py_INCREF(Py_None);
709 _resultobj = Py_None;
710 return _resultobj;
711 }
712
713 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
714 static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
715 PyObject * _resultobj;
716 wxPrintData * _arg0;
717 wxSize * _arg1;
718 PyObject * _argo0 = 0;
719 wxSize temp;
720 PyObject * _obj1 = 0;
721 char *_kwnames[] = { "self","sz", NULL };
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_obj1))
725 return NULL;
726 if (_argo0) {
727 if (_argo0 == Py_None) { _arg0 = NULL; }
728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
730 return NULL;
731 }
732 }
733 {
734 _arg1 = &temp;
735 if (! wxSize_helper(_obj1, &_arg1))
736 return NULL;
737 }
738 {
739 wxPy_BEGIN_ALLOW_THREADS;
740 wxPrintData_SetPaperSize(_arg0,*_arg1);
741
742 wxPy_END_ALLOW_THREADS;
743 if (PyErr_Occurred()) return NULL;
744 } Py_INCREF(Py_None);
745 _resultobj = Py_None;
746 return _resultobj;
747 }
748
749 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
750 static PyObject *_wrap_wxPrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
751 PyObject * _resultobj;
752 wxPrintData * _arg0;
753 wxPrintQuality _arg1;
754 PyObject * _argo0 = 0;
755 char *_kwnames[] = { "self","quality", NULL };
756
757 self = self;
758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetQuality",_kwnames,&_argo0,&_arg1))
759 return NULL;
760 if (_argo0) {
761 if (_argo0 == Py_None) { _arg0 = NULL; }
762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
764 return NULL;
765 }
766 }
767 {
768 wxPy_BEGIN_ALLOW_THREADS;
769 wxPrintData_SetQuality(_arg0,_arg1);
770
771 wxPy_END_ALLOW_THREADS;
772 if (PyErr_Occurred()) return NULL;
773 } Py_INCREF(Py_None);
774 _resultobj = Py_None;
775 return _resultobj;
776 }
777
778 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
779 static PyObject *_wrap_wxPrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
780 PyObject * _resultobj;
781 wxString * _result;
782 wxPrintData * _arg0;
783 PyObject * _argo0 = 0;
784 char *_kwnames[] = { "self", NULL };
785
786 self = self;
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterCommand",_kwnames,&_argo0))
788 return NULL;
789 if (_argo0) {
790 if (_argo0 == Py_None) { _arg0 = NULL; }
791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
793 return NULL;
794 }
795 }
796 {
797 wxPy_BEGIN_ALLOW_THREADS;
798 const wxString & _result_ref = wxPrintData_GetPrinterCommand(_arg0);
799 _result = (wxString *) &_result_ref;
800
801 wxPy_END_ALLOW_THREADS;
802 if (PyErr_Occurred()) return NULL;
803 }{
804 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
805 }
806 return _resultobj;
807 }
808
809 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
810 static PyObject *_wrap_wxPrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
811 PyObject * _resultobj;
812 wxString * _result;
813 wxPrintData * _arg0;
814 PyObject * _argo0 = 0;
815 char *_kwnames[] = { "self", NULL };
816
817 self = self;
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterOptions",_kwnames,&_argo0))
819 return NULL;
820 if (_argo0) {
821 if (_argo0 == Py_None) { _arg0 = NULL; }
822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
824 return NULL;
825 }
826 }
827 {
828 wxPy_BEGIN_ALLOW_THREADS;
829 const wxString & _result_ref = wxPrintData_GetPrinterOptions(_arg0);
830 _result = (wxString *) &_result_ref;
831
832 wxPy_END_ALLOW_THREADS;
833 if (PyErr_Occurred()) return NULL;
834 }{
835 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
836 }
837 return _resultobj;
838 }
839
840 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
841 static PyObject *_wrap_wxPrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
842 PyObject * _resultobj;
843 wxString * _result;
844 wxPrintData * _arg0;
845 PyObject * _argo0 = 0;
846 char *_kwnames[] = { "self", NULL };
847
848 self = self;
849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPreviewCommand",_kwnames,&_argo0))
850 return NULL;
851 if (_argo0) {
852 if (_argo0 == Py_None) { _arg0 = NULL; }
853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
855 return NULL;
856 }
857 }
858 {
859 wxPy_BEGIN_ALLOW_THREADS;
860 const wxString & _result_ref = wxPrintData_GetPreviewCommand(_arg0);
861 _result = (wxString *) &_result_ref;
862
863 wxPy_END_ALLOW_THREADS;
864 if (PyErr_Occurred()) return NULL;
865 }{
866 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
867 }
868 return _resultobj;
869 }
870
871 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
872 static PyObject *_wrap_wxPrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
873 PyObject * _resultobj;
874 wxString * _result;
875 wxPrintData * _arg0;
876 PyObject * _argo0 = 0;
877 char *_kwnames[] = { "self", NULL };
878
879 self = self;
880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFilename",_kwnames,&_argo0))
881 return NULL;
882 if (_argo0) {
883 if (_argo0 == Py_None) { _arg0 = NULL; }
884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
886 return NULL;
887 }
888 }
889 {
890 wxPy_BEGIN_ALLOW_THREADS;
891 const wxString & _result_ref = wxPrintData_GetFilename(_arg0);
892 _result = (wxString *) &_result_ref;
893
894 wxPy_END_ALLOW_THREADS;
895 if (PyErr_Occurred()) return NULL;
896 }{
897 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
898 }
899 return _resultobj;
900 }
901
902 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
903 static PyObject *_wrap_wxPrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
904 PyObject * _resultobj;
905 wxString * _result;
906 wxPrintData * _arg0;
907 PyObject * _argo0 = 0;
908 char *_kwnames[] = { "self", NULL };
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFontMetricPath",_kwnames,&_argo0))
912 return NULL;
913 if (_argo0) {
914 if (_argo0 == Py_None) { _arg0 = NULL; }
915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
917 return NULL;
918 }
919 }
920 {
921 wxPy_BEGIN_ALLOW_THREADS;
922 const wxString & _result_ref = wxPrintData_GetFontMetricPath(_arg0);
923 _result = (wxString *) &_result_ref;
924
925 wxPy_END_ALLOW_THREADS;
926 if (PyErr_Occurred()) return NULL;
927 }{
928 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
929 }
930 return _resultobj;
931 }
932
933 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
934 static PyObject *_wrap_wxPrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
935 PyObject * _resultobj;
936 double _result;
937 wxPrintData * _arg0;
938 PyObject * _argo0 = 0;
939 char *_kwnames[] = { "self", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleX",_kwnames,&_argo0))
943 return NULL;
944 if (_argo0) {
945 if (_argo0 == Py_None) { _arg0 = NULL; }
946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
948 return NULL;
949 }
950 }
951 {
952 wxPy_BEGIN_ALLOW_THREADS;
953 _result = (double )wxPrintData_GetPrinterScaleX(_arg0);
954
955 wxPy_END_ALLOW_THREADS;
956 if (PyErr_Occurred()) return NULL;
957 } _resultobj = Py_BuildValue("d",_result);
958 return _resultobj;
959 }
960
961 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
962 static PyObject *_wrap_wxPrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 double _result;
965 wxPrintData * _arg0;
966 PyObject * _argo0 = 0;
967 char *_kwnames[] = { "self", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleY",_kwnames,&_argo0))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
976 return NULL;
977 }
978 }
979 {
980 wxPy_BEGIN_ALLOW_THREADS;
981 _result = (double )wxPrintData_GetPrinterScaleY(_arg0);
982
983 wxPy_END_ALLOW_THREADS;
984 if (PyErr_Occurred()) return NULL;
985 } _resultobj = Py_BuildValue("d",_result);
986 return _resultobj;
987 }
988
989 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
990 static PyObject *_wrap_wxPrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
991 PyObject * _resultobj;
992 long _result;
993 wxPrintData * _arg0;
994 PyObject * _argo0 = 0;
995 char *_kwnames[] = { "self", NULL };
996
997 self = self;
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateX",_kwnames,&_argo0))
999 return NULL;
1000 if (_argo0) {
1001 if (_argo0 == Py_None) { _arg0 = NULL; }
1002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1004 return NULL;
1005 }
1006 }
1007 {
1008 wxPy_BEGIN_ALLOW_THREADS;
1009 _result = (long )wxPrintData_GetPrinterTranslateX(_arg0);
1010
1011 wxPy_END_ALLOW_THREADS;
1012 if (PyErr_Occurred()) return NULL;
1013 } _resultobj = Py_BuildValue("l",_result);
1014 return _resultobj;
1015 }
1016
1017 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1018 static PyObject *_wrap_wxPrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
1019 PyObject * _resultobj;
1020 long _result;
1021 wxPrintData * _arg0;
1022 PyObject * _argo0 = 0;
1023 char *_kwnames[] = { "self", NULL };
1024
1025 self = self;
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateY",_kwnames,&_argo0))
1027 return NULL;
1028 if (_argo0) {
1029 if (_argo0 == Py_None) { _arg0 = NULL; }
1030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1032 return NULL;
1033 }
1034 }
1035 {
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 _result = (long )wxPrintData_GetPrinterTranslateY(_arg0);
1038
1039 wxPy_END_ALLOW_THREADS;
1040 if (PyErr_Occurred()) return NULL;
1041 } _resultobj = Py_BuildValue("l",_result);
1042 return _resultobj;
1043 }
1044
1045 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1046 static PyObject *_wrap_wxPrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxPrintMode * _result;
1049 wxPrintData * _arg0;
1050 PyObject * _argo0 = 0;
1051 char *_kwnames[] = { "self", NULL };
1052 char _ptemp[128];
1053
1054 self = self;
1055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrintMode",_kwnames,&_argo0))
1056 return NULL;
1057 if (_argo0) {
1058 if (_argo0 == Py_None) { _arg0 = NULL; }
1059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1061 return NULL;
1062 }
1063 }
1064 {
1065 wxPy_BEGIN_ALLOW_THREADS;
1066 _result = new wxPrintMode (wxPrintData_GetPrintMode(_arg0));
1067
1068 wxPy_END_ALLOW_THREADS;
1069 if (PyErr_Occurred()) return NULL;
1070 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPrintMode_p");
1071 _resultobj = Py_BuildValue("s",_ptemp);
1072 return _resultobj;
1073 }
1074
1075 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1076 static PyObject *_wrap_wxPrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject * _resultobj;
1078 wxPrintData * _arg0;
1079 wxString * _arg1;
1080 PyObject * _argo0 = 0;
1081 PyObject * _obj1 = 0;
1082 char *_kwnames[] = { "self","command", NULL };
1083
1084 self = self;
1085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterCommand",_kwnames,&_argo0,&_obj1))
1086 return NULL;
1087 if (_argo0) {
1088 if (_argo0 == Py_None) { _arg0 = NULL; }
1089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1091 return NULL;
1092 }
1093 }
1094 {
1095 #if PYTHON_API_VERSION >= 1009
1096 char* tmpPtr; int tmpSize;
1097 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1098 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1099 return NULL;
1100 }
1101 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1102 return NULL;
1103 _arg1 = new wxString(tmpPtr, tmpSize);
1104 #else
1105 if (!PyString_Check(_obj1)) {
1106 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1107 return NULL;
1108 }
1109 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1110 #endif
1111 }
1112 {
1113 wxPy_BEGIN_ALLOW_THREADS;
1114 wxPrintData_SetPrinterCommand(_arg0,*_arg1);
1115
1116 wxPy_END_ALLOW_THREADS;
1117 if (PyErr_Occurred()) return NULL;
1118 } Py_INCREF(Py_None);
1119 _resultobj = Py_None;
1120 {
1121 if (_obj1)
1122 delete _arg1;
1123 }
1124 return _resultobj;
1125 }
1126
1127 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1128 static PyObject *_wrap_wxPrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject * _resultobj;
1130 wxPrintData * _arg0;
1131 wxString * _arg1;
1132 PyObject * _argo0 = 0;
1133 PyObject * _obj1 = 0;
1134 char *_kwnames[] = { "self","options", NULL };
1135
1136 self = self;
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterOptions",_kwnames,&_argo0,&_obj1))
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1143 return NULL;
1144 }
1145 }
1146 {
1147 #if PYTHON_API_VERSION >= 1009
1148 char* tmpPtr; int tmpSize;
1149 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1150 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1151 return NULL;
1152 }
1153 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1154 return NULL;
1155 _arg1 = new wxString(tmpPtr, tmpSize);
1156 #else
1157 if (!PyString_Check(_obj1)) {
1158 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1159 return NULL;
1160 }
1161 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1162 #endif
1163 }
1164 {
1165 wxPy_BEGIN_ALLOW_THREADS;
1166 wxPrintData_SetPrinterOptions(_arg0,*_arg1);
1167
1168 wxPy_END_ALLOW_THREADS;
1169 if (PyErr_Occurred()) return NULL;
1170 } Py_INCREF(Py_None);
1171 _resultobj = Py_None;
1172 {
1173 if (_obj1)
1174 delete _arg1;
1175 }
1176 return _resultobj;
1177 }
1178
1179 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1180 static PyObject *_wrap_wxPrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 wxPrintData * _arg0;
1183 wxString * _arg1;
1184 PyObject * _argo0 = 0;
1185 PyObject * _obj1 = 0;
1186 char *_kwnames[] = { "self","command", NULL };
1187
1188 self = self;
1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPreviewCommand",_kwnames,&_argo0,&_obj1))
1190 return NULL;
1191 if (_argo0) {
1192 if (_argo0 == Py_None) { _arg0 = NULL; }
1193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1195 return NULL;
1196 }
1197 }
1198 {
1199 #if PYTHON_API_VERSION >= 1009
1200 char* tmpPtr; int tmpSize;
1201 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1202 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1203 return NULL;
1204 }
1205 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1206 return NULL;
1207 _arg1 = new wxString(tmpPtr, tmpSize);
1208 #else
1209 if (!PyString_Check(_obj1)) {
1210 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1211 return NULL;
1212 }
1213 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1214 #endif
1215 }
1216 {
1217 wxPy_BEGIN_ALLOW_THREADS;
1218 wxPrintData_SetPreviewCommand(_arg0,*_arg1);
1219
1220 wxPy_END_ALLOW_THREADS;
1221 if (PyErr_Occurred()) return NULL;
1222 } Py_INCREF(Py_None);
1223 _resultobj = Py_None;
1224 {
1225 if (_obj1)
1226 delete _arg1;
1227 }
1228 return _resultobj;
1229 }
1230
1231 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1232 static PyObject *_wrap_wxPrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
1233 PyObject * _resultobj;
1234 wxPrintData * _arg0;
1235 wxString * _arg1;
1236 PyObject * _argo0 = 0;
1237 PyObject * _obj1 = 0;
1238 char *_kwnames[] = { "self","filename", NULL };
1239
1240 self = self;
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFilename",_kwnames,&_argo0,&_obj1))
1242 return NULL;
1243 if (_argo0) {
1244 if (_argo0 == Py_None) { _arg0 = NULL; }
1245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1247 return NULL;
1248 }
1249 }
1250 {
1251 #if PYTHON_API_VERSION >= 1009
1252 char* tmpPtr; int tmpSize;
1253 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1254 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1255 return NULL;
1256 }
1257 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1258 return NULL;
1259 _arg1 = new wxString(tmpPtr, tmpSize);
1260 #else
1261 if (!PyString_Check(_obj1)) {
1262 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1263 return NULL;
1264 }
1265 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1266 #endif
1267 }
1268 {
1269 wxPy_BEGIN_ALLOW_THREADS;
1270 wxPrintData_SetFilename(_arg0,*_arg1);
1271
1272 wxPy_END_ALLOW_THREADS;
1273 if (PyErr_Occurred()) return NULL;
1274 } Py_INCREF(Py_None);
1275 _resultobj = Py_None;
1276 {
1277 if (_obj1)
1278 delete _arg1;
1279 }
1280 return _resultobj;
1281 }
1282
1283 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1284 static PyObject *_wrap_wxPrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1285 PyObject * _resultobj;
1286 wxPrintData * _arg0;
1287 wxString * _arg1;
1288 PyObject * _argo0 = 0;
1289 PyObject * _obj1 = 0;
1290 char *_kwnames[] = { "self","path", NULL };
1291
1292 self = self;
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFontMetricPath",_kwnames,&_argo0,&_obj1))
1294 return NULL;
1295 if (_argo0) {
1296 if (_argo0 == Py_None) { _arg0 = NULL; }
1297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1299 return NULL;
1300 }
1301 }
1302 {
1303 #if PYTHON_API_VERSION >= 1009
1304 char* tmpPtr; int tmpSize;
1305 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1306 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1307 return NULL;
1308 }
1309 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1310 return NULL;
1311 _arg1 = new wxString(tmpPtr, tmpSize);
1312 #else
1313 if (!PyString_Check(_obj1)) {
1314 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1315 return NULL;
1316 }
1317 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1318 #endif
1319 }
1320 {
1321 wxPy_BEGIN_ALLOW_THREADS;
1322 wxPrintData_SetFontMetricPath(_arg0,*_arg1);
1323
1324 wxPy_END_ALLOW_THREADS;
1325 if (PyErr_Occurred()) return NULL;
1326 } Py_INCREF(Py_None);
1327 _resultobj = Py_None;
1328 {
1329 if (_obj1)
1330 delete _arg1;
1331 }
1332 return _resultobj;
1333 }
1334
1335 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1336 static PyObject *_wrap_wxPrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject * _resultobj;
1338 wxPrintData * _arg0;
1339 double _arg1;
1340 PyObject * _argo0 = 0;
1341 char *_kwnames[] = { "self","x", NULL };
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleX",_kwnames,&_argo0,&_arg1))
1345 return NULL;
1346 if (_argo0) {
1347 if (_argo0 == Py_None) { _arg0 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1350 return NULL;
1351 }
1352 }
1353 {
1354 wxPy_BEGIN_ALLOW_THREADS;
1355 wxPrintData_SetPrinterScaleX(_arg0,_arg1);
1356
1357 wxPy_END_ALLOW_THREADS;
1358 if (PyErr_Occurred()) return NULL;
1359 } Py_INCREF(Py_None);
1360 _resultobj = Py_None;
1361 return _resultobj;
1362 }
1363
1364 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1365 static PyObject *_wrap_wxPrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject * _resultobj;
1367 wxPrintData * _arg0;
1368 double _arg1;
1369 PyObject * _argo0 = 0;
1370 char *_kwnames[] = { "self","y", NULL };
1371
1372 self = self;
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleY",_kwnames,&_argo0,&_arg1))
1374 return NULL;
1375 if (_argo0) {
1376 if (_argo0 == Py_None) { _arg0 = NULL; }
1377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1379 return NULL;
1380 }
1381 }
1382 {
1383 wxPy_BEGIN_ALLOW_THREADS;
1384 wxPrintData_SetPrinterScaleY(_arg0,_arg1);
1385
1386 wxPy_END_ALLOW_THREADS;
1387 if (PyErr_Occurred()) return NULL;
1388 } Py_INCREF(Py_None);
1389 _resultobj = Py_None;
1390 return _resultobj;
1391 }
1392
1393 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1394 static PyObject *_wrap_wxPrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 wxPrintData * _arg0;
1397 double _arg1;
1398 double _arg2;
1399 PyObject * _argo0 = 0;
1400 char *_kwnames[] = { "self","x","y", NULL };
1401
1402 self = self;
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPrintData_SetPrinterScaling",_kwnames,&_argo0,&_arg1,&_arg2))
1404 return NULL;
1405 if (_argo0) {
1406 if (_argo0 == Py_None) { _arg0 = NULL; }
1407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1409 return NULL;
1410 }
1411 }
1412 {
1413 wxPy_BEGIN_ALLOW_THREADS;
1414 wxPrintData_SetPrinterScaling(_arg0,_arg1,_arg2);
1415
1416 wxPy_END_ALLOW_THREADS;
1417 if (PyErr_Occurred()) return NULL;
1418 } Py_INCREF(Py_None);
1419 _resultobj = Py_None;
1420 return _resultobj;
1421 }
1422
1423 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1424 static PyObject *_wrap_wxPrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject * _resultobj;
1426 wxPrintData * _arg0;
1427 long _arg1;
1428 PyObject * _argo0 = 0;
1429 char *_kwnames[] = { "self","x", NULL };
1430
1431 self = self;
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames,&_argo0,&_arg1))
1433 return NULL;
1434 if (_argo0) {
1435 if (_argo0 == Py_None) { _arg0 = NULL; }
1436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1438 return NULL;
1439 }
1440 }
1441 {
1442 wxPy_BEGIN_ALLOW_THREADS;
1443 wxPrintData_SetPrinterTranslateX(_arg0,_arg1);
1444
1445 wxPy_END_ALLOW_THREADS;
1446 if (PyErr_Occurred()) return NULL;
1447 } Py_INCREF(Py_None);
1448 _resultobj = Py_None;
1449 return _resultobj;
1450 }
1451
1452 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1453 static PyObject *_wrap_wxPrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 wxPrintData * _arg0;
1456 long _arg1;
1457 PyObject * _argo0 = 0;
1458 char *_kwnames[] = { "self","y", NULL };
1459
1460 self = self;
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames,&_argo0,&_arg1))
1462 return NULL;
1463 if (_argo0) {
1464 if (_argo0 == Py_None) { _arg0 = NULL; }
1465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1467 return NULL;
1468 }
1469 }
1470 {
1471 wxPy_BEGIN_ALLOW_THREADS;
1472 wxPrintData_SetPrinterTranslateY(_arg0,_arg1);
1473
1474 wxPy_END_ALLOW_THREADS;
1475 if (PyErr_Occurred()) return NULL;
1476 } Py_INCREF(Py_None);
1477 _resultobj = Py_None;
1478 return _resultobj;
1479 }
1480
1481 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1482 static PyObject *_wrap_wxPrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxPrintData * _arg0;
1485 long _arg1;
1486 long _arg2;
1487 PyObject * _argo0 = 0;
1488 char *_kwnames[] = { "self","x","y", NULL };
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPrintData_SetPrinterTranslation",_kwnames,&_argo0,&_arg1,&_arg2))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1497 return NULL;
1498 }
1499 }
1500 {
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 wxPrintData_SetPrinterTranslation(_arg0,_arg1,_arg2);
1503
1504 wxPy_END_ALLOW_THREADS;
1505 if (PyErr_Occurred()) return NULL;
1506 } Py_INCREF(Py_None);
1507 _resultobj = Py_None;
1508 return _resultobj;
1509 }
1510
1511 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1512 static PyObject *_wrap_wxPrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 wxPrintData * _arg0;
1515 wxPrintMode * _arg1;
1516 PyObject * _argo0 = 0;
1517 PyObject * _argo1 = 0;
1518 char *_kwnames[] = { "self","printMode", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrintMode",_kwnames,&_argo0,&_argo1))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1527 return NULL;
1528 }
1529 }
1530 if (_argo1) {
1531 if (_argo1 == Py_None) { _arg1 = NULL; }
1532 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintMode_p")) {
1533 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1534 return NULL;
1535 }
1536 }
1537 {
1538 wxPy_BEGIN_ALLOW_THREADS;
1539 wxPrintData_SetPrintMode(_arg0,*_arg1);
1540
1541 wxPy_END_ALLOW_THREADS;
1542 if (PyErr_Occurred()) return NULL;
1543 } Py_INCREF(Py_None);
1544 _resultobj = Py_None;
1545 return _resultobj;
1546 }
1547
1548 static void *SwigwxPostScriptDCTowxDC(void *ptr) {
1549 wxPostScriptDC *src;
1550 wxDC *dest;
1551 src = (wxPostScriptDC *) ptr;
1552 dest = (wxDC *) src;
1553 return (void *) dest;
1554 }
1555
1556 static void *SwigwxPostScriptDCTowxObject(void *ptr) {
1557 wxPostScriptDC *src;
1558 wxObject *dest;
1559 src = (wxPostScriptDC *) ptr;
1560 dest = (wxObject *) src;
1561 return (void *) dest;
1562 }
1563
1564 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1565 static PyObject *_wrap_new_wxPostScriptDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 wxPostScriptDC * _result;
1568 wxPrintData * _arg0;
1569 PyObject * _argo0 = 0;
1570 char *_kwnames[] = { "printData", NULL };
1571 char _ptemp[128];
1572
1573 self = self;
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPostScriptDC",_kwnames,&_argo0))
1575 return NULL;
1576 if (_argo0) {
1577 if (_argo0 == Py_None) { _arg0 = NULL; }
1578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1580 return NULL;
1581 }
1582 }
1583 {
1584 wxPy_BEGIN_ALLOW_THREADS;
1585 _result = (wxPostScriptDC *)new_wxPostScriptDC(*_arg0);
1586
1587 wxPy_END_ALLOW_THREADS;
1588 if (PyErr_Occurred()) return NULL;
1589 } if (_result) {
1590 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPostScriptDC_p");
1591 _resultobj = Py_BuildValue("s",_ptemp);
1592 } else {
1593 Py_INCREF(Py_None);
1594 _resultobj = Py_None;
1595 }
1596 return _resultobj;
1597 }
1598
1599 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1600 static PyObject *_wrap_new_wxPostScriptDC2(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject * _resultobj;
1602 wxPostScriptDC * _result;
1603 wxString * _arg0;
1604 bool _arg1 = (bool ) TRUE;
1605 wxWindow * _arg2 = (wxWindow *) NULL;
1606 PyObject * _obj0 = 0;
1607 int tempbool1 = (int) TRUE;
1608 PyObject * _argo2 = 0;
1609 char *_kwnames[] = { "output","interactive","parent", NULL };
1610 char _ptemp[128];
1611
1612 self = self;
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:new_wxPostScriptDC2",_kwnames,&_obj0,&tempbool1,&_argo2))
1614 return NULL;
1615 {
1616 #if PYTHON_API_VERSION >= 1009
1617 char* tmpPtr; int tmpSize;
1618 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1619 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1620 return NULL;
1621 }
1622 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1623 return NULL;
1624 _arg0 = new wxString(tmpPtr, tmpSize);
1625 #else
1626 if (!PyString_Check(_obj0)) {
1627 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1628 return NULL;
1629 }
1630 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1631 #endif
1632 }
1633 _arg1 = (bool ) tempbool1;
1634 if (_argo2) {
1635 if (_argo2 == Py_None) { _arg2 = NULL; }
1636 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1638 return NULL;
1639 }
1640 }
1641 {
1642 wxPy_BEGIN_ALLOW_THREADS;
1643 _result = (wxPostScriptDC *)new_wxPostScriptDC2(*_arg0,_arg1,_arg2);
1644
1645 wxPy_END_ALLOW_THREADS;
1646 if (PyErr_Occurred()) return NULL;
1647 } if (_result) {
1648 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPostScriptDC_p");
1649 _resultobj = Py_BuildValue("s",_ptemp);
1650 } else {
1651 Py_INCREF(Py_None);
1652 _resultobj = Py_None;
1653 }
1654 {
1655 if (_obj0)
1656 delete _arg0;
1657 }
1658 return _resultobj;
1659 }
1660
1661 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1662 static PyObject *_wrap_wxPostScriptDC_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject * _resultobj;
1664 wxPrintData * _result;
1665 wxPostScriptDC * _arg0;
1666 PyObject * _argo0 = 0;
1667 char *_kwnames[] = { "self", NULL };
1668 char _ptemp[128];
1669
1670 self = self;
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPostScriptDC_GetPrintData",_kwnames,&_argo0))
1672 return NULL;
1673 if (_argo0) {
1674 if (_argo0 == Py_None) { _arg0 = NULL; }
1675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1677 return NULL;
1678 }
1679 }
1680 {
1681 wxPy_BEGIN_ALLOW_THREADS;
1682 wxPrintData & _result_ref = wxPostScriptDC_GetPrintData(_arg0);
1683 _result = (wxPrintData *) &_result_ref;
1684
1685 wxPy_END_ALLOW_THREADS;
1686 if (PyErr_Occurred()) return NULL;
1687 } if (_result) {
1688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
1689 _resultobj = Py_BuildValue("s",_ptemp);
1690 } else {
1691 Py_INCREF(Py_None);
1692 _resultobj = Py_None;
1693 }
1694 return _resultobj;
1695 }
1696
1697 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1698 static PyObject *_wrap_wxPostScriptDC_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject * _resultobj;
1700 wxPostScriptDC * _arg0;
1701 wxPrintData * _arg1;
1702 PyObject * _argo0 = 0;
1703 PyObject * _argo1 = 0;
1704 char *_kwnames[] = { "self","data", NULL };
1705
1706 self = self;
1707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostScriptDC_SetPrintData",_kwnames,&_argo0,&_argo1))
1708 return NULL;
1709 if (_argo0) {
1710 if (_argo0 == Py_None) { _arg0 = NULL; }
1711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1713 return NULL;
1714 }
1715 }
1716 if (_argo1) {
1717 if (_argo1 == Py_None) { _arg1 = NULL; }
1718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
1719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1720 return NULL;
1721 }
1722 }
1723 {
1724 wxPy_BEGIN_ALLOW_THREADS;
1725 wxPostScriptDC_SetPrintData(_arg0,*_arg1);
1726
1727 wxPy_END_ALLOW_THREADS;
1728 if (PyErr_Occurred()) return NULL;
1729 } Py_INCREF(Py_None);
1730 _resultobj = Py_None;
1731 return _resultobj;
1732 }
1733
1734 static PyObject *_wrap_wxPostScriptDC_SetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1735 PyObject * _resultobj;
1736 int _arg0;
1737 char *_kwnames[] = { "ppi", NULL };
1738
1739 self = self;
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxPostScriptDC_SetResolution",_kwnames,&_arg0))
1741 return NULL;
1742 {
1743 wxPy_BEGIN_ALLOW_THREADS;
1744 wxPostScriptDC::SetResolution(_arg0);
1745
1746 wxPy_END_ALLOW_THREADS;
1747 if (PyErr_Occurred()) return NULL;
1748 } Py_INCREF(Py_None);
1749 _resultobj = Py_None;
1750 return _resultobj;
1751 }
1752
1753 static PyObject *_wrap_wxPostScriptDC_GetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject * _resultobj;
1755 int _result;
1756 char *_kwnames[] = { NULL };
1757
1758 self = self;
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxPostScriptDC_GetResolution",_kwnames))
1760 return NULL;
1761 {
1762 wxPy_BEGIN_ALLOW_THREADS;
1763 _result = (int )wxPostScriptDC::GetResolution();
1764
1765 wxPy_END_ALLOW_THREADS;
1766 if (PyErr_Occurred()) return NULL;
1767 } _resultobj = Py_BuildValue("i",_result);
1768 return _resultobj;
1769 }
1770
1771 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr) {
1772 wxPageSetupDialogData *src;
1773 wxObject *dest;
1774 src = (wxPageSetupDialogData *) ptr;
1775 dest = (wxObject *) src;
1776 return (void *) dest;
1777 }
1778
1779 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1780 static PyObject *_wrap_new_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject * _resultobj;
1782 wxPageSetupDialogData * _result;
1783 char *_kwnames[] = { NULL };
1784 char _ptemp[128];
1785
1786 self = self;
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPageSetupDialogData",_kwnames))
1788 return NULL;
1789 {
1790 wxPy_BEGIN_ALLOW_THREADS;
1791 _result = (wxPageSetupDialogData *)new_wxPageSetupDialogData();
1792
1793 wxPy_END_ALLOW_THREADS;
1794 if (PyErr_Occurred()) return NULL;
1795 } if (_result) {
1796 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
1797 _resultobj = Py_BuildValue("s",_ptemp);
1798 } else {
1799 Py_INCREF(Py_None);
1800 _resultobj = Py_None;
1801 }
1802 return _resultobj;
1803 }
1804
1805 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1806 static PyObject *_wrap_delete_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject * _resultobj;
1808 wxPageSetupDialogData * _arg0;
1809 PyObject * _argo0 = 0;
1810 char *_kwnames[] = { "self", NULL };
1811
1812 self = self;
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPageSetupDialogData",_kwnames,&_argo0))
1814 return NULL;
1815 if (_argo0) {
1816 if (_argo0 == Py_None) { _arg0 = NULL; }
1817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1819 return NULL;
1820 }
1821 }
1822 {
1823 wxPy_BEGIN_ALLOW_THREADS;
1824 delete_wxPageSetupDialogData(_arg0);
1825
1826 wxPy_END_ALLOW_THREADS;
1827 if (PyErr_Occurred()) return NULL;
1828 } Py_INCREF(Py_None);
1829 _resultobj = Py_None;
1830 return _resultobj;
1831 }
1832
1833 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1834 static PyObject *_wrap_wxPageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject * _resultobj;
1836 wxPageSetupDialogData * _arg0;
1837 bool _arg1;
1838 PyObject * _argo0 = 0;
1839 int tempbool1;
1840 char *_kwnames[] = { "self","flag", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1849 return NULL;
1850 }
1851 }
1852 _arg1 = (bool ) tempbool1;
1853 {
1854 wxPy_BEGIN_ALLOW_THREADS;
1855 wxPageSetupDialogData_EnableHelp(_arg0,_arg1);
1856
1857 wxPy_END_ALLOW_THREADS;
1858 if (PyErr_Occurred()) return NULL;
1859 } Py_INCREF(Py_None);
1860 _resultobj = Py_None;
1861 return _resultobj;
1862 }
1863
1864 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1865 static PyObject *_wrap_wxPageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject * _resultobj;
1867 wxPageSetupDialogData * _arg0;
1868 bool _arg1;
1869 PyObject * _argo0 = 0;
1870 int tempbool1;
1871 char *_kwnames[] = { "self","flag", NULL };
1872
1873 self = self;
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames,&_argo0,&tempbool1))
1875 return NULL;
1876 if (_argo0) {
1877 if (_argo0 == Py_None) { _arg0 = NULL; }
1878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1880 return NULL;
1881 }
1882 }
1883 _arg1 = (bool ) tempbool1;
1884 {
1885 wxPy_BEGIN_ALLOW_THREADS;
1886 wxPageSetupDialogData_EnableMargins(_arg0,_arg1);
1887
1888 wxPy_END_ALLOW_THREADS;
1889 if (PyErr_Occurred()) return NULL;
1890 } Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 return _resultobj;
1893 }
1894
1895 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1896 static PyObject *_wrap_wxPageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject * _resultobj;
1898 wxPageSetupDialogData * _arg0;
1899 bool _arg1;
1900 PyObject * _argo0 = 0;
1901 int tempbool1;
1902 char *_kwnames[] = { "self","flag", NULL };
1903
1904 self = self;
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames,&_argo0,&tempbool1))
1906 return NULL;
1907 if (_argo0) {
1908 if (_argo0 == Py_None) { _arg0 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1911 return NULL;
1912 }
1913 }
1914 _arg1 = (bool ) tempbool1;
1915 {
1916 wxPy_BEGIN_ALLOW_THREADS;
1917 wxPageSetupDialogData_EnableOrientation(_arg0,_arg1);
1918
1919 wxPy_END_ALLOW_THREADS;
1920 if (PyErr_Occurred()) return NULL;
1921 } Py_INCREF(Py_None);
1922 _resultobj = Py_None;
1923 return _resultobj;
1924 }
1925
1926 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1927 static PyObject *_wrap_wxPageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject * _resultobj;
1929 wxPageSetupDialogData * _arg0;
1930 bool _arg1;
1931 PyObject * _argo0 = 0;
1932 int tempbool1;
1933 char *_kwnames[] = { "self","flag", NULL };
1934
1935 self = self;
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames,&_argo0,&tempbool1))
1937 return NULL;
1938 if (_argo0) {
1939 if (_argo0 == Py_None) { _arg0 = NULL; }
1940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1942 return NULL;
1943 }
1944 }
1945 _arg1 = (bool ) tempbool1;
1946 {
1947 wxPy_BEGIN_ALLOW_THREADS;
1948 wxPageSetupDialogData_EnablePaper(_arg0,_arg1);
1949
1950 wxPy_END_ALLOW_THREADS;
1951 if (PyErr_Occurred()) return NULL;
1952 } Py_INCREF(Py_None);
1953 _resultobj = Py_None;
1954 return _resultobj;
1955 }
1956
1957 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1958 static PyObject *_wrap_wxPageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject * _resultobj;
1960 wxPageSetupDialogData * _arg0;
1961 bool _arg1;
1962 PyObject * _argo0 = 0;
1963 int tempbool1;
1964 char *_kwnames[] = { "self","flag", NULL };
1965
1966 self = self;
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames,&_argo0,&tempbool1))
1968 return NULL;
1969 if (_argo0) {
1970 if (_argo0 == Py_None) { _arg0 = NULL; }
1971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1973 return NULL;
1974 }
1975 }
1976 _arg1 = (bool ) tempbool1;
1977 {
1978 wxPy_BEGIN_ALLOW_THREADS;
1979 wxPageSetupDialogData_EnablePrinter(_arg0,_arg1);
1980
1981 wxPy_END_ALLOW_THREADS;
1982 if (PyErr_Occurred()) return NULL;
1983 } Py_INCREF(Py_None);
1984 _resultobj = Py_None;
1985 return _resultobj;
1986 }
1987
1988 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1989 static PyObject *_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject * _resultobj;
1991 bool _result;
1992 wxPageSetupDialogData * _arg0;
1993 PyObject * _argo0 = 0;
1994 char *_kwnames[] = { "self", NULL };
1995
1996 self = self;
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames,&_argo0))
1998 return NULL;
1999 if (_argo0) {
2000 if (_argo0 == Py_None) { _arg0 = NULL; }
2001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2003 return NULL;
2004 }
2005 }
2006 {
2007 wxPy_BEGIN_ALLOW_THREADS;
2008 _result = (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0);
2009
2010 wxPy_END_ALLOW_THREADS;
2011 if (PyErr_Occurred()) return NULL;
2012 } _resultobj = Py_BuildValue("i",_result);
2013 return _resultobj;
2014 }
2015
2016 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2017 static PyObject *_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2018 PyObject * _resultobj;
2019 bool _result;
2020 wxPageSetupDialogData * _arg0;
2021 PyObject * _argo0 = 0;
2022 char *_kwnames[] = { "self", NULL };
2023
2024 self = self;
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames,&_argo0))
2026 return NULL;
2027 if (_argo0) {
2028 if (_argo0 == Py_None) { _arg0 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2031 return NULL;
2032 }
2033 }
2034 {
2035 wxPy_BEGIN_ALLOW_THREADS;
2036 _result = (bool )wxPageSetupDialogData_GetEnableMargins(_arg0);
2037
2038 wxPy_END_ALLOW_THREADS;
2039 if (PyErr_Occurred()) return NULL;
2040 } _resultobj = Py_BuildValue("i",_result);
2041 return _resultobj;
2042 }
2043
2044 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2045 static PyObject *_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject * _resultobj;
2047 bool _result;
2048 wxPageSetupDialogData * _arg0;
2049 PyObject * _argo0 = 0;
2050 char *_kwnames[] = { "self", NULL };
2051
2052 self = self;
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames,&_argo0))
2054 return NULL;
2055 if (_argo0) {
2056 if (_argo0 == Py_None) { _arg0 = NULL; }
2057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2059 return NULL;
2060 }
2061 }
2062 {
2063 wxPy_BEGIN_ALLOW_THREADS;
2064 _result = (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0);
2065
2066 wxPy_END_ALLOW_THREADS;
2067 if (PyErr_Occurred()) return NULL;
2068 } _resultobj = Py_BuildValue("i",_result);
2069 return _resultobj;
2070 }
2071
2072 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2073 static PyObject *_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject * _resultobj;
2075 bool _result;
2076 wxPageSetupDialogData * _arg0;
2077 PyObject * _argo0 = 0;
2078 char *_kwnames[] = { "self", NULL };
2079
2080 self = self;
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames,&_argo0))
2082 return NULL;
2083 if (_argo0) {
2084 if (_argo0 == Py_None) { _arg0 = NULL; }
2085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2087 return NULL;
2088 }
2089 }
2090 {
2091 wxPy_BEGIN_ALLOW_THREADS;
2092 _result = (bool )wxPageSetupDialogData_GetEnablePaper(_arg0);
2093
2094 wxPy_END_ALLOW_THREADS;
2095 if (PyErr_Occurred()) return NULL;
2096 } _resultobj = Py_BuildValue("i",_result);
2097 return _resultobj;
2098 }
2099
2100 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2101 static PyObject *_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject * _resultobj;
2103 bool _result;
2104 wxPageSetupDialogData * _arg0;
2105 PyObject * _argo0 = 0;
2106 char *_kwnames[] = { "self", NULL };
2107
2108 self = self;
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames,&_argo0))
2110 return NULL;
2111 if (_argo0) {
2112 if (_argo0 == Py_None) { _arg0 = NULL; }
2113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2115 return NULL;
2116 }
2117 }
2118 {
2119 wxPy_BEGIN_ALLOW_THREADS;
2120 _result = (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0);
2121
2122 wxPy_END_ALLOW_THREADS;
2123 if (PyErr_Occurred()) return NULL;
2124 } _resultobj = Py_BuildValue("i",_result);
2125 return _resultobj;
2126 }
2127
2128 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2129 static PyObject *_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject * _resultobj;
2131 bool _result;
2132 wxPageSetupDialogData * _arg0;
2133 PyObject * _argo0 = 0;
2134 char *_kwnames[] = { "self", NULL };
2135
2136 self = self;
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames,&_argo0))
2138 return NULL;
2139 if (_argo0) {
2140 if (_argo0 == Py_None) { _arg0 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2143 return NULL;
2144 }
2145 }
2146 {
2147 wxPy_BEGIN_ALLOW_THREADS;
2148 _result = (bool )wxPageSetupDialogData_GetEnableHelp(_arg0);
2149
2150 wxPy_END_ALLOW_THREADS;
2151 if (PyErr_Occurred()) return NULL;
2152 } _resultobj = Py_BuildValue("i",_result);
2153 return _resultobj;
2154 }
2155
2156 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2157 static PyObject *_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject * _resultobj;
2159 bool _result;
2160 wxPageSetupDialogData * _arg0;
2161 PyObject * _argo0 = 0;
2162 char *_kwnames[] = { "self", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames,&_argo0))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2171 return NULL;
2172 }
2173 }
2174 {
2175 wxPy_BEGIN_ALLOW_THREADS;
2176 _result = (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0);
2177
2178 wxPy_END_ALLOW_THREADS;
2179 if (PyErr_Occurred()) return NULL;
2180 } _resultobj = Py_BuildValue("i",_result);
2181 return _resultobj;
2182 }
2183
2184 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2185 static PyObject *_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject * _resultobj;
2187 wxPoint * _result;
2188 wxPageSetupDialogData * _arg0;
2189 PyObject * _argo0 = 0;
2190 char *_kwnames[] = { "self", NULL };
2191 char _ptemp[128];
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames,&_argo0))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2200 return NULL;
2201 }
2202 }
2203 {
2204 wxPy_BEGIN_ALLOW_THREADS;
2205 _result = new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0));
2206
2207 wxPy_END_ALLOW_THREADS;
2208 if (PyErr_Occurred()) return NULL;
2209 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2210 _resultobj = Py_BuildValue("s",_ptemp);
2211 return _resultobj;
2212 }
2213
2214 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2215 static PyObject *_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 wxPoint * _result;
2218 wxPageSetupDialogData * _arg0;
2219 PyObject * _argo0 = 0;
2220 char *_kwnames[] = { "self", NULL };
2221 char _ptemp[128];
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames,&_argo0))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2230 return NULL;
2231 }
2232 }
2233 {
2234 wxPy_BEGIN_ALLOW_THREADS;
2235 _result = new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0));
2236
2237 wxPy_END_ALLOW_THREADS;
2238 if (PyErr_Occurred()) return NULL;
2239 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2240 _resultobj = Py_BuildValue("s",_ptemp);
2241 return _resultobj;
2242 }
2243
2244 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2245 static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2246 PyObject * _resultobj;
2247 wxPoint * _result;
2248 wxPageSetupDialogData * _arg0;
2249 PyObject * _argo0 = 0;
2250 char *_kwnames[] = { "self", NULL };
2251 char _ptemp[128];
2252
2253 self = self;
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames,&_argo0))
2255 return NULL;
2256 if (_argo0) {
2257 if (_argo0 == Py_None) { _arg0 = NULL; }
2258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2260 return NULL;
2261 }
2262 }
2263 {
2264 wxPy_BEGIN_ALLOW_THREADS;
2265 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0));
2266
2267 wxPy_END_ALLOW_THREADS;
2268 if (PyErr_Occurred()) return NULL;
2269 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2270 _resultobj = Py_BuildValue("s",_ptemp);
2271 return _resultobj;
2272 }
2273
2274 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2275 static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject * _resultobj;
2277 wxPoint * _result;
2278 wxPageSetupDialogData * _arg0;
2279 PyObject * _argo0 = 0;
2280 char *_kwnames[] = { "self", NULL };
2281 char _ptemp[128];
2282
2283 self = self;
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames,&_argo0))
2285 return NULL;
2286 if (_argo0) {
2287 if (_argo0 == Py_None) { _arg0 = NULL; }
2288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2290 return NULL;
2291 }
2292 }
2293 {
2294 wxPy_BEGIN_ALLOW_THREADS;
2295 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0));
2296
2297 wxPy_END_ALLOW_THREADS;
2298 if (PyErr_Occurred()) return NULL;
2299 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2300 _resultobj = Py_BuildValue("s",_ptemp);
2301 return _resultobj;
2302 }
2303
2304 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2305 static PyObject *_wrap_wxPageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject * _resultobj;
2307 wxPaperSize _result;
2308 wxPageSetupDialogData * _arg0;
2309 PyObject * _argo0 = 0;
2310 char *_kwnames[] = { "self", NULL };
2311
2312 self = self;
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperId",_kwnames,&_argo0))
2314 return NULL;
2315 if (_argo0) {
2316 if (_argo0 == Py_None) { _arg0 = NULL; }
2317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2319 return NULL;
2320 }
2321 }
2322 {
2323 wxPy_BEGIN_ALLOW_THREADS;
2324 _result = (wxPaperSize )wxPageSetupDialogData_GetPaperId(_arg0);
2325
2326 wxPy_END_ALLOW_THREADS;
2327 if (PyErr_Occurred()) return NULL;
2328 } _resultobj = Py_BuildValue("i",_result);
2329 return _resultobj;
2330 }
2331
2332 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2333 static PyObject *_wrap_wxPageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2334 PyObject * _resultobj;
2335 wxSize * _result;
2336 wxPageSetupDialogData * _arg0;
2337 PyObject * _argo0 = 0;
2338 char *_kwnames[] = { "self", NULL };
2339 char _ptemp[128];
2340
2341 self = self;
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperSize",_kwnames,&_argo0))
2343 return NULL;
2344 if (_argo0) {
2345 if (_argo0 == Py_None) { _arg0 = NULL; }
2346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2348 return NULL;
2349 }
2350 }
2351 {
2352 wxPy_BEGIN_ALLOW_THREADS;
2353 _result = new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0));
2354
2355 wxPy_END_ALLOW_THREADS;
2356 if (PyErr_Occurred()) return NULL;
2357 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2358 _resultobj = Py_BuildValue("s",_ptemp);
2359 return _resultobj;
2360 }
2361
2362 static wxPrintData * wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData *self) {
2363 return new wxPrintData(self->GetPrintData()); // force a copy
2364 }
2365 static PyObject *_wrap_wxPageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPrintData * _result;
2368 wxPageSetupDialogData * _arg0;
2369 PyObject * _argo0 = 0;
2370 char *_kwnames[] = { "self", NULL };
2371 char _ptemp[128];
2372
2373 self = self;
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPrintData",_kwnames,&_argo0))
2375 return NULL;
2376 if (_argo0) {
2377 if (_argo0 == Py_None) { _arg0 = NULL; }
2378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2380 return NULL;
2381 }
2382 }
2383 {
2384 wxPy_BEGIN_ALLOW_THREADS;
2385 _result = (wxPrintData *)wxPageSetupDialogData_GetPrintData(_arg0);
2386
2387 wxPy_END_ALLOW_THREADS;
2388 if (PyErr_Occurred()) return NULL;
2389 } if (_result) {
2390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
2391 _resultobj = Py_BuildValue("s",_ptemp);
2392 } else {
2393 Py_INCREF(Py_None);
2394 _resultobj = Py_None;
2395 }
2396 return _resultobj;
2397 }
2398
2399 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2400 static PyObject *_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject * _resultobj;
2402 wxPageSetupDialogData * _arg0;
2403 bool _arg1;
2404 PyObject * _argo0 = 0;
2405 int tempbool1;
2406 char *_kwnames[] = { "self","flag", NULL };
2407
2408 self = self;
2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames,&_argo0,&tempbool1))
2410 return NULL;
2411 if (_argo0) {
2412 if (_argo0 == Py_None) { _arg0 = NULL; }
2413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2415 return NULL;
2416 }
2417 }
2418 _arg1 = (bool ) tempbool1;
2419 {
2420 wxPy_BEGIN_ALLOW_THREADS;
2421 wxPageSetupDialogData_SetDefaultInfo(_arg0,_arg1);
2422
2423 wxPy_END_ALLOW_THREADS;
2424 if (PyErr_Occurred()) return NULL;
2425 } Py_INCREF(Py_None);
2426 _resultobj = Py_None;
2427 return _resultobj;
2428 }
2429
2430 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2431 static PyObject *_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2432 PyObject * _resultobj;
2433 wxPageSetupDialogData * _arg0;
2434 bool _arg1;
2435 PyObject * _argo0 = 0;
2436 int tempbool1;
2437 char *_kwnames[] = { "self","flag", NULL };
2438
2439 self = self;
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames,&_argo0,&tempbool1))
2441 return NULL;
2442 if (_argo0) {
2443 if (_argo0 == Py_None) { _arg0 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2446 return NULL;
2447 }
2448 }
2449 _arg1 = (bool ) tempbool1;
2450 {
2451 wxPy_BEGIN_ALLOW_THREADS;
2452 wxPageSetupDialogData_SetDefaultMinMargins(_arg0,_arg1);
2453
2454 wxPy_END_ALLOW_THREADS;
2455 if (PyErr_Occurred()) return NULL;
2456 } Py_INCREF(Py_None);
2457 _resultobj = Py_None;
2458 return _resultobj;
2459 }
2460
2461 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2462 static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject * _resultobj;
2464 wxPageSetupDialogData * _arg0;
2465 wxPoint * _arg1;
2466 PyObject * _argo0 = 0;
2467 wxPoint temp;
2468 PyObject * _obj1 = 0;
2469 char *_kwnames[] = { "self","pt", NULL };
2470
2471 self = self;
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1))
2473 return NULL;
2474 if (_argo0) {
2475 if (_argo0 == Py_None) { _arg0 = NULL; }
2476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2478 return NULL;
2479 }
2480 }
2481 {
2482 _arg1 = &temp;
2483 if (! wxPoint_helper(_obj1, &_arg1))
2484 return NULL;
2485 }
2486 {
2487 wxPy_BEGIN_ALLOW_THREADS;
2488 wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
2489
2490 wxPy_END_ALLOW_THREADS;
2491 if (PyErr_Occurred()) return NULL;
2492 } Py_INCREF(Py_None);
2493 _resultobj = Py_None;
2494 return _resultobj;
2495 }
2496
2497 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2498 static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject * _resultobj;
2500 wxPageSetupDialogData * _arg0;
2501 wxPoint * _arg1;
2502 PyObject * _argo0 = 0;
2503 wxPoint temp;
2504 PyObject * _obj1 = 0;
2505 char *_kwnames[] = { "self","pt", NULL };
2506
2507 self = self;
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1))
2509 return NULL;
2510 if (_argo0) {
2511 if (_argo0 == Py_None) { _arg0 = NULL; }
2512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2514 return NULL;
2515 }
2516 }
2517 {
2518 _arg1 = &temp;
2519 if (! wxPoint_helper(_obj1, &_arg1))
2520 return NULL;
2521 }
2522 {
2523 wxPy_BEGIN_ALLOW_THREADS;
2524 wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
2525
2526 wxPy_END_ALLOW_THREADS;
2527 if (PyErr_Occurred()) return NULL;
2528 } Py_INCREF(Py_None);
2529 _resultobj = Py_None;
2530 return _resultobj;
2531 }
2532
2533 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2534 static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject * _resultobj;
2536 wxPageSetupDialogData * _arg0;
2537 wxPoint * _arg1;
2538 PyObject * _argo0 = 0;
2539 wxPoint temp;
2540 PyObject * _obj1 = 0;
2541 char *_kwnames[] = { "self","pt", NULL };
2542
2543 self = self;
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1))
2545 return NULL;
2546 if (_argo0) {
2547 if (_argo0 == Py_None) { _arg0 = NULL; }
2548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2550 return NULL;
2551 }
2552 }
2553 {
2554 _arg1 = &temp;
2555 if (! wxPoint_helper(_obj1, &_arg1))
2556 return NULL;
2557 }
2558 {
2559 wxPy_BEGIN_ALLOW_THREADS;
2560 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1);
2561
2562 wxPy_END_ALLOW_THREADS;
2563 if (PyErr_Occurred()) return NULL;
2564 } Py_INCREF(Py_None);
2565 _resultobj = Py_None;
2566 return _resultobj;
2567 }
2568
2569 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2570 static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2571 PyObject * _resultobj;
2572 wxPageSetupDialogData * _arg0;
2573 wxPoint * _arg1;
2574 PyObject * _argo0 = 0;
2575 wxPoint temp;
2576 PyObject * _obj1 = 0;
2577 char *_kwnames[] = { "self","pt", NULL };
2578
2579 self = self;
2580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_obj1))
2581 return NULL;
2582 if (_argo0) {
2583 if (_argo0 == Py_None) { _arg0 = NULL; }
2584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2586 return NULL;
2587 }
2588 }
2589 {
2590 _arg1 = &temp;
2591 if (! wxPoint_helper(_obj1, &_arg1))
2592 return NULL;
2593 }
2594 {
2595 wxPy_BEGIN_ALLOW_THREADS;
2596 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1);
2597
2598 wxPy_END_ALLOW_THREADS;
2599 if (PyErr_Occurred()) return NULL;
2600 } Py_INCREF(Py_None);
2601 _resultobj = Py_None;
2602 return _resultobj;
2603 }
2604
2605 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2606 static PyObject *_wrap_wxPageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject * _resultobj;
2608 wxPageSetupDialogData * _arg0;
2609 wxPaperSize _arg1;
2610 PyObject * _argo0 = 0;
2611 char *_kwnames[] = { "self","id", NULL };
2612
2613 self = self;
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames,&_argo0,&_arg1))
2615 return NULL;
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2620 return NULL;
2621 }
2622 }
2623 {
2624 wxPy_BEGIN_ALLOW_THREADS;
2625 wxPageSetupDialogData_SetPaperId(_arg0,_arg1);
2626
2627 wxPy_END_ALLOW_THREADS;
2628 if (PyErr_Occurred()) return NULL;
2629 } Py_INCREF(Py_None);
2630 _resultobj = Py_None;
2631 return _resultobj;
2632 }
2633
2634 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2635 static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject * _resultobj;
2637 wxPageSetupDialogData * _arg0;
2638 wxSize * _arg1;
2639 PyObject * _argo0 = 0;
2640 wxSize temp;
2641 PyObject * _obj1 = 0;
2642 char *_kwnames[] = { "self","size", NULL };
2643
2644 self = self;
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1))
2646 return NULL;
2647 if (_argo0) {
2648 if (_argo0 == Py_None) { _arg0 = NULL; }
2649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2651 return NULL;
2652 }
2653 }
2654 {
2655 _arg1 = &temp;
2656 if (! wxSize_helper(_obj1, &_arg1))
2657 return NULL;
2658 }
2659 {
2660 wxPy_BEGIN_ALLOW_THREADS;
2661 wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
2662
2663 wxPy_END_ALLOW_THREADS;
2664 if (PyErr_Occurred()) return NULL;
2665 } Py_INCREF(Py_None);
2666 _resultobj = Py_None;
2667 return _resultobj;
2668 }
2669
2670 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2671 static PyObject *_wrap_wxPageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject * _resultobj;
2673 wxPageSetupDialogData * _arg0;
2674 wxPrintData * _arg1;
2675 PyObject * _argo0 = 0;
2676 PyObject * _argo1 = 0;
2677 char *_kwnames[] = { "self","printData", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2686 return NULL;
2687 }
2688 }
2689 if (_argo1) {
2690 if (_argo1 == Py_None) { _arg1 = NULL; }
2691 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
2692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2693 return NULL;
2694 }
2695 }
2696 {
2697 wxPy_BEGIN_ALLOW_THREADS;
2698 wxPageSetupDialogData_SetPrintData(_arg0,*_arg1);
2699
2700 wxPy_END_ALLOW_THREADS;
2701 if (PyErr_Occurred()) return NULL;
2702 } Py_INCREF(Py_None);
2703 _resultobj = Py_None;
2704 return _resultobj;
2705 }
2706
2707 static void *SwigwxPageSetupDialogTowxDialog(void *ptr) {
2708 wxPageSetupDialog *src;
2709 wxDialog *dest;
2710 src = (wxPageSetupDialog *) ptr;
2711 dest = (wxDialog *) src;
2712 return (void *) dest;
2713 }
2714
2715 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr) {
2716 wxPageSetupDialog *src;
2717 wxTopLevelWindow *dest;
2718 src = (wxPageSetupDialog *) ptr;
2719 dest = (wxTopLevelWindow *) src;
2720 return (void *) dest;
2721 }
2722
2723 static void *SwigwxPageSetupDialogTowxWindow(void *ptr) {
2724 wxPageSetupDialog *src;
2725 wxWindow *dest;
2726 src = (wxPageSetupDialog *) ptr;
2727 dest = (wxWindow *) src;
2728 return (void *) dest;
2729 }
2730
2731 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) {
2732 wxPageSetupDialog *src;
2733 wxEvtHandler *dest;
2734 src = (wxPageSetupDialog *) ptr;
2735 dest = (wxEvtHandler *) src;
2736 return (void *) dest;
2737 }
2738
2739 static void *SwigwxPageSetupDialogTowxObject(void *ptr) {
2740 wxPageSetupDialog *src;
2741 wxObject *dest;
2742 src = (wxPageSetupDialog *) ptr;
2743 dest = (wxObject *) src;
2744 return (void *) dest;
2745 }
2746
2747 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2748 static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject * _resultobj;
2750 wxPageSetupDialog * _result;
2751 wxWindow * _arg0;
2752 wxPageSetupDialogData * _arg1 = (wxPageSetupDialogData *) NULL;
2753 PyObject * _argo0 = 0;
2754 PyObject * _argo1 = 0;
2755 char *_kwnames[] = { "parent","data", NULL };
2756 char _ptemp[128];
2757
2758 self = self;
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPageSetupDialog",_kwnames,&_argo0,&_argo1))
2760 return NULL;
2761 if (_argo0) {
2762 if (_argo0 == Py_None) { _arg0 = NULL; }
2763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2765 return NULL;
2766 }
2767 }
2768 if (_argo1) {
2769 if (_argo1 == Py_None) { _arg1 = NULL; }
2770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPageSetupDialogData_p")) {
2771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2772 return NULL;
2773 }
2774 }
2775 {
2776 wxPy_BEGIN_ALLOW_THREADS;
2777 _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1);
2778
2779 wxPy_END_ALLOW_THREADS;
2780 if (PyErr_Occurred()) return NULL;
2781 } if (_result) {
2782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p");
2783 _resultobj = Py_BuildValue("s",_ptemp);
2784 } else {
2785 Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 }
2788 return _resultobj;
2789 }
2790
2791 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2792 static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject * _resultobj;
2794 wxPageSetupDialogData * _result;
2795 wxPageSetupDialog * _arg0;
2796 PyObject * _argo0 = 0;
2797 char *_kwnames[] = { "self", NULL };
2798 char _ptemp[128];
2799
2800 self = self;
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_GetPageSetupData",_kwnames,&_argo0))
2802 return NULL;
2803 if (_argo0) {
2804 if (_argo0 == Py_None) { _arg0 = NULL; }
2805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
2806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2807 return NULL;
2808 }
2809 }
2810 {
2811 wxPy_BEGIN_ALLOW_THREADS;
2812 wxPageSetupDialogData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0);
2813 _result = (wxPageSetupDialogData *) &_result_ref;
2814
2815 wxPy_END_ALLOW_THREADS;
2816 if (PyErr_Occurred()) return NULL;
2817 } if (_result) {
2818 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
2819 _resultobj = Py_BuildValue("s",_ptemp);
2820 } else {
2821 Py_INCREF(Py_None);
2822 _resultobj = Py_None;
2823 }
2824 return _resultobj;
2825 }
2826
2827 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2828 static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject * _resultobj;
2830 int _result;
2831 wxPageSetupDialog * _arg0;
2832 PyObject * _argo0 = 0;
2833 char *_kwnames[] = { "self", NULL };
2834
2835 self = self;
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_ShowModal",_kwnames,&_argo0))
2837 return NULL;
2838 if (_argo0) {
2839 if (_argo0 == Py_None) { _arg0 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2842 return NULL;
2843 }
2844 }
2845 {
2846 wxPy_BEGIN_ALLOW_THREADS;
2847 _result = (int )wxPageSetupDialog_ShowModal(_arg0);
2848
2849 wxPy_END_ALLOW_THREADS;
2850 if (PyErr_Occurred()) return NULL;
2851 } _resultobj = Py_BuildValue("i",_result);
2852 return _resultobj;
2853 }
2854
2855 static void *SwigwxPrintDialogDataTowxObject(void *ptr) {
2856 wxPrintDialogData *src;
2857 wxObject *dest;
2858 src = (wxPrintDialogData *) ptr;
2859 dest = (wxObject *) src;
2860 return (void *) dest;
2861 }
2862
2863 #define new_wxPrintDialogData() (new wxPrintDialogData())
2864 static PyObject *_wrap_new_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject * _resultobj;
2866 wxPrintDialogData * _result;
2867 char *_kwnames[] = { NULL };
2868 char _ptemp[128];
2869
2870 self = self;
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintDialogData",_kwnames))
2872 return NULL;
2873 {
2874 wxPy_BEGIN_ALLOW_THREADS;
2875 _result = (wxPrintDialogData *)new_wxPrintDialogData();
2876
2877 wxPy_END_ALLOW_THREADS;
2878 if (PyErr_Occurred()) return NULL;
2879 } if (_result) {
2880 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
2881 _resultobj = Py_BuildValue("s",_ptemp);
2882 } else {
2883 Py_INCREF(Py_None);
2884 _resultobj = Py_None;
2885 }
2886 return _resultobj;
2887 }
2888
2889 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2890 static PyObject *_wrap_delete_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject * _resultobj;
2892 wxPrintDialogData * _arg0;
2893 PyObject * _argo0 = 0;
2894 char *_kwnames[] = { "self", NULL };
2895
2896 self = self;
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintDialogData",_kwnames,&_argo0))
2898 return NULL;
2899 if (_argo0) {
2900 if (_argo0 == Py_None) { _arg0 = NULL; }
2901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2903 return NULL;
2904 }
2905 }
2906 {
2907 wxPy_BEGIN_ALLOW_THREADS;
2908 delete_wxPrintDialogData(_arg0);
2909
2910 wxPy_END_ALLOW_THREADS;
2911 if (PyErr_Occurred()) return NULL;
2912 } Py_INCREF(Py_None);
2913 _resultobj = Py_None;
2914 return _resultobj;
2915 }
2916
2917 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2918 static PyObject *_wrap_wxPrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject * _resultobj;
2920 wxPrintDialogData * _arg0;
2921 bool _arg1;
2922 PyObject * _argo0 = 0;
2923 int tempbool1;
2924 char *_kwnames[] = { "self","flag", NULL };
2925
2926 self = self;
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
2928 return NULL;
2929 if (_argo0) {
2930 if (_argo0 == Py_None) { _arg0 = NULL; }
2931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2933 return NULL;
2934 }
2935 }
2936 _arg1 = (bool ) tempbool1;
2937 {
2938 wxPy_BEGIN_ALLOW_THREADS;
2939 wxPrintDialogData_EnableHelp(_arg0,_arg1);
2940
2941 wxPy_END_ALLOW_THREADS;
2942 if (PyErr_Occurred()) return NULL;
2943 } Py_INCREF(Py_None);
2944 _resultobj = Py_None;
2945 return _resultobj;
2946 }
2947
2948 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2949 static PyObject *_wrap_wxPrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject * _resultobj;
2951 wxPrintDialogData * _arg0;
2952 bool _arg1;
2953 PyObject * _argo0 = 0;
2954 int tempbool1;
2955 char *_kwnames[] = { "self","flag", NULL };
2956
2957 self = self;
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames,&_argo0,&tempbool1))
2959 return NULL;
2960 if (_argo0) {
2961 if (_argo0 == Py_None) { _arg0 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2964 return NULL;
2965 }
2966 }
2967 _arg1 = (bool ) tempbool1;
2968 {
2969 wxPy_BEGIN_ALLOW_THREADS;
2970 wxPrintDialogData_EnablePageNumbers(_arg0,_arg1);
2971
2972 wxPy_END_ALLOW_THREADS;
2973 if (PyErr_Occurred()) return NULL;
2974 } Py_INCREF(Py_None);
2975 _resultobj = Py_None;
2976 return _resultobj;
2977 }
2978
2979 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2980 static PyObject *_wrap_wxPrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 wxPrintDialogData * _arg0;
2983 bool _arg1;
2984 PyObject * _argo0 = 0;
2985 int tempbool1;
2986 char *_kwnames[] = { "self","flag", NULL };
2987
2988 self = self;
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames,&_argo0,&tempbool1))
2990 return NULL;
2991 if (_argo0) {
2992 if (_argo0 == Py_None) { _arg0 = NULL; }
2993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2995 return NULL;
2996 }
2997 }
2998 _arg1 = (bool ) tempbool1;
2999 {
3000 wxPy_BEGIN_ALLOW_THREADS;
3001 wxPrintDialogData_EnablePrintToFile(_arg0,_arg1);
3002
3003 wxPy_END_ALLOW_THREADS;
3004 if (PyErr_Occurred()) return NULL;
3005 } Py_INCREF(Py_None);
3006 _resultobj = Py_None;
3007 return _resultobj;
3008 }
3009
3010 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3011 static PyObject *_wrap_wxPrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxPrintDialogData * _arg0;
3014 bool _arg1;
3015 PyObject * _argo0 = 0;
3016 int tempbool1;
3017 char *_kwnames[] = { "self","flag", NULL };
3018
3019 self = self;
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableSelection",_kwnames,&_argo0,&tempbool1))
3021 return NULL;
3022 if (_argo0) {
3023 if (_argo0 == Py_None) { _arg0 = NULL; }
3024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3026 return NULL;
3027 }
3028 }
3029 _arg1 = (bool ) tempbool1;
3030 {
3031 wxPy_BEGIN_ALLOW_THREADS;
3032 wxPrintDialogData_EnableSelection(_arg0,_arg1);
3033
3034 wxPy_END_ALLOW_THREADS;
3035 if (PyErr_Occurred()) return NULL;
3036 } Py_INCREF(Py_None);
3037 _resultobj = Py_None;
3038 return _resultobj;
3039 }
3040
3041 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3042 static PyObject *_wrap_wxPrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject * _resultobj;
3044 bool _result;
3045 wxPrintDialogData * _arg0;
3046 PyObject * _argo0 = 0;
3047 char *_kwnames[] = { "self", NULL };
3048
3049 self = self;
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetAllPages",_kwnames,&_argo0))
3051 return NULL;
3052 if (_argo0) {
3053 if (_argo0 == Py_None) { _arg0 = NULL; }
3054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3056 return NULL;
3057 }
3058 }
3059 {
3060 wxPy_BEGIN_ALLOW_THREADS;
3061 _result = (bool )wxPrintDialogData_GetAllPages(_arg0);
3062
3063 wxPy_END_ALLOW_THREADS;
3064 if (PyErr_Occurred()) return NULL;
3065 } _resultobj = Py_BuildValue("i",_result);
3066 return _resultobj;
3067 }
3068
3069 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3070 static PyObject *_wrap_wxPrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject * _resultobj;
3072 bool _result;
3073 wxPrintDialogData * _arg0;
3074 PyObject * _argo0 = 0;
3075 char *_kwnames[] = { "self", NULL };
3076
3077 self = self;
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetCollate",_kwnames,&_argo0))
3079 return NULL;
3080 if (_argo0) {
3081 if (_argo0 == Py_None) { _arg0 = NULL; }
3082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3084 return NULL;
3085 }
3086 }
3087 {
3088 wxPy_BEGIN_ALLOW_THREADS;
3089 _result = (bool )wxPrintDialogData_GetCollate(_arg0);
3090
3091 wxPy_END_ALLOW_THREADS;
3092 if (PyErr_Occurred()) return NULL;
3093 } _resultobj = Py_BuildValue("i",_result);
3094 return _resultobj;
3095 }
3096
3097 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3098 static PyObject *_wrap_wxPrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject * _resultobj;
3100 int _result;
3101 wxPrintDialogData * _arg0;
3102 PyObject * _argo0 = 0;
3103 char *_kwnames[] = { "self", NULL };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetFromPage",_kwnames,&_argo0))
3107 return NULL;
3108 if (_argo0) {
3109 if (_argo0 == Py_None) { _arg0 = NULL; }
3110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3112 return NULL;
3113 }
3114 }
3115 {
3116 wxPy_BEGIN_ALLOW_THREADS;
3117 _result = (int )wxPrintDialogData_GetFromPage(_arg0);
3118
3119 wxPy_END_ALLOW_THREADS;
3120 if (PyErr_Occurred()) return NULL;
3121 } _resultobj = Py_BuildValue("i",_result);
3122 return _resultobj;
3123 }
3124
3125 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3126 static PyObject *_wrap_wxPrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject * _resultobj;
3128 int _result;
3129 wxPrintDialogData * _arg0;
3130 PyObject * _argo0 = 0;
3131 char *_kwnames[] = { "self", NULL };
3132
3133 self = self;
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMaxPage",_kwnames,&_argo0))
3135 return NULL;
3136 if (_argo0) {
3137 if (_argo0 == Py_None) { _arg0 = NULL; }
3138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3140 return NULL;
3141 }
3142 }
3143 {
3144 wxPy_BEGIN_ALLOW_THREADS;
3145 _result = (int )wxPrintDialogData_GetMaxPage(_arg0);
3146
3147 wxPy_END_ALLOW_THREADS;
3148 if (PyErr_Occurred()) return NULL;
3149 } _resultobj = Py_BuildValue("i",_result);
3150 return _resultobj;
3151 }
3152
3153 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3154 static PyObject *_wrap_wxPrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3155 PyObject * _resultobj;
3156 int _result;
3157 wxPrintDialogData * _arg0;
3158 PyObject * _argo0 = 0;
3159 char *_kwnames[] = { "self", NULL };
3160
3161 self = self;
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMinPage",_kwnames,&_argo0))
3163 return NULL;
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3168 return NULL;
3169 }
3170 }
3171 {
3172 wxPy_BEGIN_ALLOW_THREADS;
3173 _result = (int )wxPrintDialogData_GetMinPage(_arg0);
3174
3175 wxPy_END_ALLOW_THREADS;
3176 if (PyErr_Occurred()) return NULL;
3177 } _resultobj = Py_BuildValue("i",_result);
3178 return _resultobj;
3179 }
3180
3181 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3182 static PyObject *_wrap_wxPrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject * _resultobj;
3184 int _result;
3185 wxPrintDialogData * _arg0;
3186 PyObject * _argo0 = 0;
3187 char *_kwnames[] = { "self", NULL };
3188
3189 self = self;
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetNoCopies",_kwnames,&_argo0))
3191 return NULL;
3192 if (_argo0) {
3193 if (_argo0 == Py_None) { _arg0 = NULL; }
3194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3196 return NULL;
3197 }
3198 }
3199 {
3200 wxPy_BEGIN_ALLOW_THREADS;
3201 _result = (int )wxPrintDialogData_GetNoCopies(_arg0);
3202
3203 wxPy_END_ALLOW_THREADS;
3204 if (PyErr_Occurred()) return NULL;
3205 } _resultobj = Py_BuildValue("i",_result);
3206 return _resultobj;
3207 }
3208
3209 static wxPrintData * wxPrintDialogData_GetPrintData(wxPrintDialogData *self) {
3210 return new wxPrintData(self->GetPrintData()); // force a copy
3211 }
3212 static PyObject *_wrap_wxPrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3213 PyObject * _resultobj;
3214 wxPrintData * _result;
3215 wxPrintDialogData * _arg0;
3216 PyObject * _argo0 = 0;
3217 char *_kwnames[] = { "self", NULL };
3218 char _ptemp[128];
3219
3220 self = self;
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintData",_kwnames,&_argo0))
3222 return NULL;
3223 if (_argo0) {
3224 if (_argo0 == Py_None) { _arg0 = NULL; }
3225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3227 return NULL;
3228 }
3229 }
3230 {
3231 wxPy_BEGIN_ALLOW_THREADS;
3232 _result = (wxPrintData *)wxPrintDialogData_GetPrintData(_arg0);
3233
3234 wxPy_END_ALLOW_THREADS;
3235 if (PyErr_Occurred()) return NULL;
3236 } if (_result) {
3237 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
3238 _resultobj = Py_BuildValue("s",_ptemp);
3239 } else {
3240 Py_INCREF(Py_None);
3241 _resultobj = Py_None;
3242 }
3243 return _resultobj;
3244 }
3245
3246 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3247 static PyObject *_wrap_wxPrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject * _resultobj;
3249 bool _result;
3250 wxPrintDialogData * _arg0;
3251 PyObject * _argo0 = 0;
3252 char *_kwnames[] = { "self", NULL };
3253
3254 self = self;
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintToFile",_kwnames,&_argo0))
3256 return NULL;
3257 if (_argo0) {
3258 if (_argo0 == Py_None) { _arg0 = NULL; }
3259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3261 return NULL;
3262 }
3263 }
3264 {
3265 wxPy_BEGIN_ALLOW_THREADS;
3266 _result = (bool )wxPrintDialogData_GetPrintToFile(_arg0);
3267
3268 wxPy_END_ALLOW_THREADS;
3269 if (PyErr_Occurred()) return NULL;
3270 } _resultobj = Py_BuildValue("i",_result);
3271 return _resultobj;
3272 }
3273
3274 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3275 static PyObject *_wrap_wxPrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject * _resultobj;
3277 int _result;
3278 wxPrintDialogData * _arg0;
3279 PyObject * _argo0 = 0;
3280 char *_kwnames[] = { "self", NULL };
3281
3282 self = self;
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetToPage",_kwnames,&_argo0))
3284 return NULL;
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3289 return NULL;
3290 }
3291 }
3292 {
3293 wxPy_BEGIN_ALLOW_THREADS;
3294 _result = (int )wxPrintDialogData_GetToPage(_arg0);
3295
3296 wxPy_END_ALLOW_THREADS;
3297 if (PyErr_Occurred()) return NULL;
3298 } _resultobj = Py_BuildValue("i",_result);
3299 return _resultobj;
3300 }
3301
3302 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3303 static PyObject *_wrap_wxPrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject * _resultobj;
3305 wxPrintDialogData * _arg0;
3306 bool _arg1;
3307 PyObject * _argo0 = 0;
3308 int tempbool1;
3309 char *_kwnames[] = { "self","flag", NULL };
3310
3311 self = self;
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetCollate",_kwnames,&_argo0,&tempbool1))
3313 return NULL;
3314 if (_argo0) {
3315 if (_argo0 == Py_None) { _arg0 = NULL; }
3316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3318 return NULL;
3319 }
3320 }
3321 _arg1 = (bool ) tempbool1;
3322 {
3323 wxPy_BEGIN_ALLOW_THREADS;
3324 wxPrintDialogData_SetCollate(_arg0,_arg1);
3325
3326 wxPy_END_ALLOW_THREADS;
3327 if (PyErr_Occurred()) return NULL;
3328 } Py_INCREF(Py_None);
3329 _resultobj = Py_None;
3330 return _resultobj;
3331 }
3332
3333 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3334 static PyObject *_wrap_wxPrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject * _resultobj;
3336 wxPrintDialogData * _arg0;
3337 int _arg1;
3338 PyObject * _argo0 = 0;
3339 char *_kwnames[] = { "self","page", NULL };
3340
3341 self = self;
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetFromPage",_kwnames,&_argo0,&_arg1))
3343 return NULL;
3344 if (_argo0) {
3345 if (_argo0 == Py_None) { _arg0 = NULL; }
3346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3348 return NULL;
3349 }
3350 }
3351 {
3352 wxPy_BEGIN_ALLOW_THREADS;
3353 wxPrintDialogData_SetFromPage(_arg0,_arg1);
3354
3355 wxPy_END_ALLOW_THREADS;
3356 if (PyErr_Occurred()) return NULL;
3357 } Py_INCREF(Py_None);
3358 _resultobj = Py_None;
3359 return _resultobj;
3360 }
3361
3362 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3363 static PyObject *_wrap_wxPrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject * _resultobj;
3365 wxPrintDialogData * _arg0;
3366 int _arg1;
3367 PyObject * _argo0 = 0;
3368 char *_kwnames[] = { "self","page", NULL };
3369
3370 self = self;
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMaxPage",_kwnames,&_argo0,&_arg1))
3372 return NULL;
3373 if (_argo0) {
3374 if (_argo0 == Py_None) { _arg0 = NULL; }
3375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3377 return NULL;
3378 }
3379 }
3380 {
3381 wxPy_BEGIN_ALLOW_THREADS;
3382 wxPrintDialogData_SetMaxPage(_arg0,_arg1);
3383
3384 wxPy_END_ALLOW_THREADS;
3385 if (PyErr_Occurred()) return NULL;
3386 } Py_INCREF(Py_None);
3387 _resultobj = Py_None;
3388 return _resultobj;
3389 }
3390
3391 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3392 static PyObject *_wrap_wxPrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject * _resultobj;
3394 wxPrintDialogData * _arg0;
3395 int _arg1;
3396 PyObject * _argo0 = 0;
3397 char *_kwnames[] = { "self","page", NULL };
3398
3399 self = self;
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMinPage",_kwnames,&_argo0,&_arg1))
3401 return NULL;
3402 if (_argo0) {
3403 if (_argo0 == Py_None) { _arg0 = NULL; }
3404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3406 return NULL;
3407 }
3408 }
3409 {
3410 wxPy_BEGIN_ALLOW_THREADS;
3411 wxPrintDialogData_SetMinPage(_arg0,_arg1);
3412
3413 wxPy_END_ALLOW_THREADS;
3414 if (PyErr_Occurred()) return NULL;
3415 } Py_INCREF(Py_None);
3416 _resultobj = Py_None;
3417 return _resultobj;
3418 }
3419
3420 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3421 static PyObject *_wrap_wxPrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject * _resultobj;
3423 wxPrintDialogData * _arg0;
3424 int _arg1;
3425 PyObject * _argo0 = 0;
3426 char *_kwnames[] = { "self","n", NULL };
3427
3428 self = self;
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetNoCopies",_kwnames,&_argo0,&_arg1))
3430 return NULL;
3431 if (_argo0) {
3432 if (_argo0 == Py_None) { _arg0 = NULL; }
3433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3435 return NULL;
3436 }
3437 }
3438 {
3439 wxPy_BEGIN_ALLOW_THREADS;
3440 wxPrintDialogData_SetNoCopies(_arg0,_arg1);
3441
3442 wxPy_END_ALLOW_THREADS;
3443 if (PyErr_Occurred()) return NULL;
3444 } Py_INCREF(Py_None);
3445 _resultobj = Py_None;
3446 return _resultobj;
3447 }
3448
3449 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3450 static PyObject *_wrap_wxPrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject * _resultobj;
3452 wxPrintDialogData * _arg0;
3453 wxPrintData * _arg1;
3454 PyObject * _argo0 = 0;
3455 PyObject * _argo1 = 0;
3456 char *_kwnames[] = { "self","printData", NULL };
3457
3458 self = self;
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
3460 return NULL;
3461 if (_argo0) {
3462 if (_argo0 == Py_None) { _arg0 = NULL; }
3463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3465 return NULL;
3466 }
3467 }
3468 if (_argo1) {
3469 if (_argo1 == Py_None) { _arg1 = NULL; }
3470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
3471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3472 return NULL;
3473 }
3474 }
3475 {
3476 wxPy_BEGIN_ALLOW_THREADS;
3477 wxPrintDialogData_SetPrintData(_arg0,*_arg1);
3478
3479 wxPy_END_ALLOW_THREADS;
3480 if (PyErr_Occurred()) return NULL;
3481 } Py_INCREF(Py_None);
3482 _resultobj = Py_None;
3483 return _resultobj;
3484 }
3485
3486 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3487 static PyObject *_wrap_wxPrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject * _resultobj;
3489 wxPrintDialogData * _arg0;
3490 bool _arg1;
3491 PyObject * _argo0 = 0;
3492 int tempbool1;
3493 char *_kwnames[] = { "self","flag", NULL };
3494
3495 self = self;
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames,&_argo0,&tempbool1))
3497 return NULL;
3498 if (_argo0) {
3499 if (_argo0 == Py_None) { _arg0 = NULL; }
3500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3502 return NULL;
3503 }
3504 }
3505 _arg1 = (bool ) tempbool1;
3506 {
3507 wxPy_BEGIN_ALLOW_THREADS;
3508 wxPrintDialogData_SetPrintToFile(_arg0,_arg1);
3509
3510 wxPy_END_ALLOW_THREADS;
3511 if (PyErr_Occurred()) return NULL;
3512 } Py_INCREF(Py_None);
3513 _resultobj = Py_None;
3514 return _resultobj;
3515 }
3516
3517 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3518 static PyObject *_wrap_wxPrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3519 PyObject * _resultobj;
3520 wxPrintDialogData * _arg0;
3521 bool _arg1;
3522 PyObject * _argo0 = 0;
3523 int tempbool1;
3524 char *_kwnames[] = { "self","flag", NULL };
3525
3526 self = self;
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames,&_argo0,&tempbool1))
3528 return NULL;
3529 if (_argo0) {
3530 if (_argo0 == Py_None) { _arg0 = NULL; }
3531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3533 return NULL;
3534 }
3535 }
3536 _arg1 = (bool ) tempbool1;
3537 {
3538 wxPy_BEGIN_ALLOW_THREADS;
3539 wxPrintDialogData_SetSetupDialog(_arg0,_arg1);
3540
3541 wxPy_END_ALLOW_THREADS;
3542 if (PyErr_Occurred()) return NULL;
3543 } Py_INCREF(Py_None);
3544 _resultobj = Py_None;
3545 return _resultobj;
3546 }
3547
3548 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3549 static PyObject *_wrap_wxPrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3550 PyObject * _resultobj;
3551 wxPrintDialogData * _arg0;
3552 int _arg1;
3553 PyObject * _argo0 = 0;
3554 char *_kwnames[] = { "self","page", NULL };
3555
3556 self = self;
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetToPage",_kwnames,&_argo0,&_arg1))
3558 return NULL;
3559 if (_argo0) {
3560 if (_argo0 == Py_None) { _arg0 = NULL; }
3561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3563 return NULL;
3564 }
3565 }
3566 {
3567 wxPy_BEGIN_ALLOW_THREADS;
3568 wxPrintDialogData_SetToPage(_arg0,_arg1);
3569
3570 wxPy_END_ALLOW_THREADS;
3571 if (PyErr_Occurred()) return NULL;
3572 } Py_INCREF(Py_None);
3573 _resultobj = Py_None;
3574 return _resultobj;
3575 }
3576
3577 static void *SwigwxPrintDialogTowxDialog(void *ptr) {
3578 wxPrintDialog *src;
3579 wxDialog *dest;
3580 src = (wxPrintDialog *) ptr;
3581 dest = (wxDialog *) src;
3582 return (void *) dest;
3583 }
3584
3585 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr) {
3586 wxPrintDialog *src;
3587 wxTopLevelWindow *dest;
3588 src = (wxPrintDialog *) ptr;
3589 dest = (wxTopLevelWindow *) src;
3590 return (void *) dest;
3591 }
3592
3593 static void *SwigwxPrintDialogTowxWindow(void *ptr) {
3594 wxPrintDialog *src;
3595 wxWindow *dest;
3596 src = (wxPrintDialog *) ptr;
3597 dest = (wxWindow *) src;
3598 return (void *) dest;
3599 }
3600
3601 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) {
3602 wxPrintDialog *src;
3603 wxEvtHandler *dest;
3604 src = (wxPrintDialog *) ptr;
3605 dest = (wxEvtHandler *) src;
3606 return (void *) dest;
3607 }
3608
3609 static void *SwigwxPrintDialogTowxObject(void *ptr) {
3610 wxPrintDialog *src;
3611 wxObject *dest;
3612 src = (wxPrintDialog *) ptr;
3613 dest = (wxObject *) src;
3614 return (void *) dest;
3615 }
3616
3617 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3618 static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject * _resultobj;
3620 wxPrintDialog * _result;
3621 wxWindow * _arg0;
3622 wxPrintDialogData * _arg1 = (wxPrintDialogData *) NULL;
3623 PyObject * _argo0 = 0;
3624 PyObject * _argo1 = 0;
3625 char *_kwnames[] = { "parent","data", NULL };
3626 char _ptemp[128];
3627
3628 self = self;
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPrintDialog",_kwnames,&_argo0,&_argo1))
3630 return NULL;
3631 if (_argo0) {
3632 if (_argo0 == Py_None) { _arg0 = NULL; }
3633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3635 return NULL;
3636 }
3637 }
3638 if (_argo1) {
3639 if (_argo1 == Py_None) { _arg1 = NULL; }
3640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintDialogData_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3642 return NULL;
3643 }
3644 }
3645 {
3646 wxPy_BEGIN_ALLOW_THREADS;
3647 _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1);
3648
3649 wxPy_END_ALLOW_THREADS;
3650 if (PyErr_Occurred()) return NULL;
3651 } if (_result) {
3652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p");
3653 _resultobj = Py_BuildValue("s",_ptemp);
3654 } else {
3655 Py_INCREF(Py_None);
3656 _resultobj = Py_None;
3657 }
3658 return _resultobj;
3659 }
3660
3661 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3662 static PyObject *_wrap_wxPrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject * _resultobj;
3664 wxPrintDialogData * _result;
3665 wxPrintDialog * _arg0;
3666 PyObject * _argo0 = 0;
3667 char *_kwnames[] = { "self", NULL };
3668 char _ptemp[128];
3669
3670 self = self;
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDialogData",_kwnames,&_argo0))
3672 return NULL;
3673 if (_argo0) {
3674 if (_argo0 == Py_None) { _arg0 = NULL; }
3675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3677 return NULL;
3678 }
3679 }
3680 {
3681 wxPy_BEGIN_ALLOW_THREADS;
3682 wxPrintDialogData & _result_ref = wxPrintDialog_GetPrintDialogData(_arg0);
3683 _result = (wxPrintDialogData *) &_result_ref;
3684
3685 wxPy_END_ALLOW_THREADS;
3686 if (PyErr_Occurred()) return NULL;
3687 } if (_result) {
3688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
3689 _resultobj = Py_BuildValue("s",_ptemp);
3690 } else {
3691 Py_INCREF(Py_None);
3692 _resultobj = Py_None;
3693 }
3694 return _resultobj;
3695 }
3696
3697 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3698 static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject * _resultobj;
3700 wxDC * _result;
3701 wxPrintDialog * _arg0;
3702 PyObject * _argo0 = 0;
3703 char *_kwnames[] = { "self", NULL };
3704
3705 self = self;
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDC",_kwnames,&_argo0))
3707 return NULL;
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3712 return NULL;
3713 }
3714 }
3715 {
3716 wxPy_BEGIN_ALLOW_THREADS;
3717 _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0);
3718
3719 wxPy_END_ALLOW_THREADS;
3720 if (PyErr_Occurred()) return NULL;
3721 }{ _resultobj = wxPyMake_wxObject(_result); }
3722 return _resultobj;
3723 }
3724
3725 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3726 static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject * _resultobj;
3728 int _result;
3729 wxPrintDialog * _arg0;
3730 PyObject * _argo0 = 0;
3731 char *_kwnames[] = { "self", NULL };
3732
3733 self = self;
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_ShowModal",_kwnames,&_argo0))
3735 return NULL;
3736 if (_argo0) {
3737 if (_argo0 == Py_None) { _arg0 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3740 return NULL;
3741 }
3742 }
3743 {
3744 wxPy_BEGIN_ALLOW_THREADS;
3745 _result = (int )wxPrintDialog_ShowModal(_arg0);
3746
3747 wxPy_END_ALLOW_THREADS;
3748 if (PyErr_Occurred()) return NULL;
3749 } _resultobj = Py_BuildValue("i",_result);
3750 return _resultobj;
3751 }
3752
3753 static void *SwigwxPyPrintoutTowxObject(void *ptr) {
3754 wxPyPrintout *src;
3755 wxObject *dest;
3756 src = (wxPyPrintout *) ptr;
3757 dest = (wxObject *) src;
3758 return (void *) dest;
3759 }
3760
3761 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3762 static PyObject *_wrap_new_wxPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject * _resultobj;
3764 wxPyPrintout * _result;
3765 char * _arg0 = (char *) "Printout";
3766 char *_kwnames[] = { "title", NULL };
3767 char _ptemp[128];
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|s:new_wxPrintout",_kwnames,&_arg0))
3771 return NULL;
3772 {
3773 wxPy_BEGIN_ALLOW_THREADS;
3774 _result = (wxPyPrintout *)new_wxPrintout(_arg0);
3775
3776 wxPy_END_ALLOW_THREADS;
3777 if (PyErr_Occurred()) return NULL;
3778 } if (_result) {
3779 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
3780 _resultobj = Py_BuildValue("s",_ptemp);
3781 } else {
3782 Py_INCREF(Py_None);
3783 _resultobj = Py_None;
3784 }
3785 return _resultobj;
3786 }
3787
3788 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3789 static PyObject *_wrap_wxPrintout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject * _resultobj;
3791 wxPyPrintout * _arg0;
3792 PyObject * _arg1;
3793 PyObject * _arg2;
3794 PyObject * _argo0 = 0;
3795 PyObject * _obj1 = 0;
3796 PyObject * _obj2 = 0;
3797 char *_kwnames[] = { "self","self","_class", NULL };
3798
3799 self = self;
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintout__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3801 return NULL;
3802 if (_argo0) {
3803 if (_argo0 == Py_None) { _arg0 = NULL; }
3804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3806 return NULL;
3807 }
3808 }
3809 {
3810 _arg1 = _obj1;
3811 }
3812 {
3813 _arg2 = _obj2;
3814 }
3815 {
3816 wxPy_BEGIN_ALLOW_THREADS;
3817 wxPrintout__setCallbackInfo(_arg0,_arg1,_arg2);
3818
3819 wxPy_END_ALLOW_THREADS;
3820 if (PyErr_Occurred()) return NULL;
3821 } Py_INCREF(Py_None);
3822 _resultobj = Py_None;
3823 return _resultobj;
3824 }
3825
3826 static void wxPyPrintout_Destroy(wxPyPrintout *self) { delete self; }
3827 static PyObject *_wrap_wxPrintout_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject * _resultobj;
3829 wxPyPrintout * _arg0;
3830 PyObject * _argo0 = 0;
3831 char *_kwnames[] = { "self", NULL };
3832
3833 self = self;
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_Destroy",_kwnames,&_argo0))
3835 return NULL;
3836 if (_argo0) {
3837 if (_argo0 == Py_None) { _arg0 = NULL; }
3838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3840 return NULL;
3841 }
3842 }
3843 {
3844 wxPy_BEGIN_ALLOW_THREADS;
3845 wxPyPrintout_Destroy(_arg0);
3846
3847 wxPy_END_ALLOW_THREADS;
3848 if (PyErr_Occurred()) return NULL;
3849 } Py_INCREF(Py_None);
3850 _resultobj = Py_None;
3851 return _resultobj;
3852 }
3853
3854 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3855 static PyObject *_wrap_wxPrintout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3856 PyObject * _resultobj;
3857 wxDC * _result;
3858 wxPyPrintout * _arg0;
3859 PyObject * _argo0 = 0;
3860 char *_kwnames[] = { "self", NULL };
3861
3862 self = self;
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetDC",_kwnames,&_argo0))
3864 return NULL;
3865 if (_argo0) {
3866 if (_argo0 == Py_None) { _arg0 = NULL; }
3867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3869 return NULL;
3870 }
3871 }
3872 {
3873 wxPy_BEGIN_ALLOW_THREADS;
3874 _result = (wxDC *)wxPrintout_GetDC(_arg0);
3875
3876 wxPy_END_ALLOW_THREADS;
3877 if (PyErr_Occurred()) return NULL;
3878 }{ _resultobj = wxPyMake_wxObject(_result); }
3879 return _resultobj;
3880 }
3881
3882 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3883 static PyObject *_wrap_wxPrintout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject * _resultobj;
3885 wxPyPrintout * _arg0;
3886 int * _arg1;
3887 int temp;
3888 int * _arg2;
3889 int temp0;
3890 PyObject * _argo0 = 0;
3891 char *_kwnames[] = { "self", NULL };
3892
3893 self = self;
3894 {
3895 _arg1 = &temp;
3896 }
3897 {
3898 _arg2 = &temp0;
3899 }
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizeMM",_kwnames,&_argo0))
3901 return NULL;
3902 if (_argo0) {
3903 if (_argo0 == Py_None) { _arg0 = NULL; }
3904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3906 return NULL;
3907 }
3908 }
3909 {
3910 wxPy_BEGIN_ALLOW_THREADS;
3911 wxPrintout_GetPageSizeMM(_arg0,_arg1,_arg2);
3912
3913 wxPy_END_ALLOW_THREADS;
3914 if (PyErr_Occurred()) return NULL;
3915 } Py_INCREF(Py_None);
3916 _resultobj = Py_None;
3917 {
3918 PyObject *o;
3919 o = PyInt_FromLong((long) (*_arg1));
3920 _resultobj = t_output_helper(_resultobj, o);
3921 }
3922 {
3923 PyObject *o;
3924 o = PyInt_FromLong((long) (*_arg2));
3925 _resultobj = t_output_helper(_resultobj, o);
3926 }
3927 return _resultobj;
3928 }
3929
3930 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3931 static PyObject *_wrap_wxPrintout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxPyPrintout * _arg0;
3934 int * _arg1;
3935 int temp;
3936 int * _arg2;
3937 int temp0;
3938 PyObject * _argo0 = 0;
3939 char *_kwnames[] = { "self", NULL };
3940
3941 self = self;
3942 {
3943 _arg1 = &temp;
3944 }
3945 {
3946 _arg2 = &temp0;
3947 }
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizePixels",_kwnames,&_argo0))
3949 return NULL;
3950 if (_argo0) {
3951 if (_argo0 == Py_None) { _arg0 = NULL; }
3952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3954 return NULL;
3955 }
3956 }
3957 {
3958 wxPy_BEGIN_ALLOW_THREADS;
3959 wxPrintout_GetPageSizePixels(_arg0,_arg1,_arg2);
3960
3961 wxPy_END_ALLOW_THREADS;
3962 if (PyErr_Occurred()) return NULL;
3963 } Py_INCREF(Py_None);
3964 _resultobj = Py_None;
3965 {
3966 PyObject *o;
3967 o = PyInt_FromLong((long) (*_arg1));
3968 _resultobj = t_output_helper(_resultobj, o);
3969 }
3970 {
3971 PyObject *o;
3972 o = PyInt_FromLong((long) (*_arg2));
3973 _resultobj = t_output_helper(_resultobj, o);
3974 }
3975 return _resultobj;
3976 }
3977
3978 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3979 static PyObject *_wrap_wxPrintout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject * _resultobj;
3981 wxPyPrintout * _arg0;
3982 int * _arg1;
3983 int temp;
3984 int * _arg2;
3985 int temp0;
3986 PyObject * _argo0 = 0;
3987 char *_kwnames[] = { "self", NULL };
3988
3989 self = self;
3990 {
3991 _arg1 = &temp;
3992 }
3993 {
3994 _arg2 = &temp0;
3995 }
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIPrinter",_kwnames,&_argo0))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4002 return NULL;
4003 }
4004 }
4005 {
4006 wxPy_BEGIN_ALLOW_THREADS;
4007 wxPrintout_GetPPIPrinter(_arg0,_arg1,_arg2);
4008
4009 wxPy_END_ALLOW_THREADS;
4010 if (PyErr_Occurred()) return NULL;
4011 } Py_INCREF(Py_None);
4012 _resultobj = Py_None;
4013 {
4014 PyObject *o;
4015 o = PyInt_FromLong((long) (*_arg1));
4016 _resultobj = t_output_helper(_resultobj, o);
4017 }
4018 {
4019 PyObject *o;
4020 o = PyInt_FromLong((long) (*_arg2));
4021 _resultobj = t_output_helper(_resultobj, o);
4022 }
4023 return _resultobj;
4024 }
4025
4026 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4027 static PyObject *_wrap_wxPrintout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 wxPyPrintout * _arg0;
4030 int * _arg1;
4031 int temp;
4032 int * _arg2;
4033 int temp0;
4034 PyObject * _argo0 = 0;
4035 char *_kwnames[] = { "self", NULL };
4036
4037 self = self;
4038 {
4039 _arg1 = &temp;
4040 }
4041 {
4042 _arg2 = &temp0;
4043 }
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIScreen",_kwnames,&_argo0))
4045 return NULL;
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4050 return NULL;
4051 }
4052 }
4053 {
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 wxPrintout_GetPPIScreen(_arg0,_arg1,_arg2);
4056
4057 wxPy_END_ALLOW_THREADS;
4058 if (PyErr_Occurred()) return NULL;
4059 } Py_INCREF(Py_None);
4060 _resultobj = Py_None;
4061 {
4062 PyObject *o;
4063 o = PyInt_FromLong((long) (*_arg1));
4064 _resultobj = t_output_helper(_resultobj, o);
4065 }
4066 {
4067 PyObject *o;
4068 o = PyInt_FromLong((long) (*_arg2));
4069 _resultobj = t_output_helper(_resultobj, o);
4070 }
4071 return _resultobj;
4072 }
4073
4074 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4075 static PyObject *_wrap_wxPrintout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject * _resultobj;
4077 bool _result;
4078 wxPyPrintout * _arg0;
4079 PyObject * _argo0 = 0;
4080 char *_kwnames[] = { "self", NULL };
4081
4082 self = self;
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_IsPreview",_kwnames,&_argo0))
4084 return NULL;
4085 if (_argo0) {
4086 if (_argo0 == Py_None) { _arg0 = NULL; }
4087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4089 return NULL;
4090 }
4091 }
4092 {
4093 wxPy_BEGIN_ALLOW_THREADS;
4094 _result = (bool )wxPrintout_IsPreview(_arg0);
4095
4096 wxPy_END_ALLOW_THREADS;
4097 if (PyErr_Occurred()) return NULL;
4098 } _resultobj = Py_BuildValue("i",_result);
4099 return _resultobj;
4100 }
4101
4102 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4103 static PyObject *_wrap_wxPrintout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject * _resultobj;
4105 bool _result;
4106 wxPyPrintout * _arg0;
4107 int _arg1;
4108 int _arg2;
4109 PyObject * _argo0 = 0;
4110 char *_kwnames[] = { "self","startPage","endPage", NULL };
4111
4112 self = self;
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPrintout_base_OnBeginDocument",_kwnames,&_argo0,&_arg1,&_arg2))
4114 return NULL;
4115 if (_argo0) {
4116 if (_argo0 == Py_None) { _arg0 = NULL; }
4117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4119 return NULL;
4120 }
4121 }
4122 {
4123 wxPy_BEGIN_ALLOW_THREADS;
4124 _result = (bool )wxPrintout_base_OnBeginDocument(_arg0,_arg1,_arg2);
4125
4126 wxPy_END_ALLOW_THREADS;
4127 if (PyErr_Occurred()) return NULL;
4128 } _resultobj = Py_BuildValue("i",_result);
4129 return _resultobj;
4130 }
4131
4132 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4133 static PyObject *_wrap_wxPrintout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject * _resultobj;
4135 wxPyPrintout * _arg0;
4136 PyObject * _argo0 = 0;
4137 char *_kwnames[] = { "self", NULL };
4138
4139 self = self;
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndDocument",_kwnames,&_argo0))
4141 return NULL;
4142 if (_argo0) {
4143 if (_argo0 == Py_None) { _arg0 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4146 return NULL;
4147 }
4148 }
4149 {
4150 wxPy_BEGIN_ALLOW_THREADS;
4151 wxPrintout_base_OnEndDocument(_arg0);
4152
4153 wxPy_END_ALLOW_THREADS;
4154 if (PyErr_Occurred()) return NULL;
4155 } Py_INCREF(Py_None);
4156 _resultobj = Py_None;
4157 return _resultobj;
4158 }
4159
4160 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4161 static PyObject *_wrap_wxPrintout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject * _resultobj;
4163 wxPyPrintout * _arg0;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnBeginPrinting",_kwnames,&_argo0))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 wxPy_BEGIN_ALLOW_THREADS;
4179 wxPrintout_base_OnBeginPrinting(_arg0);
4180
4181 wxPy_END_ALLOW_THREADS;
4182 if (PyErr_Occurred()) return NULL;
4183 } Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186 }
4187
4188 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4189 static PyObject *_wrap_wxPrintout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject * _resultobj;
4191 wxPyPrintout * _arg0;
4192 PyObject * _argo0 = 0;
4193 char *_kwnames[] = { "self", NULL };
4194
4195 self = self;
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndPrinting",_kwnames,&_argo0))
4197 return NULL;
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4202 return NULL;
4203 }
4204 }
4205 {
4206 wxPy_BEGIN_ALLOW_THREADS;
4207 wxPrintout_base_OnEndPrinting(_arg0);
4208
4209 wxPy_END_ALLOW_THREADS;
4210 if (PyErr_Occurred()) return NULL;
4211 } Py_INCREF(Py_None);
4212 _resultobj = Py_None;
4213 return _resultobj;
4214 }
4215
4216 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4217 static PyObject *_wrap_wxPrintout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject * _resultobj;
4219 wxPyPrintout * _arg0;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnPreparePrinting",_kwnames,&_argo0))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4230 return NULL;
4231 }
4232 }
4233 {
4234 wxPy_BEGIN_ALLOW_THREADS;
4235 wxPrintout_base_OnPreparePrinting(_arg0);
4236
4237 wxPy_END_ALLOW_THREADS;
4238 if (PyErr_Occurred()) return NULL;
4239 } Py_INCREF(Py_None);
4240 _resultobj = Py_None;
4241 return _resultobj;
4242 }
4243
4244 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4245 static PyObject *_wrap_wxPrintout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject * _resultobj;
4247 wxPyPrintout * _arg0;
4248 int * _arg1;
4249 int temp;
4250 int * _arg2;
4251 int temp0;
4252 int * _arg3;
4253 int temp1;
4254 int * _arg4;
4255 int temp2;
4256 PyObject * _argo0 = 0;
4257 char *_kwnames[] = { "self", NULL };
4258
4259 self = self;
4260 {
4261 _arg1 = &temp;
4262 }
4263 {
4264 _arg2 = &temp0;
4265 }
4266 {
4267 _arg3 = &temp1;
4268 }
4269 {
4270 _arg4 = &temp2;
4271 }
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_GetPageInfo",_kwnames,&_argo0))
4273 return NULL;
4274 if (_argo0) {
4275 if (_argo0 == Py_None) { _arg0 = NULL; }
4276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4278 return NULL;
4279 }
4280 }
4281 {
4282 wxPy_BEGIN_ALLOW_THREADS;
4283 wxPrintout_base_GetPageInfo(_arg0,_arg1,_arg2,_arg3,_arg4);
4284
4285 wxPy_END_ALLOW_THREADS;
4286 if (PyErr_Occurred()) return NULL;
4287 } Py_INCREF(Py_None);
4288 _resultobj = Py_None;
4289 {
4290 PyObject *o;
4291 o = PyInt_FromLong((long) (*_arg1));
4292 _resultobj = t_output_helper(_resultobj, o);
4293 }
4294 {
4295 PyObject *o;
4296 o = PyInt_FromLong((long) (*_arg2));
4297 _resultobj = t_output_helper(_resultobj, o);
4298 }
4299 {
4300 PyObject *o;
4301 o = PyInt_FromLong((long) (*_arg3));
4302 _resultobj = t_output_helper(_resultobj, o);
4303 }
4304 {
4305 PyObject *o;
4306 o = PyInt_FromLong((long) (*_arg4));
4307 _resultobj = t_output_helper(_resultobj, o);
4308 }
4309 return _resultobj;
4310 }
4311
4312 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4313 static PyObject *_wrap_wxPrintout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4314 PyObject * _resultobj;
4315 bool _result;
4316 wxPyPrintout * _arg0;
4317 int _arg1;
4318 PyObject * _argo0 = 0;
4319 char *_kwnames[] = { "self","page", NULL };
4320
4321 self = self;
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintout_base_HasPage",_kwnames,&_argo0,&_arg1))
4323 return NULL;
4324 if (_argo0) {
4325 if (_argo0 == Py_None) { _arg0 = NULL; }
4326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4328 return NULL;
4329 }
4330 }
4331 {
4332 wxPy_BEGIN_ALLOW_THREADS;
4333 _result = (bool )wxPrintout_base_HasPage(_arg0,_arg1);
4334
4335 wxPy_END_ALLOW_THREADS;
4336 if (PyErr_Occurred()) return NULL;
4337 } _resultobj = Py_BuildValue("i",_result);
4338 return _resultobj;
4339 }
4340
4341 static void *SwigwxPrinterTowxObject(void *ptr) {
4342 wxPrinter *src;
4343 wxObject *dest;
4344 src = (wxPrinter *) ptr;
4345 dest = (wxObject *) src;
4346 return (void *) dest;
4347 }
4348
4349 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4350 static PyObject *_wrap_new_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject * _resultobj;
4352 wxPrinter * _result;
4353 wxPrintDialogData * _arg0 = (wxPrintDialogData *) NULL;
4354 PyObject * _argo0 = 0;
4355 char *_kwnames[] = { "data", NULL };
4356 char _ptemp[128];
4357
4358 self = self;
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrinter",_kwnames,&_argo0))
4360 return NULL;
4361 if (_argo0) {
4362 if (_argo0 == Py_None) { _arg0 = NULL; }
4363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
4364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4365 return NULL;
4366 }
4367 }
4368 {
4369 wxPy_BEGIN_ALLOW_THREADS;
4370 _result = (wxPrinter *)new_wxPrinter(_arg0);
4371
4372 wxPy_END_ALLOW_THREADS;
4373 if (PyErr_Occurred()) return NULL;
4374 } if (_result) {
4375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinter_p");
4376 _resultobj = Py_BuildValue("s",_ptemp);
4377 } else {
4378 Py_INCREF(Py_None);
4379 _resultobj = Py_None;
4380 }
4381 return _resultobj;
4382 }
4383
4384 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4385 static PyObject *_wrap_delete_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject * _resultobj;
4387 wxPrinter * _arg0;
4388 PyObject * _argo0 = 0;
4389 char *_kwnames[] = { "self", NULL };
4390
4391 self = self;
4392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrinter",_kwnames,&_argo0))
4393 return NULL;
4394 if (_argo0) {
4395 if (_argo0 == Py_None) { _arg0 = NULL; }
4396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4398 return NULL;
4399 }
4400 }
4401 {
4402 wxPy_BEGIN_ALLOW_THREADS;
4403 delete_wxPrinter(_arg0);
4404
4405 wxPy_END_ALLOW_THREADS;
4406 if (PyErr_Occurred()) return NULL;
4407 } Py_INCREF(Py_None);
4408 _resultobj = Py_None;
4409 return _resultobj;
4410 }
4411
4412 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4413 static PyObject *_wrap_wxPrinter_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject * _resultobj;
4415 wxPrinter * _arg0;
4416 wxWindow * _arg1;
4417 wxPyPrintout * _arg2;
4418 PyObject * _argo0 = 0;
4419 PyObject * _argo1 = 0;
4420 PyObject * _argo2 = 0;
4421 char *_kwnames[] = { "self","parent","printout", NULL };
4422
4423 self = self;
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrinter_CreateAbortWindow",_kwnames,&_argo0,&_argo1,&_argo2))
4425 return NULL;
4426 if (_argo0) {
4427 if (_argo0 == Py_None) { _arg0 = NULL; }
4428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4430 return NULL;
4431 }
4432 }
4433 if (_argo1) {
4434 if (_argo1 == Py_None) { _arg1 = NULL; }
4435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4437 return NULL;
4438 }
4439 }
4440 if (_argo2) {
4441 if (_argo2 == Py_None) { _arg2 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4444 return NULL;
4445 }
4446 }
4447 {
4448 wxPy_BEGIN_ALLOW_THREADS;
4449 wxPrinter_CreateAbortWindow(_arg0,_arg1,_arg2);
4450
4451 wxPy_END_ALLOW_THREADS;
4452 if (PyErr_Occurred()) return NULL;
4453 } Py_INCREF(Py_None);
4454 _resultobj = Py_None;
4455 return _resultobj;
4456 }
4457
4458 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4459 static PyObject *_wrap_wxPrinter_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject * _resultobj;
4461 wxPrintDialogData * _result;
4462 wxPrinter * _arg0;
4463 PyObject * _argo0 = 0;
4464 char *_kwnames[] = { "self", NULL };
4465 char _ptemp[128];
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetPrintDialogData",_kwnames,&_argo0))
4469 return NULL;
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4474 return NULL;
4475 }
4476 }
4477 {
4478 wxPy_BEGIN_ALLOW_THREADS;
4479 wxPrintDialogData & _result_ref = wxPrinter_GetPrintDialogData(_arg0);
4480 _result = (wxPrintDialogData *) &_result_ref;
4481
4482 wxPy_END_ALLOW_THREADS;
4483 if (PyErr_Occurred()) return NULL;
4484 } if (_result) {
4485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4486 _resultobj = Py_BuildValue("s",_ptemp);
4487 } else {
4488 Py_INCREF(Py_None);
4489 _resultobj = Py_None;
4490 }
4491 return _resultobj;
4492 }
4493
4494 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4495 static PyObject *_wrap_wxPrinter_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject * _resultobj;
4497 bool _result;
4498 wxPrinter * _arg0;
4499 wxWindow * _arg1;
4500 wxPyPrintout * _arg2;
4501 int _arg3 = (int ) TRUE;
4502 PyObject * _argo0 = 0;
4503 PyObject * _argo1 = 0;
4504 PyObject * _argo2 = 0;
4505 char *_kwnames[] = { "self","parent","printout","prompt", NULL };
4506
4507 self = self;
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPrinter_Print",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4509 return NULL;
4510 if (_argo0) {
4511 if (_argo0 == Py_None) { _arg0 = NULL; }
4512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4514 return NULL;
4515 }
4516 }
4517 if (_argo1) {
4518 if (_argo1 == Py_None) { _arg1 = NULL; }
4519 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4520 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4521 return NULL;
4522 }
4523 }
4524 if (_argo2) {
4525 if (_argo2 == Py_None) { _arg2 = NULL; }
4526 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4527 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4528 return NULL;
4529 }
4530 }
4531 {
4532 wxPy_BEGIN_ALLOW_THREADS;
4533 _result = (bool )wxPrinter_Print(_arg0,_arg1,_arg2,_arg3);
4534
4535 wxPy_END_ALLOW_THREADS;
4536 if (PyErr_Occurred()) return NULL;
4537 } _resultobj = Py_BuildValue("i",_result);
4538 return _resultobj;
4539 }
4540
4541 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4542 static PyObject *_wrap_wxPrinter_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject * _resultobj;
4544 wxDC * _result;
4545 wxPrinter * _arg0;
4546 wxWindow * _arg1;
4547 PyObject * _argo0 = 0;
4548 PyObject * _argo1 = 0;
4549 char *_kwnames[] = { "self","parent", NULL };
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_PrintDialog",_kwnames,&_argo0,&_argo1))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4558 return NULL;
4559 }
4560 }
4561 if (_argo1) {
4562 if (_argo1 == Py_None) { _arg1 = NULL; }
4563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4565 return NULL;
4566 }
4567 }
4568 {
4569 wxPy_BEGIN_ALLOW_THREADS;
4570 _result = (wxDC *)wxPrinter_PrintDialog(_arg0,_arg1);
4571
4572 wxPy_END_ALLOW_THREADS;
4573 if (PyErr_Occurred()) return NULL;
4574 }{ _resultobj = wxPyMake_wxObject(_result); }
4575 return _resultobj;
4576 }
4577
4578 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4579 static PyObject *_wrap_wxPrinter_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject * _resultobj;
4581 wxPrinter * _arg0;
4582 wxWindow * _arg1;
4583 wxPyPrintout * _arg2;
4584 char * _arg3;
4585 PyObject * _argo0 = 0;
4586 PyObject * _argo1 = 0;
4587 PyObject * _argo2 = 0;
4588 char *_kwnames[] = { "self","parent","printout","message", NULL };
4589
4590 self = self;
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOs:wxPrinter_ReportError",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4592 return NULL;
4593 if (_argo0) {
4594 if (_argo0 == Py_None) { _arg0 = NULL; }
4595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4597 return NULL;
4598 }
4599 }
4600 if (_argo1) {
4601 if (_argo1 == Py_None) { _arg1 = NULL; }
4602 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4604 return NULL;
4605 }
4606 }
4607 if (_argo2) {
4608 if (_argo2 == Py_None) { _arg2 = NULL; }
4609 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4610 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4611 return NULL;
4612 }
4613 }
4614 {
4615 wxPy_BEGIN_ALLOW_THREADS;
4616 wxPrinter_ReportError(_arg0,_arg1,_arg2,_arg3);
4617
4618 wxPy_END_ALLOW_THREADS;
4619 if (PyErr_Occurred()) return NULL;
4620 } Py_INCREF(Py_None);
4621 _resultobj = Py_None;
4622 return _resultobj;
4623 }
4624
4625 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4626 static PyObject *_wrap_wxPrinter_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject * _resultobj;
4628 bool _result;
4629 wxPrinter * _arg0;
4630 wxWindow * _arg1;
4631 PyObject * _argo0 = 0;
4632 PyObject * _argo1 = 0;
4633 char *_kwnames[] = { "self","parent", NULL };
4634
4635 self = self;
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_Setup",_kwnames,&_argo0,&_argo1))
4637 return NULL;
4638 if (_argo0) {
4639 if (_argo0 == Py_None) { _arg0 = NULL; }
4640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4642 return NULL;
4643 }
4644 }
4645 if (_argo1) {
4646 if (_argo1 == Py_None) { _arg1 = NULL; }
4647 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4648 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4649 return NULL;
4650 }
4651 }
4652 {
4653 wxPy_BEGIN_ALLOW_THREADS;
4654 _result = (bool )wxPrinter_Setup(_arg0,_arg1);
4655
4656 wxPy_END_ALLOW_THREADS;
4657 if (PyErr_Occurred()) return NULL;
4658 } _resultobj = Py_BuildValue("i",_result);
4659 return _resultobj;
4660 }
4661
4662 static void *SwigwxPrintPreviewTowxObject(void *ptr) {
4663 wxPrintPreview *src;
4664 wxObject *dest;
4665 src = (wxPrintPreview *) ptr;
4666 dest = (wxObject *) src;
4667 return (void *) dest;
4668 }
4669
4670 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4671 static PyObject *_wrap_new_wxPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject * _resultobj;
4673 wxPrintPreview * _result;
4674 wxPyPrintout * _arg0;
4675 wxPyPrintout * _arg1;
4676 wxPrintData * _arg2 = (wxPrintData *) NULL;
4677 PyObject * _argo0 = 0;
4678 PyObject * _argo1 = 0;
4679 PyObject * _argo2 = 0;
4680 char *_kwnames[] = { "printout","printoutForPrinting","data", NULL };
4681 char _ptemp[128];
4682
4683 self = self;
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2))
4685 return NULL;
4686 if (_argo0) {
4687 if (_argo0 == Py_None) { _arg0 = NULL; }
4688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4690 return NULL;
4691 }
4692 }
4693 if (_argo1) {
4694 if (_argo1 == Py_None) { _arg1 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4697 return NULL;
4698 }
4699 }
4700 if (_argo2) {
4701 if (_argo2 == Py_None) { _arg2 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4704 return NULL;
4705 }
4706 }
4707 {
4708 wxPy_BEGIN_ALLOW_THREADS;
4709 _result = (wxPrintPreview *)new_wxPrintPreview(_arg0,_arg1,_arg2);
4710
4711 wxPy_END_ALLOW_THREADS;
4712 if (PyErr_Occurred()) return NULL;
4713 } if (_result) {
4714 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p");
4715 _resultobj = Py_BuildValue("s",_ptemp);
4716 } else {
4717 Py_INCREF(Py_None);
4718 _resultobj = Py_None;
4719 }
4720 return _resultobj;
4721 }
4722
4723 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4724 static PyObject *_wrap_wxPrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject * _resultobj;
4726 wxWindow * _result;
4727 wxPrintPreview * _arg0;
4728 PyObject * _argo0 = 0;
4729 char *_kwnames[] = { "self", NULL };
4730
4731 self = self;
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCanvas",_kwnames,&_argo0))
4733 return NULL;
4734 if (_argo0) {
4735 if (_argo0 == Py_None) { _arg0 = NULL; }
4736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4738 return NULL;
4739 }
4740 }
4741 {
4742 wxPy_BEGIN_ALLOW_THREADS;
4743 _result = (wxWindow *)wxPrintPreview_GetCanvas(_arg0);
4744
4745 wxPy_END_ALLOW_THREADS;
4746 if (PyErr_Occurred()) return NULL;
4747 }{ _resultobj = wxPyMake_wxObject(_result); }
4748 return _resultobj;
4749 }
4750
4751 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4752 static PyObject *_wrap_wxPrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject * _resultobj;
4754 int _result;
4755 wxPrintPreview * _arg0;
4756 PyObject * _argo0 = 0;
4757 char *_kwnames[] = { "self", NULL };
4758
4759 self = self;
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCurrentPage",_kwnames,&_argo0))
4761 return NULL;
4762 if (_argo0) {
4763 if (_argo0 == Py_None) { _arg0 = NULL; }
4764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4766 return NULL;
4767 }
4768 }
4769 {
4770 wxPy_BEGIN_ALLOW_THREADS;
4771 _result = (int )wxPrintPreview_GetCurrentPage(_arg0);
4772
4773 wxPy_END_ALLOW_THREADS;
4774 if (PyErr_Occurred()) return NULL;
4775 } _resultobj = Py_BuildValue("i",_result);
4776 return _resultobj;
4777 }
4778
4779 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4780 static PyObject *_wrap_wxPrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4781 PyObject * _resultobj;
4782 wxFrame * _result;
4783 wxPrintPreview * _arg0;
4784 PyObject * _argo0 = 0;
4785 char *_kwnames[] = { "self", NULL };
4786
4787 self = self;
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetFrame",_kwnames,&_argo0))
4789 return NULL;
4790 if (_argo0) {
4791 if (_argo0 == Py_None) { _arg0 = NULL; }
4792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4794 return NULL;
4795 }
4796 }
4797 {
4798 wxPy_BEGIN_ALLOW_THREADS;
4799 _result = (wxFrame *)wxPrintPreview_GetFrame(_arg0);
4800
4801 wxPy_END_ALLOW_THREADS;
4802 if (PyErr_Occurred()) return NULL;
4803 }{ _resultobj = wxPyMake_wxObject(_result); }
4804 return _resultobj;
4805 }
4806
4807 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4808 static PyObject *_wrap_wxPrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject * _resultobj;
4810 int _result;
4811 wxPrintPreview * _arg0;
4812 PyObject * _argo0 = 0;
4813 char *_kwnames[] = { "self", NULL };
4814
4815 self = self;
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMaxPage",_kwnames,&_argo0))
4817 return NULL;
4818 if (_argo0) {
4819 if (_argo0 == Py_None) { _arg0 = NULL; }
4820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4822 return NULL;
4823 }
4824 }
4825 {
4826 wxPy_BEGIN_ALLOW_THREADS;
4827 _result = (int )wxPrintPreview_GetMaxPage(_arg0);
4828
4829 wxPy_END_ALLOW_THREADS;
4830 if (PyErr_Occurred()) return NULL;
4831 } _resultobj = Py_BuildValue("i",_result);
4832 return _resultobj;
4833 }
4834
4835 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4836 static PyObject *_wrap_wxPrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4837 PyObject * _resultobj;
4838 int _result;
4839 wxPrintPreview * _arg0;
4840 PyObject * _argo0 = 0;
4841 char *_kwnames[] = { "self", NULL };
4842
4843 self = self;
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMinPage",_kwnames,&_argo0))
4845 return NULL;
4846 if (_argo0) {
4847 if (_argo0 == Py_None) { _arg0 = NULL; }
4848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4850 return NULL;
4851 }
4852 }
4853 {
4854 wxPy_BEGIN_ALLOW_THREADS;
4855 _result = (int )wxPrintPreview_GetMinPage(_arg0);
4856
4857 wxPy_END_ALLOW_THREADS;
4858 if (PyErr_Occurred()) return NULL;
4859 } _resultobj = Py_BuildValue("i",_result);
4860 return _resultobj;
4861 }
4862
4863 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4864 static PyObject *_wrap_wxPrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject * _resultobj;
4866 wxPrintDialogData * _result;
4867 wxPrintPreview * _arg0;
4868 PyObject * _argo0 = 0;
4869 char *_kwnames[] = { "self", NULL };
4870 char _ptemp[128];
4871
4872 self = self;
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintDialogData",_kwnames,&_argo0))
4874 return NULL;
4875 if (_argo0) {
4876 if (_argo0 == Py_None) { _arg0 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4879 return NULL;
4880 }
4881 }
4882 {
4883 wxPy_BEGIN_ALLOW_THREADS;
4884 wxPrintDialogData & _result_ref = wxPrintPreview_GetPrintDialogData(_arg0);
4885 _result = (wxPrintDialogData *) &_result_ref;
4886
4887 wxPy_END_ALLOW_THREADS;
4888 if (PyErr_Occurred()) return NULL;
4889 } if (_result) {
4890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4891 _resultobj = Py_BuildValue("s",_ptemp);
4892 } else {
4893 Py_INCREF(Py_None);
4894 _resultobj = Py_None;
4895 }
4896 return _resultobj;
4897 }
4898
4899 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4900 static PyObject *_wrap_wxPrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject * _resultobj;
4902 wxPyPrintout * _result;
4903 wxPrintPreview * _arg0;
4904 PyObject * _argo0 = 0;
4905 char *_kwnames[] = { "self", NULL };
4906
4907 self = self;
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintout",_kwnames,&_argo0))
4909 return NULL;
4910 if (_argo0) {
4911 if (_argo0 == Py_None) { _arg0 = NULL; }
4912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4914 return NULL;
4915 }
4916 }
4917 {
4918 wxPy_BEGIN_ALLOW_THREADS;
4919 _result = (wxPyPrintout *)wxPrintPreview_GetPrintout(_arg0);
4920
4921 wxPy_END_ALLOW_THREADS;
4922 if (PyErr_Occurred()) return NULL;
4923 }{ _resultobj = wxPyMake_wxObject(_result); }
4924 return _resultobj;
4925 }
4926
4927 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4928 static PyObject *_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject * _resultobj;
4930 wxPyPrintout * _result;
4931 wxPrintPreview * _arg0;
4932 PyObject * _argo0 = 0;
4933 char *_kwnames[] = { "self", NULL };
4934
4935 self = self;
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames,&_argo0))
4937 return NULL;
4938 if (_argo0) {
4939 if (_argo0 == Py_None) { _arg0 = NULL; }
4940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4942 return NULL;
4943 }
4944 }
4945 {
4946 wxPy_BEGIN_ALLOW_THREADS;
4947 _result = (wxPyPrintout *)wxPrintPreview_GetPrintoutForPrinting(_arg0);
4948
4949 wxPy_END_ALLOW_THREADS;
4950 if (PyErr_Occurred()) return NULL;
4951 }{ _resultobj = wxPyMake_wxObject(_result); }
4952 return _resultobj;
4953 }
4954
4955 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4956 static PyObject *_wrap_wxPrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject * _resultobj;
4958 int _result;
4959 wxPrintPreview * _arg0;
4960 PyObject * _argo0 = 0;
4961 char *_kwnames[] = { "self", NULL };
4962
4963 self = self;
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetZoom",_kwnames,&_argo0))
4965 return NULL;
4966 if (_argo0) {
4967 if (_argo0 == Py_None) { _arg0 = NULL; }
4968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4970 return NULL;
4971 }
4972 }
4973 {
4974 wxPy_BEGIN_ALLOW_THREADS;
4975 _result = (int )wxPrintPreview_GetZoom(_arg0);
4976
4977 wxPy_END_ALLOW_THREADS;
4978 if (PyErr_Occurred()) return NULL;
4979 } _resultobj = Py_BuildValue("i",_result);
4980 return _resultobj;
4981 }
4982
4983 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4984 static PyObject *_wrap_wxPrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject * _resultobj;
4986 bool _result;
4987 wxPrintPreview * _arg0;
4988 PyObject * _argo0 = 0;
4989 char *_kwnames[] = { "self", NULL };
4990
4991 self = self;
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_Ok",_kwnames,&_argo0))
4993 return NULL;
4994 if (_argo0) {
4995 if (_argo0 == Py_None) { _arg0 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4998 return NULL;
4999 }
5000 }
5001 {
5002 wxPy_BEGIN_ALLOW_THREADS;
5003 _result = (bool )wxPrintPreview_Ok(_arg0);
5004
5005 wxPy_END_ALLOW_THREADS;
5006 if (PyErr_Occurred()) return NULL;
5007 } _resultobj = Py_BuildValue("i",_result);
5008 return _resultobj;
5009 }
5010
5011 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5012 static PyObject *_wrap_wxPrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject * _resultobj;
5014 bool _result;
5015 wxPrintPreview * _arg0;
5016 bool _arg1;
5017 PyObject * _argo0 = 0;
5018 int tempbool1;
5019 char *_kwnames[] = { "self","prompt", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_Print",_kwnames,&_argo0,&tempbool1))
5023 return NULL;
5024 if (_argo0) {
5025 if (_argo0 == Py_None) { _arg0 = NULL; }
5026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5028 return NULL;
5029 }
5030 }
5031 _arg1 = (bool ) tempbool1;
5032 {
5033 wxPy_BEGIN_ALLOW_THREADS;
5034 _result = (bool )wxPrintPreview_Print(_arg0,_arg1);
5035
5036 wxPy_END_ALLOW_THREADS;
5037 if (PyErr_Occurred()) return NULL;
5038 } _resultobj = Py_BuildValue("i",_result);
5039 return _resultobj;
5040 }
5041
5042 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5043 static PyObject *_wrap_wxPrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject * _resultobj;
5045 wxPrintPreview * _arg0;
5046 wxWindow * _arg1;
5047 PyObject * _argo0 = 0;
5048 PyObject * _argo1 = 0;
5049 char *_kwnames[] = { "self","window", NULL };
5050
5051 self = self;
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetCanvas",_kwnames,&_argo0,&_argo1))
5053 return NULL;
5054 if (_argo0) {
5055 if (_argo0 == Py_None) { _arg0 = NULL; }
5056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5058 return NULL;
5059 }
5060 }
5061 if (_argo1) {
5062 if (_argo1 == Py_None) { _arg1 = NULL; }
5063 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5064 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5065 return NULL;
5066 }
5067 }
5068 {
5069 wxPy_BEGIN_ALLOW_THREADS;
5070 wxPrintPreview_SetCanvas(_arg0,_arg1);
5071
5072 wxPy_END_ALLOW_THREADS;
5073 if (PyErr_Occurred()) return NULL;
5074 } Py_INCREF(Py_None);
5075 _resultobj = Py_None;
5076 return _resultobj;
5077 }
5078
5079 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5080 static PyObject *_wrap_wxPrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject * _resultobj;
5082 wxPrintPreview * _arg0;
5083 int _arg1;
5084 PyObject * _argo0 = 0;
5085 char *_kwnames[] = { "self","pageNum", NULL };
5086
5087 self = self;
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetCurrentPage",_kwnames,&_argo0,&_arg1))
5089 return NULL;
5090 if (_argo0) {
5091 if (_argo0 == Py_None) { _arg0 = NULL; }
5092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5094 return NULL;
5095 }
5096 }
5097 {
5098 wxPy_BEGIN_ALLOW_THREADS;
5099 wxPrintPreview_SetCurrentPage(_arg0,_arg1);
5100
5101 wxPy_END_ALLOW_THREADS;
5102 if (PyErr_Occurred()) return NULL;
5103 } Py_INCREF(Py_None);
5104 _resultobj = Py_None;
5105 return _resultobj;
5106 }
5107
5108 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5109 static PyObject *_wrap_wxPrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5110 PyObject * _resultobj;
5111 wxPrintPreview * _arg0;
5112 wxFrame * _arg1;
5113 PyObject * _argo0 = 0;
5114 PyObject * _argo1 = 0;
5115 char *_kwnames[] = { "self","frame", NULL };
5116
5117 self = self;
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetFrame",_kwnames,&_argo0,&_argo1))
5119 return NULL;
5120 if (_argo0) {
5121 if (_argo0 == Py_None) { _arg0 = NULL; }
5122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5124 return NULL;
5125 }
5126 }
5127 if (_argo1) {
5128 if (_argo1 == Py_None) { _arg1 = NULL; }
5129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5131 return NULL;
5132 }
5133 }
5134 {
5135 wxPy_BEGIN_ALLOW_THREADS;
5136 wxPrintPreview_SetFrame(_arg0,_arg1);
5137
5138 wxPy_END_ALLOW_THREADS;
5139 if (PyErr_Occurred()) return NULL;
5140 } Py_INCREF(Py_None);
5141 _resultobj = Py_None;
5142 return _resultobj;
5143 }
5144
5145 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5146 static PyObject *_wrap_wxPrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxPrintPreview * _arg0;
5149 wxPyPrintout * _arg1;
5150 PyObject * _argo0 = 0;
5151 PyObject * _argo1 = 0;
5152 char *_kwnames[] = { "self","printout", NULL };
5153
5154 self = self;
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetPrintout",_kwnames,&_argo0,&_argo1))
5156 return NULL;
5157 if (_argo0) {
5158 if (_argo0 == Py_None) { _arg0 = NULL; }
5159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5161 return NULL;
5162 }
5163 }
5164 if (_argo1) {
5165 if (_argo1 == Py_None) { _arg1 = NULL; }
5166 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5168 return NULL;
5169 }
5170 }
5171 {
5172 wxPy_BEGIN_ALLOW_THREADS;
5173 wxPrintPreview_SetPrintout(_arg0,_arg1);
5174
5175 wxPy_END_ALLOW_THREADS;
5176 if (PyErr_Occurred()) return NULL;
5177 } Py_INCREF(Py_None);
5178 _resultobj = Py_None;
5179 return _resultobj;
5180 }
5181
5182 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5183 static PyObject *_wrap_wxPrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject * _resultobj;
5185 wxPrintPreview * _arg0;
5186 int _arg1;
5187 PyObject * _argo0 = 0;
5188 char *_kwnames[] = { "self","percent", NULL };
5189
5190 self = self;
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetZoom",_kwnames,&_argo0,&_arg1))
5192 return NULL;
5193 if (_argo0) {
5194 if (_argo0 == Py_None) { _arg0 = NULL; }
5195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5197 return NULL;
5198 }
5199 }
5200 {
5201 wxPy_BEGIN_ALLOW_THREADS;
5202 wxPrintPreview_SetZoom(_arg0,_arg1);
5203
5204 wxPy_END_ALLOW_THREADS;
5205 if (PyErr_Occurred()) return NULL;
5206 } Py_INCREF(Py_None);
5207 _resultobj = Py_None;
5208 return _resultobj;
5209 }
5210
5211 static void *SwigwxPreviewFrameTowxFrame(void *ptr) {
5212 wxPreviewFrame *src;
5213 wxFrame *dest;
5214 src = (wxPreviewFrame *) ptr;
5215 dest = (wxFrame *) src;
5216 return (void *) dest;
5217 }
5218
5219 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr) {
5220 wxPreviewFrame *src;
5221 wxTopLevelWindow *dest;
5222 src = (wxPreviewFrame *) ptr;
5223 dest = (wxTopLevelWindow *) src;
5224 return (void *) dest;
5225 }
5226
5227 static void *SwigwxPreviewFrameTowxWindow(void *ptr) {
5228 wxPreviewFrame *src;
5229 wxWindow *dest;
5230 src = (wxPreviewFrame *) ptr;
5231 dest = (wxWindow *) src;
5232 return (void *) dest;
5233 }
5234
5235 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr) {
5236 wxPreviewFrame *src;
5237 wxEvtHandler *dest;
5238 src = (wxPreviewFrame *) ptr;
5239 dest = (wxEvtHandler *) src;
5240 return (void *) dest;
5241 }
5242
5243 static void *SwigwxPreviewFrameTowxObject(void *ptr) {
5244 wxPreviewFrame *src;
5245 wxObject *dest;
5246 src = (wxPreviewFrame *) ptr;
5247 dest = (wxObject *) src;
5248 return (void *) dest;
5249 }
5250
5251 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5252 static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject * _resultobj;
5254 wxPreviewFrame * _result;
5255 wxPrintPreview * _arg0;
5256 wxFrame * _arg1;
5257 wxString * _arg2;
5258 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5259 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5260 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
5261 char * _arg6 = (char *) "frame";
5262 PyObject * _argo0 = 0;
5263 PyObject * _argo1 = 0;
5264 PyObject * _obj2 = 0;
5265 wxPoint temp;
5266 PyObject * _obj3 = 0;
5267 wxSize temp0;
5268 PyObject * _obj4 = 0;
5269 char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
5270 char _ptemp[128];
5271
5272 self = self;
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOls:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
5274 return NULL;
5275 if (_argo0) {
5276 if (_argo0 == Py_None) { _arg0 = NULL; }
5277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5279 return NULL;
5280 }
5281 }
5282 if (_argo1) {
5283 if (_argo1 == Py_None) { _arg1 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5286 return NULL;
5287 }
5288 }
5289 {
5290 #if PYTHON_API_VERSION >= 1009
5291 char* tmpPtr; int tmpSize;
5292 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5293 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5294 return NULL;
5295 }
5296 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5297 return NULL;
5298 _arg2 = new wxString(tmpPtr, tmpSize);
5299 #else
5300 if (!PyString_Check(_obj2)) {
5301 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5302 return NULL;
5303 }
5304 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5305 #endif
5306 }
5307 if (_obj3)
5308 {
5309 _arg3 = &temp;
5310 if (! wxPoint_helper(_obj3, &_arg3))
5311 return NULL;
5312 }
5313 if (_obj4)
5314 {
5315 _arg4 = &temp0;
5316 if (! wxSize_helper(_obj4, &_arg4))
5317 return NULL;
5318 }
5319 {
5320 wxPy_BEGIN_ALLOW_THREADS;
5321 _result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
5322
5323 wxPy_END_ALLOW_THREADS;
5324 if (PyErr_Occurred()) return NULL;
5325 } if (_result) {
5326 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewFrame_p");
5327 _resultobj = Py_BuildValue("s",_ptemp);
5328 } else {
5329 Py_INCREF(Py_None);
5330 _resultobj = Py_None;
5331 }
5332 {
5333 if (_obj2)
5334 delete _arg2;
5335 }
5336 return _resultobj;
5337 }
5338
5339 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5340 static PyObject *_wrap_wxPreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject * _resultobj;
5342 wxPreviewFrame * _arg0;
5343 PyObject * _argo0 = 0;
5344 char *_kwnames[] = { "self", NULL };
5345
5346 self = self;
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_Initialize",_kwnames,&_argo0))
5348 return NULL;
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5353 return NULL;
5354 }
5355 }
5356 {
5357 wxPy_BEGIN_ALLOW_THREADS;
5358 wxPreviewFrame_Initialize(_arg0);
5359
5360 wxPy_END_ALLOW_THREADS;
5361 if (PyErr_Occurred()) return NULL;
5362 } Py_INCREF(Py_None);
5363 _resultobj = Py_None;
5364 return _resultobj;
5365 }
5366
5367 static PyMethodDef printfwcMethods[] = {
5368 { "wxPreviewFrame_Initialize", (PyCFunction) _wrap_wxPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
5369 { "new_wxPreviewFrame", (PyCFunction) _wrap_new_wxPreviewFrame, METH_VARARGS | METH_KEYWORDS },
5370 { "wxPrintPreview_SetZoom", (PyCFunction) _wrap_wxPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
5371 { "wxPrintPreview_SetPrintout", (PyCFunction) _wrap_wxPrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
5372 { "wxPrintPreview_SetFrame", (PyCFunction) _wrap_wxPrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
5373 { "wxPrintPreview_SetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
5374 { "wxPrintPreview_SetCanvas", (PyCFunction) _wrap_wxPrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
5375 { "wxPrintPreview_Print", (PyCFunction) _wrap_wxPrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
5376 { "wxPrintPreview_Ok", (PyCFunction) _wrap_wxPrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
5377 { "wxPrintPreview_GetZoom", (PyCFunction) _wrap_wxPrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
5378 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_wxPrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
5379 { "wxPrintPreview_GetPrintout", (PyCFunction) _wrap_wxPrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
5380 { "wxPrintPreview_GetPrintDialogData", (PyCFunction) _wrap_wxPrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5381 { "wxPrintPreview_GetMinPage", (PyCFunction) _wrap_wxPrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
5382 { "wxPrintPreview_GetMaxPage", (PyCFunction) _wrap_wxPrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5383 { "wxPrintPreview_GetFrame", (PyCFunction) _wrap_wxPrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
5384 { "wxPrintPreview_GetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
5385 { "wxPrintPreview_GetCanvas", (PyCFunction) _wrap_wxPrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
5386 { "new_wxPrintPreview", (PyCFunction) _wrap_new_wxPrintPreview, METH_VARARGS | METH_KEYWORDS },
5387 { "wxPrinter_Setup", (PyCFunction) _wrap_wxPrinter_Setup, METH_VARARGS | METH_KEYWORDS },
5388 { "wxPrinter_ReportError", (PyCFunction) _wrap_wxPrinter_ReportError, METH_VARARGS | METH_KEYWORDS },
5389 { "wxPrinter_PrintDialog", (PyCFunction) _wrap_wxPrinter_PrintDialog, METH_VARARGS | METH_KEYWORDS },
5390 { "wxPrinter_Print", (PyCFunction) _wrap_wxPrinter_Print, METH_VARARGS | METH_KEYWORDS },
5391 { "wxPrinter_GetPrintDialogData", (PyCFunction) _wrap_wxPrinter_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5392 { "wxPrinter_CreateAbortWindow", (PyCFunction) _wrap_wxPrinter_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
5393 { "delete_wxPrinter", (PyCFunction) _wrap_delete_wxPrinter, METH_VARARGS | METH_KEYWORDS },
5394 { "new_wxPrinter", (PyCFunction) _wrap_new_wxPrinter, METH_VARARGS | METH_KEYWORDS },
5395 { "wxPrintout_base_HasPage", (PyCFunction) _wrap_wxPrintout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
5396 { "wxPrintout_base_GetPageInfo", (PyCFunction) _wrap_wxPrintout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
5397 { "wxPrintout_base_OnPreparePrinting", (PyCFunction) _wrap_wxPrintout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
5398 { "wxPrintout_base_OnEndPrinting", (PyCFunction) _wrap_wxPrintout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
5399 { "wxPrintout_base_OnBeginPrinting", (PyCFunction) _wrap_wxPrintout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
5400 { "wxPrintout_base_OnEndDocument", (PyCFunction) _wrap_wxPrintout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
5401 { "wxPrintout_base_OnBeginDocument", (PyCFunction) _wrap_wxPrintout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
5402 { "wxPrintout_IsPreview", (PyCFunction) _wrap_wxPrintout_IsPreview, METH_VARARGS | METH_KEYWORDS },
5403 { "wxPrintout_GetPPIScreen", (PyCFunction) _wrap_wxPrintout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
5404 { "wxPrintout_GetPPIPrinter", (PyCFunction) _wrap_wxPrintout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
5405 { "wxPrintout_GetPageSizePixels", (PyCFunction) _wrap_wxPrintout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
5406 { "wxPrintout_GetPageSizeMM", (PyCFunction) _wrap_wxPrintout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
5407 { "wxPrintout_GetDC", (PyCFunction) _wrap_wxPrintout_GetDC, METH_VARARGS | METH_KEYWORDS },
5408 { "wxPrintout_Destroy", (PyCFunction) _wrap_wxPrintout_Destroy, METH_VARARGS | METH_KEYWORDS },
5409 { "wxPrintout__setCallbackInfo", (PyCFunction) _wrap_wxPrintout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5410 { "new_wxPrintout", (PyCFunction) _wrap_new_wxPrintout, METH_VARARGS | METH_KEYWORDS },
5411 { "wxPrintDialog_ShowModal", (PyCFunction) _wrap_wxPrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
5412 { "wxPrintDialog_GetPrintDC", (PyCFunction) _wrap_wxPrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
5413 { "wxPrintDialog_GetPrintDialogData", (PyCFunction) _wrap_wxPrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5414 { "new_wxPrintDialog", (PyCFunction) _wrap_new_wxPrintDialog, METH_VARARGS | METH_KEYWORDS },
5415 { "wxPrintDialogData_SetToPage", (PyCFunction) _wrap_wxPrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
5416 { "wxPrintDialogData_SetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
5417 { "wxPrintDialogData_SetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5418 { "wxPrintDialogData_SetPrintData", (PyCFunction) _wrap_wxPrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5419 { "wxPrintDialogData_SetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
5420 { "wxPrintDialogData_SetMinPage", (PyCFunction) _wrap_wxPrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
5421 { "wxPrintDialogData_SetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
5422 { "wxPrintDialogData_SetFromPage", (PyCFunction) _wrap_wxPrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
5423 { "wxPrintDialogData_SetCollate", (PyCFunction) _wrap_wxPrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
5424 { "wxPrintDialogData_GetToPage", (PyCFunction) _wrap_wxPrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
5425 { "wxPrintDialogData_GetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5426 { "wxPrintDialogData_GetPrintData", (PyCFunction) _wrap_wxPrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5427 { "wxPrintDialogData_GetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
5428 { "wxPrintDialogData_GetMinPage", (PyCFunction) _wrap_wxPrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
5429 { "wxPrintDialogData_GetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5430 { "wxPrintDialogData_GetFromPage", (PyCFunction) _wrap_wxPrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
5431 { "wxPrintDialogData_GetCollate", (PyCFunction) _wrap_wxPrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
5432 { "wxPrintDialogData_GetAllPages", (PyCFunction) _wrap_wxPrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
5433 { "wxPrintDialogData_EnableSelection", (PyCFunction) _wrap_wxPrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
5434 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
5435 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
5436 { "wxPrintDialogData_EnableHelp", (PyCFunction) _wrap_wxPrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
5437 { "delete_wxPrintDialogData", (PyCFunction) _wrap_delete_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5438 { "new_wxPrintDialogData", (PyCFunction) _wrap_new_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5439 { "wxPageSetupDialog_ShowModal", (PyCFunction) _wrap_wxPageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
5440 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_wxPageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
5441 { "new_wxPageSetupDialog", (PyCFunction) _wrap_new_wxPageSetupDialog, METH_VARARGS | METH_KEYWORDS },
5442 { "wxPageSetupDialogData_SetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5443 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
5444 { "wxPageSetupDialogData_SetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
5445 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5446 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5447 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5448 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5449 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
5450 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
5451 { "wxPageSetupDialogData_GetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5452 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
5453 { "wxPageSetupDialogData_GetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
5454 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5455 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5456 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5457 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5458 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
5459 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
5460 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
5461 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
5462 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
5463 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
5464 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
5465 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
5466 { "wxPageSetupDialogData_EnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
5467 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
5468 { "wxPageSetupDialogData_EnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
5469 { "wxPageSetupDialogData_EnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
5470 { "delete_wxPageSetupDialogData", (PyCFunction) _wrap_delete_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
5471 { "new_wxPageSetupDialogData", (PyCFunction) _wrap_new_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
5472 { "wxPostScriptDC_GetResolution", (PyCFunction) _wrap_wxPostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS },
5473 { "wxPostScriptDC_SetResolution", (PyCFunction) _wrap_wxPostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS },
5474 { "wxPostScriptDC_SetPrintData", (PyCFunction) _wrap_wxPostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5475 { "wxPostScriptDC_GetPrintData", (PyCFunction) _wrap_wxPostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5476 { "new_wxPostScriptDC2", (PyCFunction) _wrap_new_wxPostScriptDC2, METH_VARARGS | METH_KEYWORDS },
5477 { "new_wxPostScriptDC", (PyCFunction) _wrap_new_wxPostScriptDC, METH_VARARGS | METH_KEYWORDS },
5478 { "wxPrintData_SetPrintMode", (PyCFunction) _wrap_wxPrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
5479 { "wxPrintData_SetPrinterTranslation", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
5480 { "wxPrintData_SetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
5481 { "wxPrintData_SetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
5482 { "wxPrintData_SetPrinterScaling", (PyCFunction) _wrap_wxPrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
5483 { "wxPrintData_SetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
5484 { "wxPrintData_SetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
5485 { "wxPrintData_SetFontMetricPath", (PyCFunction) _wrap_wxPrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
5486 { "wxPrintData_SetFilename", (PyCFunction) _wrap_wxPrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
5487 { "wxPrintData_SetPreviewCommand", (PyCFunction) _wrap_wxPrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
5488 { "wxPrintData_SetPrinterOptions", (PyCFunction) _wrap_wxPrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
5489 { "wxPrintData_SetPrinterCommand", (PyCFunction) _wrap_wxPrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
5490 { "wxPrintData_GetPrintMode", (PyCFunction) _wrap_wxPrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
5491 { "wxPrintData_GetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
5492 { "wxPrintData_GetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
5493 { "wxPrintData_GetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
5494 { "wxPrintData_GetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
5495 { "wxPrintData_GetFontMetricPath", (PyCFunction) _wrap_wxPrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
5496 { "wxPrintData_GetFilename", (PyCFunction) _wrap_wxPrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
5497 { "wxPrintData_GetPreviewCommand", (PyCFunction) _wrap_wxPrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
5498 { "wxPrintData_GetPrinterOptions", (PyCFunction) _wrap_wxPrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
5499 { "wxPrintData_GetPrinterCommand", (PyCFunction) _wrap_wxPrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
5500 { "wxPrintData_SetQuality", (PyCFunction) _wrap_wxPrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
5501 { "wxPrintData_SetPaperSize", (PyCFunction) _wrap_wxPrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
5502 { "wxPrintData_SetPaperId", (PyCFunction) _wrap_wxPrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
5503 { "wxPrintData_SetDuplex", (PyCFunction) _wrap_wxPrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
5504 { "wxPrintData_SetColour", (PyCFunction) _wrap_wxPrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
5505 { "wxPrintData_SetPrinterName", (PyCFunction) _wrap_wxPrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
5506 { "wxPrintData_SetOrientation", (PyCFunction) _wrap_wxPrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
5507 { "wxPrintData_SetCollate", (PyCFunction) _wrap_wxPrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
5508 { "wxPrintData_SetNoCopies", (PyCFunction) _wrap_wxPrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
5509 { "wxPrintData_GetQuality", (PyCFunction) _wrap_wxPrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
5510 { "wxPrintData_GetPaperSize", (PyCFunction) _wrap_wxPrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
5511 { "wxPrintData_GetPaperId", (PyCFunction) _wrap_wxPrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
5512 { "wxPrintData_GetDuplex", (PyCFunction) _wrap_wxPrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
5513 { "wxPrintData_GetColour", (PyCFunction) _wrap_wxPrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
5514 { "wxPrintData_GetPrinterName", (PyCFunction) _wrap_wxPrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
5515 { "wxPrintData_GetOrientation", (PyCFunction) _wrap_wxPrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
5516 { "wxPrintData_GetCollate", (PyCFunction) _wrap_wxPrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
5517 { "wxPrintData_GetNoCopies", (PyCFunction) _wrap_wxPrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
5518 { "delete_wxPrintData", (PyCFunction) _wrap_delete_wxPrintData, METH_VARARGS | METH_KEYWORDS },
5519 { "new_wxPrintData", (PyCFunction) _wrap_new_wxPrintData, METH_VARARGS | METH_KEYWORDS },
5520 { NULL, NULL }
5521 };
5522 #ifdef __cplusplus
5523 }
5524 #endif
5525 /*
5526 * This table is used by the pointer type-checker
5527 */
5528 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5529 { "_signed_long","_long",0},
5530 { "_wxPrintQuality","_wxCoord",0},
5531 { "_wxPrintQuality","_int",0},
5532 { "_wxPrintQuality","_signed_int",0},
5533 { "_wxPrintQuality","_unsigned_int",0},
5534 { "_wxPrintQuality","_wxWindowID",0},
5535 { "_wxPrintQuality","_uint",0},
5536 { "_wxPrintQuality","_EBool",0},
5537 { "_wxPrintQuality","_size_t",0},
5538 { "_wxPrintQuality","_time_t",0},
5539 { "_byte","_unsigned_char",0},
5540 { "_long","_unsigned_long",0},
5541 { "_long","_signed_long",0},
5542 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC},
5543 { "_size_t","_wxCoord",0},
5544 { "_size_t","_wxPrintQuality",0},
5545 { "_size_t","_time_t",0},
5546 { "_size_t","_unsigned_int",0},
5547 { "_size_t","_int",0},
5548 { "_size_t","_wxWindowID",0},
5549 { "_size_t","_uint",0},
5550 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow},
5551 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow},
5552 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow},
5553 { "_uint","_wxCoord",0},
5554 { "_uint","_wxPrintQuality",0},
5555 { "_uint","_time_t",0},
5556 { "_uint","_size_t",0},
5557 { "_uint","_unsigned_int",0},
5558 { "_uint","_int",0},
5559 { "_uint","_wxWindowID",0},
5560 { "_wxChar","_char",0},
5561 { "_char","_wxChar",0},
5562 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5563 { "_EBool","_wxCoord",0},
5564 { "_EBool","_wxPrintQuality",0},
5565 { "_EBool","_signed_int",0},
5566 { "_EBool","_int",0},
5567 { "_EBool","_wxWindowID",0},
5568 { "_unsigned_long","_long",0},
5569 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5570 { "_signed_int","_wxCoord",0},
5571 { "_signed_int","_wxPrintQuality",0},
5572 { "_signed_int","_EBool",0},
5573 { "_signed_int","_wxWindowID",0},
5574 { "_signed_int","_int",0},
5575 { "_WXTYPE","_short",0},
5576 { "_WXTYPE","_signed_short",0},
5577 { "_WXTYPE","_unsigned_short",0},
5578 { "_unsigned_short","_WXTYPE",0},
5579 { "_unsigned_short","_short",0},
5580 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject},
5581 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject},
5582 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject},
5583 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject},
5584 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject},
5585 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject},
5586 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject},
5587 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject},
5588 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject},
5589 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject},
5590 { "_signed_short","_WXTYPE",0},
5591 { "_signed_short","_short",0},
5592 { "_unsigned_char","_byte",0},
5593 { "_unsigned_int","_wxCoord",0},
5594 { "_unsigned_int","_wxPrintQuality",0},
5595 { "_unsigned_int","_time_t",0},
5596 { "_unsigned_int","_size_t",0},
5597 { "_unsigned_int","_uint",0},
5598 { "_unsigned_int","_wxWindowID",0},
5599 { "_unsigned_int","_int",0},
5600 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog},
5601 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
5602 { "_short","_WXTYPE",0},
5603 { "_short","_unsigned_short",0},
5604 { "_short","_signed_short",0},
5605 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
5606 { "_wxWindowID","_wxCoord",0},
5607 { "_wxWindowID","_wxPrintQuality",0},
5608 { "_wxWindowID","_time_t",0},
5609 { "_wxWindowID","_size_t",0},
5610 { "_wxWindowID","_EBool",0},
5611 { "_wxWindowID","_uint",0},
5612 { "_wxWindowID","_int",0},
5613 { "_wxWindowID","_signed_int",0},
5614 { "_wxWindowID","_unsigned_int",0},
5615 { "_int","_wxCoord",0},
5616 { "_int","_wxPrintQuality",0},
5617 { "_int","_time_t",0},
5618 { "_int","_size_t",0},
5619 { "_int","_EBool",0},
5620 { "_int","_uint",0},
5621 { "_int","_wxWindowID",0},
5622 { "_int","_unsigned_int",0},
5623 { "_int","_signed_int",0},
5624 { "_time_t","_wxCoord",0},
5625 { "_time_t","_wxPrintQuality",0},
5626 { "_time_t","_unsigned_int",0},
5627 { "_time_t","_int",0},
5628 { "_time_t","_wxWindowID",0},
5629 { "_time_t","_uint",0},
5630 { "_time_t","_size_t",0},
5631 { "_wxCoord","_int",0},
5632 { "_wxCoord","_signed_int",0},
5633 { "_wxCoord","_unsigned_int",0},
5634 { "_wxCoord","_wxWindowID",0},
5635 { "_wxCoord","_uint",0},
5636 { "_wxCoord","_EBool",0},
5637 { "_wxCoord","_size_t",0},
5638 { "_wxCoord","_time_t",0},
5639 { "_wxCoord","_wxPrintQuality",0},
5640 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
5641 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
5642 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
5643 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
5644 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow},
5645 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
5646 {0,0,0}};
5647
5648 static PyObject *SWIG_globals;
5649 #ifdef __cplusplus
5650 extern "C"
5651 #endif
5652 SWIGEXPORT(void) initprintfwc() {
5653 PyObject *m, *d;
5654 SWIG_globals = SWIG_newvarlink();
5655 m = Py_InitModule("printfwc", printfwcMethods);
5656 d = PyModule_GetDict(m);
5657
5658 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5659 {
5660 int i;
5661 for (i = 0; _swig_mapping[i].n1; i++)
5662 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5663 }
5664 }