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