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