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