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