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