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