]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/printfw.cpp
Updated note about wxSTC using wxPopupWindow
[wxWidgets.git] / wxPython / src / msw / printfw.cpp
1 /*
2 * FILE : src/msw/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 *SwigwxPrinterDCTowxDC(void *ptr) {
1523 wxPrinterDC *src;
1524 wxDC *dest;
1525 src = (wxPrinterDC *) ptr;
1526 dest = (wxDC *) src;
1527 return (void *) dest;
1528 }
1529
1530 static void *SwigwxPrinterDCTowxObject(void *ptr) {
1531 wxPrinterDC *src;
1532 wxObject *dest;
1533 src = (wxPrinterDC *) ptr;
1534 dest = (wxObject *) src;
1535 return (void *) dest;
1536 }
1537
1538 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1539 static PyObject *_wrap_new_wxPrinterDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject * _resultobj;
1541 wxPrinterDC * _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_wxPrinterDC",_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_wxPrinterDC. Expected _wxPrintData_p.");
1554 return NULL;
1555 }
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 _result = (wxPrinterDC *)new_wxPrinterDC(*_arg0);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) return NULL;
1563 } if (_result) {
1564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_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_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1574 static PyObject *_wrap_new_wxPrinterDC2(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject * _resultobj;
1576 wxPrinterDC * _result;
1577 wxString * _arg0;
1578 wxString * _arg1;
1579 wxString * _arg2;
1580 bool _arg3 = (bool ) TRUE;
1581 int _arg4 = (int ) wxPORTRAIT;
1582 PyObject * _obj0 = 0;
1583 PyObject * _obj1 = 0;
1584 PyObject * _obj2 = 0;
1585 int tempbool3 = (int) TRUE;
1586 char *_kwnames[] = { "driver","device","output","interactive","orientation", NULL };
1587 char _ptemp[128];
1588
1589 self = self;
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:new_wxPrinterDC2",_kwnames,&_obj0,&_obj1,&_obj2,&tempbool3,&_arg4))
1591 return NULL;
1592 {
1593 _arg0 = wxString_in_helper(_obj0);
1594 if (_arg0 == NULL)
1595 return NULL;
1596 }
1597 {
1598 _arg1 = wxString_in_helper(_obj1);
1599 if (_arg1 == NULL)
1600 return NULL;
1601 }
1602 {
1603 _arg2 = wxString_in_helper(_obj2);
1604 if (_arg2 == NULL)
1605 return NULL;
1606 }
1607 _arg3 = (bool ) tempbool3;
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 _result = (wxPrinterDC *)new_wxPrinterDC2(*_arg0,*_arg1,*_arg2,_arg3,_arg4);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) return NULL;
1614 } if (_result) {
1615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
1616 _resultobj = Py_BuildValue("s",_ptemp);
1617 } else {
1618 Py_INCREF(Py_None);
1619 _resultobj = Py_None;
1620 }
1621 {
1622 if (_obj0)
1623 delete _arg0;
1624 }
1625 {
1626 if (_obj1)
1627 delete _arg1;
1628 }
1629 {
1630 if (_obj2)
1631 delete _arg2;
1632 }
1633 return _resultobj;
1634 }
1635
1636 static void *SwigwxPostScriptDCTowxDC(void *ptr) {
1637 wxPostScriptDC *src;
1638 wxDC *dest;
1639 src = (wxPostScriptDC *) ptr;
1640 dest = (wxDC *) src;
1641 return (void *) dest;
1642 }
1643
1644 static void *SwigwxPostScriptDCTowxObject(void *ptr) {
1645 wxPostScriptDC *src;
1646 wxObject *dest;
1647 src = (wxPostScriptDC *) ptr;
1648 dest = (wxObject *) src;
1649 return (void *) dest;
1650 }
1651
1652 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1653 static PyObject *_wrap_new_wxPostScriptDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1654 PyObject * _resultobj;
1655 wxPostScriptDC * _result;
1656 wxPrintData * _arg0;
1657 PyObject * _argo0 = 0;
1658 char *_kwnames[] = { "printData", NULL };
1659 char _ptemp[128];
1660
1661 self = self;
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPostScriptDC",_kwnames,&_argo0))
1663 return NULL;
1664 if (_argo0) {
1665 if (_argo0 == Py_None) { _arg0 = NULL; }
1666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1668 return NULL;
1669 }
1670 }
1671 {
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 _result = (wxPostScriptDC *)new_wxPostScriptDC(*_arg0);
1674
1675 wxPyEndAllowThreads(__tstate);
1676 if (PyErr_Occurred()) return NULL;
1677 } if (_result) {
1678 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPostScriptDC_p");
1679 _resultobj = Py_BuildValue("s",_ptemp);
1680 } else {
1681 Py_INCREF(Py_None);
1682 _resultobj = Py_None;
1683 }
1684 return _resultobj;
1685 }
1686
1687 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1688 static PyObject *_wrap_wxPostScriptDC_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject * _resultobj;
1690 wxPrintData * _result;
1691 wxPostScriptDC * _arg0;
1692 PyObject * _argo0 = 0;
1693 char *_kwnames[] = { "self", NULL };
1694 char _ptemp[128];
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPostScriptDC_GetPrintData",_kwnames,&_argo0))
1698 return NULL;
1699 if (_argo0) {
1700 if (_argo0 == Py_None) { _arg0 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1703 return NULL;
1704 }
1705 }
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 wxPrintData & _result_ref = wxPostScriptDC_GetPrintData(_arg0);
1709 _result = (wxPrintData *) &_result_ref;
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) return NULL;
1713 } if (_result) {
1714 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
1715 _resultobj = Py_BuildValue("s",_ptemp);
1716 } else {
1717 Py_INCREF(Py_None);
1718 _resultobj = Py_None;
1719 }
1720 return _resultobj;
1721 }
1722
1723 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1724 static PyObject *_wrap_wxPostScriptDC_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1725 PyObject * _resultobj;
1726 wxPostScriptDC * _arg0;
1727 wxPrintData * _arg1;
1728 PyObject * _argo0 = 0;
1729 PyObject * _argo1 = 0;
1730 char *_kwnames[] = { "self","data", NULL };
1731
1732 self = self;
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostScriptDC_SetPrintData",_kwnames,&_argo0,&_argo1))
1734 return NULL;
1735 if (_argo0) {
1736 if (_argo0 == Py_None) { _arg0 = NULL; }
1737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1739 return NULL;
1740 }
1741 }
1742 if (_argo1) {
1743 if (_argo1 == Py_None) { _arg1 = NULL; }
1744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
1745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1746 return NULL;
1747 }
1748 }
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 wxPostScriptDC_SetPrintData(_arg0,*_arg1);
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) return NULL;
1755 } Py_INCREF(Py_None);
1756 _resultobj = Py_None;
1757 return _resultobj;
1758 }
1759
1760 static PyObject *_wrap_wxPostScriptDC_SetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject * _resultobj;
1762 int _arg0;
1763 char *_kwnames[] = { "ppi", NULL };
1764
1765 self = self;
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxPostScriptDC_SetResolution",_kwnames,&_arg0))
1767 return NULL;
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 wxPostScriptDC::SetResolution(_arg0);
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) return NULL;
1774 } Py_INCREF(Py_None);
1775 _resultobj = Py_None;
1776 return _resultobj;
1777 }
1778
1779 static PyObject *_wrap_wxPostScriptDC_GetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject * _resultobj;
1781 int _result;
1782 char *_kwnames[] = { NULL };
1783
1784 self = self;
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxPostScriptDC_GetResolution",_kwnames))
1786 return NULL;
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 _result = (int )wxPostScriptDC::GetResolution();
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) return NULL;
1793 } _resultobj = Py_BuildValue("i",_result);
1794 return _resultobj;
1795 }
1796
1797 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr) {
1798 wxPageSetupDialogData *src;
1799 wxObject *dest;
1800 src = (wxPageSetupDialogData *) ptr;
1801 dest = (wxObject *) src;
1802 return (void *) dest;
1803 }
1804
1805 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1806 static PyObject *_wrap_new_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject * _resultobj;
1808 wxPageSetupDialogData * _result;
1809 char *_kwnames[] = { NULL };
1810 char _ptemp[128];
1811
1812 self = self;
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPageSetupDialogData",_kwnames))
1814 return NULL;
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 _result = (wxPageSetupDialogData *)new_wxPageSetupDialogData();
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) return NULL;
1821 } if (_result) {
1822 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
1823 _resultobj = Py_BuildValue("s",_ptemp);
1824 } else {
1825 Py_INCREF(Py_None);
1826 _resultobj = Py_None;
1827 }
1828 return _resultobj;
1829 }
1830
1831 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1832 static PyObject *_wrap_delete_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxPageSetupDialogData * _arg0;
1835 PyObject * _argo0 = 0;
1836 char *_kwnames[] = { "self", NULL };
1837
1838 self = self;
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPageSetupDialogData",_kwnames,&_argo0))
1840 return NULL;
1841 if (_argo0) {
1842 if (_argo0 == Py_None) { _arg0 = NULL; }
1843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1845 return NULL;
1846 }
1847 }
1848 {
1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
1850 delete_wxPageSetupDialogData(_arg0);
1851
1852 wxPyEndAllowThreads(__tstate);
1853 if (PyErr_Occurred()) return NULL;
1854 } Py_INCREF(Py_None);
1855 _resultobj = Py_None;
1856 return _resultobj;
1857 }
1858
1859 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1860 static PyObject *_wrap_wxPageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject * _resultobj;
1862 wxPageSetupDialogData * _arg0;
1863 bool _arg1;
1864 PyObject * _argo0 = 0;
1865 int tempbool1;
1866 char *_kwnames[] = { "self","flag", NULL };
1867
1868 self = self;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
1870 return NULL;
1871 if (_argo0) {
1872 if (_argo0 == Py_None) { _arg0 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1875 return NULL;
1876 }
1877 }
1878 _arg1 = (bool ) tempbool1;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 wxPageSetupDialogData_EnableHelp(_arg0,_arg1);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) return NULL;
1885 } Py_INCREF(Py_None);
1886 _resultobj = Py_None;
1887 return _resultobj;
1888 }
1889
1890 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1891 static PyObject *_wrap_wxPageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject * _resultobj;
1893 wxPageSetupDialogData * _arg0;
1894 bool _arg1;
1895 PyObject * _argo0 = 0;
1896 int tempbool1;
1897 char *_kwnames[] = { "self","flag", NULL };
1898
1899 self = self;
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames,&_argo0,&tempbool1))
1901 return NULL;
1902 if (_argo0) {
1903 if (_argo0 == Py_None) { _arg0 = NULL; }
1904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1906 return NULL;
1907 }
1908 }
1909 _arg1 = (bool ) tempbool1;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 wxPageSetupDialogData_EnableMargins(_arg0,_arg1);
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) return NULL;
1916 } Py_INCREF(Py_None);
1917 _resultobj = Py_None;
1918 return _resultobj;
1919 }
1920
1921 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1922 static PyObject *_wrap_wxPageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject * _resultobj;
1924 wxPageSetupDialogData * _arg0;
1925 bool _arg1;
1926 PyObject * _argo0 = 0;
1927 int tempbool1;
1928 char *_kwnames[] = { "self","flag", NULL };
1929
1930 self = self;
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames,&_argo0,&tempbool1))
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1937 return NULL;
1938 }
1939 }
1940 _arg1 = (bool ) tempbool1;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 wxPageSetupDialogData_EnableOrientation(_arg0,_arg1);
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) return NULL;
1947 } Py_INCREF(Py_None);
1948 _resultobj = Py_None;
1949 return _resultobj;
1950 }
1951
1952 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1953 static PyObject *_wrap_wxPageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject * _resultobj;
1955 wxPageSetupDialogData * _arg0;
1956 bool _arg1;
1957 PyObject * _argo0 = 0;
1958 int tempbool1;
1959 char *_kwnames[] = { "self","flag", NULL };
1960
1961 self = self;
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames,&_argo0,&tempbool1))
1963 return NULL;
1964 if (_argo0) {
1965 if (_argo0 == Py_None) { _arg0 = NULL; }
1966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1968 return NULL;
1969 }
1970 }
1971 _arg1 = (bool ) tempbool1;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 wxPageSetupDialogData_EnablePaper(_arg0,_arg1);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) return NULL;
1978 } Py_INCREF(Py_None);
1979 _resultobj = Py_None;
1980 return _resultobj;
1981 }
1982
1983 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1984 static PyObject *_wrap_wxPageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject * _resultobj;
1986 wxPageSetupDialogData * _arg0;
1987 bool _arg1;
1988 PyObject * _argo0 = 0;
1989 int tempbool1;
1990 char *_kwnames[] = { "self","flag", NULL };
1991
1992 self = self;
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames,&_argo0,&tempbool1))
1994 return NULL;
1995 if (_argo0) {
1996 if (_argo0 == Py_None) { _arg0 = NULL; }
1997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1999 return NULL;
2000 }
2001 }
2002 _arg1 = (bool ) tempbool1;
2003 {
2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
2005 wxPageSetupDialogData_EnablePrinter(_arg0,_arg1);
2006
2007 wxPyEndAllowThreads(__tstate);
2008 if (PyErr_Occurred()) return NULL;
2009 } Py_INCREF(Py_None);
2010 _resultobj = Py_None;
2011 return _resultobj;
2012 }
2013
2014 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2015 static PyObject *_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 bool _result;
2018 wxPageSetupDialogData * _arg0;
2019 PyObject * _argo0 = 0;
2020 char *_kwnames[] = { "self", NULL };
2021
2022 self = self;
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames,&_argo0))
2024 return NULL;
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2029 return NULL;
2030 }
2031 }
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 _result = (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) return NULL;
2038 } _resultobj = Py_BuildValue("i",_result);
2039 return _resultobj;
2040 }
2041
2042 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2043 static PyObject *_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2044 PyObject * _resultobj;
2045 bool _result;
2046 wxPageSetupDialogData * _arg0;
2047 PyObject * _argo0 = 0;
2048 char *_kwnames[] = { "self", NULL };
2049
2050 self = self;
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames,&_argo0))
2052 return NULL;
2053 if (_argo0) {
2054 if (_argo0 == Py_None) { _arg0 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2057 return NULL;
2058 }
2059 }
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 _result = (bool )wxPageSetupDialogData_GetEnableMargins(_arg0);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) return NULL;
2066 } _resultobj = Py_BuildValue("i",_result);
2067 return _resultobj;
2068 }
2069
2070 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2071 static PyObject *_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
2072 PyObject * _resultobj;
2073 bool _result;
2074 wxPageSetupDialogData * _arg0;
2075 PyObject * _argo0 = 0;
2076 char *_kwnames[] = { "self", NULL };
2077
2078 self = self;
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames,&_argo0))
2080 return NULL;
2081 if (_argo0) {
2082 if (_argo0 == Py_None) { _arg0 = NULL; }
2083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2085 return NULL;
2086 }
2087 }
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 _result = (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) return NULL;
2094 } _resultobj = Py_BuildValue("i",_result);
2095 return _resultobj;
2096 }
2097
2098 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2099 static PyObject *_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject * _resultobj;
2101 bool _result;
2102 wxPageSetupDialogData * _arg0;
2103 PyObject * _argo0 = 0;
2104 char *_kwnames[] = { "self", NULL };
2105
2106 self = self;
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames,&_argo0))
2108 return NULL;
2109 if (_argo0) {
2110 if (_argo0 == Py_None) { _arg0 = NULL; }
2111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2113 return NULL;
2114 }
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 _result = (bool )wxPageSetupDialogData_GetEnablePaper(_arg0);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) return NULL;
2122 } _resultobj = Py_BuildValue("i",_result);
2123 return _resultobj;
2124 }
2125
2126 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2127 static PyObject *_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
2128 PyObject * _resultobj;
2129 bool _result;
2130 wxPageSetupDialogData * _arg0;
2131 PyObject * _argo0 = 0;
2132 char *_kwnames[] = { "self", NULL };
2133
2134 self = self;
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames,&_argo0))
2136 return NULL;
2137 if (_argo0) {
2138 if (_argo0 == Py_None) { _arg0 = NULL; }
2139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2141 return NULL;
2142 }
2143 }
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 _result = (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0);
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) return NULL;
2150 } _resultobj = Py_BuildValue("i",_result);
2151 return _resultobj;
2152 }
2153
2154 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2155 static PyObject *_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject * _resultobj;
2157 bool _result;
2158 wxPageSetupDialogData * _arg0;
2159 PyObject * _argo0 = 0;
2160 char *_kwnames[] = { "self", NULL };
2161
2162 self = self;
2163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames,&_argo0))
2164 return NULL;
2165 if (_argo0) {
2166 if (_argo0 == Py_None) { _arg0 = NULL; }
2167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2169 return NULL;
2170 }
2171 }
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 _result = (bool )wxPageSetupDialogData_GetEnableHelp(_arg0);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) return NULL;
2178 } _resultobj = Py_BuildValue("i",_result);
2179 return _resultobj;
2180 }
2181
2182 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2183 static PyObject *_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject * _resultobj;
2185 bool _result;
2186 wxPageSetupDialogData * _arg0;
2187 PyObject * _argo0 = 0;
2188 char *_kwnames[] = { "self", NULL };
2189
2190 self = self;
2191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames,&_argo0))
2192 return NULL;
2193 if (_argo0) {
2194 if (_argo0 == Py_None) { _arg0 = NULL; }
2195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2197 return NULL;
2198 }
2199 }
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 _result = (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) return NULL;
2206 } _resultobj = Py_BuildValue("i",_result);
2207 return _resultobj;
2208 }
2209
2210 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2211 static PyObject *_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject * _resultobj;
2213 wxPoint * _result;
2214 wxPageSetupDialogData * _arg0;
2215 PyObject * _argo0 = 0;
2216 char *_kwnames[] = { "self", NULL };
2217 char _ptemp[128];
2218
2219 self = self;
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames,&_argo0))
2221 return NULL;
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2226 return NULL;
2227 }
2228 }
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 _result = new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0));
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) return NULL;
2235 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2236 _resultobj = Py_BuildValue("s",_ptemp);
2237 return _resultobj;
2238 }
2239
2240 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2241 static PyObject *_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject * _resultobj;
2243 wxPoint * _result;
2244 wxPageSetupDialogData * _arg0;
2245 PyObject * _argo0 = 0;
2246 char *_kwnames[] = { "self", NULL };
2247 char _ptemp[128];
2248
2249 self = self;
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames,&_argo0))
2251 return NULL;
2252 if (_argo0) {
2253 if (_argo0 == Py_None) { _arg0 = NULL; }
2254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2256 return NULL;
2257 }
2258 }
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 _result = new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0));
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) return NULL;
2265 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2266 _resultobj = Py_BuildValue("s",_ptemp);
2267 return _resultobj;
2268 }
2269
2270 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2271 static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject * _resultobj;
2273 wxPoint * _result;
2274 wxPageSetupDialogData * _arg0;
2275 PyObject * _argo0 = 0;
2276 char *_kwnames[] = { "self", NULL };
2277 char _ptemp[128];
2278
2279 self = self;
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames,&_argo0))
2281 return NULL;
2282 if (_argo0) {
2283 if (_argo0 == Py_None) { _arg0 = NULL; }
2284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2286 return NULL;
2287 }
2288 }
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0));
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) return NULL;
2295 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2296 _resultobj = Py_BuildValue("s",_ptemp);
2297 return _resultobj;
2298 }
2299
2300 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2301 static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxPoint * _result;
2304 wxPageSetupDialogData * _arg0;
2305 PyObject * _argo0 = 0;
2306 char *_kwnames[] = { "self", NULL };
2307 char _ptemp[128];
2308
2309 self = self;
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames,&_argo0))
2311 return NULL;
2312 if (_argo0) {
2313 if (_argo0 == Py_None) { _arg0 = NULL; }
2314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2316 return NULL;
2317 }
2318 }
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0));
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) return NULL;
2325 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2326 _resultobj = Py_BuildValue("s",_ptemp);
2327 return _resultobj;
2328 }
2329
2330 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2331 static PyObject *_wrap_wxPageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxPaperSize _result;
2334 wxPageSetupDialogData * _arg0;
2335 PyObject * _argo0 = 0;
2336 char *_kwnames[] = { "self", NULL };
2337
2338 self = self;
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperId",_kwnames,&_argo0))
2340 return NULL;
2341 if (_argo0) {
2342 if (_argo0 == Py_None) { _arg0 = NULL; }
2343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2345 return NULL;
2346 }
2347 }
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 _result = (wxPaperSize )wxPageSetupDialogData_GetPaperId(_arg0);
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) return NULL;
2354 } _resultobj = Py_BuildValue("i",_result);
2355 return _resultobj;
2356 }
2357
2358 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2359 static PyObject *_wrap_wxPageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2360 PyObject * _resultobj;
2361 wxSize * _result;
2362 wxPageSetupDialogData * _arg0;
2363 PyObject * _argo0 = 0;
2364 char *_kwnames[] = { "self", NULL };
2365 char _ptemp[128];
2366
2367 self = self;
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperSize",_kwnames,&_argo0))
2369 return NULL;
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2374 return NULL;
2375 }
2376 }
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 _result = new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0));
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) return NULL;
2383 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2384 _resultobj = Py_BuildValue("s",_ptemp);
2385 return _resultobj;
2386 }
2387
2388 static wxPrintData * wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData *self) {
2389 return new wxPrintData(self->GetPrintData()); // force a copy
2390 }
2391 static PyObject *_wrap_wxPageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject * _resultobj;
2393 wxPrintData * _result;
2394 wxPageSetupDialogData * _arg0;
2395 PyObject * _argo0 = 0;
2396 char *_kwnames[] = { "self", NULL };
2397 char _ptemp[128];
2398
2399 self = self;
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPrintData",_kwnames,&_argo0))
2401 return NULL;
2402 if (_argo0) {
2403 if (_argo0 == Py_None) { _arg0 = NULL; }
2404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2406 return NULL;
2407 }
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 _result = (wxPrintData *)wxPageSetupDialogData_GetPrintData(_arg0);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) return NULL;
2415 } if (_result) {
2416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
2417 _resultobj = Py_BuildValue("s",_ptemp);
2418 } else {
2419 Py_INCREF(Py_None);
2420 _resultobj = Py_None;
2421 }
2422 return _resultobj;
2423 }
2424
2425 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2426 static PyObject *_wrap_wxPageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject * _resultobj;
2428 bool _result;
2429 wxPageSetupDialogData * _arg0;
2430 PyObject * _argo0 = 0;
2431 char *_kwnames[] = { "self", NULL };
2432
2433 self = self;
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_Ok",_kwnames,&_argo0))
2435 return NULL;
2436 if (_argo0) {
2437 if (_argo0 == Py_None) { _arg0 = NULL; }
2438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2440 return NULL;
2441 }
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 _result = (bool )wxPageSetupDialogData_Ok(_arg0);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) return NULL;
2449 } _resultobj = Py_BuildValue("i",_result);
2450 return _resultobj;
2451 }
2452
2453 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2454 static PyObject *_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject * _resultobj;
2456 wxPageSetupDialogData * _arg0;
2457 bool _arg1;
2458 PyObject * _argo0 = 0;
2459 int tempbool1;
2460 char *_kwnames[] = { "self","flag", NULL };
2461
2462 self = self;
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames,&_argo0,&tempbool1))
2464 return NULL;
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2469 return NULL;
2470 }
2471 }
2472 _arg1 = (bool ) tempbool1;
2473 {
2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
2475 wxPageSetupDialogData_SetDefaultInfo(_arg0,_arg1);
2476
2477 wxPyEndAllowThreads(__tstate);
2478 if (PyErr_Occurred()) return NULL;
2479 } Py_INCREF(Py_None);
2480 _resultobj = Py_None;
2481 return _resultobj;
2482 }
2483
2484 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2485 static PyObject *_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 wxPageSetupDialogData * _arg0;
2488 bool _arg1;
2489 PyObject * _argo0 = 0;
2490 int tempbool1;
2491 char *_kwnames[] = { "self","flag", NULL };
2492
2493 self = self;
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames,&_argo0,&tempbool1))
2495 return NULL;
2496 if (_argo0) {
2497 if (_argo0 == Py_None) { _arg0 = NULL; }
2498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2500 return NULL;
2501 }
2502 }
2503 _arg1 = (bool ) tempbool1;
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 wxPageSetupDialogData_SetDefaultMinMargins(_arg0,_arg1);
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) return NULL;
2510 } Py_INCREF(Py_None);
2511 _resultobj = Py_None;
2512 return _resultobj;
2513 }
2514
2515 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2516 static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject * _resultobj;
2518 wxPageSetupDialogData * _arg0;
2519 wxPoint * _arg1;
2520 PyObject * _argo0 = 0;
2521 wxPoint temp;
2522 PyObject * _obj1 = 0;
2523 char *_kwnames[] = { "self","pt", NULL };
2524
2525 self = self;
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1))
2527 return NULL;
2528 if (_argo0) {
2529 if (_argo0 == Py_None) { _arg0 = NULL; }
2530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2532 return NULL;
2533 }
2534 }
2535 {
2536 _arg1 = &temp;
2537 if (! wxPoint_helper(_obj1, &_arg1))
2538 return NULL;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) return NULL;
2546 } Py_INCREF(Py_None);
2547 _resultobj = Py_None;
2548 return _resultobj;
2549 }
2550
2551 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2552 static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2553 PyObject * _resultobj;
2554 wxPageSetupDialogData * _arg0;
2555 wxPoint * _arg1;
2556 PyObject * _argo0 = 0;
2557 wxPoint temp;
2558 PyObject * _obj1 = 0;
2559 char *_kwnames[] = { "self","pt", NULL };
2560
2561 self = self;
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1))
2563 return NULL;
2564 if (_argo0) {
2565 if (_argo0 == Py_None) { _arg0 = NULL; }
2566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2568 return NULL;
2569 }
2570 }
2571 {
2572 _arg1 = &temp;
2573 if (! wxPoint_helper(_obj1, &_arg1))
2574 return NULL;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) return NULL;
2582 } Py_INCREF(Py_None);
2583 _resultobj = Py_None;
2584 return _resultobj;
2585 }
2586
2587 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2588 static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject * _resultobj;
2590 wxPageSetupDialogData * _arg0;
2591 wxPoint * _arg1;
2592 PyObject * _argo0 = 0;
2593 wxPoint temp;
2594 PyObject * _obj1 = 0;
2595 char *_kwnames[] = { "self","pt", NULL };
2596
2597 self = self;
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1))
2599 return NULL;
2600 if (_argo0) {
2601 if (_argo0 == Py_None) { _arg0 = NULL; }
2602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2604 return NULL;
2605 }
2606 }
2607 {
2608 _arg1 = &temp;
2609 if (! wxPoint_helper(_obj1, &_arg1))
2610 return NULL;
2611 }
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 wxPageSetupDialogData_SetMinMarginTopLeft(_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_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2624 static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject * _resultobj;
2626 wxPageSetupDialogData * _arg0;
2627 wxPoint * _arg1;
2628 PyObject * _argo0 = 0;
2629 wxPoint temp;
2630 PyObject * _obj1 = 0;
2631 char *_kwnames[] = { "self","pt", NULL };
2632
2633 self = self;
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_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_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2640 return NULL;
2641 }
2642 }
2643 {
2644 _arg1 = &temp;
2645 if (! wxPoint_helper(_obj1, &_arg1))
2646 return NULL;
2647 }
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 wxPageSetupDialogData_SetMinMarginBottomRight(_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_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2660 static PyObject *_wrap_wxPageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject * _resultobj;
2662 wxPageSetupDialogData * _arg0;
2663 wxPaperSize _arg1;
2664 PyObject * _argo0 = 0;
2665 char *_kwnames[] = { "self","id", NULL };
2666
2667 self = self;
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames,&_argo0,&_arg1))
2669 return NULL;
2670 if (_argo0) {
2671 if (_argo0 == Py_None) { _arg0 = NULL; }
2672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2674 return NULL;
2675 }
2676 }
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 wxPageSetupDialogData_SetPaperId(_arg0,_arg1);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) return NULL;
2683 } Py_INCREF(Py_None);
2684 _resultobj = Py_None;
2685 return _resultobj;
2686 }
2687
2688 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2689 static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2690 PyObject * _resultobj;
2691 wxPageSetupDialogData * _arg0;
2692 wxSize * _arg1;
2693 PyObject * _argo0 = 0;
2694 wxSize temp;
2695 PyObject * _obj1 = 0;
2696 char *_kwnames[] = { "self","size", NULL };
2697
2698 self = self;
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1))
2700 return NULL;
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2705 return NULL;
2706 }
2707 }
2708 {
2709 _arg1 = &temp;
2710 if (! wxSize_helper(_obj1, &_arg1))
2711 return NULL;
2712 }
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) return NULL;
2719 } Py_INCREF(Py_None);
2720 _resultobj = Py_None;
2721 return _resultobj;
2722 }
2723
2724 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2725 static PyObject *_wrap_wxPageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
2726 PyObject * _resultobj;
2727 wxPageSetupDialogData * _arg0;
2728 wxPrintData * _arg1;
2729 PyObject * _argo0 = 0;
2730 PyObject * _argo1 = 0;
2731 char *_kwnames[] = { "self","printData", NULL };
2732
2733 self = self;
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
2735 return NULL;
2736 if (_argo0) {
2737 if (_argo0 == Py_None) { _arg0 = NULL; }
2738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2740 return NULL;
2741 }
2742 }
2743 if (_argo1) {
2744 if (_argo1 == Py_None) { _arg1 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2747 return NULL;
2748 }
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 wxPageSetupDialogData_SetPrintData(_arg0,*_arg1);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) return NULL;
2756 } Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759 }
2760
2761 static void *SwigwxPageSetupDialogTowxDialog(void *ptr) {
2762 wxPageSetupDialog *src;
2763 wxDialog *dest;
2764 src = (wxPageSetupDialog *) ptr;
2765 dest = (wxDialog *) src;
2766 return (void *) dest;
2767 }
2768
2769 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr) {
2770 wxPageSetupDialog *src;
2771 wxTopLevelWindow *dest;
2772 src = (wxPageSetupDialog *) ptr;
2773 dest = (wxTopLevelWindow *) src;
2774 return (void *) dest;
2775 }
2776
2777 static void *SwigwxPageSetupDialogTowxWindow(void *ptr) {
2778 wxPageSetupDialog *src;
2779 wxWindow *dest;
2780 src = (wxPageSetupDialog *) ptr;
2781 dest = (wxWindow *) src;
2782 return (void *) dest;
2783 }
2784
2785 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) {
2786 wxPageSetupDialog *src;
2787 wxEvtHandler *dest;
2788 src = (wxPageSetupDialog *) ptr;
2789 dest = (wxEvtHandler *) src;
2790 return (void *) dest;
2791 }
2792
2793 static void *SwigwxPageSetupDialogTowxObject(void *ptr) {
2794 wxPageSetupDialog *src;
2795 wxObject *dest;
2796 src = (wxPageSetupDialog *) ptr;
2797 dest = (wxObject *) src;
2798 return (void *) dest;
2799 }
2800
2801 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2802 static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject * _resultobj;
2804 wxPageSetupDialog * _result;
2805 wxWindow * _arg0;
2806 wxPageSetupDialogData * _arg1 = (wxPageSetupDialogData *) NULL;
2807 PyObject * _argo0 = 0;
2808 PyObject * _argo1 = 0;
2809 char *_kwnames[] = { "parent","data", NULL };
2810 char _ptemp[128];
2811
2812 self = self;
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPageSetupDialog",_kwnames,&_argo0,&_argo1))
2814 return NULL;
2815 if (_argo0) {
2816 if (_argo0 == Py_None) { _arg0 = NULL; }
2817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2819 return NULL;
2820 }
2821 }
2822 if (_argo1) {
2823 if (_argo1 == Py_None) { _arg1 = NULL; }
2824 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPageSetupDialogData_p")) {
2825 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2826 return NULL;
2827 }
2828 }
2829 {
2830 PyThreadState* __tstate = wxPyBeginAllowThreads();
2831 _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1);
2832
2833 wxPyEndAllowThreads(__tstate);
2834 if (PyErr_Occurred()) return NULL;
2835 } if (_result) {
2836 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p");
2837 _resultobj = Py_BuildValue("s",_ptemp);
2838 } else {
2839 Py_INCREF(Py_None);
2840 _resultobj = Py_None;
2841 }
2842 return _resultobj;
2843 }
2844
2845 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2846 static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject * _resultobj;
2848 wxPageSetupDialogData * _result;
2849 wxPageSetupDialog * _arg0;
2850 PyObject * _argo0 = 0;
2851 char *_kwnames[] = { "self", NULL };
2852 char _ptemp[128];
2853
2854 self = self;
2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_GetPageSetupData",_kwnames,&_argo0))
2856 return NULL;
2857 if (_argo0) {
2858 if (_argo0 == Py_None) { _arg0 = NULL; }
2859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
2860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2861 return NULL;
2862 }
2863 }
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 wxPageSetupDialogData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0);
2867 _result = (wxPageSetupDialogData *) &_result_ref;
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) return NULL;
2871 } if (_result) {
2872 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
2873 _resultobj = Py_BuildValue("s",_ptemp);
2874 } else {
2875 Py_INCREF(Py_None);
2876 _resultobj = Py_None;
2877 }
2878 return _resultobj;
2879 }
2880
2881 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2882 static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject * _resultobj;
2884 int _result;
2885 wxPageSetupDialog * _arg0;
2886 PyObject * _argo0 = 0;
2887 char *_kwnames[] = { "self", NULL };
2888
2889 self = self;
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_ShowModal",_kwnames,&_argo0))
2891 return NULL;
2892 if (_argo0) {
2893 if (_argo0 == Py_None) { _arg0 = NULL; }
2894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
2895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2896 return NULL;
2897 }
2898 }
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 _result = (int )wxPageSetupDialog_ShowModal(_arg0);
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) return NULL;
2905 } _resultobj = Py_BuildValue("i",_result);
2906 return _resultobj;
2907 }
2908
2909 static void *SwigwxPrintDialogDataTowxObject(void *ptr) {
2910 wxPrintDialogData *src;
2911 wxObject *dest;
2912 src = (wxPrintDialogData *) ptr;
2913 dest = (wxObject *) src;
2914 return (void *) dest;
2915 }
2916
2917 #define new_wxPrintDialogData() (new wxPrintDialogData())
2918 static PyObject *_wrap_new_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject * _resultobj;
2920 wxPrintDialogData * _result;
2921 char *_kwnames[] = { NULL };
2922 char _ptemp[128];
2923
2924 self = self;
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintDialogData",_kwnames))
2926 return NULL;
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 _result = (wxPrintDialogData *)new_wxPrintDialogData();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) return NULL;
2933 } if (_result) {
2934 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
2935 _resultobj = Py_BuildValue("s",_ptemp);
2936 } else {
2937 Py_INCREF(Py_None);
2938 _resultobj = Py_None;
2939 }
2940 return _resultobj;
2941 }
2942
2943 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2944 static PyObject *_wrap_delete_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject * _resultobj;
2946 wxPrintDialogData * _arg0;
2947 PyObject * _argo0 = 0;
2948 char *_kwnames[] = { "self", NULL };
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintDialogData",_kwnames,&_argo0))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2957 return NULL;
2958 }
2959 }
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 delete_wxPrintDialogData(_arg0);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) return NULL;
2966 } Py_INCREF(Py_None);
2967 _resultobj = Py_None;
2968 return _resultobj;
2969 }
2970
2971 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2972 static PyObject *_wrap_wxPrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject * _resultobj;
2974 wxPrintDialogData * _arg0;
2975 bool _arg1;
2976 PyObject * _argo0 = 0;
2977 int tempbool1;
2978 char *_kwnames[] = { "self","flag", NULL };
2979
2980 self = self;
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
2982 return NULL;
2983 if (_argo0) {
2984 if (_argo0 == Py_None) { _arg0 = NULL; }
2985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
2986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2987 return NULL;
2988 }
2989 }
2990 _arg1 = (bool ) tempbool1;
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 wxPrintDialogData_EnableHelp(_arg0,_arg1);
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) return NULL;
2997 } Py_INCREF(Py_None);
2998 _resultobj = Py_None;
2999 return _resultobj;
3000 }
3001
3002 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3003 static PyObject *_wrap_wxPrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject * _resultobj;
3005 wxPrintDialogData * _arg0;
3006 bool _arg1;
3007 PyObject * _argo0 = 0;
3008 int tempbool1;
3009 char *_kwnames[] = { "self","flag", NULL };
3010
3011 self = self;
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames,&_argo0,&tempbool1))
3013 return NULL;
3014 if (_argo0) {
3015 if (_argo0 == Py_None) { _arg0 = NULL; }
3016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3018 return NULL;
3019 }
3020 }
3021 _arg1 = (bool ) tempbool1;
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 wxPrintDialogData_EnablePageNumbers(_arg0,_arg1);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) return NULL;
3028 } Py_INCREF(Py_None);
3029 _resultobj = Py_None;
3030 return _resultobj;
3031 }
3032
3033 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3034 static PyObject *_wrap_wxPrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject * _resultobj;
3036 wxPrintDialogData * _arg0;
3037 bool _arg1;
3038 PyObject * _argo0 = 0;
3039 int tempbool1;
3040 char *_kwnames[] = { "self","flag", NULL };
3041
3042 self = self;
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames,&_argo0,&tempbool1))
3044 return NULL;
3045 if (_argo0) {
3046 if (_argo0 == Py_None) { _arg0 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3049 return NULL;
3050 }
3051 }
3052 _arg1 = (bool ) tempbool1;
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 wxPrintDialogData_EnablePrintToFile(_arg0,_arg1);
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) return NULL;
3059 } Py_INCREF(Py_None);
3060 _resultobj = Py_None;
3061 return _resultobj;
3062 }
3063
3064 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3065 static PyObject *_wrap_wxPrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject * _resultobj;
3067 wxPrintDialogData * _arg0;
3068 bool _arg1;
3069 PyObject * _argo0 = 0;
3070 int tempbool1;
3071 char *_kwnames[] = { "self","flag", NULL };
3072
3073 self = self;
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableSelection",_kwnames,&_argo0,&tempbool1))
3075 return NULL;
3076 if (_argo0) {
3077 if (_argo0 == Py_None) { _arg0 = NULL; }
3078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3080 return NULL;
3081 }
3082 }
3083 _arg1 = (bool ) tempbool1;
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 wxPrintDialogData_EnableSelection(_arg0,_arg1);
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) return NULL;
3090 } Py_INCREF(Py_None);
3091 _resultobj = Py_None;
3092 return _resultobj;
3093 }
3094
3095 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3096 static PyObject *_wrap_wxPrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject * _resultobj;
3098 bool _result;
3099 wxPrintDialogData * _arg0;
3100 PyObject * _argo0 = 0;
3101 char *_kwnames[] = { "self", NULL };
3102
3103 self = self;
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetAllPages",_kwnames,&_argo0))
3105 return NULL;
3106 if (_argo0) {
3107 if (_argo0 == Py_None) { _arg0 = NULL; }
3108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3110 return NULL;
3111 }
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 _result = (bool )wxPrintDialogData_GetAllPages(_arg0);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) return NULL;
3119 } _resultobj = Py_BuildValue("i",_result);
3120 return _resultobj;
3121 }
3122
3123 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3124 static PyObject *_wrap_wxPrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject * _resultobj;
3126 bool _result;
3127 wxPrintDialogData * _arg0;
3128 PyObject * _argo0 = 0;
3129 char *_kwnames[] = { "self", NULL };
3130
3131 self = self;
3132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetCollate",_kwnames,&_argo0))
3133 return NULL;
3134 if (_argo0) {
3135 if (_argo0 == Py_None) { _arg0 = NULL; }
3136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3138 return NULL;
3139 }
3140 }
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 _result = (bool )wxPrintDialogData_GetCollate(_arg0);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) return NULL;
3147 } _resultobj = Py_BuildValue("i",_result);
3148 return _resultobj;
3149 }
3150
3151 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3152 static PyObject *_wrap_wxPrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject * _resultobj;
3154 int _result;
3155 wxPrintDialogData * _arg0;
3156 PyObject * _argo0 = 0;
3157 char *_kwnames[] = { "self", NULL };
3158
3159 self = self;
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetFromPage",_kwnames,&_argo0))
3161 return NULL;
3162 if (_argo0) {
3163 if (_argo0 == Py_None) { _arg0 = NULL; }
3164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3166 return NULL;
3167 }
3168 }
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 _result = (int )wxPrintDialogData_GetFromPage(_arg0);
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) return NULL;
3175 } _resultobj = Py_BuildValue("i",_result);
3176 return _resultobj;
3177 }
3178
3179 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3180 static PyObject *_wrap_wxPrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject * _resultobj;
3182 int _result;
3183 wxPrintDialogData * _arg0;
3184 PyObject * _argo0 = 0;
3185 char *_kwnames[] = { "self", NULL };
3186
3187 self = self;
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMaxPage",_kwnames,&_argo0))
3189 return NULL;
3190 if (_argo0) {
3191 if (_argo0 == Py_None) { _arg0 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3194 return NULL;
3195 }
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 _result = (int )wxPrintDialogData_GetMaxPage(_arg0);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) return NULL;
3203 } _resultobj = Py_BuildValue("i",_result);
3204 return _resultobj;
3205 }
3206
3207 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3208 static PyObject *_wrap_wxPrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject * _resultobj;
3210 int _result;
3211 wxPrintDialogData * _arg0;
3212 PyObject * _argo0 = 0;
3213 char *_kwnames[] = { "self", NULL };
3214
3215 self = self;
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMinPage",_kwnames,&_argo0))
3217 return NULL;
3218 if (_argo0) {
3219 if (_argo0 == Py_None) { _arg0 = NULL; }
3220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3222 return NULL;
3223 }
3224 }
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 _result = (int )wxPrintDialogData_GetMinPage(_arg0);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) return NULL;
3231 } _resultobj = Py_BuildValue("i",_result);
3232 return _resultobj;
3233 }
3234
3235 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3236 static PyObject *_wrap_wxPrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject * _resultobj;
3238 int _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_GetNoCopies",_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_GetNoCopies. Expected _wxPrintDialogData_p.");
3250 return NULL;
3251 }
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 _result = (int )wxPrintDialogData_GetNoCopies(_arg0);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) return NULL;
3259 } _resultobj = Py_BuildValue("i",_result);
3260 return _resultobj;
3261 }
3262
3263 static wxPrintData * wxPrintDialogData_GetPrintData(wxPrintDialogData *self) {
3264 return new wxPrintData(self->GetPrintData()); // force a copy
3265 }
3266 static PyObject *_wrap_wxPrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxPrintData * _result;
3269 wxPrintDialogData * _arg0;
3270 PyObject * _argo0 = 0;
3271 char *_kwnames[] = { "self", NULL };
3272 char _ptemp[128];
3273
3274 self = self;
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintData",_kwnames,&_argo0))
3276 return NULL;
3277 if (_argo0) {
3278 if (_argo0 == Py_None) { _arg0 = NULL; }
3279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3281 return NULL;
3282 }
3283 }
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 _result = (wxPrintData *)wxPrintDialogData_GetPrintData(_arg0);
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) return NULL;
3290 } if (_result) {
3291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
3292 _resultobj = Py_BuildValue("s",_ptemp);
3293 } else {
3294 Py_INCREF(Py_None);
3295 _resultobj = Py_None;
3296 }
3297 return _resultobj;
3298 }
3299
3300 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3301 static PyObject *_wrap_wxPrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject * _resultobj;
3303 bool _result;
3304 wxPrintDialogData * _arg0;
3305 PyObject * _argo0 = 0;
3306 char *_kwnames[] = { "self", NULL };
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintToFile",_kwnames,&_argo0))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3315 return NULL;
3316 }
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 _result = (bool )wxPrintDialogData_GetPrintToFile(_arg0);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) return NULL;
3324 } _resultobj = Py_BuildValue("i",_result);
3325 return _resultobj;
3326 }
3327
3328 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3329 static PyObject *_wrap_wxPrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject * _resultobj;
3331 int _result;
3332 wxPrintDialogData * _arg0;
3333 PyObject * _argo0 = 0;
3334 char *_kwnames[] = { "self", NULL };
3335
3336 self = self;
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetToPage",_kwnames,&_argo0))
3338 return NULL;
3339 if (_argo0) {
3340 if (_argo0 == Py_None) { _arg0 = NULL; }
3341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3343 return NULL;
3344 }
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 _result = (int )wxPrintDialogData_GetToPage(_arg0);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) return NULL;
3352 } _resultobj = Py_BuildValue("i",_result);
3353 return _resultobj;
3354 }
3355
3356 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3357 static PyObject *_wrap_wxPrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 bool _result;
3360 wxPrintDialogData * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_Ok",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3371 return NULL;
3372 }
3373 }
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 _result = (bool )wxPrintDialogData_Ok(_arg0);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) return NULL;
3380 } _resultobj = Py_BuildValue("i",_result);
3381 return _resultobj;
3382 }
3383
3384 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3385 static PyObject *_wrap_wxPrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 wxPrintDialogData * _arg0;
3388 bool _arg1;
3389 PyObject * _argo0 = 0;
3390 int tempbool1;
3391 char *_kwnames[] = { "self","flag", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetCollate",_kwnames,&_argo0,&tempbool1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3400 return NULL;
3401 }
3402 }
3403 _arg1 = (bool ) tempbool1;
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 wxPrintDialogData_SetCollate(_arg0,_arg1);
3407
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) return NULL;
3410 } Py_INCREF(Py_None);
3411 _resultobj = Py_None;
3412 return _resultobj;
3413 }
3414
3415 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3416 static PyObject *_wrap_wxPrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject * _resultobj;
3418 wxPrintDialogData * _arg0;
3419 int _arg1;
3420 PyObject * _argo0 = 0;
3421 char *_kwnames[] = { "self","page", NULL };
3422
3423 self = self;
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetFromPage",_kwnames,&_argo0,&_arg1))
3425 return NULL;
3426 if (_argo0) {
3427 if (_argo0 == Py_None) { _arg0 = NULL; }
3428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3430 return NULL;
3431 }
3432 }
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 wxPrintDialogData_SetFromPage(_arg0,_arg1);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) return NULL;
3439 } Py_INCREF(Py_None);
3440 _resultobj = Py_None;
3441 return _resultobj;
3442 }
3443
3444 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3445 static PyObject *_wrap_wxPrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject * _resultobj;
3447 wxPrintDialogData * _arg0;
3448 int _arg1;
3449 PyObject * _argo0 = 0;
3450 char *_kwnames[] = { "self","page", NULL };
3451
3452 self = self;
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMaxPage",_kwnames,&_argo0,&_arg1))
3454 return NULL;
3455 if (_argo0) {
3456 if (_argo0 == Py_None) { _arg0 = NULL; }
3457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3459 return NULL;
3460 }
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 wxPrintDialogData_SetMaxPage(_arg0,_arg1);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) return NULL;
3468 } Py_INCREF(Py_None);
3469 _resultobj = Py_None;
3470 return _resultobj;
3471 }
3472
3473 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3474 static PyObject *_wrap_wxPrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject * _resultobj;
3476 wxPrintDialogData * _arg0;
3477 int _arg1;
3478 PyObject * _argo0 = 0;
3479 char *_kwnames[] = { "self","page", NULL };
3480
3481 self = self;
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMinPage",_kwnames,&_argo0,&_arg1))
3483 return NULL;
3484 if (_argo0) {
3485 if (_argo0 == Py_None) { _arg0 = NULL; }
3486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3488 return NULL;
3489 }
3490 }
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 wxPrintDialogData_SetMinPage(_arg0,_arg1);
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) return NULL;
3497 } Py_INCREF(Py_None);
3498 _resultobj = Py_None;
3499 return _resultobj;
3500 }
3501
3502 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3503 static PyObject *_wrap_wxPrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject * _resultobj;
3505 wxPrintDialogData * _arg0;
3506 int _arg1;
3507 PyObject * _argo0 = 0;
3508 char *_kwnames[] = { "self","n", NULL };
3509
3510 self = self;
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetNoCopies",_kwnames,&_argo0,&_arg1))
3512 return NULL;
3513 if (_argo0) {
3514 if (_argo0 == Py_None) { _arg0 = NULL; }
3515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3517 return NULL;
3518 }
3519 }
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 wxPrintDialogData_SetNoCopies(_arg0,_arg1);
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) return NULL;
3526 } Py_INCREF(Py_None);
3527 _resultobj = Py_None;
3528 return _resultobj;
3529 }
3530
3531 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3532 static PyObject *_wrap_wxPrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject * _resultobj;
3534 wxPrintDialogData * _arg0;
3535 wxPrintData * _arg1;
3536 PyObject * _argo0 = 0;
3537 PyObject * _argo1 = 0;
3538 char *_kwnames[] = { "self","printData", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3547 return NULL;
3548 }
3549 }
3550 if (_argo1) {
3551 if (_argo1 == Py_None) { _arg1 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3554 return NULL;
3555 }
3556 }
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 wxPrintDialogData_SetPrintData(_arg0,*_arg1);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) return NULL;
3563 } Py_INCREF(Py_None);
3564 _resultobj = Py_None;
3565 return _resultobj;
3566 }
3567
3568 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3569 static PyObject *_wrap_wxPrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject * _resultobj;
3571 wxPrintDialogData * _arg0;
3572 bool _arg1;
3573 PyObject * _argo0 = 0;
3574 int tempbool1;
3575 char *_kwnames[] = { "self","flag", NULL };
3576
3577 self = self;
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames,&_argo0,&tempbool1))
3579 return NULL;
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3584 return NULL;
3585 }
3586 }
3587 _arg1 = (bool ) tempbool1;
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 wxPrintDialogData_SetPrintToFile(_arg0,_arg1);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) return NULL;
3594 } Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 return _resultobj;
3597 }
3598
3599 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3600 static PyObject *_wrap_wxPrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject * _resultobj;
3602 wxPrintDialogData * _arg0;
3603 bool _arg1;
3604 PyObject * _argo0 = 0;
3605 int tempbool1;
3606 char *_kwnames[] = { "self","flag", NULL };
3607
3608 self = self;
3609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames,&_argo0,&tempbool1))
3610 return NULL;
3611 if (_argo0) {
3612 if (_argo0 == Py_None) { _arg0 = NULL; }
3613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3615 return NULL;
3616 }
3617 }
3618 _arg1 = (bool ) tempbool1;
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 wxPrintDialogData_SetSetupDialog(_arg0,_arg1);
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) return NULL;
3625 } Py_INCREF(Py_None);
3626 _resultobj = Py_None;
3627 return _resultobj;
3628 }
3629
3630 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3631 static PyObject *_wrap_wxPrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject * _resultobj;
3633 wxPrintDialogData * _arg0;
3634 int _arg1;
3635 PyObject * _argo0 = 0;
3636 char *_kwnames[] = { "self","page", NULL };
3637
3638 self = self;
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetToPage",_kwnames,&_argo0,&_arg1))
3640 return NULL;
3641 if (_argo0) {
3642 if (_argo0 == Py_None) { _arg0 = NULL; }
3643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3645 return NULL;
3646 }
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 wxPrintDialogData_SetToPage(_arg0,_arg1);
3651
3652 wxPyEndAllowThreads(__tstate);
3653 if (PyErr_Occurred()) return NULL;
3654 } Py_INCREF(Py_None);
3655 _resultobj = Py_None;
3656 return _resultobj;
3657 }
3658
3659 static void *SwigwxPrintDialogTowxDialog(void *ptr) {
3660 wxPrintDialog *src;
3661 wxDialog *dest;
3662 src = (wxPrintDialog *) ptr;
3663 dest = (wxDialog *) src;
3664 return (void *) dest;
3665 }
3666
3667 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr) {
3668 wxPrintDialog *src;
3669 wxTopLevelWindow *dest;
3670 src = (wxPrintDialog *) ptr;
3671 dest = (wxTopLevelWindow *) src;
3672 return (void *) dest;
3673 }
3674
3675 static void *SwigwxPrintDialogTowxWindow(void *ptr) {
3676 wxPrintDialog *src;
3677 wxWindow *dest;
3678 src = (wxPrintDialog *) ptr;
3679 dest = (wxWindow *) src;
3680 return (void *) dest;
3681 }
3682
3683 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) {
3684 wxPrintDialog *src;
3685 wxEvtHandler *dest;
3686 src = (wxPrintDialog *) ptr;
3687 dest = (wxEvtHandler *) src;
3688 return (void *) dest;
3689 }
3690
3691 static void *SwigwxPrintDialogTowxObject(void *ptr) {
3692 wxPrintDialog *src;
3693 wxObject *dest;
3694 src = (wxPrintDialog *) ptr;
3695 dest = (wxObject *) src;
3696 return (void *) dest;
3697 }
3698
3699 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3700 static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject * _resultobj;
3702 wxPrintDialog * _result;
3703 wxWindow * _arg0;
3704 wxPrintDialogData * _arg1 = (wxPrintDialogData *) NULL;
3705 PyObject * _argo0 = 0;
3706 PyObject * _argo1 = 0;
3707 char *_kwnames[] = { "parent","data", NULL };
3708 char _ptemp[128];
3709
3710 self = self;
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPrintDialog",_kwnames,&_argo0,&_argo1))
3712 return NULL;
3713 if (_argo0) {
3714 if (_argo0 == Py_None) { _arg0 = NULL; }
3715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3717 return NULL;
3718 }
3719 }
3720 if (_argo1) {
3721 if (_argo1 == Py_None) { _arg1 = NULL; }
3722 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintDialogData_p")) {
3723 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3724 return NULL;
3725 }
3726 }
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) return NULL;
3733 } if (_result) {
3734 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p");
3735 _resultobj = Py_BuildValue("s",_ptemp);
3736 } else {
3737 Py_INCREF(Py_None);
3738 _resultobj = Py_None;
3739 }
3740 return _resultobj;
3741 }
3742
3743 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3744 static PyObject *_wrap_wxPrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject * _resultobj;
3746 wxPrintDialogData * _result;
3747 wxPrintDialog * _arg0;
3748 PyObject * _argo0 = 0;
3749 char *_kwnames[] = { "self", NULL };
3750 char _ptemp[128];
3751
3752 self = self;
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDialogData",_kwnames,&_argo0))
3754 return NULL;
3755 if (_argo0) {
3756 if (_argo0 == Py_None) { _arg0 = NULL; }
3757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3759 return NULL;
3760 }
3761 }
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 wxPrintDialogData & _result_ref = wxPrintDialog_GetPrintDialogData(_arg0);
3765 _result = (wxPrintDialogData *) &_result_ref;
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) return NULL;
3769 } if (_result) {
3770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
3771 _resultobj = Py_BuildValue("s",_ptemp);
3772 } else {
3773 Py_INCREF(Py_None);
3774 _resultobj = Py_None;
3775 }
3776 return _resultobj;
3777 }
3778
3779 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3780 static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxDC * _result;
3783 wxPrintDialog * _arg0;
3784 PyObject * _argo0 = 0;
3785 char *_kwnames[] = { "self", NULL };
3786
3787 self = self;
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDC",_kwnames,&_argo0))
3789 return NULL;
3790 if (_argo0) {
3791 if (_argo0 == Py_None) { _arg0 = NULL; }
3792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3794 return NULL;
3795 }
3796 }
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) return NULL;
3803 }{ _resultobj = wxPyMake_wxObject(_result); }
3804 return _resultobj;
3805 }
3806
3807 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3808 static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject * _resultobj;
3810 int _result;
3811 wxPrintDialog * _arg0;
3812 PyObject * _argo0 = 0;
3813 char *_kwnames[] = { "self", NULL };
3814
3815 self = self;
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_ShowModal",_kwnames,&_argo0))
3817 return NULL;
3818 if (_argo0) {
3819 if (_argo0 == Py_None) { _arg0 = NULL; }
3820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
3821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3822 return NULL;
3823 }
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 _result = (int )wxPrintDialog_ShowModal(_arg0);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) return NULL;
3831 } _resultobj = Py_BuildValue("i",_result);
3832 return _resultobj;
3833 }
3834
3835 static void *SwigwxPyPrintoutTowxObject(void *ptr) {
3836 wxPyPrintout *src;
3837 wxObject *dest;
3838 src = (wxPyPrintout *) ptr;
3839 dest = (wxObject *) src;
3840 return (void *) dest;
3841 }
3842
3843 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3844 static PyObject *_wrap_new_wxPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject * _resultobj;
3846 wxPyPrintout * _result;
3847 wxString * _arg0 = (wxString *) &wxPyPrintoutTitleStr;
3848 PyObject * _obj0 = 0;
3849 char *_kwnames[] = { "title", NULL };
3850 char _ptemp[128];
3851
3852 self = self;
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrintout",_kwnames,&_obj0))
3854 return NULL;
3855 if (_obj0)
3856 {
3857 _arg0 = wxString_in_helper(_obj0);
3858 if (_arg0 == NULL)
3859 return NULL;
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 _result = (wxPyPrintout *)new_wxPrintout(*_arg0);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) return NULL;
3867 } if (_result) {
3868 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
3869 _resultobj = Py_BuildValue("s",_ptemp);
3870 } else {
3871 Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 }
3874 {
3875 if (_obj0)
3876 delete _arg0;
3877 }
3878 return _resultobj;
3879 }
3880
3881 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3882 static PyObject *_wrap_wxPrintout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3883 PyObject * _resultobj;
3884 wxPyPrintout * _arg0;
3885 PyObject * _arg1;
3886 PyObject * _arg2;
3887 PyObject * _argo0 = 0;
3888 PyObject * _obj1 = 0;
3889 PyObject * _obj2 = 0;
3890 char *_kwnames[] = { "self","self","_class", NULL };
3891
3892 self = self;
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintout__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3894 return NULL;
3895 if (_argo0) {
3896 if (_argo0 == Py_None) { _arg0 = NULL; }
3897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3899 return NULL;
3900 }
3901 }
3902 {
3903 _arg1 = _obj1;
3904 }
3905 {
3906 _arg2 = _obj2;
3907 }
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 wxPrintout__setCallbackInfo(_arg0,_arg1,_arg2);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) return NULL;
3914 } Py_INCREF(Py_None);
3915 _resultobj = Py_None;
3916 return _resultobj;
3917 }
3918
3919 static void wxPyPrintout_Destroy(wxPyPrintout *self) { delete self; }
3920 static PyObject *_wrap_wxPrintout_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject * _resultobj;
3922 wxPyPrintout * _arg0;
3923 PyObject * _argo0 = 0;
3924 char *_kwnames[] = { "self", NULL };
3925
3926 self = self;
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_Destroy",_kwnames,&_argo0))
3928 return NULL;
3929 if (_argo0) {
3930 if (_argo0 == Py_None) { _arg0 = NULL; }
3931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3933 return NULL;
3934 }
3935 }
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 wxPyPrintout_Destroy(_arg0);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) return NULL;
3942 } Py_INCREF(Py_None);
3943 _resultobj = Py_None;
3944 return _resultobj;
3945 }
3946
3947 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3948 static PyObject *_wrap_wxPrintout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3949 PyObject * _resultobj;
3950 wxDC * _result;
3951 wxPyPrintout * _arg0;
3952 PyObject * _argo0 = 0;
3953 char *_kwnames[] = { "self", NULL };
3954
3955 self = self;
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetDC",_kwnames,&_argo0))
3957 return NULL;
3958 if (_argo0) {
3959 if (_argo0 == Py_None) { _arg0 = NULL; }
3960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3962 return NULL;
3963 }
3964 }
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 _result = (wxDC *)wxPrintout_GetDC(_arg0);
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) return NULL;
3971 }{ _resultobj = wxPyMake_wxObject(_result); }
3972 return _resultobj;
3973 }
3974
3975 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3976 static PyObject *_wrap_wxPrintout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject * _resultobj;
3978 wxPyPrintout * _arg0;
3979 int * _arg1;
3980 int temp;
3981 int * _arg2;
3982 int temp0;
3983 PyObject * _argo0 = 0;
3984 char *_kwnames[] = { "self", NULL };
3985
3986 self = self;
3987 {
3988 _arg1 = &temp;
3989 }
3990 {
3991 _arg2 = &temp0;
3992 }
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizeMM",_kwnames,&_argo0))
3994 return NULL;
3995 if (_argo0) {
3996 if (_argo0 == Py_None) { _arg0 = NULL; }
3997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3999 return NULL;
4000 }
4001 }
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 wxPrintout_GetPageSizeMM(_arg0,_arg1,_arg2);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) return NULL;
4008 } Py_INCREF(Py_None);
4009 _resultobj = Py_None;
4010 {
4011 PyObject *o;
4012 o = PyInt_FromLong((long) (*_arg1));
4013 _resultobj = t_output_helper(_resultobj, o);
4014 }
4015 {
4016 PyObject *o;
4017 o = PyInt_FromLong((long) (*_arg2));
4018 _resultobj = t_output_helper(_resultobj, o);
4019 }
4020 return _resultobj;
4021 }
4022
4023 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4024 static PyObject *_wrap_wxPrintout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject * _resultobj;
4026 wxPyPrintout * _arg0;
4027 int * _arg1;
4028 int temp;
4029 int * _arg2;
4030 int temp0;
4031 PyObject * _argo0 = 0;
4032 char *_kwnames[] = { "self", NULL };
4033
4034 self = self;
4035 {
4036 _arg1 = &temp;
4037 }
4038 {
4039 _arg2 = &temp0;
4040 }
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizePixels",_kwnames,&_argo0))
4042 return NULL;
4043 if (_argo0) {
4044 if (_argo0 == Py_None) { _arg0 = NULL; }
4045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4047 return NULL;
4048 }
4049 }
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 wxPrintout_GetPageSizePixels(_arg0,_arg1,_arg2);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) return NULL;
4056 } Py_INCREF(Py_None);
4057 _resultobj = Py_None;
4058 {
4059 PyObject *o;
4060 o = PyInt_FromLong((long) (*_arg1));
4061 _resultobj = t_output_helper(_resultobj, o);
4062 }
4063 {
4064 PyObject *o;
4065 o = PyInt_FromLong((long) (*_arg2));
4066 _resultobj = t_output_helper(_resultobj, o);
4067 }
4068 return _resultobj;
4069 }
4070
4071 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4072 static PyObject *_wrap_wxPrintout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject * _resultobj;
4074 wxPyPrintout * _arg0;
4075 int * _arg1;
4076 int temp;
4077 int * _arg2;
4078 int temp0;
4079 PyObject * _argo0 = 0;
4080 char *_kwnames[] = { "self", NULL };
4081
4082 self = self;
4083 {
4084 _arg1 = &temp;
4085 }
4086 {
4087 _arg2 = &temp0;
4088 }
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIPrinter",_kwnames,&_argo0))
4090 return NULL;
4091 if (_argo0) {
4092 if (_argo0 == Py_None) { _arg0 = NULL; }
4093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4095 return NULL;
4096 }
4097 }
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 wxPrintout_GetPPIPrinter(_arg0,_arg1,_arg2);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) return NULL;
4104 } Py_INCREF(Py_None);
4105 _resultobj = Py_None;
4106 {
4107 PyObject *o;
4108 o = PyInt_FromLong((long) (*_arg1));
4109 _resultobj = t_output_helper(_resultobj, o);
4110 }
4111 {
4112 PyObject *o;
4113 o = PyInt_FromLong((long) (*_arg2));
4114 _resultobj = t_output_helper(_resultobj, o);
4115 }
4116 return _resultobj;
4117 }
4118
4119 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4120 static PyObject *_wrap_wxPrintout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject * _resultobj;
4122 wxPyPrintout * _arg0;
4123 int * _arg1;
4124 int temp;
4125 int * _arg2;
4126 int temp0;
4127 PyObject * _argo0 = 0;
4128 char *_kwnames[] = { "self", NULL };
4129
4130 self = self;
4131 {
4132 _arg1 = &temp;
4133 }
4134 {
4135 _arg2 = &temp0;
4136 }
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIScreen",_kwnames,&_argo0))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4143 return NULL;
4144 }
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 wxPrintout_GetPPIScreen(_arg0,_arg1,_arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) return NULL;
4152 } Py_INCREF(Py_None);
4153 _resultobj = Py_None;
4154 {
4155 PyObject *o;
4156 o = PyInt_FromLong((long) (*_arg1));
4157 _resultobj = t_output_helper(_resultobj, o);
4158 }
4159 {
4160 PyObject *o;
4161 o = PyInt_FromLong((long) (*_arg2));
4162 _resultobj = t_output_helper(_resultobj, o);
4163 }
4164 return _resultobj;
4165 }
4166
4167 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4168 static PyObject *_wrap_wxPrintout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject * _resultobj;
4170 bool _result;
4171 wxPyPrintout * _arg0;
4172 PyObject * _argo0 = 0;
4173 char *_kwnames[] = { "self", NULL };
4174
4175 self = self;
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_IsPreview",_kwnames,&_argo0))
4177 return NULL;
4178 if (_argo0) {
4179 if (_argo0 == Py_None) { _arg0 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4182 return NULL;
4183 }
4184 }
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 _result = (bool )wxPrintout_IsPreview(_arg0);
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) return NULL;
4191 } _resultobj = Py_BuildValue("i",_result);
4192 return _resultobj;
4193 }
4194
4195 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4196 static PyObject *_wrap_wxPrintout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject * _resultobj;
4198 bool _result;
4199 wxPyPrintout * _arg0;
4200 int _arg1;
4201 int _arg2;
4202 PyObject * _argo0 = 0;
4203 char *_kwnames[] = { "self","startPage","endPage", NULL };
4204
4205 self = self;
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPrintout_base_OnBeginDocument",_kwnames,&_argo0,&_arg1,&_arg2))
4207 return NULL;
4208 if (_argo0) {
4209 if (_argo0 == Py_None) { _arg0 = NULL; }
4210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4212 return NULL;
4213 }
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 _result = (bool )wxPrintout_base_OnBeginDocument(_arg0,_arg1,_arg2);
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) return NULL;
4221 } _resultobj = Py_BuildValue("i",_result);
4222 return _resultobj;
4223 }
4224
4225 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4226 static PyObject *_wrap_wxPrintout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxPyPrintout * _arg0;
4229 PyObject * _argo0 = 0;
4230 char *_kwnames[] = { "self", NULL };
4231
4232 self = self;
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndDocument",_kwnames,&_argo0))
4234 return NULL;
4235 if (_argo0) {
4236 if (_argo0 == Py_None) { _arg0 = NULL; }
4237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4239 return NULL;
4240 }
4241 }
4242 {
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 wxPrintout_base_OnEndDocument(_arg0);
4245
4246 wxPyEndAllowThreads(__tstate);
4247 if (PyErr_Occurred()) return NULL;
4248 } Py_INCREF(Py_None);
4249 _resultobj = Py_None;
4250 return _resultobj;
4251 }
4252
4253 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4254 static PyObject *_wrap_wxPrintout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject * _resultobj;
4256 wxPyPrintout * _arg0;
4257 PyObject * _argo0 = 0;
4258 char *_kwnames[] = { "self", NULL };
4259
4260 self = self;
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnBeginPrinting",_kwnames,&_argo0))
4262 return NULL;
4263 if (_argo0) {
4264 if (_argo0 == Py_None) { _arg0 = NULL; }
4265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4267 return NULL;
4268 }
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 wxPrintout_base_OnBeginPrinting(_arg0);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) return NULL;
4276 } Py_INCREF(Py_None);
4277 _resultobj = Py_None;
4278 return _resultobj;
4279 }
4280
4281 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4282 static PyObject *_wrap_wxPrintout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject * _resultobj;
4284 wxPyPrintout * _arg0;
4285 PyObject * _argo0 = 0;
4286 char *_kwnames[] = { "self", NULL };
4287
4288 self = self;
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndPrinting",_kwnames,&_argo0))
4290 return NULL;
4291 if (_argo0) {
4292 if (_argo0 == Py_None) { _arg0 = NULL; }
4293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4295 return NULL;
4296 }
4297 }
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 wxPrintout_base_OnEndPrinting(_arg0);
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) return NULL;
4304 } Py_INCREF(Py_None);
4305 _resultobj = Py_None;
4306 return _resultobj;
4307 }
4308
4309 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4310 static PyObject *_wrap_wxPrintout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject * _resultobj;
4312 wxPyPrintout * _arg0;
4313 PyObject * _argo0 = 0;
4314 char *_kwnames[] = { "self", NULL };
4315
4316 self = self;
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnPreparePrinting",_kwnames,&_argo0))
4318 return NULL;
4319 if (_argo0) {
4320 if (_argo0 == Py_None) { _arg0 = NULL; }
4321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4323 return NULL;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 wxPrintout_base_OnPreparePrinting(_arg0);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) return NULL;
4332 } Py_INCREF(Py_None);
4333 _resultobj = Py_None;
4334 return _resultobj;
4335 }
4336
4337 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4338 static PyObject *_wrap_wxPrintout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject * _resultobj;
4340 wxPyPrintout * _arg0;
4341 int * _arg1;
4342 int temp;
4343 int * _arg2;
4344 int temp0;
4345 int * _arg3;
4346 int temp1;
4347 int * _arg4;
4348 int temp2;
4349 PyObject * _argo0 = 0;
4350 char *_kwnames[] = { "self", NULL };
4351
4352 self = self;
4353 {
4354 _arg1 = &temp;
4355 }
4356 {
4357 _arg2 = &temp0;
4358 }
4359 {
4360 _arg3 = &temp1;
4361 }
4362 {
4363 _arg4 = &temp2;
4364 }
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_GetPageInfo",_kwnames,&_argo0))
4366 return NULL;
4367 if (_argo0) {
4368 if (_argo0 == Py_None) { _arg0 = NULL; }
4369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4371 return NULL;
4372 }
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 wxPrintout_base_GetPageInfo(_arg0,_arg1,_arg2,_arg3,_arg4);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) return NULL;
4380 } Py_INCREF(Py_None);
4381 _resultobj = Py_None;
4382 {
4383 PyObject *o;
4384 o = PyInt_FromLong((long) (*_arg1));
4385 _resultobj = t_output_helper(_resultobj, o);
4386 }
4387 {
4388 PyObject *o;
4389 o = PyInt_FromLong((long) (*_arg2));
4390 _resultobj = t_output_helper(_resultobj, o);
4391 }
4392 {
4393 PyObject *o;
4394 o = PyInt_FromLong((long) (*_arg3));
4395 _resultobj = t_output_helper(_resultobj, o);
4396 }
4397 {
4398 PyObject *o;
4399 o = PyInt_FromLong((long) (*_arg4));
4400 _resultobj = t_output_helper(_resultobj, o);
4401 }
4402 return _resultobj;
4403 }
4404
4405 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4406 static PyObject *_wrap_wxPrintout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject * _resultobj;
4408 bool _result;
4409 wxPyPrintout * _arg0;
4410 int _arg1;
4411 PyObject * _argo0 = 0;
4412 char *_kwnames[] = { "self","page", NULL };
4413
4414 self = self;
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintout_base_HasPage",_kwnames,&_argo0,&_arg1))
4416 return NULL;
4417 if (_argo0) {
4418 if (_argo0 == Py_None) { _arg0 = NULL; }
4419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4421 return NULL;
4422 }
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 _result = (bool )wxPrintout_base_HasPage(_arg0,_arg1);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) return NULL;
4430 } _resultobj = Py_BuildValue("i",_result);
4431 return _resultobj;
4432 }
4433
4434 static void *SwigwxPrinterTowxObject(void *ptr) {
4435 wxPrinter *src;
4436 wxObject *dest;
4437 src = (wxPrinter *) ptr;
4438 dest = (wxObject *) src;
4439 return (void *) dest;
4440 }
4441
4442 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4443 static PyObject *_wrap_new_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4444 PyObject * _resultobj;
4445 wxPrinter * _result;
4446 wxPrintDialogData * _arg0 = (wxPrintDialogData *) NULL;
4447 PyObject * _argo0 = 0;
4448 char *_kwnames[] = { "data", NULL };
4449 char _ptemp[128];
4450
4451 self = self;
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrinter",_kwnames,&_argo0))
4453 return NULL;
4454 if (_argo0) {
4455 if (_argo0 == Py_None) { _arg0 = NULL; }
4456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
4457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4458 return NULL;
4459 }
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 _result = (wxPrinter *)new_wxPrinter(_arg0);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) return NULL;
4467 } if (_result) {
4468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinter_p");
4469 _resultobj = Py_BuildValue("s",_ptemp);
4470 } else {
4471 Py_INCREF(Py_None);
4472 _resultobj = Py_None;
4473 }
4474 return _resultobj;
4475 }
4476
4477 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4478 static PyObject *_wrap_delete_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject * _resultobj;
4480 wxPrinter * _arg0;
4481 PyObject * _argo0 = 0;
4482 char *_kwnames[] = { "self", NULL };
4483
4484 self = self;
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrinter",_kwnames,&_argo0))
4486 return NULL;
4487 if (_argo0) {
4488 if (_argo0 == Py_None) { _arg0 = NULL; }
4489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4491 return NULL;
4492 }
4493 }
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 delete_wxPrinter(_arg0);
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) return NULL;
4500 } Py_INCREF(Py_None);
4501 _resultobj = Py_None;
4502 return _resultobj;
4503 }
4504
4505 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4506 static PyObject *_wrap_wxPrinter_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject * _resultobj;
4508 wxPrinter * _arg0;
4509 wxWindow * _arg1;
4510 wxPyPrintout * _arg2;
4511 PyObject * _argo0 = 0;
4512 PyObject * _argo1 = 0;
4513 PyObject * _argo2 = 0;
4514 char *_kwnames[] = { "self","parent","printout", NULL };
4515
4516 self = self;
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrinter_CreateAbortWindow",_kwnames,&_argo0,&_argo1,&_argo2))
4518 return NULL;
4519 if (_argo0) {
4520 if (_argo0 == Py_None) { _arg0 = NULL; }
4521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4523 return NULL;
4524 }
4525 }
4526 if (_argo1) {
4527 if (_argo1 == Py_None) { _arg1 = NULL; }
4528 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4529 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4530 return NULL;
4531 }
4532 }
4533 if (_argo2) {
4534 if (_argo2 == Py_None) { _arg2 = NULL; }
4535 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4536 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4537 return NULL;
4538 }
4539 }
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 wxPrinter_CreateAbortWindow(_arg0,_arg1,_arg2);
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) return NULL;
4546 } Py_INCREF(Py_None);
4547 _resultobj = Py_None;
4548 return _resultobj;
4549 }
4550
4551 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4552 static PyObject *_wrap_wxPrinter_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject * _resultobj;
4554 wxPrintDialogData * _result;
4555 wxPrinter * _arg0;
4556 PyObject * _argo0 = 0;
4557 char *_kwnames[] = { "self", NULL };
4558 char _ptemp[128];
4559
4560 self = self;
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetPrintDialogData",_kwnames,&_argo0))
4562 return NULL;
4563 if (_argo0) {
4564 if (_argo0 == Py_None) { _arg0 = NULL; }
4565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4567 return NULL;
4568 }
4569 }
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 wxPrintDialogData & _result_ref = wxPrinter_GetPrintDialogData(_arg0);
4573 _result = (wxPrintDialogData *) &_result_ref;
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) return NULL;
4577 } if (_result) {
4578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4579 _resultobj = Py_BuildValue("s",_ptemp);
4580 } else {
4581 Py_INCREF(Py_None);
4582 _resultobj = Py_None;
4583 }
4584 return _resultobj;
4585 }
4586
4587 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4588 static PyObject *_wrap_wxPrinter_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject * _resultobj;
4590 bool _result;
4591 wxPrinter * _arg0;
4592 wxWindow * _arg1;
4593 wxPyPrintout * _arg2;
4594 int _arg3 = (int ) TRUE;
4595 PyObject * _argo0 = 0;
4596 PyObject * _argo1 = 0;
4597 PyObject * _argo2 = 0;
4598 char *_kwnames[] = { "self","parent","printout","prompt", NULL };
4599
4600 self = self;
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPrinter_Print",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4602 return NULL;
4603 if (_argo0) {
4604 if (_argo0 == Py_None) { _arg0 = NULL; }
4605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4607 return NULL;
4608 }
4609 }
4610 if (_argo1) {
4611 if (_argo1 == Py_None) { _arg1 = NULL; }
4612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4614 return NULL;
4615 }
4616 }
4617 if (_argo2) {
4618 if (_argo2 == Py_None) { _arg2 = NULL; }
4619 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4620 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4621 return NULL;
4622 }
4623 }
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 _result = (bool )wxPrinter_Print(_arg0,_arg1,_arg2,_arg3);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) return NULL;
4630 } _resultobj = Py_BuildValue("i",_result);
4631 return _resultobj;
4632 }
4633
4634 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4635 static PyObject *_wrap_wxPrinter_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject * _resultobj;
4637 wxDC * _result;
4638 wxPrinter * _arg0;
4639 wxWindow * _arg1;
4640 PyObject * _argo0 = 0;
4641 PyObject * _argo1 = 0;
4642 char *_kwnames[] = { "self","parent", NULL };
4643
4644 self = self;
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_PrintDialog",_kwnames,&_argo0,&_argo1))
4646 return NULL;
4647 if (_argo0) {
4648 if (_argo0 == Py_None) { _arg0 = NULL; }
4649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4651 return NULL;
4652 }
4653 }
4654 if (_argo1) {
4655 if (_argo1 == Py_None) { _arg1 = NULL; }
4656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4658 return NULL;
4659 }
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 _result = (wxDC *)wxPrinter_PrintDialog(_arg0,_arg1);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) return NULL;
4667 }{ _resultobj = wxPyMake_wxObject(_result); }
4668 return _resultobj;
4669 }
4670
4671 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4672 static PyObject *_wrap_wxPrinter_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject * _resultobj;
4674 wxPrinter * _arg0;
4675 wxWindow * _arg1;
4676 wxPyPrintout * _arg2;
4677 wxString * _arg3;
4678 PyObject * _argo0 = 0;
4679 PyObject * _argo1 = 0;
4680 PyObject * _argo2 = 0;
4681 PyObject * _obj3 = 0;
4682 char *_kwnames[] = { "self","parent","printout","message", NULL };
4683
4684 self = self;
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPrinter_ReportError",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3))
4686 return NULL;
4687 if (_argo0) {
4688 if (_argo0 == Py_None) { _arg0 = NULL; }
4689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4691 return NULL;
4692 }
4693 }
4694 if (_argo1) {
4695 if (_argo1 == Py_None) { _arg1 = NULL; }
4696 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4697 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4698 return NULL;
4699 }
4700 }
4701 if (_argo2) {
4702 if (_argo2 == Py_None) { _arg2 = NULL; }
4703 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4704 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4705 return NULL;
4706 }
4707 }
4708 {
4709 _arg3 = wxString_in_helper(_obj3);
4710 if (_arg3 == NULL)
4711 return NULL;
4712 }
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 wxPrinter_ReportError(_arg0,_arg1,_arg2,*_arg3);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) return NULL;
4719 } Py_INCREF(Py_None);
4720 _resultobj = Py_None;
4721 {
4722 if (_obj3)
4723 delete _arg3;
4724 }
4725 return _resultobj;
4726 }
4727
4728 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4729 static PyObject *_wrap_wxPrinter_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject * _resultobj;
4731 bool _result;
4732 wxPrinter * _arg0;
4733 wxWindow * _arg1;
4734 PyObject * _argo0 = 0;
4735 PyObject * _argo1 = 0;
4736 char *_kwnames[] = { "self","parent", NULL };
4737
4738 self = self;
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_Setup",_kwnames,&_argo0,&_argo1))
4740 return NULL;
4741 if (_argo0) {
4742 if (_argo0 == Py_None) { _arg0 = NULL; }
4743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4745 return NULL;
4746 }
4747 }
4748 if (_argo1) {
4749 if (_argo1 == Py_None) { _arg1 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4752 return NULL;
4753 }
4754 }
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 _result = (bool )wxPrinter_Setup(_arg0,_arg1);
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) return NULL;
4761 } _resultobj = Py_BuildValue("i",_result);
4762 return _resultobj;
4763 }
4764
4765 static void *SwigwxPrintPreviewTowxObject(void *ptr) {
4766 wxPrintPreview *src;
4767 wxObject *dest;
4768 src = (wxPrintPreview *) ptr;
4769 dest = (wxObject *) src;
4770 return (void *) dest;
4771 }
4772
4773 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject *_wrap_new_wxPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 wxPrintPreview * _result;
4777 wxPyPrintout * _arg0;
4778 wxPyPrintout * _arg1;
4779 wxPrintData * _arg2 = (wxPrintData *) NULL;
4780 PyObject * _argo0 = 0;
4781 PyObject * _argo1 = 0;
4782 PyObject * _argo2 = 0;
4783 char *_kwnames[] = { "printout","printoutForPrinting","data", NULL };
4784 char _ptemp[128];
4785
4786 self = self;
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2))
4788 return NULL;
4789 if (_argo0) {
4790 if (_argo0 == Py_None) { _arg0 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4793 return NULL;
4794 }
4795 }
4796 if (_argo1) {
4797 if (_argo1 == Py_None) { _arg1 = NULL; }
4798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4800 return NULL;
4801 }
4802 }
4803 if (_argo2) {
4804 if (_argo2 == Py_None) { _arg2 = NULL; }
4805 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) {
4806 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4807 return NULL;
4808 }
4809 }
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 _result = (wxPrintPreview *)new_wxPrintPreview(_arg0,_arg1,_arg2);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) return NULL;
4816 } if (_result) {
4817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p");
4818 _resultobj = Py_BuildValue("s",_ptemp);
4819 } else {
4820 Py_INCREF(Py_None);
4821 _resultobj = Py_None;
4822 }
4823 return _resultobj;
4824 }
4825
4826 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4827 static PyObject *_wrap_wxPrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject * _resultobj;
4829 wxWindow * _result;
4830 wxPrintPreview * _arg0;
4831 PyObject * _argo0 = 0;
4832 char *_kwnames[] = { "self", NULL };
4833
4834 self = self;
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCanvas",_kwnames,&_argo0))
4836 return NULL;
4837 if (_argo0) {
4838 if (_argo0 == Py_None) { _arg0 = NULL; }
4839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4841 return NULL;
4842 }
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 _result = (wxWindow *)wxPrintPreview_GetCanvas(_arg0);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) return NULL;
4850 }{ _resultobj = wxPyMake_wxObject(_result); }
4851 return _resultobj;
4852 }
4853
4854 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4855 static PyObject *_wrap_wxPrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject * _resultobj;
4857 int _result;
4858 wxPrintPreview * _arg0;
4859 PyObject * _argo0 = 0;
4860 char *_kwnames[] = { "self", NULL };
4861
4862 self = self;
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCurrentPage",_kwnames,&_argo0))
4864 return NULL;
4865 if (_argo0) {
4866 if (_argo0 == Py_None) { _arg0 = NULL; }
4867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4869 return NULL;
4870 }
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 _result = (int )wxPrintPreview_GetCurrentPage(_arg0);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) return NULL;
4878 } _resultobj = Py_BuildValue("i",_result);
4879 return _resultobj;
4880 }
4881
4882 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4883 static PyObject *_wrap_wxPrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject * _resultobj;
4885 wxFrame * _result;
4886 wxPrintPreview * _arg0;
4887 PyObject * _argo0 = 0;
4888 char *_kwnames[] = { "self", NULL };
4889
4890 self = self;
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetFrame",_kwnames,&_argo0))
4892 return NULL;
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4897 return NULL;
4898 }
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 _result = (wxFrame *)wxPrintPreview_GetFrame(_arg0);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) return NULL;
4906 }{ _resultobj = wxPyMake_wxObject(_result); }
4907 return _resultobj;
4908 }
4909
4910 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4911 static PyObject *_wrap_wxPrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject * _resultobj;
4913 int _result;
4914 wxPrintPreview * _arg0;
4915 PyObject * _argo0 = 0;
4916 char *_kwnames[] = { "self", NULL };
4917
4918 self = self;
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMaxPage",_kwnames,&_argo0))
4920 return NULL;
4921 if (_argo0) {
4922 if (_argo0 == Py_None) { _arg0 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4925 return NULL;
4926 }
4927 }
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 _result = (int )wxPrintPreview_GetMaxPage(_arg0);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) return NULL;
4934 } _resultobj = Py_BuildValue("i",_result);
4935 return _resultobj;
4936 }
4937
4938 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4939 static PyObject *_wrap_wxPrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject * _resultobj;
4941 int _result;
4942 wxPrintPreview * _arg0;
4943 PyObject * _argo0 = 0;
4944 char *_kwnames[] = { "self", NULL };
4945
4946 self = self;
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMinPage",_kwnames,&_argo0))
4948 return NULL;
4949 if (_argo0) {
4950 if (_argo0 == Py_None) { _arg0 = NULL; }
4951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4953 return NULL;
4954 }
4955 }
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 _result = (int )wxPrintPreview_GetMinPage(_arg0);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) return NULL;
4962 } _resultobj = Py_BuildValue("i",_result);
4963 return _resultobj;
4964 }
4965
4966 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4967 static PyObject *_wrap_wxPrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject * _resultobj;
4969 wxPrintDialogData * _result;
4970 wxPrintPreview * _arg0;
4971 PyObject * _argo0 = 0;
4972 char *_kwnames[] = { "self", NULL };
4973 char _ptemp[128];
4974
4975 self = self;
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintDialogData",_kwnames,&_argo0))
4977 return NULL;
4978 if (_argo0) {
4979 if (_argo0 == Py_None) { _arg0 = NULL; }
4980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
4981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4982 return NULL;
4983 }
4984 }
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 wxPrintDialogData & _result_ref = wxPrintPreview_GetPrintDialogData(_arg0);
4988 _result = (wxPrintDialogData *) &_result_ref;
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) return NULL;
4992 } if (_result) {
4993 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4994 _resultobj = Py_BuildValue("s",_ptemp);
4995 } else {
4996 Py_INCREF(Py_None);
4997 _resultobj = Py_None;
4998 }
4999 return _resultobj;
5000 }
5001
5002 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5003 static PyObject *_wrap_wxPrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 wxPyPrintout * _result;
5006 wxPrintPreview * _arg0;
5007 PyObject * _argo0 = 0;
5008 char *_kwnames[] = { "self", NULL };
5009
5010 self = self;
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintout",_kwnames,&_argo0))
5012 return NULL;
5013 if (_argo0) {
5014 if (_argo0 == Py_None) { _arg0 = NULL; }
5015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5017 return NULL;
5018 }
5019 }
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 _result = (wxPyPrintout *)wxPrintPreview_GetPrintout(_arg0);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) return NULL;
5026 }{ _resultobj = wxPyMake_wxObject(_result); }
5027 return _resultobj;
5028 }
5029
5030 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5031 static PyObject *_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5032 PyObject * _resultobj;
5033 wxPyPrintout * _result;
5034 wxPrintPreview * _arg0;
5035 PyObject * _argo0 = 0;
5036 char *_kwnames[] = { "self", NULL };
5037
5038 self = self;
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames,&_argo0))
5040 return NULL;
5041 if (_argo0) {
5042 if (_argo0 == Py_None) { _arg0 = NULL; }
5043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5045 return NULL;
5046 }
5047 }
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 _result = (wxPyPrintout *)wxPrintPreview_GetPrintoutForPrinting(_arg0);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) return NULL;
5054 }{ _resultobj = wxPyMake_wxObject(_result); }
5055 return _resultobj;
5056 }
5057
5058 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5059 static PyObject *_wrap_wxPrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 int _result;
5062 wxPrintPreview * _arg0;
5063 PyObject * _argo0 = 0;
5064 char *_kwnames[] = { "self", NULL };
5065
5066 self = self;
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetZoom",_kwnames,&_argo0))
5068 return NULL;
5069 if (_argo0) {
5070 if (_argo0 == Py_None) { _arg0 = NULL; }
5071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5073 return NULL;
5074 }
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 _result = (int )wxPrintPreview_GetZoom(_arg0);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) return NULL;
5082 } _resultobj = Py_BuildValue("i",_result);
5083 return _resultobj;
5084 }
5085
5086 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5087 static PyObject *_wrap_wxPrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject * _resultobj;
5089 bool _result;
5090 wxPrintPreview * _arg0;
5091 PyObject * _argo0 = 0;
5092 char *_kwnames[] = { "self", NULL };
5093
5094 self = self;
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_Ok",_kwnames,&_argo0))
5096 return NULL;
5097 if (_argo0) {
5098 if (_argo0 == Py_None) { _arg0 = NULL; }
5099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5101 return NULL;
5102 }
5103 }
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 _result = (bool )wxPrintPreview_Ok(_arg0);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) return NULL;
5110 } _resultobj = Py_BuildValue("i",_result);
5111 return _resultobj;
5112 }
5113
5114 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5115 static PyObject *_wrap_wxPrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject * _resultobj;
5117 bool _result;
5118 wxPrintPreview * _arg0;
5119 bool _arg1;
5120 PyObject * _argo0 = 0;
5121 int tempbool1;
5122 char *_kwnames[] = { "self","prompt", NULL };
5123
5124 self = self;
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_Print",_kwnames,&_argo0,&tempbool1))
5126 return NULL;
5127 if (_argo0) {
5128 if (_argo0 == Py_None) { _arg0 = NULL; }
5129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5131 return NULL;
5132 }
5133 }
5134 _arg1 = (bool ) tempbool1;
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 _result = (bool )wxPrintPreview_Print(_arg0,_arg1);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) return NULL;
5141 } _resultobj = Py_BuildValue("i",_result);
5142 return _resultobj;
5143 }
5144
5145 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5146 static PyObject *_wrap_wxPrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxPrintPreview * _arg0;
5149 wxWindow * _arg1;
5150 PyObject * _argo0 = 0;
5151 PyObject * _argo1 = 0;
5152 char *_kwnames[] = { "self","window", NULL };
5153
5154 self = self;
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetCanvas",_kwnames,&_argo0,&_argo1))
5156 return NULL;
5157 if (_argo0) {
5158 if (_argo0 == Py_None) { _arg0 = NULL; }
5159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5161 return NULL;
5162 }
5163 }
5164 if (_argo1) {
5165 if (_argo1 == Py_None) { _arg1 = NULL; }
5166 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5168 return NULL;
5169 }
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 wxPrintPreview_SetCanvas(_arg0,_arg1);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) return NULL;
5177 } Py_INCREF(Py_None);
5178 _resultobj = Py_None;
5179 return _resultobj;
5180 }
5181
5182 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5183 static PyObject *_wrap_wxPrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject * _resultobj;
5185 wxPrintPreview * _arg0;
5186 int _arg1;
5187 PyObject * _argo0 = 0;
5188 char *_kwnames[] = { "self","pageNum", NULL };
5189
5190 self = self;
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetCurrentPage",_kwnames,&_argo0,&_arg1))
5192 return NULL;
5193 if (_argo0) {
5194 if (_argo0 == Py_None) { _arg0 = NULL; }
5195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5197 return NULL;
5198 }
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 wxPrintPreview_SetCurrentPage(_arg0,_arg1);
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) return NULL;
5206 } Py_INCREF(Py_None);
5207 _resultobj = Py_None;
5208 return _resultobj;
5209 }
5210
5211 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5212 static PyObject *_wrap_wxPrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject * _resultobj;
5214 wxPrintPreview * _arg0;
5215 wxFrame * _arg1;
5216 PyObject * _argo0 = 0;
5217 PyObject * _argo1 = 0;
5218 char *_kwnames[] = { "self","frame", NULL };
5219
5220 self = self;
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetFrame",_kwnames,&_argo0,&_argo1))
5222 return NULL;
5223 if (_argo0) {
5224 if (_argo0 == Py_None) { _arg0 = NULL; }
5225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5227 return NULL;
5228 }
5229 }
5230 if (_argo1) {
5231 if (_argo1 == Py_None) { _arg1 = NULL; }
5232 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5233 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5234 return NULL;
5235 }
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 wxPrintPreview_SetFrame(_arg0,_arg1);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) return NULL;
5243 } Py_INCREF(Py_None);
5244 _resultobj = Py_None;
5245 return _resultobj;
5246 }
5247
5248 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5249 static PyObject *_wrap_wxPrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 wxPrintPreview * _arg0;
5252 wxPyPrintout * _arg1;
5253 PyObject * _argo0 = 0;
5254 PyObject * _argo1 = 0;
5255 char *_kwnames[] = { "self","printout", NULL };
5256
5257 self = self;
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetPrintout",_kwnames,&_argo0,&_argo1))
5259 return NULL;
5260 if (_argo0) {
5261 if (_argo0 == Py_None) { _arg0 = NULL; }
5262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5264 return NULL;
5265 }
5266 }
5267 if (_argo1) {
5268 if (_argo1 == Py_None) { _arg1 = NULL; }
5269 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
5270 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5271 return NULL;
5272 }
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 wxPrintPreview_SetPrintout(_arg0,_arg1);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) return NULL;
5280 } Py_INCREF(Py_None);
5281 _resultobj = Py_None;
5282 return _resultobj;
5283 }
5284
5285 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5286 static PyObject *_wrap_wxPrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject * _resultobj;
5288 wxPrintPreview * _arg0;
5289 int _arg1;
5290 PyObject * _argo0 = 0;
5291 char *_kwnames[] = { "self","percent", NULL };
5292
5293 self = self;
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetZoom",_kwnames,&_argo0,&_arg1))
5295 return NULL;
5296 if (_argo0) {
5297 if (_argo0 == Py_None) { _arg0 = NULL; }
5298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5300 return NULL;
5301 }
5302 }
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 wxPrintPreview_SetZoom(_arg0,_arg1);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) return NULL;
5309 } Py_INCREF(Py_None);
5310 _resultobj = Py_None;
5311 return _resultobj;
5312 }
5313
5314 static void *SwigwxPreviewFrameTowxFrame(void *ptr) {
5315 wxPreviewFrame *src;
5316 wxFrame *dest;
5317 src = (wxPreviewFrame *) ptr;
5318 dest = (wxFrame *) src;
5319 return (void *) dest;
5320 }
5321
5322 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr) {
5323 wxPreviewFrame *src;
5324 wxTopLevelWindow *dest;
5325 src = (wxPreviewFrame *) ptr;
5326 dest = (wxTopLevelWindow *) src;
5327 return (void *) dest;
5328 }
5329
5330 static void *SwigwxPreviewFrameTowxWindow(void *ptr) {
5331 wxPreviewFrame *src;
5332 wxWindow *dest;
5333 src = (wxPreviewFrame *) ptr;
5334 dest = (wxWindow *) src;
5335 return (void *) dest;
5336 }
5337
5338 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr) {
5339 wxPreviewFrame *src;
5340 wxEvtHandler *dest;
5341 src = (wxPreviewFrame *) ptr;
5342 dest = (wxEvtHandler *) src;
5343 return (void *) dest;
5344 }
5345
5346 static void *SwigwxPreviewFrameTowxObject(void *ptr) {
5347 wxPreviewFrame *src;
5348 wxObject *dest;
5349 src = (wxPreviewFrame *) ptr;
5350 dest = (wxObject *) src;
5351 return (void *) dest;
5352 }
5353
5354 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5355 static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject * _resultobj;
5357 wxPreviewFrame * _result;
5358 wxPrintPreview * _arg0;
5359 wxFrame * _arg1;
5360 wxString * _arg2;
5361 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5362 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5363 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
5364 wxString * _arg6 = (wxString *) &wxPyFrameNameStr;
5365 PyObject * _argo0 = 0;
5366 PyObject * _argo1 = 0;
5367 PyObject * _obj2 = 0;
5368 wxPoint temp;
5369 PyObject * _obj3 = 0;
5370 wxSize temp0;
5371 PyObject * _obj4 = 0;
5372 PyObject * _obj6 = 0;
5373 char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
5374 char _ptemp[128];
5375
5376 self = self;
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOlO:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
5378 return NULL;
5379 if (_argo0) {
5380 if (_argo0 == Py_None) { _arg0 = NULL; }
5381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5383 return NULL;
5384 }
5385 }
5386 if (_argo1) {
5387 if (_argo1 == Py_None) { _arg1 = NULL; }
5388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5390 return NULL;
5391 }
5392 }
5393 {
5394 _arg2 = wxString_in_helper(_obj2);
5395 if (_arg2 == NULL)
5396 return NULL;
5397 }
5398 if (_obj3)
5399 {
5400 _arg3 = &temp;
5401 if (! wxPoint_helper(_obj3, &_arg3))
5402 return NULL;
5403 }
5404 if (_obj4)
5405 {
5406 _arg4 = &temp0;
5407 if (! wxSize_helper(_obj4, &_arg4))
5408 return NULL;
5409 }
5410 if (_obj6)
5411 {
5412 _arg6 = wxString_in_helper(_obj6);
5413 if (_arg6 == NULL)
5414 return NULL;
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 _result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) return NULL;
5422 } if (_result) {
5423 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewFrame_p");
5424 _resultobj = Py_BuildValue("s",_ptemp);
5425 } else {
5426 Py_INCREF(Py_None);
5427 _resultobj = Py_None;
5428 }
5429 {
5430 if (_obj2)
5431 delete _arg2;
5432 }
5433 {
5434 if (_obj6)
5435 delete _arg6;
5436 }
5437 return _resultobj;
5438 }
5439
5440 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5441 static PyObject *_wrap_wxPreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5442 PyObject * _resultobj;
5443 wxPreviewFrame * _arg0;
5444 PyObject * _argo0 = 0;
5445 char *_kwnames[] = { "self", NULL };
5446
5447 self = self;
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_Initialize",_kwnames,&_argo0))
5449 return NULL;
5450 if (_argo0) {
5451 if (_argo0 == Py_None) { _arg0 = NULL; }
5452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
5453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5454 return NULL;
5455 }
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 wxPreviewFrame_Initialize(_arg0);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) return NULL;
5463 } Py_INCREF(Py_None);
5464 _resultobj = Py_None;
5465 return _resultobj;
5466 }
5467
5468 static PyMethodDef printfwcMethods[] = {
5469 { "wxPreviewFrame_Initialize", (PyCFunction) _wrap_wxPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
5470 { "new_wxPreviewFrame", (PyCFunction) _wrap_new_wxPreviewFrame, METH_VARARGS | METH_KEYWORDS },
5471 { "wxPrintPreview_SetZoom", (PyCFunction) _wrap_wxPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
5472 { "wxPrintPreview_SetPrintout", (PyCFunction) _wrap_wxPrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
5473 { "wxPrintPreview_SetFrame", (PyCFunction) _wrap_wxPrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
5474 { "wxPrintPreview_SetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
5475 { "wxPrintPreview_SetCanvas", (PyCFunction) _wrap_wxPrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
5476 { "wxPrintPreview_Print", (PyCFunction) _wrap_wxPrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
5477 { "wxPrintPreview_Ok", (PyCFunction) _wrap_wxPrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
5478 { "wxPrintPreview_GetZoom", (PyCFunction) _wrap_wxPrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
5479 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_wxPrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
5480 { "wxPrintPreview_GetPrintout", (PyCFunction) _wrap_wxPrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
5481 { "wxPrintPreview_GetPrintDialogData", (PyCFunction) _wrap_wxPrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5482 { "wxPrintPreview_GetMinPage", (PyCFunction) _wrap_wxPrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
5483 { "wxPrintPreview_GetMaxPage", (PyCFunction) _wrap_wxPrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5484 { "wxPrintPreview_GetFrame", (PyCFunction) _wrap_wxPrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
5485 { "wxPrintPreview_GetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
5486 { "wxPrintPreview_GetCanvas", (PyCFunction) _wrap_wxPrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
5487 { "new_wxPrintPreview", (PyCFunction) _wrap_new_wxPrintPreview, METH_VARARGS | METH_KEYWORDS },
5488 { "wxPrinter_Setup", (PyCFunction) _wrap_wxPrinter_Setup, METH_VARARGS | METH_KEYWORDS },
5489 { "wxPrinter_ReportError", (PyCFunction) _wrap_wxPrinter_ReportError, METH_VARARGS | METH_KEYWORDS },
5490 { "wxPrinter_PrintDialog", (PyCFunction) _wrap_wxPrinter_PrintDialog, METH_VARARGS | METH_KEYWORDS },
5491 { "wxPrinter_Print", (PyCFunction) _wrap_wxPrinter_Print, METH_VARARGS | METH_KEYWORDS },
5492 { "wxPrinter_GetPrintDialogData", (PyCFunction) _wrap_wxPrinter_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5493 { "wxPrinter_CreateAbortWindow", (PyCFunction) _wrap_wxPrinter_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
5494 { "delete_wxPrinter", (PyCFunction) _wrap_delete_wxPrinter, METH_VARARGS | METH_KEYWORDS },
5495 { "new_wxPrinter", (PyCFunction) _wrap_new_wxPrinter, METH_VARARGS | METH_KEYWORDS },
5496 { "wxPrintout_base_HasPage", (PyCFunction) _wrap_wxPrintout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
5497 { "wxPrintout_base_GetPageInfo", (PyCFunction) _wrap_wxPrintout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
5498 { "wxPrintout_base_OnPreparePrinting", (PyCFunction) _wrap_wxPrintout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
5499 { "wxPrintout_base_OnEndPrinting", (PyCFunction) _wrap_wxPrintout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
5500 { "wxPrintout_base_OnBeginPrinting", (PyCFunction) _wrap_wxPrintout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
5501 { "wxPrintout_base_OnEndDocument", (PyCFunction) _wrap_wxPrintout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
5502 { "wxPrintout_base_OnBeginDocument", (PyCFunction) _wrap_wxPrintout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
5503 { "wxPrintout_IsPreview", (PyCFunction) _wrap_wxPrintout_IsPreview, METH_VARARGS | METH_KEYWORDS },
5504 { "wxPrintout_GetPPIScreen", (PyCFunction) _wrap_wxPrintout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
5505 { "wxPrintout_GetPPIPrinter", (PyCFunction) _wrap_wxPrintout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
5506 { "wxPrintout_GetPageSizePixels", (PyCFunction) _wrap_wxPrintout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
5507 { "wxPrintout_GetPageSizeMM", (PyCFunction) _wrap_wxPrintout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
5508 { "wxPrintout_GetDC", (PyCFunction) _wrap_wxPrintout_GetDC, METH_VARARGS | METH_KEYWORDS },
5509 { "wxPrintout_Destroy", (PyCFunction) _wrap_wxPrintout_Destroy, METH_VARARGS | METH_KEYWORDS },
5510 { "wxPrintout__setCallbackInfo", (PyCFunction) _wrap_wxPrintout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5511 { "new_wxPrintout", (PyCFunction) _wrap_new_wxPrintout, METH_VARARGS | METH_KEYWORDS },
5512 { "wxPrintDialog_ShowModal", (PyCFunction) _wrap_wxPrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
5513 { "wxPrintDialog_GetPrintDC", (PyCFunction) _wrap_wxPrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
5514 { "wxPrintDialog_GetPrintDialogData", (PyCFunction) _wrap_wxPrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5515 { "new_wxPrintDialog", (PyCFunction) _wrap_new_wxPrintDialog, METH_VARARGS | METH_KEYWORDS },
5516 { "wxPrintDialogData_SetToPage", (PyCFunction) _wrap_wxPrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
5517 { "wxPrintDialogData_SetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
5518 { "wxPrintDialogData_SetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5519 { "wxPrintDialogData_SetPrintData", (PyCFunction) _wrap_wxPrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5520 { "wxPrintDialogData_SetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
5521 { "wxPrintDialogData_SetMinPage", (PyCFunction) _wrap_wxPrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
5522 { "wxPrintDialogData_SetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
5523 { "wxPrintDialogData_SetFromPage", (PyCFunction) _wrap_wxPrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
5524 { "wxPrintDialogData_SetCollate", (PyCFunction) _wrap_wxPrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
5525 { "wxPrintDialogData_Ok", (PyCFunction) _wrap_wxPrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
5526 { "wxPrintDialogData_GetToPage", (PyCFunction) _wrap_wxPrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
5527 { "wxPrintDialogData_GetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5528 { "wxPrintDialogData_GetPrintData", (PyCFunction) _wrap_wxPrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5529 { "wxPrintDialogData_GetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
5530 { "wxPrintDialogData_GetMinPage", (PyCFunction) _wrap_wxPrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
5531 { "wxPrintDialogData_GetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5532 { "wxPrintDialogData_GetFromPage", (PyCFunction) _wrap_wxPrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
5533 { "wxPrintDialogData_GetCollate", (PyCFunction) _wrap_wxPrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
5534 { "wxPrintDialogData_GetAllPages", (PyCFunction) _wrap_wxPrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
5535 { "wxPrintDialogData_EnableSelection", (PyCFunction) _wrap_wxPrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
5536 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
5537 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
5538 { "wxPrintDialogData_EnableHelp", (PyCFunction) _wrap_wxPrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
5539 { "delete_wxPrintDialogData", (PyCFunction) _wrap_delete_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5540 { "new_wxPrintDialogData", (PyCFunction) _wrap_new_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
5541 { "wxPageSetupDialog_ShowModal", (PyCFunction) _wrap_wxPageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
5542 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_wxPageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
5543 { "new_wxPageSetupDialog", (PyCFunction) _wrap_new_wxPageSetupDialog, METH_VARARGS | METH_KEYWORDS },
5544 { "wxPageSetupDialogData_SetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5545 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
5546 { "wxPageSetupDialogData_SetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
5547 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5548 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5549 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5550 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5551 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
5552 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
5553 { "wxPageSetupDialogData_Ok", (PyCFunction) _wrap_wxPageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
5554 { "wxPageSetupDialogData_GetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5555 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
5556 { "wxPageSetupDialogData_GetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
5557 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5558 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5559 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
5560 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
5561 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
5562 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
5563 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
5564 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
5565 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
5566 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
5567 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
5568 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
5569 { "wxPageSetupDialogData_EnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
5570 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
5571 { "wxPageSetupDialogData_EnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
5572 { "wxPageSetupDialogData_EnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
5573 { "delete_wxPageSetupDialogData", (PyCFunction) _wrap_delete_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
5574 { "new_wxPageSetupDialogData", (PyCFunction) _wrap_new_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
5575 { "wxPostScriptDC_GetResolution", (PyCFunction) _wrap_wxPostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS },
5576 { "wxPostScriptDC_SetResolution", (PyCFunction) _wrap_wxPostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS },
5577 { "wxPostScriptDC_SetPrintData", (PyCFunction) _wrap_wxPostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS },
5578 { "wxPostScriptDC_GetPrintData", (PyCFunction) _wrap_wxPostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS },
5579 { "new_wxPostScriptDC", (PyCFunction) _wrap_new_wxPostScriptDC, METH_VARARGS | METH_KEYWORDS },
5580 { "new_wxPrinterDC2", (PyCFunction) _wrap_new_wxPrinterDC2, METH_VARARGS | METH_KEYWORDS },
5581 { "new_wxPrinterDC", (PyCFunction) _wrap_new_wxPrinterDC, METH_VARARGS | METH_KEYWORDS },
5582 { "wxPrintData_SetPrintMode", (PyCFunction) _wrap_wxPrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
5583 { "wxPrintData_SetPrinterTranslation", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
5584 { "wxPrintData_SetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
5585 { "wxPrintData_SetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
5586 { "wxPrintData_SetPrinterScaling", (PyCFunction) _wrap_wxPrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
5587 { "wxPrintData_SetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
5588 { "wxPrintData_SetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
5589 { "wxPrintData_SetFontMetricPath", (PyCFunction) _wrap_wxPrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
5590 { "wxPrintData_SetFilename", (PyCFunction) _wrap_wxPrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
5591 { "wxPrintData_SetPreviewCommand", (PyCFunction) _wrap_wxPrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
5592 { "wxPrintData_SetPrinterOptions", (PyCFunction) _wrap_wxPrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
5593 { "wxPrintData_SetPrinterCommand", (PyCFunction) _wrap_wxPrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
5594 { "wxPrintData_GetPrintMode", (PyCFunction) _wrap_wxPrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
5595 { "wxPrintData_GetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
5596 { "wxPrintData_GetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
5597 { "wxPrintData_GetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
5598 { "wxPrintData_GetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
5599 { "wxPrintData_GetFontMetricPath", (PyCFunction) _wrap_wxPrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
5600 { "wxPrintData_GetFilename", (PyCFunction) _wrap_wxPrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
5601 { "wxPrintData_GetPreviewCommand", (PyCFunction) _wrap_wxPrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
5602 { "wxPrintData_GetPrinterOptions", (PyCFunction) _wrap_wxPrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
5603 { "wxPrintData_GetPrinterCommand", (PyCFunction) _wrap_wxPrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
5604 { "wxPrintData_SetQuality", (PyCFunction) _wrap_wxPrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
5605 { "wxPrintData_SetPaperSize", (PyCFunction) _wrap_wxPrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
5606 { "wxPrintData_SetPaperId", (PyCFunction) _wrap_wxPrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
5607 { "wxPrintData_SetDuplex", (PyCFunction) _wrap_wxPrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
5608 { "wxPrintData_SetColour", (PyCFunction) _wrap_wxPrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
5609 { "wxPrintData_SetPrinterName", (PyCFunction) _wrap_wxPrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
5610 { "wxPrintData_SetOrientation", (PyCFunction) _wrap_wxPrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
5611 { "wxPrintData_SetCollate", (PyCFunction) _wrap_wxPrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
5612 { "wxPrintData_SetNoCopies", (PyCFunction) _wrap_wxPrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
5613 { "wxPrintData_GetQuality", (PyCFunction) _wrap_wxPrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
5614 { "wxPrintData_GetPaperSize", (PyCFunction) _wrap_wxPrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
5615 { "wxPrintData_GetPaperId", (PyCFunction) _wrap_wxPrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
5616 { "wxPrintData_GetDuplex", (PyCFunction) _wrap_wxPrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
5617 { "wxPrintData_GetColour", (PyCFunction) _wrap_wxPrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
5618 { "wxPrintData_GetPrinterName", (PyCFunction) _wrap_wxPrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
5619 { "wxPrintData_Ok", (PyCFunction) _wrap_wxPrintData_Ok, METH_VARARGS | METH_KEYWORDS },
5620 { "wxPrintData_GetOrientation", (PyCFunction) _wrap_wxPrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
5621 { "wxPrintData_GetCollate", (PyCFunction) _wrap_wxPrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
5622 { "wxPrintData_GetNoCopies", (PyCFunction) _wrap_wxPrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
5623 { "delete_wxPrintData", (PyCFunction) _wrap_delete_wxPrintData, METH_VARARGS | METH_KEYWORDS },
5624 { "new_wxPrintData", (PyCFunction) _wrap_new_wxPrintData, METH_VARARGS | METH_KEYWORDS },
5625 { NULL, NULL }
5626 };
5627 #ifdef __cplusplus
5628 }
5629 #endif
5630 /*
5631 * This table is used by the pointer type-checker
5632 */
5633 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5634 { "_signed_long","_long",0},
5635 { "_wxPrintQuality","_wxCoord",0},
5636 { "_wxPrintQuality","_int",0},
5637 { "_wxPrintQuality","_signed_int",0},
5638 { "_wxPrintQuality","_unsigned_int",0},
5639 { "_wxPrintQuality","_wxWindowID",0},
5640 { "_wxPrintQuality","_uint",0},
5641 { "_wxPrintQuality","_EBool",0},
5642 { "_wxPrintQuality","_size_t",0},
5643 { "_wxPrintQuality","_time_t",0},
5644 { "_byte","_unsigned_char",0},
5645 { "_long","_unsigned_long",0},
5646 { "_long","_signed_long",0},
5647 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC},
5648 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC},
5649 { "_size_t","_wxCoord",0},
5650 { "_size_t","_wxPrintQuality",0},
5651 { "_size_t","_time_t",0},
5652 { "_size_t","_unsigned_int",0},
5653 { "_size_t","_int",0},
5654 { "_size_t","_wxWindowID",0},
5655 { "_size_t","_uint",0},
5656 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow},
5657 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow},
5658 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow},
5659 { "_uint","_wxCoord",0},
5660 { "_uint","_wxPrintQuality",0},
5661 { "_uint","_time_t",0},
5662 { "_uint","_size_t",0},
5663 { "_uint","_unsigned_int",0},
5664 { "_uint","_int",0},
5665 { "_uint","_wxWindowID",0},
5666 { "_wxChar","_char",0},
5667 { "_char","_wxChar",0},
5668 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5669 { "_EBool","_wxCoord",0},
5670 { "_EBool","_wxPrintQuality",0},
5671 { "_EBool","_signed_int",0},
5672 { "_EBool","_int",0},
5673 { "_EBool","_wxWindowID",0},
5674 { "_unsigned_long","_long",0},
5675 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5676 { "_signed_int","_wxCoord",0},
5677 { "_signed_int","_wxPrintQuality",0},
5678 { "_signed_int","_EBool",0},
5679 { "_signed_int","_wxWindowID",0},
5680 { "_signed_int","_int",0},
5681 { "_WXTYPE","_short",0},
5682 { "_WXTYPE","_signed_short",0},
5683 { "_WXTYPE","_unsigned_short",0},
5684 { "_unsigned_short","_WXTYPE",0},
5685 { "_unsigned_short","_short",0},
5686 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject},
5687 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject},
5688 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject},
5689 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject},
5690 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject},
5691 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject},
5692 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject},
5693 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject},
5694 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject},
5695 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject},
5696 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject},
5697 { "_signed_short","_WXTYPE",0},
5698 { "_signed_short","_short",0},
5699 { "_unsigned_char","_byte",0},
5700 { "_unsigned_int","_wxCoord",0},
5701 { "_unsigned_int","_wxPrintQuality",0},
5702 { "_unsigned_int","_time_t",0},
5703 { "_unsigned_int","_size_t",0},
5704 { "_unsigned_int","_uint",0},
5705 { "_unsigned_int","_wxWindowID",0},
5706 { "_unsigned_int","_int",0},
5707 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog},
5708 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
5709 { "_short","_WXTYPE",0},
5710 { "_short","_unsigned_short",0},
5711 { "_short","_signed_short",0},
5712 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
5713 { "_wxWindowID","_wxCoord",0},
5714 { "_wxWindowID","_wxPrintQuality",0},
5715 { "_wxWindowID","_time_t",0},
5716 { "_wxWindowID","_size_t",0},
5717 { "_wxWindowID","_EBool",0},
5718 { "_wxWindowID","_uint",0},
5719 { "_wxWindowID","_int",0},
5720 { "_wxWindowID","_signed_int",0},
5721 { "_wxWindowID","_unsigned_int",0},
5722 { "_int","_wxCoord",0},
5723 { "_int","_wxPrintQuality",0},
5724 { "_int","_time_t",0},
5725 { "_int","_size_t",0},
5726 { "_int","_EBool",0},
5727 { "_int","_uint",0},
5728 { "_int","_wxWindowID",0},
5729 { "_int","_unsigned_int",0},
5730 { "_int","_signed_int",0},
5731 { "_time_t","_wxCoord",0},
5732 { "_time_t","_wxPrintQuality",0},
5733 { "_time_t","_unsigned_int",0},
5734 { "_time_t","_int",0},
5735 { "_time_t","_wxWindowID",0},
5736 { "_time_t","_uint",0},
5737 { "_time_t","_size_t",0},
5738 { "_wxCoord","_int",0},
5739 { "_wxCoord","_signed_int",0},
5740 { "_wxCoord","_unsigned_int",0},
5741 { "_wxCoord","_wxWindowID",0},
5742 { "_wxCoord","_uint",0},
5743 { "_wxCoord","_EBool",0},
5744 { "_wxCoord","_size_t",0},
5745 { "_wxCoord","_time_t",0},
5746 { "_wxCoord","_wxPrintQuality",0},
5747 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
5748 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
5749 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
5750 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
5751 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow},
5752 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
5753 {0,0,0}};
5754
5755 static PyObject *SWIG_globals;
5756 #ifdef __cplusplus
5757 extern "C"
5758 #endif
5759 SWIGEXPORT(void) initprintfwc() {
5760 PyObject *m, *d;
5761 SWIG_globals = SWIG_newvarlink();
5762 m = Py_InitModule("printfwc", printfwcMethods);
5763 d = PyModule_GetDict(m);
5764
5765 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5766 {
5767 int i;
5768 for (i = 0; _swig_mapping[i].n1; i++)
5769 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5770 }
5771 }