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