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