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