]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/printfw.cpp
wxZipFSHandler does not report non-local zip archives as openable anymore
[wxWidgets.git] / wxPython / src / gtk / printfw.cpp
CommitLineData
d24a34bb 1/*
2cd2fac8 2 * FILE : src/gtk/printfw.cpp
d24a34bb
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
d24a34bb
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
d24a34bb
RD
28# else
29# if defined(__BORLANDC__)
9c4165ad 30# define SWIGEXPORT(a) a _export
d24a34bb 31# else
9c4165ad 32# define SWIGEXPORT(a) a
d24a34bb
RD
33# endif
34# endif
35#else
9c4165ad 36# define SWIGEXPORT(a) a
d24a34bb
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
9c4165ad 42#include "Python.h"
d24a34bb
RD
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
d24a34bb
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
d24a34bb
RD
52#define SWIG_init initprintfwc
53
54#define SWIG_name "printfwc"
55
56#include "helpers.h"
57#include <wx/print.h>
58#include <wx/printdlg.h>
59
4120ef2b
RD
60#include "printfw.h"
61
d24a34bb
RD
62static PyObject* l_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
2cd2fac8 64 if (!target) {
d24a34bb 65 target = o;
2cd2fac8 66 } else if (target == Py_None) {
d24a34bb
RD
67 Py_DECREF(Py_None);
68 target = o;
2cd2fac8 69 } else {
d24a34bb
RD
70 if (!PyList_Check(target)) {
71 o2 = target;
72 target = PyList_New(0);
73 PyList_Append(target, o2);
74 Py_XDECREF(o2);
75 }
76 PyList_Append(target,o);
77 Py_XDECREF(o);
78 }
79 return target;
80}
81
82static PyObject* t_output_helper(PyObject* target, PyObject* o) {
83 PyObject* o2;
84 PyObject* o3;
85
2cd2fac8 86 if (!target) {
d24a34bb 87 target = o;
2cd2fac8 88 } else if (target == Py_None) {
d24a34bb
RD
89 Py_DECREF(Py_None);
90 target = o;
2cd2fac8 91 } else {
d24a34bb
RD
92 if (!PyTuple_Check(target)) {
93 o2 = target;
94 target = PyTuple_New(1);
95 PyTuple_SetItem(target, 0, o2);
96 }
2cd2fac8
RD
97 o3 = PyTuple_New(1);
98 PyTuple_SetItem(o3, 0, o);
d24a34bb
RD
99
100 o2 = target;
2cd2fac8
RD
101 target = PySequence_Concat(o2, o3);
102 Py_DECREF(o2);
d24a34bb
RD
103 Py_DECREF(o3);
104 }
105 return target;
106}
107
d24a34bb
RD
108static char* wxStringErrorMsg = "string type is required for parameter";
109
4120ef2b
RD
110
111
112// Since this one would be tough and ugly to do with the Macros...
113void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
54b96882 114 bool hadErr = FALSE;
4120ef2b
RD
115
116 bool doSave = wxPyRestoreThread();
117 if (m_myInst.findCallback("GetPageInfo")) {
118 PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
119 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
120 PyObject* val;
121
122 val = PyTuple_GetItem(result, 0);
123 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
54b96882 124 else hadErr = TRUE;
4120ef2b
RD
125
126 val = PyTuple_GetItem(result, 1);
127 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
54b96882 128 else hadErr = TRUE;
4120ef2b
RD
129
130 val = PyTuple_GetItem(result, 2);
131 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
54b96882 132 else hadErr = TRUE;
4120ef2b
RD
133
134 val = PyTuple_GetItem(result, 3);
135 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
54b96882 136 else hadErr = TRUE;
d24a34bb
RD
137 }
138 else
54b96882 139 hadErr = TRUE;
9cce9de1 140
4120ef2b
RD
141 if (hadErr) {
142 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
143 PyErr_Print();
144 }
145 Py_DECREF(result);
d24a34bb 146 }
4120ef2b 147 else
d24a34bb 148 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
d24a34bb 149
4120ef2b
RD
150 wxPySaveThread(doSave);
151}
152
153void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
154 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
155}
156
9cce9de1
RD
157
158IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
159IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
160IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
161IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
162IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
163IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
164IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
165
166
2d091820
RD
167#ifdef __cplusplus
168extern "C" {
169#endif
d24a34bb 170#define new_wxPrintData() (new wxPrintData())
107e4716 171static PyObject *_wrap_new_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
172 PyObject * _resultobj;
173 wxPrintData * _result;
107e4716 174 char *_kwnames[] = { NULL };
d24a34bb
RD
175 char _ptemp[128];
176
177 self = self;
107e4716 178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintData",_kwnames))
d24a34bb
RD
179 return NULL;
180{
181 wxPy_BEGIN_ALLOW_THREADS;
182 _result = (wxPrintData *)new_wxPrintData();
183
184 wxPy_END_ALLOW_THREADS;
2d091820
RD
185} if (_result) {
186 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
187 _resultobj = Py_BuildValue("s",_ptemp);
188 } else {
189 Py_INCREF(Py_None);
190 _resultobj = Py_None;
191 }
d24a34bb
RD
192 return _resultobj;
193}
194
195#define delete_wxPrintData(_swigobj) (delete _swigobj)
107e4716 196static PyObject *_wrap_delete_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
197 PyObject * _resultobj;
198 wxPrintData * _arg0;
2d091820 199 PyObject * _argo0 = 0;
107e4716 200 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
201
202 self = self;
107e4716 203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintData",_kwnames,&_argo0))
d24a34bb 204 return NULL;
2d091820
RD
205 if (_argo0) {
206 if (_argo0 == Py_None) { _arg0 = NULL; }
207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
209 return NULL;
210 }
211 }
212{
213 wxPy_BEGIN_ALLOW_THREADS;
214 delete_wxPrintData(_arg0);
215
216 wxPy_END_ALLOW_THREADS;
217} Py_INCREF(Py_None);
218 _resultobj = Py_None;
219 return _resultobj;
220}
221
222#define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
107e4716 223static PyObject *_wrap_wxPrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
224 PyObject * _resultobj;
225 int _result;
226 wxPrintData * _arg0;
2d091820 227 PyObject * _argo0 = 0;
107e4716 228 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
229
230 self = self;
107e4716 231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetNoCopies",_kwnames,&_argo0))
d24a34bb 232 return NULL;
2d091820
RD
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
237 return NULL;
238 }
239 }
240{
241 wxPy_BEGIN_ALLOW_THREADS;
242 _result = (int )wxPrintData_GetNoCopies(_arg0);
243
244 wxPy_END_ALLOW_THREADS;
245} _resultobj = Py_BuildValue("i",_result);
246 return _resultobj;
247}
248
249#define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
107e4716 250static PyObject *_wrap_wxPrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
251 PyObject * _resultobj;
252 bool _result;
253 wxPrintData * _arg0;
2d091820 254 PyObject * _argo0 = 0;
107e4716 255 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
256
257 self = self;
107e4716 258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetCollate",_kwnames,&_argo0))
d24a34bb 259 return NULL;
2d091820
RD
260 if (_argo0) {
261 if (_argo0 == Py_None) { _arg0 = NULL; }
262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
264 return NULL;
265 }
266 }
267{
268 wxPy_BEGIN_ALLOW_THREADS;
269 _result = (bool )wxPrintData_GetCollate(_arg0);
270
271 wxPy_END_ALLOW_THREADS;
272} _resultobj = Py_BuildValue("i",_result);
273 return _resultobj;
274}
275
276#define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
107e4716 277static PyObject *_wrap_wxPrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
278 PyObject * _resultobj;
279 int _result;
280 wxPrintData * _arg0;
2d091820 281 PyObject * _argo0 = 0;
107e4716 282 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
283
284 self = self;
107e4716 285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetOrientation",_kwnames,&_argo0))
d24a34bb 286 return NULL;
2d091820
RD
287 if (_argo0) {
288 if (_argo0 == Py_None) { _arg0 = NULL; }
289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
291 return NULL;
292 }
293 }
294{
295 wxPy_BEGIN_ALLOW_THREADS;
296 _result = (int )wxPrintData_GetOrientation(_arg0);
297
298 wxPy_END_ALLOW_THREADS;
299} _resultobj = Py_BuildValue("i",_result);
300 return _resultobj;
301}
302
303#define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
107e4716 304static PyObject *_wrap_wxPrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
305 PyObject * _resultobj;
306 wxString * _result;
307 wxPrintData * _arg0;
2d091820 308 PyObject * _argo0 = 0;
107e4716 309 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
310
311 self = self;
107e4716 312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterName",_kwnames,&_argo0))
d24a34bb 313 return NULL;
2d091820
RD
314 if (_argo0) {
315 if (_argo0 == Py_None) { _arg0 = NULL; }
316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
318 return NULL;
319 }
320 }
321{
322 wxPy_BEGIN_ALLOW_THREADS;
323 const wxString & _result_ref = wxPrintData_GetPrinterName(_arg0);
324 _result = (wxString *) &_result_ref;
325
326 wxPy_END_ALLOW_THREADS;
327}{
e02c03a4 328 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
d24a34bb
RD
329}
330 return _resultobj;
331}
332
333#define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 334static PyObject *_wrap_wxPrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
335 PyObject * _resultobj;
336 bool _result;
337 wxPrintData * _arg0;
2d091820 338 PyObject * _argo0 = 0;
107e4716 339 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
340
341 self = self;
107e4716 342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetColour",_kwnames,&_argo0))
d24a34bb 343 return NULL;
2d091820
RD
344 if (_argo0) {
345 if (_argo0 == Py_None) { _arg0 = NULL; }
346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
348 return NULL;
349 }
350 }
351{
352 wxPy_BEGIN_ALLOW_THREADS;
353 _result = (bool )wxPrintData_GetColour(_arg0);
354
355 wxPy_END_ALLOW_THREADS;
356} _resultobj = Py_BuildValue("i",_result);
357 return _resultobj;
358}
359
360#define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
107e4716 361static PyObject *_wrap_wxPrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
362 PyObject * _resultobj;
363 wxDuplexMode _result;
364 wxPrintData * _arg0;
2d091820 365 PyObject * _argo0 = 0;
107e4716 366 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
367
368 self = self;
107e4716 369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetDuplex",_kwnames,&_argo0))
d24a34bb 370 return NULL;
2d091820
RD
371 if (_argo0) {
372 if (_argo0 == Py_None) { _arg0 = NULL; }
373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
375 return NULL;
376 }
377 }
378{
379 wxPy_BEGIN_ALLOW_THREADS;
380 _result = (wxDuplexMode )wxPrintData_GetDuplex(_arg0);
381
382 wxPy_END_ALLOW_THREADS;
383} _resultobj = Py_BuildValue("i",_result);
384 return _resultobj;
385}
386
387#define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
107e4716 388static PyObject *_wrap_wxPrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
389 PyObject * _resultobj;
390 wxPaperSize _result;
391 wxPrintData * _arg0;
2d091820 392 PyObject * _argo0 = 0;
107e4716 393 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
394
395 self = self;
107e4716 396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperId",_kwnames,&_argo0))
d24a34bb 397 return NULL;
2d091820
RD
398 if (_argo0) {
399 if (_argo0 == Py_None) { _arg0 = NULL; }
400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
402 return NULL;
403 }
404 }
405{
406 wxPy_BEGIN_ALLOW_THREADS;
407 _result = (wxPaperSize )wxPrintData_GetPaperId(_arg0);
408
409 wxPy_END_ALLOW_THREADS;
410} _resultobj = Py_BuildValue("i",_result);
411 return _resultobj;
412}
413
414#define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
107e4716 415static PyObject *_wrap_wxPrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
416 PyObject * _resultobj;
417 wxSize * _result;
418 wxPrintData * _arg0;
2d091820 419 PyObject * _argo0 = 0;
107e4716 420 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
421 char _ptemp[128];
422
423 self = self;
107e4716 424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperSize",_kwnames,&_argo0))
d24a34bb 425 return NULL;
2d091820
RD
426 if (_argo0) {
427 if (_argo0 == Py_None) { _arg0 = NULL; }
428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
430 return NULL;
431 }
432 }
433{
434 wxPy_BEGIN_ALLOW_THREADS;
435 const wxSize & _result_ref = wxPrintData_GetPaperSize(_arg0);
436 _result = (wxSize *) &_result_ref;
437
438 wxPy_END_ALLOW_THREADS;
2d091820
RD
439} if (_result) {
440 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
441 _resultobj = Py_BuildValue("s",_ptemp);
442 } else {
443 Py_INCREF(Py_None);
444 _resultobj = Py_None;
445 }
d24a34bb
RD
446 return _resultobj;
447}
448
449#define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
107e4716 450static PyObject *_wrap_wxPrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
451 PyObject * _resultobj;
452 wxPrintQuality _result;
453 wxPrintData * _arg0;
2d091820 454 PyObject * _argo0 = 0;
107e4716 455 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
456
457 self = self;
107e4716 458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetQuality",_kwnames,&_argo0))
d24a34bb 459 return NULL;
2d091820
RD
460 if (_argo0) {
461 if (_argo0 == Py_None) { _arg0 = NULL; }
462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
464 return NULL;
465 }
466 }
467{
468 wxPy_BEGIN_ALLOW_THREADS;
469 _result = (wxPrintQuality )wxPrintData_GetQuality(_arg0);
470
471 wxPy_END_ALLOW_THREADS;
472} _resultobj = Py_BuildValue("i",_result);
473 return _resultobj;
474}
475
476#define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
107e4716 477static PyObject *_wrap_wxPrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
478 PyObject * _resultobj;
479 wxPrintData * _arg0;
480 int _arg1;
2d091820 481 PyObject * _argo0 = 0;
107e4716 482 char *_kwnames[] = { "self","v", NULL };
d24a34bb
RD
483
484 self = self;
107e4716 485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetNoCopies",_kwnames,&_argo0,&_arg1))
d24a34bb 486 return NULL;
2d091820
RD
487 if (_argo0) {
488 if (_argo0 == Py_None) { _arg0 = NULL; }
489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
491 return NULL;
492 }
493 }
494{
495 wxPy_BEGIN_ALLOW_THREADS;
496 wxPrintData_SetNoCopies(_arg0,_arg1);
497
498 wxPy_END_ALLOW_THREADS;
499} Py_INCREF(Py_None);
500 _resultobj = Py_None;
501 return _resultobj;
502}
503
504#define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
107e4716 505static PyObject *_wrap_wxPrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
506 PyObject * _resultobj;
507 wxPrintData * _arg0;
508 bool _arg1;
2d091820 509 PyObject * _argo0 = 0;
d24a34bb 510 int tempbool1;
107e4716 511 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
512
513 self = self;
107e4716 514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetCollate",_kwnames,&_argo0,&tempbool1))
d24a34bb 515 return NULL;
2d091820
RD
516 if (_argo0) {
517 if (_argo0 == Py_None) { _arg0 = NULL; }
518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
520 return NULL;
521 }
522 }
523 _arg1 = (bool ) tempbool1;
524{
525 wxPy_BEGIN_ALLOW_THREADS;
526 wxPrintData_SetCollate(_arg0,_arg1);
527
528 wxPy_END_ALLOW_THREADS;
529} Py_INCREF(Py_None);
530 _resultobj = Py_None;
531 return _resultobj;
532}
533
534#define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
107e4716 535static PyObject *_wrap_wxPrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
536 PyObject * _resultobj;
537 wxPrintData * _arg0;
538 int _arg1;
2d091820 539 PyObject * _argo0 = 0;
107e4716 540 char *_kwnames[] = { "self","orient", NULL };
d24a34bb
RD
541
542 self = self;
107e4716 543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetOrientation",_kwnames,&_argo0,&_arg1))
d24a34bb 544 return NULL;
2d091820
RD
545 if (_argo0) {
546 if (_argo0 == Py_None) { _arg0 = NULL; }
547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
549 return NULL;
550 }
551 }
552{
553 wxPy_BEGIN_ALLOW_THREADS;
554 wxPrintData_SetOrientation(_arg0,_arg1);
555
556 wxPy_END_ALLOW_THREADS;
557} Py_INCREF(Py_None);
558 _resultobj = Py_None;
559 return _resultobj;
560}
561
562#define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
107e4716 563static PyObject *_wrap_wxPrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
564 PyObject * _resultobj;
565 wxPrintData * _arg0;
566 wxString * _arg1;
2d091820 567 PyObject * _argo0 = 0;
d24a34bb 568 PyObject * _obj1 = 0;
107e4716 569 char *_kwnames[] = { "self","name", NULL };
d24a34bb
RD
570
571 self = self;
107e4716 572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterName",_kwnames,&_argo0,&_obj1))
d24a34bb 573 return NULL;
2d091820
RD
574 if (_argo0) {
575 if (_argo0 == Py_None) { _arg0 = NULL; }
576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
578 return NULL;
579 }
580 }
581{
2cd2fac8
RD
582#if PYTHON_API_VERSION >= 1009
583 char* tmpPtr; int tmpSize;
584 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
585 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
586 return NULL;
587 }
588 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
589 return NULL;
590 _arg1 = new wxString(tmpPtr, tmpSize);
591#else
d24a34bb
RD
592 if (!PyString_Check(_obj1)) {
593 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
594 return NULL;
595 }
2cd2fac8
RD
596 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
597#endif
d24a34bb
RD
598}
599{
600 wxPy_BEGIN_ALLOW_THREADS;
601 wxPrintData_SetPrinterName(_arg0,*_arg1);
602
603 wxPy_END_ALLOW_THREADS;
604} Py_INCREF(Py_None);
605 _resultobj = Py_None;
606{
607 if (_obj1)
608 delete _arg1;
609}
610 return _resultobj;
611}
612
613#define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 614static PyObject *_wrap_wxPrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
615 PyObject * _resultobj;
616 wxPrintData * _arg0;
617 bool _arg1;
2d091820 618 PyObject * _argo0 = 0;
d24a34bb 619 int tempbool1;
107e4716 620 char *_kwnames[] = { "self","colour", NULL };
d24a34bb
RD
621
622 self = self;
107e4716 623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetColour",_kwnames,&_argo0,&tempbool1))
d24a34bb 624 return NULL;
2d091820
RD
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
629 return NULL;
630 }
631 }
632 _arg1 = (bool ) tempbool1;
633{
634 wxPy_BEGIN_ALLOW_THREADS;
635 wxPrintData_SetColour(_arg0,_arg1);
636
637 wxPy_END_ALLOW_THREADS;
638} Py_INCREF(Py_None);
639 _resultobj = Py_None;
640 return _resultobj;
641}
642
643#define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
107e4716 644static PyObject *_wrap_wxPrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
645 PyObject * _resultobj;
646 wxPrintData * _arg0;
647 wxDuplexMode _arg1;
2d091820 648 PyObject * _argo0 = 0;
107e4716 649 char *_kwnames[] = { "self","duplex", NULL };
d24a34bb
RD
650
651 self = self;
107e4716 652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetDuplex",_kwnames,&_argo0,&_arg1))
d24a34bb 653 return NULL;
2d091820
RD
654 if (_argo0) {
655 if (_argo0 == Py_None) { _arg0 = NULL; }
656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
658 return NULL;
659 }
660 }
661{
662 wxPy_BEGIN_ALLOW_THREADS;
663 wxPrintData_SetDuplex(_arg0,_arg1);
664
665 wxPy_END_ALLOW_THREADS;
666} Py_INCREF(Py_None);
667 _resultobj = Py_None;
668 return _resultobj;
669}
670
671#define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
107e4716 672static PyObject *_wrap_wxPrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
673 PyObject * _resultobj;
674 wxPrintData * _arg0;
675 wxPaperSize _arg1;
2d091820 676 PyObject * _argo0 = 0;
107e4716 677 char *_kwnames[] = { "self","sizeId", NULL };
d24a34bb
RD
678
679 self = self;
107e4716 680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetPaperId",_kwnames,&_argo0,&_arg1))
d24a34bb 681 return NULL;
2d091820
RD
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
686 return NULL;
687 }
688 }
689{
690 wxPy_BEGIN_ALLOW_THREADS;
691 wxPrintData_SetPaperId(_arg0,_arg1);
692
693 wxPy_END_ALLOW_THREADS;
694} Py_INCREF(Py_None);
695 _resultobj = Py_None;
696 return _resultobj;
697}
698
699#define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
107e4716 700static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
701 PyObject * _resultobj;
702 wxPrintData * _arg0;
703 wxSize * _arg1;
2d091820 704 PyObject * _argo0 = 0;
37f6a977
RD
705 wxSize temp;
706 PyObject * _obj1 = 0;
107e4716 707 char *_kwnames[] = { "self","sz", NULL };
d24a34bb
RD
708
709 self = self;
37f6a977 710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_obj1))
d24a34bb 711 return NULL;
2d091820
RD
712 if (_argo0) {
713 if (_argo0 == Py_None) { _arg0 = NULL; }
714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
716 return NULL;
717 }
718 }
37f6a977
RD
719{
720 _arg1 = &temp;
721 if (! wxSize_helper(_obj1, &_arg1))
d24a34bb 722 return NULL;
37f6a977 723}
d24a34bb
RD
724{
725 wxPy_BEGIN_ALLOW_THREADS;
726 wxPrintData_SetPaperSize(_arg0,*_arg1);
727
728 wxPy_END_ALLOW_THREADS;
729} Py_INCREF(Py_None);
730 _resultobj = Py_None;
731 return _resultobj;
732}
733
734#define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
107e4716 735static PyObject *_wrap_wxPrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
736 PyObject * _resultobj;
737 wxPrintData * _arg0;
738 wxPrintQuality _arg1;
2d091820 739 PyObject * _argo0 = 0;
107e4716 740 char *_kwnames[] = { "self","quality", NULL };
d24a34bb
RD
741
742 self = self;
107e4716 743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetQuality",_kwnames,&_argo0,&_arg1))
d24a34bb 744 return NULL;
2d091820
RD
745 if (_argo0) {
746 if (_argo0 == Py_None) { _arg0 = NULL; }
747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
d24a34bb
RD
748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
749 return NULL;
750 }
751 }
752{
753 wxPy_BEGIN_ALLOW_THREADS;
754 wxPrintData_SetQuality(_arg0,_arg1);
755
756 wxPy_END_ALLOW_THREADS;
757} Py_INCREF(Py_None);
758 _resultobj = Py_None;
759 return _resultobj;
760}
761
762#define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
107e4716 763static PyObject *_wrap_new_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
764 PyObject * _resultobj;
765 wxPageSetupDialogData * _result;
107e4716 766 char *_kwnames[] = { NULL };
d24a34bb
RD
767 char _ptemp[128];
768
769 self = self;
107e4716 770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPageSetupDialogData",_kwnames))
d24a34bb
RD
771 return NULL;
772{
773 wxPy_BEGIN_ALLOW_THREADS;
774 _result = (wxPageSetupDialogData *)new_wxPageSetupDialogData();
775
776 wxPy_END_ALLOW_THREADS;
2d091820
RD
777} if (_result) {
778 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
779 _resultobj = Py_BuildValue("s",_ptemp);
780 } else {
781 Py_INCREF(Py_None);
782 _resultobj = Py_None;
783 }
d24a34bb
RD
784 return _resultobj;
785}
786
787#define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
107e4716 788static PyObject *_wrap_delete_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
789 PyObject * _resultobj;
790 wxPageSetupDialogData * _arg0;
2d091820 791 PyObject * _argo0 = 0;
107e4716 792 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
793
794 self = self;
107e4716 795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPageSetupDialogData",_kwnames,&_argo0))
d24a34bb 796 return NULL;
2d091820
RD
797 if (_argo0) {
798 if (_argo0 == Py_None) { _arg0 = NULL; }
799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
801 return NULL;
802 }
803 }
804{
805 wxPy_BEGIN_ALLOW_THREADS;
806 delete_wxPageSetupDialogData(_arg0);
807
808 wxPy_END_ALLOW_THREADS;
809} Py_INCREF(Py_None);
810 _resultobj = Py_None;
811 return _resultobj;
812}
813
814#define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
107e4716 815static PyObject *_wrap_wxPageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
816 PyObject * _resultobj;
817 wxPageSetupDialogData * _arg0;
818 bool _arg1;
2d091820 819 PyObject * _argo0 = 0;
d24a34bb 820 int tempbool1;
107e4716 821 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
822
823 self = self;
107e4716 824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
d24a34bb 825 return NULL;
2d091820
RD
826 if (_argo0) {
827 if (_argo0 == Py_None) { _arg0 = NULL; }
828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
830 return NULL;
831 }
832 }
833 _arg1 = (bool ) tempbool1;
834{
835 wxPy_BEGIN_ALLOW_THREADS;
836 wxPageSetupDialogData_EnableHelp(_arg0,_arg1);
837
838 wxPy_END_ALLOW_THREADS;
839} Py_INCREF(Py_None);
840 _resultobj = Py_None;
841 return _resultobj;
842}
843
844#define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
107e4716 845static PyObject *_wrap_wxPageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
846 PyObject * _resultobj;
847 wxPageSetupDialogData * _arg0;
848 bool _arg1;
2d091820 849 PyObject * _argo0 = 0;
d24a34bb 850 int tempbool1;
107e4716 851 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
852
853 self = self;
107e4716 854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames,&_argo0,&tempbool1))
d24a34bb 855 return NULL;
2d091820
RD
856 if (_argo0) {
857 if (_argo0 == Py_None) { _arg0 = NULL; }
858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
860 return NULL;
861 }
862 }
863 _arg1 = (bool ) tempbool1;
864{
865 wxPy_BEGIN_ALLOW_THREADS;
866 wxPageSetupDialogData_EnableMargins(_arg0,_arg1);
867
868 wxPy_END_ALLOW_THREADS;
869} Py_INCREF(Py_None);
870 _resultobj = Py_None;
871 return _resultobj;
872}
873
874#define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
107e4716 875static PyObject *_wrap_wxPageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
876 PyObject * _resultobj;
877 wxPageSetupDialogData * _arg0;
878 bool _arg1;
2d091820 879 PyObject * _argo0 = 0;
d24a34bb 880 int tempbool1;
107e4716 881 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
882
883 self = self;
107e4716 884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames,&_argo0,&tempbool1))
d24a34bb 885 return NULL;
2d091820
RD
886 if (_argo0) {
887 if (_argo0 == Py_None) { _arg0 = NULL; }
888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
890 return NULL;
891 }
892 }
893 _arg1 = (bool ) tempbool1;
894{
895 wxPy_BEGIN_ALLOW_THREADS;
896 wxPageSetupDialogData_EnableOrientation(_arg0,_arg1);
897
898 wxPy_END_ALLOW_THREADS;
899} Py_INCREF(Py_None);
900 _resultobj = Py_None;
901 return _resultobj;
902}
903
904#define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
107e4716 905static PyObject *_wrap_wxPageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
906 PyObject * _resultobj;
907 wxPageSetupDialogData * _arg0;
908 bool _arg1;
2d091820 909 PyObject * _argo0 = 0;
d24a34bb 910 int tempbool1;
107e4716 911 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
912
913 self = self;
107e4716 914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames,&_argo0,&tempbool1))
d24a34bb 915 return NULL;
2d091820
RD
916 if (_argo0) {
917 if (_argo0 == Py_None) { _arg0 = NULL; }
918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
920 return NULL;
921 }
922 }
923 _arg1 = (bool ) tempbool1;
924{
925 wxPy_BEGIN_ALLOW_THREADS;
926 wxPageSetupDialogData_EnablePaper(_arg0,_arg1);
927
928 wxPy_END_ALLOW_THREADS;
929} Py_INCREF(Py_None);
930 _resultobj = Py_None;
931 return _resultobj;
932}
933
934#define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
107e4716 935static PyObject *_wrap_wxPageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
936 PyObject * _resultobj;
937 wxPageSetupDialogData * _arg0;
938 bool _arg1;
2d091820 939 PyObject * _argo0 = 0;
d24a34bb 940 int tempbool1;
107e4716 941 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
942
943 self = self;
107e4716 944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames,&_argo0,&tempbool1))
d24a34bb 945 return NULL;
2d091820
RD
946 if (_argo0) {
947 if (_argo0 == Py_None) { _arg0 = NULL; }
948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
950 return NULL;
951 }
952 }
953 _arg1 = (bool ) tempbool1;
954{
955 wxPy_BEGIN_ALLOW_THREADS;
956 wxPageSetupDialogData_EnablePrinter(_arg0,_arg1);
957
958 wxPy_END_ALLOW_THREADS;
959} Py_INCREF(Py_None);
960 _resultobj = Py_None;
961 return _resultobj;
962}
963
964#define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
107e4716 965static PyObject *_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
966 PyObject * _resultobj;
967 bool _result;
968 wxPageSetupDialogData * _arg0;
2d091820 969 PyObject * _argo0 = 0;
107e4716 970 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
971
972 self = self;
107e4716 973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames,&_argo0))
d24a34bb 974 return NULL;
2d091820
RD
975 if (_argo0) {
976 if (_argo0 == Py_None) { _arg0 = NULL; }
977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
979 return NULL;
980 }
981 }
982{
983 wxPy_BEGIN_ALLOW_THREADS;
984 _result = (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0);
985
986 wxPy_END_ALLOW_THREADS;
987} _resultobj = Py_BuildValue("i",_result);
988 return _resultobj;
989}
990
991#define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
107e4716 992static PyObject *_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
993 PyObject * _resultobj;
994 bool _result;
995 wxPageSetupDialogData * _arg0;
2d091820 996 PyObject * _argo0 = 0;
107e4716 997 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
998
999 self = self;
107e4716 1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames,&_argo0))
d24a34bb 1001 return NULL;
2d091820
RD
1002 if (_argo0) {
1003 if (_argo0 == Py_None) { _arg0 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1006 return NULL;
1007 }
1008 }
1009{
1010 wxPy_BEGIN_ALLOW_THREADS;
1011 _result = (bool )wxPageSetupDialogData_GetEnableMargins(_arg0);
1012
1013 wxPy_END_ALLOW_THREADS;
1014} _resultobj = Py_BuildValue("i",_result);
1015 return _resultobj;
1016}
1017
1018#define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
107e4716 1019static PyObject *_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1020 PyObject * _resultobj;
1021 bool _result;
1022 wxPageSetupDialogData * _arg0;
2d091820 1023 PyObject * _argo0 = 0;
107e4716 1024 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1025
1026 self = self;
107e4716 1027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames,&_argo0))
d24a34bb 1028 return NULL;
2d091820
RD
1029 if (_argo0) {
1030 if (_argo0 == Py_None) { _arg0 = NULL; }
1031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1033 return NULL;
1034 }
1035 }
1036{
1037 wxPy_BEGIN_ALLOW_THREADS;
1038 _result = (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0);
1039
1040 wxPy_END_ALLOW_THREADS;
1041} _resultobj = Py_BuildValue("i",_result);
1042 return _resultobj;
1043}
1044
1045#define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
107e4716 1046static PyObject *_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1047 PyObject * _resultobj;
1048 bool _result;
1049 wxPageSetupDialogData * _arg0;
2d091820 1050 PyObject * _argo0 = 0;
107e4716 1051 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1052
1053 self = self;
107e4716 1054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames,&_argo0))
d24a34bb 1055 return NULL;
2d091820
RD
1056 if (_argo0) {
1057 if (_argo0 == Py_None) { _arg0 = NULL; }
1058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1060 return NULL;
1061 }
1062 }
1063{
1064 wxPy_BEGIN_ALLOW_THREADS;
1065 _result = (bool )wxPageSetupDialogData_GetEnablePaper(_arg0);
1066
1067 wxPy_END_ALLOW_THREADS;
1068} _resultobj = Py_BuildValue("i",_result);
1069 return _resultobj;
1070}
1071
1072#define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
107e4716 1073static PyObject *_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1074 PyObject * _resultobj;
1075 bool _result;
1076 wxPageSetupDialogData * _arg0;
2d091820 1077 PyObject * _argo0 = 0;
107e4716 1078 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1079
1080 self = self;
107e4716 1081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames,&_argo0))
d24a34bb 1082 return NULL;
2d091820
RD
1083 if (_argo0) {
1084 if (_argo0 == Py_None) { _arg0 = NULL; }
1085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1087 return NULL;
1088 }
1089 }
1090{
1091 wxPy_BEGIN_ALLOW_THREADS;
1092 _result = (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0);
1093
1094 wxPy_END_ALLOW_THREADS;
1095} _resultobj = Py_BuildValue("i",_result);
1096 return _resultobj;
1097}
1098
1099#define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
107e4716 1100static PyObject *_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1101 PyObject * _resultobj;
1102 bool _result;
1103 wxPageSetupDialogData * _arg0;
2d091820 1104 PyObject * _argo0 = 0;
107e4716 1105 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1106
1107 self = self;
107e4716 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames,&_argo0))
d24a34bb 1109 return NULL;
2d091820
RD
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1114 return NULL;
1115 }
1116 }
1117{
1118 wxPy_BEGIN_ALLOW_THREADS;
1119 _result = (bool )wxPageSetupDialogData_GetEnableHelp(_arg0);
1120
1121 wxPy_END_ALLOW_THREADS;
1122} _resultobj = Py_BuildValue("i",_result);
1123 return _resultobj;
1124}
1125
1126#define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
107e4716 1127static PyObject *_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1128 PyObject * _resultobj;
1129 bool _result;
1130 wxPageSetupDialogData * _arg0;
2d091820 1131 PyObject * _argo0 = 0;
107e4716 1132 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1133
1134 self = self;
107e4716 1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames,&_argo0))
d24a34bb 1136 return NULL;
2d091820
RD
1137 if (_argo0) {
1138 if (_argo0 == Py_None) { _arg0 = NULL; }
1139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1141 return NULL;
1142 }
1143 }
1144{
1145 wxPy_BEGIN_ALLOW_THREADS;
1146 _result = (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0);
1147
1148 wxPy_END_ALLOW_THREADS;
1149} _resultobj = Py_BuildValue("i",_result);
1150 return _resultobj;
1151}
1152
1153#define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
107e4716 1154static PyObject *_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1155 PyObject * _resultobj;
1156 wxPoint * _result;
1157 wxPageSetupDialogData * _arg0;
2d091820 1158 PyObject * _argo0 = 0;
107e4716 1159 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1160 char _ptemp[128];
1161
1162 self = self;
107e4716 1163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames,&_argo0))
d24a34bb 1164 return NULL;
2d091820
RD
1165 if (_argo0) {
1166 if (_argo0 == Py_None) { _arg0 = NULL; }
1167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1169 return NULL;
1170 }
1171 }
1172{
1173 wxPy_BEGIN_ALLOW_THREADS;
1174 _result = new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0));
1175
1176 wxPy_END_ALLOW_THREADS;
1177} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1178 _resultobj = Py_BuildValue("s",_ptemp);
1179 return _resultobj;
1180}
1181
1182#define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
107e4716 1183static PyObject *_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1184 PyObject * _resultobj;
1185 wxPoint * _result;
1186 wxPageSetupDialogData * _arg0;
2d091820 1187 PyObject * _argo0 = 0;
107e4716 1188 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1189 char _ptemp[128];
1190
1191 self = self;
107e4716 1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames,&_argo0))
d24a34bb 1193 return NULL;
2d091820
RD
1194 if (_argo0) {
1195 if (_argo0 == Py_None) { _arg0 = NULL; }
1196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1198 return NULL;
1199 }
1200 }
1201{
1202 wxPy_BEGIN_ALLOW_THREADS;
1203 _result = new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0));
1204
1205 wxPy_END_ALLOW_THREADS;
1206} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1207 _resultobj = Py_BuildValue("s",_ptemp);
1208 return _resultobj;
1209}
1210
1211#define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
107e4716 1212static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1213 PyObject * _resultobj;
1214 wxPoint * _result;
1215 wxPageSetupDialogData * _arg0;
2d091820 1216 PyObject * _argo0 = 0;
107e4716 1217 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1218 char _ptemp[128];
1219
1220 self = self;
107e4716 1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames,&_argo0))
d24a34bb 1222 return NULL;
2d091820
RD
1223 if (_argo0) {
1224 if (_argo0 == Py_None) { _arg0 = NULL; }
1225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1227 return NULL;
1228 }
1229 }
1230{
1231 wxPy_BEGIN_ALLOW_THREADS;
1232 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0));
1233
1234 wxPy_END_ALLOW_THREADS;
1235} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1236 _resultobj = Py_BuildValue("s",_ptemp);
1237 return _resultobj;
1238}
1239
1240#define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
107e4716 1241static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1242 PyObject * _resultobj;
1243 wxPoint * _result;
1244 wxPageSetupDialogData * _arg0;
2d091820 1245 PyObject * _argo0 = 0;
107e4716 1246 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1247 char _ptemp[128];
1248
1249 self = self;
107e4716 1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames,&_argo0))
d24a34bb 1251 return NULL;
2d091820
RD
1252 if (_argo0) {
1253 if (_argo0 == Py_None) { _arg0 = NULL; }
1254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1256 return NULL;
1257 }
1258 }
1259{
1260 wxPy_BEGIN_ALLOW_THREADS;
1261 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0));
1262
1263 wxPy_END_ALLOW_THREADS;
1264} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1265 _resultobj = Py_BuildValue("s",_ptemp);
1266 return _resultobj;
1267}
1268
1269#define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
107e4716 1270static PyObject *_wrap_wxPageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1271 PyObject * _resultobj;
1272 wxPaperSize _result;
1273 wxPageSetupDialogData * _arg0;
2d091820 1274 PyObject * _argo0 = 0;
107e4716 1275 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1276
1277 self = self;
107e4716 1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperId",_kwnames,&_argo0))
d24a34bb 1279 return NULL;
2d091820
RD
1280 if (_argo0) {
1281 if (_argo0 == Py_None) { _arg0 = NULL; }
1282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1284 return NULL;
1285 }
1286 }
1287{
1288 wxPy_BEGIN_ALLOW_THREADS;
1289 _result = (wxPaperSize )wxPageSetupDialogData_GetPaperId(_arg0);
1290
1291 wxPy_END_ALLOW_THREADS;
1292} _resultobj = Py_BuildValue("i",_result);
1293 return _resultobj;
1294}
1295
1296#define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
107e4716 1297static PyObject *_wrap_wxPageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1298 PyObject * _resultobj;
1299 wxSize * _result;
1300 wxPageSetupDialogData * _arg0;
2d091820 1301 PyObject * _argo0 = 0;
107e4716 1302 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1303 char _ptemp[128];
1304
1305 self = self;
107e4716 1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperSize",_kwnames,&_argo0))
d24a34bb 1307 return NULL;
2d091820
RD
1308 if (_argo0) {
1309 if (_argo0 == Py_None) { _arg0 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1312 return NULL;
1313 }
1314 }
1315{
1316 wxPy_BEGIN_ALLOW_THREADS;
1317 _result = new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0));
1318
1319 wxPy_END_ALLOW_THREADS;
1320} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1321 _resultobj = Py_BuildValue("s",_ptemp);
1322 return _resultobj;
1323}
1324
1325static wxPrintData * wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData *self) {
1326 return new wxPrintData(self->GetPrintData()); // force a copy
1327 }
107e4716 1328static PyObject *_wrap_wxPageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1329 PyObject * _resultobj;
1330 wxPrintData * _result;
1331 wxPageSetupDialogData * _arg0;
2d091820 1332 PyObject * _argo0 = 0;
107e4716 1333 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1334 char _ptemp[128];
1335
1336 self = self;
107e4716 1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPrintData",_kwnames,&_argo0))
d24a34bb 1338 return NULL;
2d091820
RD
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1343 return NULL;
1344 }
1345 }
1346{
1347 wxPy_BEGIN_ALLOW_THREADS;
1348 _result = (wxPrintData *)wxPageSetupDialogData_GetPrintData(_arg0);
1349
1350 wxPy_END_ALLOW_THREADS;
2d091820
RD
1351} if (_result) {
1352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
1353 _resultobj = Py_BuildValue("s",_ptemp);
1354 } else {
1355 Py_INCREF(Py_None);
1356 _resultobj = Py_None;
1357 }
d24a34bb
RD
1358 return _resultobj;
1359}
1360
1361#define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
107e4716 1362static PyObject *_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1363 PyObject * _resultobj;
1364 wxPageSetupDialogData * _arg0;
1365 bool _arg1;
2d091820 1366 PyObject * _argo0 = 0;
d24a34bb 1367 int tempbool1;
107e4716 1368 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1369
1370 self = self;
107e4716 1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames,&_argo0,&tempbool1))
d24a34bb 1372 return NULL;
2d091820
RD
1373 if (_argo0) {
1374 if (_argo0 == Py_None) { _arg0 = NULL; }
1375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1377 return NULL;
1378 }
1379 }
1380 _arg1 = (bool ) tempbool1;
1381{
1382 wxPy_BEGIN_ALLOW_THREADS;
1383 wxPageSetupDialogData_SetDefaultInfo(_arg0,_arg1);
1384
1385 wxPy_END_ALLOW_THREADS;
1386} Py_INCREF(Py_None);
1387 _resultobj = Py_None;
1388 return _resultobj;
1389}
1390
1391#define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
107e4716 1392static PyObject *_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1393 PyObject * _resultobj;
1394 wxPageSetupDialogData * _arg0;
1395 bool _arg1;
2d091820 1396 PyObject * _argo0 = 0;
d24a34bb 1397 int tempbool1;
107e4716 1398 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1399
1400 self = self;
107e4716 1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames,&_argo0,&tempbool1))
d24a34bb 1402 return NULL;
2d091820
RD
1403 if (_argo0) {
1404 if (_argo0 == Py_None) { _arg0 = NULL; }
1405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1407 return NULL;
1408 }
1409 }
1410 _arg1 = (bool ) tempbool1;
1411{
1412 wxPy_BEGIN_ALLOW_THREADS;
1413 wxPageSetupDialogData_SetDefaultMinMargins(_arg0,_arg1);
1414
1415 wxPy_END_ALLOW_THREADS;
1416} Py_INCREF(Py_None);
1417 _resultobj = Py_None;
1418 return _resultobj;
1419}
1420
1421#define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
107e4716 1422static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1423 PyObject * _resultobj;
1424 wxPageSetupDialogData * _arg0;
1425 wxPoint * _arg1;
2d091820 1426 PyObject * _argo0 = 0;
37f6a977
RD
1427 wxPoint temp;
1428 PyObject * _obj1 = 0;
107e4716 1429 char *_kwnames[] = { "self","pt", NULL };
d24a34bb
RD
1430
1431 self = self;
37f6a977 1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1))
d24a34bb 1433 return NULL;
2d091820
RD
1434 if (_argo0) {
1435 if (_argo0 == Py_None) { _arg0 = NULL; }
1436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1438 return NULL;
1439 }
1440 }
37f6a977
RD
1441{
1442 _arg1 = &temp;
1443 if (! wxPoint_helper(_obj1, &_arg1))
d24a34bb 1444 return NULL;
37f6a977 1445}
d24a34bb
RD
1446{
1447 wxPy_BEGIN_ALLOW_THREADS;
1448 wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
1449
1450 wxPy_END_ALLOW_THREADS;
1451} Py_INCREF(Py_None);
1452 _resultobj = Py_None;
1453 return _resultobj;
1454}
1455
1456#define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
107e4716 1457static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1458 PyObject * _resultobj;
1459 wxPageSetupDialogData * _arg0;
1460 wxPoint * _arg1;
2d091820 1461 PyObject * _argo0 = 0;
37f6a977
RD
1462 wxPoint temp;
1463 PyObject * _obj1 = 0;
107e4716 1464 char *_kwnames[] = { "self","pt", NULL };
d24a34bb
RD
1465
1466 self = self;
37f6a977 1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1))
d24a34bb 1468 return NULL;
2d091820
RD
1469 if (_argo0) {
1470 if (_argo0 == Py_None) { _arg0 = NULL; }
1471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1473 return NULL;
1474 }
1475 }
37f6a977
RD
1476{
1477 _arg1 = &temp;
1478 if (! wxPoint_helper(_obj1, &_arg1))
d24a34bb 1479 return NULL;
37f6a977 1480}
d24a34bb
RD
1481{
1482 wxPy_BEGIN_ALLOW_THREADS;
1483 wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
1484
1485 wxPy_END_ALLOW_THREADS;
1486} Py_INCREF(Py_None);
1487 _resultobj = Py_None;
1488 return _resultobj;
1489}
1490
1491#define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
107e4716 1492static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1493 PyObject * _resultobj;
1494 wxPageSetupDialogData * _arg0;
1495 wxPoint * _arg1;
2d091820 1496 PyObject * _argo0 = 0;
37f6a977
RD
1497 wxPoint temp;
1498 PyObject * _obj1 = 0;
107e4716 1499 char *_kwnames[] = { "self","pt", NULL };
d24a34bb
RD
1500
1501 self = self;
37f6a977 1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1))
d24a34bb 1503 return NULL;
2d091820
RD
1504 if (_argo0) {
1505 if (_argo0 == Py_None) { _arg0 = NULL; }
1506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1508 return NULL;
1509 }
1510 }
37f6a977
RD
1511{
1512 _arg1 = &temp;
1513 if (! wxPoint_helper(_obj1, &_arg1))
d24a34bb 1514 return NULL;
37f6a977 1515}
d24a34bb
RD
1516{
1517 wxPy_BEGIN_ALLOW_THREADS;
1518 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1);
1519
1520 wxPy_END_ALLOW_THREADS;
1521} Py_INCREF(Py_None);
1522 _resultobj = Py_None;
1523 return _resultobj;
1524}
1525
1526#define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
107e4716 1527static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1528 PyObject * _resultobj;
1529 wxPageSetupDialogData * _arg0;
1530 wxPoint * _arg1;
2d091820 1531 PyObject * _argo0 = 0;
37f6a977
RD
1532 wxPoint temp;
1533 PyObject * _obj1 = 0;
107e4716 1534 char *_kwnames[] = { "self","pt", NULL };
d24a34bb
RD
1535
1536 self = self;
37f6a977 1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_obj1))
d24a34bb 1538 return NULL;
2d091820
RD
1539 if (_argo0) {
1540 if (_argo0 == Py_None) { _arg0 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1543 return NULL;
1544 }
1545 }
37f6a977
RD
1546{
1547 _arg1 = &temp;
1548 if (! wxPoint_helper(_obj1, &_arg1))
d24a34bb 1549 return NULL;
37f6a977 1550}
d24a34bb
RD
1551{
1552 wxPy_BEGIN_ALLOW_THREADS;
1553 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1);
1554
1555 wxPy_END_ALLOW_THREADS;
1556} Py_INCREF(Py_None);
1557 _resultobj = Py_None;
1558 return _resultobj;
1559}
1560
1561#define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
107e4716 1562static PyObject *_wrap_wxPageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1563 PyObject * _resultobj;
1564 wxPageSetupDialogData * _arg0;
3ca6a5f0 1565 wxPaperSize _arg1;
2d091820 1566 PyObject * _argo0 = 0;
107e4716 1567 char *_kwnames[] = { "self","id", NULL };
d24a34bb
RD
1568
1569 self = self;
3ca6a5f0 1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames,&_argo0,&_arg1))
d24a34bb 1571 return NULL;
2d091820
RD
1572 if (_argo0) {
1573 if (_argo0 == Py_None) { _arg0 = NULL; }
1574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1576 return NULL;
1577 }
1578 }
d24a34bb
RD
1579{
1580 wxPy_BEGIN_ALLOW_THREADS;
3ca6a5f0 1581 wxPageSetupDialogData_SetPaperId(_arg0,_arg1);
d24a34bb
RD
1582
1583 wxPy_END_ALLOW_THREADS;
1584} Py_INCREF(Py_None);
1585 _resultobj = Py_None;
1586 return _resultobj;
1587}
1588
1589#define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
107e4716 1590static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1591 PyObject * _resultobj;
1592 wxPageSetupDialogData * _arg0;
1593 wxSize * _arg1;
2d091820 1594 PyObject * _argo0 = 0;
37f6a977
RD
1595 wxSize temp;
1596 PyObject * _obj1 = 0;
107e4716 1597 char *_kwnames[] = { "self","size", NULL };
d24a34bb
RD
1598
1599 self = self;
37f6a977 1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1))
d24a34bb 1601 return NULL;
2d091820
RD
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1606 return NULL;
1607 }
1608 }
37f6a977
RD
1609{
1610 _arg1 = &temp;
1611 if (! wxSize_helper(_obj1, &_arg1))
d24a34bb 1612 return NULL;
37f6a977 1613}
d24a34bb
RD
1614{
1615 wxPy_BEGIN_ALLOW_THREADS;
1616 wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
1617
1618 wxPy_END_ALLOW_THREADS;
1619} Py_INCREF(Py_None);
1620 _resultobj = Py_None;
1621 return _resultobj;
1622}
1623
1624#define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
107e4716 1625static PyObject *_wrap_wxPageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1626 PyObject * _resultobj;
1627 wxPageSetupDialogData * _arg0;
1628 wxPrintData * _arg1;
2d091820
RD
1629 PyObject * _argo0 = 0;
1630 PyObject * _argo1 = 0;
107e4716 1631 char *_kwnames[] = { "self","printData", NULL };
d24a34bb
RD
1632
1633 self = self;
107e4716 1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
d24a34bb 1635 return NULL;
2d091820
RD
1636 if (_argo0) {
1637 if (_argo0 == Py_None) { _arg0 = NULL; }
1638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1640 return NULL;
1641 }
1642 }
2d091820
RD
1643 if (_argo1) {
1644 if (_argo1 == Py_None) { _arg1 = NULL; }
1645 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
d24a34bb
RD
1646 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1647 return NULL;
1648 }
1649 }
1650{
1651 wxPy_BEGIN_ALLOW_THREADS;
1652 wxPageSetupDialogData_SetPrintData(_arg0,*_arg1);
1653
1654 wxPy_END_ALLOW_THREADS;
1655} Py_INCREF(Py_None);
1656 _resultobj = Py_None;
1657 return _resultobj;
1658}
1659
1660static void *SwigwxPageSetupDialogTowxDialog(void *ptr) {
1661 wxPageSetupDialog *src;
1662 wxDialog *dest;
1663 src = (wxPageSetupDialog *) ptr;
1664 dest = (wxDialog *) src;
1665 return (void *) dest;
1666}
1667
1668static void *SwigwxPageSetupDialogTowxPanel(void *ptr) {
1669 wxPageSetupDialog *src;
1670 wxPanel *dest;
1671 src = (wxPageSetupDialog *) ptr;
1672 dest = (wxPanel *) src;
1673 return (void *) dest;
1674}
1675
1676static void *SwigwxPageSetupDialogTowxWindow(void *ptr) {
1677 wxPageSetupDialog *src;
1678 wxWindow *dest;
1679 src = (wxPageSetupDialog *) ptr;
1680 dest = (wxWindow *) src;
1681 return (void *) dest;
1682}
1683
1684static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) {
1685 wxPageSetupDialog *src;
1686 wxEvtHandler *dest;
1687 src = (wxPageSetupDialog *) ptr;
1688 dest = (wxEvtHandler *) src;
1689 return (void *) dest;
1690}
1691
1692#define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
107e4716 1693static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1694 PyObject * _resultobj;
1695 wxPageSetupDialog * _result;
1696 wxWindow * _arg0;
2d091820
RD
1697 wxPageSetupDialogData * _arg1 = (wxPageSetupDialogData *) NULL;
1698 PyObject * _argo0 = 0;
1699 PyObject * _argo1 = 0;
107e4716 1700 char *_kwnames[] = { "parent","data", NULL };
d24a34bb
RD
1701 char _ptemp[128];
1702
1703 self = self;
107e4716 1704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPageSetupDialog",_kwnames,&_argo0,&_argo1))
d24a34bb 1705 return NULL;
2d091820
RD
1706 if (_argo0) {
1707 if (_argo0 == Py_None) { _arg0 = NULL; }
1708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
1709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1710 return NULL;
1711 }
1712 }
2d091820
RD
1713 if (_argo1) {
1714 if (_argo1 == Py_None) { _arg1 = NULL; }
1715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPageSetupDialogData_p")) {
d24a34bb
RD
1716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1717 return NULL;
1718 }
1719 }
1720{
1721 wxPy_BEGIN_ALLOW_THREADS;
1722 _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1);
1723
1724 wxPy_END_ALLOW_THREADS;
2d091820
RD
1725} if (_result) {
1726 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p");
1727 _resultobj = Py_BuildValue("s",_ptemp);
1728 } else {
1729 Py_INCREF(Py_None);
1730 _resultobj = Py_None;
1731 }
d24a34bb
RD
1732 return _resultobj;
1733}
1734
1735#define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
107e4716 1736static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1737 PyObject * _resultobj;
1738 wxPageSetupDialogData * _result;
1739 wxPageSetupDialog * _arg0;
2d091820 1740 PyObject * _argo0 = 0;
107e4716 1741 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1742 char _ptemp[128];
1743
1744 self = self;
107e4716 1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_GetPageSetupData",_kwnames,&_argo0))
d24a34bb 1746 return NULL;
2d091820
RD
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
d24a34bb
RD
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1751 return NULL;
1752 }
1753 }
1754{
1755 wxPy_BEGIN_ALLOW_THREADS;
1756 wxPageSetupDialogData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0);
1757 _result = (wxPageSetupDialogData *) &_result_ref;
1758
1759 wxPy_END_ALLOW_THREADS;
2d091820
RD
1760} if (_result) {
1761 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
1762 _resultobj = Py_BuildValue("s",_ptemp);
1763 } else {
1764 Py_INCREF(Py_None);
1765 _resultobj = Py_None;
1766 }
d24a34bb
RD
1767 return _resultobj;
1768}
1769
1770#define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 1771static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1772 PyObject * _resultobj;
1773 int _result;
1774 wxPageSetupDialog * _arg0;
2d091820 1775 PyObject * _argo0 = 0;
107e4716 1776 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1777
1778 self = self;
107e4716 1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_ShowModal",_kwnames,&_argo0))
d24a34bb 1780 return NULL;
2d091820
RD
1781 if (_argo0) {
1782 if (_argo0 == Py_None) { _arg0 = NULL; }
1783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
d24a34bb
RD
1784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1785 return NULL;
1786 }
1787 }
1788{
1789 wxPy_BEGIN_ALLOW_THREADS;
1790 _result = (int )wxPageSetupDialog_ShowModal(_arg0);
1791
1792 wxPy_END_ALLOW_THREADS;
1793} _resultobj = Py_BuildValue("i",_result);
1794 return _resultobj;
1795}
1796
1797#define new_wxPrintDialogData() (new wxPrintDialogData())
107e4716 1798static PyObject *_wrap_new_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1799 PyObject * _resultobj;
1800 wxPrintDialogData * _result;
107e4716 1801 char *_kwnames[] = { NULL };
d24a34bb
RD
1802 char _ptemp[128];
1803
1804 self = self;
107e4716 1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintDialogData",_kwnames))
d24a34bb
RD
1806 return NULL;
1807{
1808 wxPy_BEGIN_ALLOW_THREADS;
1809 _result = (wxPrintDialogData *)new_wxPrintDialogData();
1810
1811 wxPy_END_ALLOW_THREADS;
2d091820
RD
1812} if (_result) {
1813 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
1814 _resultobj = Py_BuildValue("s",_ptemp);
1815 } else {
1816 Py_INCREF(Py_None);
1817 _resultobj = Py_None;
1818 }
d24a34bb
RD
1819 return _resultobj;
1820}
1821
1822#define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
107e4716 1823static PyObject *_wrap_delete_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1824 PyObject * _resultobj;
1825 wxPrintDialogData * _arg0;
2d091820 1826 PyObject * _argo0 = 0;
107e4716 1827 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1828
1829 self = self;
107e4716 1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintDialogData",_kwnames,&_argo0))
d24a34bb 1831 return NULL;
2d091820
RD
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1836 return NULL;
1837 }
1838 }
1839{
1840 wxPy_BEGIN_ALLOW_THREADS;
1841 delete_wxPrintDialogData(_arg0);
1842
1843 wxPy_END_ALLOW_THREADS;
1844} Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 return _resultobj;
1847}
1848
1849#define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
107e4716 1850static PyObject *_wrap_wxPrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1851 PyObject * _resultobj;
1852 wxPrintDialogData * _arg0;
1853 bool _arg1;
2d091820 1854 PyObject * _argo0 = 0;
d24a34bb 1855 int tempbool1;
107e4716 1856 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1857
1858 self = self;
107e4716 1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
d24a34bb 1860 return NULL;
2d091820
RD
1861 if (_argo0) {
1862 if (_argo0 == Py_None) { _arg0 = NULL; }
1863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1865 return NULL;
1866 }
1867 }
1868 _arg1 = (bool ) tempbool1;
1869{
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 wxPrintDialogData_EnableHelp(_arg0,_arg1);
1872
1873 wxPy_END_ALLOW_THREADS;
1874} Py_INCREF(Py_None);
1875 _resultobj = Py_None;
1876 return _resultobj;
1877}
1878
1879#define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
107e4716 1880static PyObject *_wrap_wxPrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1881 PyObject * _resultobj;
1882 wxPrintDialogData * _arg0;
1883 bool _arg1;
2d091820 1884 PyObject * _argo0 = 0;
d24a34bb 1885 int tempbool1;
107e4716 1886 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1887
1888 self = self;
107e4716 1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames,&_argo0,&tempbool1))
d24a34bb 1890 return NULL;
2d091820
RD
1891 if (_argo0) {
1892 if (_argo0 == Py_None) { _arg0 = NULL; }
1893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1895 return NULL;
1896 }
1897 }
1898 _arg1 = (bool ) tempbool1;
1899{
1900 wxPy_BEGIN_ALLOW_THREADS;
1901 wxPrintDialogData_EnablePageNumbers(_arg0,_arg1);
1902
1903 wxPy_END_ALLOW_THREADS;
1904} Py_INCREF(Py_None);
1905 _resultobj = Py_None;
1906 return _resultobj;
1907}
1908
1909#define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
107e4716 1910static PyObject *_wrap_wxPrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1911 PyObject * _resultobj;
1912 wxPrintDialogData * _arg0;
1913 bool _arg1;
2d091820 1914 PyObject * _argo0 = 0;
d24a34bb 1915 int tempbool1;
107e4716 1916 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1917
1918 self = self;
107e4716 1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames,&_argo0,&tempbool1))
d24a34bb 1920 return NULL;
2d091820
RD
1921 if (_argo0) {
1922 if (_argo0 == Py_None) { _arg0 = NULL; }
1923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1925 return NULL;
1926 }
1927 }
1928 _arg1 = (bool ) tempbool1;
1929{
1930 wxPy_BEGIN_ALLOW_THREADS;
1931 wxPrintDialogData_EnablePrintToFile(_arg0,_arg1);
1932
1933 wxPy_END_ALLOW_THREADS;
1934} Py_INCREF(Py_None);
1935 _resultobj = Py_None;
1936 return _resultobj;
1937}
1938
1939#define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
107e4716 1940static PyObject *_wrap_wxPrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1941 PyObject * _resultobj;
1942 wxPrintDialogData * _arg0;
1943 bool _arg1;
2d091820 1944 PyObject * _argo0 = 0;
d24a34bb 1945 int tempbool1;
107e4716 1946 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
1947
1948 self = self;
107e4716 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableSelection",_kwnames,&_argo0,&tempbool1))
d24a34bb 1950 return NULL;
2d091820
RD
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1955 return NULL;
1956 }
1957 }
1958 _arg1 = (bool ) tempbool1;
1959{
1960 wxPy_BEGIN_ALLOW_THREADS;
1961 wxPrintDialogData_EnableSelection(_arg0,_arg1);
1962
1963 wxPy_END_ALLOW_THREADS;
1964} Py_INCREF(Py_None);
1965 _resultobj = Py_None;
1966 return _resultobj;
1967}
1968
1969#define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
107e4716 1970static PyObject *_wrap_wxPrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1971 PyObject * _resultobj;
1972 bool _result;
1973 wxPrintDialogData * _arg0;
2d091820 1974 PyObject * _argo0 = 0;
107e4716 1975 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1976
1977 self = self;
107e4716 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetAllPages",_kwnames,&_argo0))
d24a34bb 1979 return NULL;
2d091820
RD
1980 if (_argo0) {
1981 if (_argo0 == Py_None) { _arg0 = NULL; }
1982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1984 return NULL;
1985 }
1986 }
1987{
1988 wxPy_BEGIN_ALLOW_THREADS;
1989 _result = (bool )wxPrintDialogData_GetAllPages(_arg0);
1990
1991 wxPy_END_ALLOW_THREADS;
1992} _resultobj = Py_BuildValue("i",_result);
1993 return _resultobj;
1994}
1995
1996#define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
107e4716 1997static PyObject *_wrap_wxPrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1998 PyObject * _resultobj;
1999 bool _result;
2000 wxPrintDialogData * _arg0;
2d091820 2001 PyObject * _argo0 = 0;
107e4716 2002 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2003
2004 self = self;
107e4716 2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetCollate",_kwnames,&_argo0))
d24a34bb 2006 return NULL;
2d091820
RD
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2011 return NULL;
2012 }
2013 }
2014{
2015 wxPy_BEGIN_ALLOW_THREADS;
2016 _result = (bool )wxPrintDialogData_GetCollate(_arg0);
2017
2018 wxPy_END_ALLOW_THREADS;
2019} _resultobj = Py_BuildValue("i",_result);
2020 return _resultobj;
2021}
2022
2023#define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
107e4716 2024static PyObject *_wrap_wxPrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2025 PyObject * _resultobj;
2026 int _result;
2027 wxPrintDialogData * _arg0;
2d091820 2028 PyObject * _argo0 = 0;
107e4716 2029 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2030
2031 self = self;
107e4716 2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetFromPage",_kwnames,&_argo0))
d24a34bb 2033 return NULL;
2d091820
RD
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2038 return NULL;
2039 }
2040 }
2041{
2042 wxPy_BEGIN_ALLOW_THREADS;
2043 _result = (int )wxPrintDialogData_GetFromPage(_arg0);
2044
2045 wxPy_END_ALLOW_THREADS;
2046} _resultobj = Py_BuildValue("i",_result);
2047 return _resultobj;
2048}
2049
2050#define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
107e4716 2051static PyObject *_wrap_wxPrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2052 PyObject * _resultobj;
2053 int _result;
2054 wxPrintDialogData * _arg0;
2d091820 2055 PyObject * _argo0 = 0;
107e4716 2056 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2057
2058 self = self;
107e4716 2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMaxPage",_kwnames,&_argo0))
d24a34bb 2060 return NULL;
2d091820
RD
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2065 return NULL;
2066 }
2067 }
2068{
2069 wxPy_BEGIN_ALLOW_THREADS;
2070 _result = (int )wxPrintDialogData_GetMaxPage(_arg0);
2071
2072 wxPy_END_ALLOW_THREADS;
2073} _resultobj = Py_BuildValue("i",_result);
2074 return _resultobj;
2075}
2076
2077#define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
107e4716 2078static PyObject *_wrap_wxPrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2079 PyObject * _resultobj;
2080 int _result;
2081 wxPrintDialogData * _arg0;
2d091820 2082 PyObject * _argo0 = 0;
107e4716 2083 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2084
2085 self = self;
107e4716 2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMinPage",_kwnames,&_argo0))
d24a34bb 2087 return NULL;
2d091820
RD
2088 if (_argo0) {
2089 if (_argo0 == Py_None) { _arg0 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2092 return NULL;
2093 }
2094 }
2095{
2096 wxPy_BEGIN_ALLOW_THREADS;
2097 _result = (int )wxPrintDialogData_GetMinPage(_arg0);
2098
2099 wxPy_END_ALLOW_THREADS;
2100} _resultobj = Py_BuildValue("i",_result);
2101 return _resultobj;
2102}
2103
2104#define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
107e4716 2105static PyObject *_wrap_wxPrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2106 PyObject * _resultobj;
2107 int _result;
2108 wxPrintDialogData * _arg0;
2d091820 2109 PyObject * _argo0 = 0;
107e4716 2110 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2111
2112 self = self;
107e4716 2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetNoCopies",_kwnames,&_argo0))
d24a34bb 2114 return NULL;
2d091820
RD
2115 if (_argo0) {
2116 if (_argo0 == Py_None) { _arg0 = NULL; }
2117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2119 return NULL;
2120 }
2121 }
2122{
2123 wxPy_BEGIN_ALLOW_THREADS;
2124 _result = (int )wxPrintDialogData_GetNoCopies(_arg0);
2125
2126 wxPy_END_ALLOW_THREADS;
2127} _resultobj = Py_BuildValue("i",_result);
2128 return _resultobj;
2129}
2130
2131static wxPrintData * wxPrintDialogData_GetPrintData(wxPrintDialogData *self) {
2132 return new wxPrintData(self->GetPrintData()); // force a copy
2133 }
107e4716 2134static PyObject *_wrap_wxPrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2135 PyObject * _resultobj;
2136 wxPrintData * _result;
2137 wxPrintDialogData * _arg0;
2d091820 2138 PyObject * _argo0 = 0;
107e4716 2139 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2140 char _ptemp[128];
2141
2142 self = self;
107e4716 2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintData",_kwnames,&_argo0))
d24a34bb 2144 return NULL;
2d091820
RD
2145 if (_argo0) {
2146 if (_argo0 == Py_None) { _arg0 = NULL; }
2147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2149 return NULL;
2150 }
2151 }
2152{
2153 wxPy_BEGIN_ALLOW_THREADS;
2154 _result = (wxPrintData *)wxPrintDialogData_GetPrintData(_arg0);
2155
2156 wxPy_END_ALLOW_THREADS;
2d091820
RD
2157} if (_result) {
2158 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
2159 _resultobj = Py_BuildValue("s",_ptemp);
2160 } else {
2161 Py_INCREF(Py_None);
2162 _resultobj = Py_None;
2163 }
d24a34bb
RD
2164 return _resultobj;
2165}
2166
2167#define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
107e4716 2168static PyObject *_wrap_wxPrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2169 PyObject * _resultobj;
2170 bool _result;
2171 wxPrintDialogData * _arg0;
2d091820 2172 PyObject * _argo0 = 0;
107e4716 2173 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2174
2175 self = self;
107e4716 2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintToFile",_kwnames,&_argo0))
d24a34bb 2177 return NULL;
2d091820
RD
2178 if (_argo0) {
2179 if (_argo0 == Py_None) { _arg0 = NULL; }
2180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2182 return NULL;
2183 }
2184 }
2185{
2186 wxPy_BEGIN_ALLOW_THREADS;
2187 _result = (bool )wxPrintDialogData_GetPrintToFile(_arg0);
2188
2189 wxPy_END_ALLOW_THREADS;
2190} _resultobj = Py_BuildValue("i",_result);
2191 return _resultobj;
2192}
2193
2194#define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
107e4716 2195static PyObject *_wrap_wxPrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2196 PyObject * _resultobj;
2197 int _result;
2198 wxPrintDialogData * _arg0;
2d091820 2199 PyObject * _argo0 = 0;
107e4716 2200 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2201
2202 self = self;
107e4716 2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetToPage",_kwnames,&_argo0))
d24a34bb 2204 return NULL;
2d091820
RD
2205 if (_argo0) {
2206 if (_argo0 == Py_None) { _arg0 = NULL; }
2207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2209 return NULL;
2210 }
2211 }
2212{
2213 wxPy_BEGIN_ALLOW_THREADS;
2214 _result = (int )wxPrintDialogData_GetToPage(_arg0);
2215
2216 wxPy_END_ALLOW_THREADS;
2217} _resultobj = Py_BuildValue("i",_result);
2218 return _resultobj;
2219}
2220
2221#define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
107e4716 2222static PyObject *_wrap_wxPrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2223 PyObject * _resultobj;
2224 wxPrintDialogData * _arg0;
2225 bool _arg1;
2d091820 2226 PyObject * _argo0 = 0;
d24a34bb 2227 int tempbool1;
107e4716 2228 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
2229
2230 self = self;
107e4716 2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetCollate",_kwnames,&_argo0,&tempbool1))
d24a34bb 2232 return NULL;
2d091820
RD
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2237 return NULL;
2238 }
2239 }
2240 _arg1 = (bool ) tempbool1;
2241{
2242 wxPy_BEGIN_ALLOW_THREADS;
2243 wxPrintDialogData_SetCollate(_arg0,_arg1);
2244
2245 wxPy_END_ALLOW_THREADS;
2246} Py_INCREF(Py_None);
2247 _resultobj = Py_None;
2248 return _resultobj;
2249}
2250
2251#define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
107e4716 2252static PyObject *_wrap_wxPrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2253 PyObject * _resultobj;
2254 wxPrintDialogData * _arg0;
2255 int _arg1;
2d091820 2256 PyObject * _argo0 = 0;
107e4716 2257 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
2258
2259 self = self;
107e4716 2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetFromPage",_kwnames,&_argo0,&_arg1))
d24a34bb 2261 return NULL;
2d091820
RD
2262 if (_argo0) {
2263 if (_argo0 == Py_None) { _arg0 = NULL; }
2264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2266 return NULL;
2267 }
2268 }
2269{
2270 wxPy_BEGIN_ALLOW_THREADS;
2271 wxPrintDialogData_SetFromPage(_arg0,_arg1);
2272
2273 wxPy_END_ALLOW_THREADS;
2274} Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277}
2278
2279#define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
107e4716 2280static PyObject *_wrap_wxPrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2281 PyObject * _resultobj;
2282 wxPrintDialogData * _arg0;
2283 int _arg1;
2d091820 2284 PyObject * _argo0 = 0;
107e4716 2285 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
2286
2287 self = self;
107e4716 2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMaxPage",_kwnames,&_argo0,&_arg1))
d24a34bb 2289 return NULL;
2d091820
RD
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2294 return NULL;
2295 }
2296 }
2297{
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 wxPrintDialogData_SetMaxPage(_arg0,_arg1);
2300
2301 wxPy_END_ALLOW_THREADS;
2302} Py_INCREF(Py_None);
2303 _resultobj = Py_None;
2304 return _resultobj;
2305}
2306
2307#define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
107e4716 2308static PyObject *_wrap_wxPrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2309 PyObject * _resultobj;
2310 wxPrintDialogData * _arg0;
2311 int _arg1;
2d091820 2312 PyObject * _argo0 = 0;
107e4716 2313 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
2314
2315 self = self;
107e4716 2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMinPage",_kwnames,&_argo0,&_arg1))
d24a34bb 2317 return NULL;
2d091820
RD
2318 if (_argo0) {
2319 if (_argo0 == Py_None) { _arg0 = NULL; }
2320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2322 return NULL;
2323 }
2324 }
2325{
2326 wxPy_BEGIN_ALLOW_THREADS;
2327 wxPrintDialogData_SetMinPage(_arg0,_arg1);
2328
2329 wxPy_END_ALLOW_THREADS;
2330} Py_INCREF(Py_None);
2331 _resultobj = Py_None;
2332 return _resultobj;
2333}
2334
2335#define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
107e4716 2336static PyObject *_wrap_wxPrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2337 PyObject * _resultobj;
2338 wxPrintDialogData * _arg0;
2339 int _arg1;
2d091820 2340 PyObject * _argo0 = 0;
107e4716 2341 char *_kwnames[] = { "self","n", NULL };
d24a34bb
RD
2342
2343 self = self;
107e4716 2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetNoCopies",_kwnames,&_argo0,&_arg1))
d24a34bb 2345 return NULL;
2d091820
RD
2346 if (_argo0) {
2347 if (_argo0 == Py_None) { _arg0 = NULL; }
2348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2350 return NULL;
2351 }
2352 }
2353{
2354 wxPy_BEGIN_ALLOW_THREADS;
2355 wxPrintDialogData_SetNoCopies(_arg0,_arg1);
2356
2357 wxPy_END_ALLOW_THREADS;
2358} Py_INCREF(Py_None);
2359 _resultobj = Py_None;
2360 return _resultobj;
2361}
2362
2363#define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
107e4716 2364static PyObject *_wrap_wxPrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2365 PyObject * _resultobj;
2366 wxPrintDialogData * _arg0;
2367 wxPrintData * _arg1;
2d091820
RD
2368 PyObject * _argo0 = 0;
2369 PyObject * _argo1 = 0;
107e4716 2370 char *_kwnames[] = { "self","printData", NULL };
d24a34bb
RD
2371
2372 self = self;
107e4716 2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
d24a34bb 2374 return NULL;
2d091820
RD
2375 if (_argo0) {
2376 if (_argo0 == Py_None) { _arg0 = NULL; }
2377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2379 return NULL;
2380 }
2381 }
2d091820
RD
2382 if (_argo1) {
2383 if (_argo1 == Py_None) { _arg1 = NULL; }
2384 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
d24a34bb
RD
2385 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2386 return NULL;
2387 }
2388 }
2389{
2390 wxPy_BEGIN_ALLOW_THREADS;
2391 wxPrintDialogData_SetPrintData(_arg0,*_arg1);
2392
2393 wxPy_END_ALLOW_THREADS;
2394} Py_INCREF(Py_None);
2395 _resultobj = Py_None;
2396 return _resultobj;
2397}
2398
2399#define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
107e4716 2400static PyObject *_wrap_wxPrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2401 PyObject * _resultobj;
2402 wxPrintDialogData * _arg0;
2403 bool _arg1;
2d091820 2404 PyObject * _argo0 = 0;
d24a34bb 2405 int tempbool1;
107e4716 2406 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
2407
2408 self = self;
107e4716 2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames,&_argo0,&tempbool1))
d24a34bb 2410 return NULL;
2d091820
RD
2411 if (_argo0) {
2412 if (_argo0 == Py_None) { _arg0 = NULL; }
2413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2415 return NULL;
2416 }
2417 }
2418 _arg1 = (bool ) tempbool1;
2419{
2420 wxPy_BEGIN_ALLOW_THREADS;
2421 wxPrintDialogData_SetPrintToFile(_arg0,_arg1);
2422
2423 wxPy_END_ALLOW_THREADS;
2424} Py_INCREF(Py_None);
2425 _resultobj = Py_None;
2426 return _resultobj;
2427}
2428
2429#define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
107e4716 2430static PyObject *_wrap_wxPrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2431 PyObject * _resultobj;
2432 wxPrintDialogData * _arg0;
2433 bool _arg1;
2d091820 2434 PyObject * _argo0 = 0;
d24a34bb 2435 int tempbool1;
107e4716 2436 char *_kwnames[] = { "self","flag", NULL };
d24a34bb
RD
2437
2438 self = self;
107e4716 2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames,&_argo0,&tempbool1))
d24a34bb 2440 return NULL;
2d091820
RD
2441 if (_argo0) {
2442 if (_argo0 == Py_None) { _arg0 = NULL; }
2443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2445 return NULL;
2446 }
2447 }
2448 _arg1 = (bool ) tempbool1;
2449{
2450 wxPy_BEGIN_ALLOW_THREADS;
2451 wxPrintDialogData_SetSetupDialog(_arg0,_arg1);
2452
2453 wxPy_END_ALLOW_THREADS;
2454} Py_INCREF(Py_None);
2455 _resultobj = Py_None;
2456 return _resultobj;
2457}
2458
2459#define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
107e4716 2460static PyObject *_wrap_wxPrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2461 PyObject * _resultobj;
2462 wxPrintDialogData * _arg0;
2463 int _arg1;
2d091820 2464 PyObject * _argo0 = 0;
107e4716 2465 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
2466
2467 self = self;
107e4716 2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetToPage",_kwnames,&_argo0,&_arg1))
d24a34bb 2469 return NULL;
2d091820
RD
2470 if (_argo0) {
2471 if (_argo0 == Py_None) { _arg0 = NULL; }
2472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
2473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2474 return NULL;
2475 }
2476 }
2477{
2478 wxPy_BEGIN_ALLOW_THREADS;
2479 wxPrintDialogData_SetToPage(_arg0,_arg1);
2480
2481 wxPy_END_ALLOW_THREADS;
2482} Py_INCREF(Py_None);
2483 _resultobj = Py_None;
2484 return _resultobj;
2485}
2486
2487static void *SwigwxPrintDialogTowxDialog(void *ptr) {
2488 wxPrintDialog *src;
2489 wxDialog *dest;
2490 src = (wxPrintDialog *) ptr;
2491 dest = (wxDialog *) src;
2492 return (void *) dest;
2493}
2494
2495static void *SwigwxPrintDialogTowxPanel(void *ptr) {
2496 wxPrintDialog *src;
2497 wxPanel *dest;
2498 src = (wxPrintDialog *) ptr;
2499 dest = (wxPanel *) src;
2500 return (void *) dest;
2501}
2502
2503static void *SwigwxPrintDialogTowxWindow(void *ptr) {
2504 wxPrintDialog *src;
2505 wxWindow *dest;
2506 src = (wxPrintDialog *) ptr;
2507 dest = (wxWindow *) src;
2508 return (void *) dest;
2509}
2510
2511static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) {
2512 wxPrintDialog *src;
2513 wxEvtHandler *dest;
2514 src = (wxPrintDialog *) ptr;
2515 dest = (wxEvtHandler *) src;
2516 return (void *) dest;
2517}
2518
2519#define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
107e4716 2520static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2521 PyObject * _resultobj;
2522 wxPrintDialog * _result;
2523 wxWindow * _arg0;
2d091820
RD
2524 wxPrintDialogData * _arg1 = (wxPrintDialogData *) NULL;
2525 PyObject * _argo0 = 0;
2526 PyObject * _argo1 = 0;
107e4716 2527 char *_kwnames[] = { "parent","data", NULL };
d24a34bb
RD
2528 char _ptemp[128];
2529
2530 self = self;
107e4716 2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPrintDialog",_kwnames,&_argo0,&_argo1))
d24a34bb 2532 return NULL;
2d091820
RD
2533 if (_argo0) {
2534 if (_argo0 == Py_None) { _arg0 = NULL; }
2535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
2536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2537 return NULL;
2538 }
2539 }
2d091820
RD
2540 if (_argo1) {
2541 if (_argo1 == Py_None) { _arg1 = NULL; }
2542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintDialogData_p")) {
d24a34bb
RD
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2544 return NULL;
2545 }
2546 }
2547{
2548 wxPy_BEGIN_ALLOW_THREADS;
2549 _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1);
2550
2551 wxPy_END_ALLOW_THREADS;
2d091820
RD
2552} if (_result) {
2553 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p");
2554 _resultobj = Py_BuildValue("s",_ptemp);
2555 } else {
2556 Py_INCREF(Py_None);
2557 _resultobj = Py_None;
2558 }
d24a34bb
RD
2559 return _resultobj;
2560}
2561
2562#define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
107e4716 2563static PyObject *_wrap_wxPrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2564 PyObject * _resultobj;
2565 wxPrintDialogData * _result;
2566 wxPrintDialog * _arg0;
2d091820 2567 PyObject * _argo0 = 0;
107e4716 2568 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2569 char _ptemp[128];
2570
2571 self = self;
107e4716 2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDialogData",_kwnames,&_argo0))
d24a34bb 2573 return NULL;
2d091820
RD
2574 if (_argo0) {
2575 if (_argo0 == Py_None) { _arg0 = NULL; }
2576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
d24a34bb
RD
2577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2578 return NULL;
2579 }
2580 }
2581{
2582 wxPy_BEGIN_ALLOW_THREADS;
2583 wxPrintDialogData & _result_ref = wxPrintDialog_GetPrintDialogData(_arg0);
2584 _result = (wxPrintDialogData *) &_result_ref;
2585
2586 wxPy_END_ALLOW_THREADS;
2d091820
RD
2587} if (_result) {
2588 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
2589 _resultobj = Py_BuildValue("s",_ptemp);
2590 } else {
2591 Py_INCREF(Py_None);
2592 _resultobj = Py_None;
2593 }
d24a34bb
RD
2594 return _resultobj;
2595}
2596
2597#define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
107e4716 2598static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2599 PyObject * _resultobj;
2600 wxDC * _result;
2601 wxPrintDialog * _arg0;
2d091820 2602 PyObject * _argo0 = 0;
107e4716 2603 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2604 char _ptemp[128];
2605
2606 self = self;
107e4716 2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDC",_kwnames,&_argo0))
d24a34bb 2608 return NULL;
2d091820
RD
2609 if (_argo0) {
2610 if (_argo0 == Py_None) { _arg0 = NULL; }
2611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
d24a34bb
RD
2612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2613 return NULL;
2614 }
2615 }
2616{
2617 wxPy_BEGIN_ALLOW_THREADS;
2618 _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0);
2619
2620 wxPy_END_ALLOW_THREADS;
2d091820
RD
2621} if (_result) {
2622 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
2623 _resultobj = Py_BuildValue("s",_ptemp);
2624 } else {
2625 Py_INCREF(Py_None);
2626 _resultobj = Py_None;
2627 }
d24a34bb
RD
2628 return _resultobj;
2629}
2630
2631#define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 2632static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2633 PyObject * _resultobj;
2634 int _result;
2635 wxPrintDialog * _arg0;
2d091820 2636 PyObject * _argo0 = 0;
107e4716 2637 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2638
2639 self = self;
107e4716 2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_ShowModal",_kwnames,&_argo0))
d24a34bb 2641 return NULL;
2d091820
RD
2642 if (_argo0) {
2643 if (_argo0 == Py_None) { _arg0 = NULL; }
2644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
d24a34bb
RD
2645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2646 return NULL;
2647 }
2648 }
2649{
2650 wxPy_BEGIN_ALLOW_THREADS;
2651 _result = (int )wxPrintDialog_ShowModal(_arg0);
2652
2653 wxPy_END_ALLOW_THREADS;
2654} _resultobj = Py_BuildValue("i",_result);
2655 return _resultobj;
2656}
2657
2658#define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
107e4716 2659static PyObject *_wrap_new_wxPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2660 PyObject * _resultobj;
2661 wxPyPrintout * _result;
2d091820 2662 char * _arg0 = (char *) "Printout";
107e4716 2663 char *_kwnames[] = { "title", NULL };
d24a34bb
RD
2664 char _ptemp[128];
2665
2666 self = self;
107e4716 2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|s:new_wxPrintout",_kwnames,&_arg0))
d24a34bb
RD
2668 return NULL;
2669{
2670 wxPy_BEGIN_ALLOW_THREADS;
2671 _result = (wxPyPrintout *)new_wxPrintout(_arg0);
2672
2673 wxPy_END_ALLOW_THREADS;
2d091820
RD
2674} if (_result) {
2675 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
2676 _resultobj = Py_BuildValue("s",_ptemp);
2677 } else {
2678 Py_INCREF(Py_None);
2679 _resultobj = Py_None;
2680 }
d24a34bb
RD
2681 return _resultobj;
2682}
2683
f6bcfd97 2684#define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
107e4716 2685static PyObject *_wrap_wxPrintout__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2686 PyObject * _resultobj;
2687 wxPyPrintout * _arg0;
2688 PyObject * _arg1;
f6bcfd97 2689 PyObject * _arg2;
2d091820 2690 PyObject * _argo0 = 0;
d24a34bb 2691 PyObject * _obj1 = 0;
f6bcfd97
BP
2692 PyObject * _obj2 = 0;
2693 char *_kwnames[] = { "self","self","_class", NULL };
d24a34bb
RD
2694
2695 self = self;
f6bcfd97 2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintout__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
d24a34bb 2697 return NULL;
2d091820
RD
2698 if (_argo0) {
2699 if (_argo0 == Py_None) { _arg0 = NULL; }
2700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2702 return NULL;
2703 }
2704 }
2705{
2706 _arg1 = _obj1;
2707}
f6bcfd97
BP
2708{
2709 _arg2 = _obj2;
2710}
d24a34bb
RD
2711{
2712 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2713 wxPrintout__setSelf(_arg0,_arg1,_arg2);
d24a34bb
RD
2714
2715 wxPy_END_ALLOW_THREADS;
2716} Py_INCREF(Py_None);
2717 _resultobj = Py_None;
2718 return _resultobj;
2719}
2720
107e4716
RD
2721static void wxPyPrintout_Destroy(wxPyPrintout *self) { delete self; }
2722static PyObject *_wrap_wxPrintout_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2723 PyObject * _resultobj;
2724 wxPyPrintout * _arg0;
2d091820 2725 PyObject * _argo0 = 0;
107e4716 2726 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2727
2728 self = self;
107e4716 2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_Destroy",_kwnames,&_argo0))
d24a34bb 2730 return NULL;
2d091820
RD
2731 if (_argo0) {
2732 if (_argo0 == Py_None) { _arg0 = NULL; }
2733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2735 return NULL;
2736 }
2737 }
2738{
2739 wxPy_BEGIN_ALLOW_THREADS;
2740 wxPyPrintout_Destroy(_arg0);
2741
2742 wxPy_END_ALLOW_THREADS;
2743} Py_INCREF(Py_None);
2744 _resultobj = Py_None;
2745 return _resultobj;
2746}
2747
2748#define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
107e4716 2749static PyObject *_wrap_wxPrintout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2750 PyObject * _resultobj;
2751 wxDC * _result;
2752 wxPyPrintout * _arg0;
2d091820 2753 PyObject * _argo0 = 0;
107e4716 2754 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2755 char _ptemp[128];
2756
2757 self = self;
107e4716 2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetDC",_kwnames,&_argo0))
d24a34bb 2759 return NULL;
2d091820
RD
2760 if (_argo0) {
2761 if (_argo0 == Py_None) { _arg0 = NULL; }
2762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2764 return NULL;
2765 }
2766 }
2767{
2768 wxPy_BEGIN_ALLOW_THREADS;
2769 _result = (wxDC *)wxPrintout_GetDC(_arg0);
2770
2771 wxPy_END_ALLOW_THREADS;
2d091820
RD
2772} if (_result) {
2773 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
2774 _resultobj = Py_BuildValue("s",_ptemp);
2775 } else {
2776 Py_INCREF(Py_None);
2777 _resultobj = Py_None;
2778 }
d24a34bb
RD
2779 return _resultobj;
2780}
2781
2782#define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
107e4716 2783static PyObject *_wrap_wxPrintout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2784 PyObject * _resultobj;
2785 wxPyPrintout * _arg0;
2786 int * _arg1;
2787 int temp;
2788 int * _arg2;
2789 int temp0;
2d091820 2790 PyObject * _argo0 = 0;
107e4716 2791 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2792
2793 self = self;
2794{
2795 _arg1 = &temp;
2796}
2797{
2798 _arg2 = &temp0;
2799}
107e4716 2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizeMM",_kwnames,&_argo0))
d24a34bb 2801 return NULL;
2d091820
RD
2802 if (_argo0) {
2803 if (_argo0 == Py_None) { _arg0 = NULL; }
2804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2806 return NULL;
2807 }
2808 }
2809{
2810 wxPy_BEGIN_ALLOW_THREADS;
2811 wxPrintout_GetPageSizeMM(_arg0,_arg1,_arg2);
2812
2813 wxPy_END_ALLOW_THREADS;
2814} Py_INCREF(Py_None);
2815 _resultobj = Py_None;
2816{
2817 PyObject *o;
2818 o = PyInt_FromLong((long) (*_arg1));
2819 _resultobj = t_output_helper(_resultobj, o);
2820}
2821{
2822 PyObject *o;
2823 o = PyInt_FromLong((long) (*_arg2));
2824 _resultobj = t_output_helper(_resultobj, o);
2825}
2826 return _resultobj;
2827}
2828
2829#define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
107e4716 2830static PyObject *_wrap_wxPrintout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2831 PyObject * _resultobj;
2832 wxPyPrintout * _arg0;
2833 int * _arg1;
2834 int temp;
2835 int * _arg2;
2836 int temp0;
2d091820 2837 PyObject * _argo0 = 0;
107e4716 2838 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2839
2840 self = self;
2841{
2842 _arg1 = &temp;
2843}
2844{
2845 _arg2 = &temp0;
2846}
107e4716 2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizePixels",_kwnames,&_argo0))
d24a34bb 2848 return NULL;
2d091820
RD
2849 if (_argo0) {
2850 if (_argo0 == Py_None) { _arg0 = NULL; }
2851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2853 return NULL;
2854 }
2855 }
2856{
2857 wxPy_BEGIN_ALLOW_THREADS;
2858 wxPrintout_GetPageSizePixels(_arg0,_arg1,_arg2);
2859
2860 wxPy_END_ALLOW_THREADS;
2861} Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863{
2864 PyObject *o;
2865 o = PyInt_FromLong((long) (*_arg1));
2866 _resultobj = t_output_helper(_resultobj, o);
2867}
2868{
2869 PyObject *o;
2870 o = PyInt_FromLong((long) (*_arg2));
2871 _resultobj = t_output_helper(_resultobj, o);
2872}
2873 return _resultobj;
2874}
2875
2876#define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
107e4716 2877static PyObject *_wrap_wxPrintout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2878 PyObject * _resultobj;
2879 wxPyPrintout * _arg0;
2880 int * _arg1;
2881 int temp;
2882 int * _arg2;
2883 int temp0;
2d091820 2884 PyObject * _argo0 = 0;
107e4716 2885 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2886
2887 self = self;
2888{
2889 _arg1 = &temp;
2890}
2891{
2892 _arg2 = &temp0;
2893}
107e4716 2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIPrinter",_kwnames,&_argo0))
d24a34bb 2895 return NULL;
2d091820
RD
2896 if (_argo0) {
2897 if (_argo0 == Py_None) { _arg0 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2900 return NULL;
2901 }
2902 }
2903{
2904 wxPy_BEGIN_ALLOW_THREADS;
2905 wxPrintout_GetPPIPrinter(_arg0,_arg1,_arg2);
2906
2907 wxPy_END_ALLOW_THREADS;
2908} Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910{
2911 PyObject *o;
2912 o = PyInt_FromLong((long) (*_arg1));
2913 _resultobj = t_output_helper(_resultobj, o);
2914}
2915{
2916 PyObject *o;
2917 o = PyInt_FromLong((long) (*_arg2));
2918 _resultobj = t_output_helper(_resultobj, o);
2919}
2920 return _resultobj;
2921}
2922
2923#define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
107e4716 2924static PyObject *_wrap_wxPrintout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2925 PyObject * _resultobj;
2926 wxPyPrintout * _arg0;
2927 int * _arg1;
2928 int temp;
2929 int * _arg2;
2930 int temp0;
2d091820 2931 PyObject * _argo0 = 0;
107e4716 2932 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2933
2934 self = self;
2935{
2936 _arg1 = &temp;
2937}
2938{
2939 _arg2 = &temp0;
2940}
107e4716 2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIScreen",_kwnames,&_argo0))
d24a34bb 2942 return NULL;
2d091820
RD
2943 if (_argo0) {
2944 if (_argo0 == Py_None) { _arg0 = NULL; }
2945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2947 return NULL;
2948 }
2949 }
2950{
2951 wxPy_BEGIN_ALLOW_THREADS;
2952 wxPrintout_GetPPIScreen(_arg0,_arg1,_arg2);
2953
2954 wxPy_END_ALLOW_THREADS;
2955} Py_INCREF(Py_None);
2956 _resultobj = Py_None;
2957{
2958 PyObject *o;
2959 o = PyInt_FromLong((long) (*_arg1));
2960 _resultobj = t_output_helper(_resultobj, o);
2961}
2962{
2963 PyObject *o;
2964 o = PyInt_FromLong((long) (*_arg2));
2965 _resultobj = t_output_helper(_resultobj, o);
2966}
2967 return _resultobj;
2968}
2969
2970#define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
107e4716 2971static PyObject *_wrap_wxPrintout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2972 PyObject * _resultobj;
2973 bool _result;
2974 wxPyPrintout * _arg0;
2d091820 2975 PyObject * _argo0 = 0;
107e4716 2976 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
2977
2978 self = self;
107e4716 2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_IsPreview",_kwnames,&_argo0))
d24a34bb 2980 return NULL;
2d091820
RD
2981 if (_argo0) {
2982 if (_argo0 == Py_None) { _arg0 = NULL; }
2983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
2984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2985 return NULL;
2986 }
2987 }
2988{
2989 wxPy_BEGIN_ALLOW_THREADS;
2990 _result = (bool )wxPrintout_IsPreview(_arg0);
2991
2992 wxPy_END_ALLOW_THREADS;
2993} _resultobj = Py_BuildValue("i",_result);
2994 return _resultobj;
2995}
2996
2997#define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
107e4716 2998static PyObject *_wrap_wxPrintout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
2999 PyObject * _resultobj;
3000 bool _result;
3001 wxPyPrintout * _arg0;
3002 int _arg1;
3003 int _arg2;
2d091820 3004 PyObject * _argo0 = 0;
107e4716 3005 char *_kwnames[] = { "self","startPage","endPage", NULL };
d24a34bb
RD
3006
3007 self = self;
107e4716 3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPrintout_base_OnBeginDocument",_kwnames,&_argo0,&_arg1,&_arg2))
d24a34bb 3009 return NULL;
2d091820
RD
3010 if (_argo0) {
3011 if (_argo0 == Py_None) { _arg0 = NULL; }
3012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3014 return NULL;
3015 }
3016 }
3017{
3018 wxPy_BEGIN_ALLOW_THREADS;
3019 _result = (bool )wxPrintout_base_OnBeginDocument(_arg0,_arg1,_arg2);
3020
3021 wxPy_END_ALLOW_THREADS;
3022} _resultobj = Py_BuildValue("i",_result);
3023 return _resultobj;
3024}
3025
3026#define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
107e4716 3027static PyObject *_wrap_wxPrintout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3028 PyObject * _resultobj;
3029 wxPyPrintout * _arg0;
2d091820 3030 PyObject * _argo0 = 0;
107e4716 3031 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3032
3033 self = self;
107e4716 3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndDocument",_kwnames,&_argo0))
d24a34bb 3035 return NULL;
2d091820
RD
3036 if (_argo0) {
3037 if (_argo0 == Py_None) { _arg0 = NULL; }
3038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3040 return NULL;
3041 }
3042 }
3043{
3044 wxPy_BEGIN_ALLOW_THREADS;
3045 wxPrintout_base_OnEndDocument(_arg0);
3046
3047 wxPy_END_ALLOW_THREADS;
3048} Py_INCREF(Py_None);
3049 _resultobj = Py_None;
3050 return _resultobj;
3051}
3052
3053#define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
107e4716 3054static PyObject *_wrap_wxPrintout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3055 PyObject * _resultobj;
3056 wxPyPrintout * _arg0;
2d091820 3057 PyObject * _argo0 = 0;
107e4716 3058 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3059
3060 self = self;
107e4716 3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnBeginPrinting",_kwnames,&_argo0))
d24a34bb 3062 return NULL;
2d091820
RD
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3067 return NULL;
3068 }
3069 }
3070{
3071 wxPy_BEGIN_ALLOW_THREADS;
3072 wxPrintout_base_OnBeginPrinting(_arg0);
3073
3074 wxPy_END_ALLOW_THREADS;
3075} Py_INCREF(Py_None);
3076 _resultobj = Py_None;
3077 return _resultobj;
3078}
3079
3080#define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
107e4716 3081static PyObject *_wrap_wxPrintout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3082 PyObject * _resultobj;
3083 wxPyPrintout * _arg0;
2d091820 3084 PyObject * _argo0 = 0;
107e4716 3085 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3086
3087 self = self;
107e4716 3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndPrinting",_kwnames,&_argo0))
d24a34bb 3089 return NULL;
2d091820
RD
3090 if (_argo0) {
3091 if (_argo0 == Py_None) { _arg0 = NULL; }
3092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3094 return NULL;
3095 }
3096 }
3097{
3098 wxPy_BEGIN_ALLOW_THREADS;
3099 wxPrintout_base_OnEndPrinting(_arg0);
3100
3101 wxPy_END_ALLOW_THREADS;
3102} Py_INCREF(Py_None);
3103 _resultobj = Py_None;
3104 return _resultobj;
3105}
3106
3107#define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
107e4716 3108static PyObject *_wrap_wxPrintout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3109 PyObject * _resultobj;
3110 wxPyPrintout * _arg0;
2d091820 3111 PyObject * _argo0 = 0;
107e4716 3112 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3113
3114 self = self;
107e4716 3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnPreparePrinting",_kwnames,&_argo0))
d24a34bb 3116 return NULL;
2d091820
RD
3117 if (_argo0) {
3118 if (_argo0 == Py_None) { _arg0 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3121 return NULL;
3122 }
3123 }
3124{
3125 wxPy_BEGIN_ALLOW_THREADS;
3126 wxPrintout_base_OnPreparePrinting(_arg0);
3127
3128 wxPy_END_ALLOW_THREADS;
3129} Py_INCREF(Py_None);
3130 _resultobj = Py_None;
3131 return _resultobj;
3132}
3133
3134#define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 3135static PyObject *_wrap_wxPrintout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3136 PyObject * _resultobj;
3137 wxPyPrintout * _arg0;
3138 int * _arg1;
3139 int temp;
3140 int * _arg2;
3141 int temp0;
3142 int * _arg3;
3143 int temp1;
3144 int * _arg4;
3145 int temp2;
2d091820 3146 PyObject * _argo0 = 0;
107e4716 3147 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3148
3149 self = self;
3150{
3151 _arg1 = &temp;
3152}
3153{
3154 _arg2 = &temp0;
3155}
3156{
3157 _arg3 = &temp1;
3158}
3159{
3160 _arg4 = &temp2;
3161}
107e4716 3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_GetPageInfo",_kwnames,&_argo0))
d24a34bb 3163 return NULL;
2d091820
RD
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3168 return NULL;
3169 }
3170 }
3171{
3172 wxPy_BEGIN_ALLOW_THREADS;
3173 wxPrintout_base_GetPageInfo(_arg0,_arg1,_arg2,_arg3,_arg4);
3174
3175 wxPy_END_ALLOW_THREADS;
3176} Py_INCREF(Py_None);
3177 _resultobj = Py_None;
3178{
3179 PyObject *o;
3180 o = PyInt_FromLong((long) (*_arg1));
3181 _resultobj = t_output_helper(_resultobj, o);
3182}
3183{
3184 PyObject *o;
3185 o = PyInt_FromLong((long) (*_arg2));
3186 _resultobj = t_output_helper(_resultobj, o);
3187}
3188{
3189 PyObject *o;
3190 o = PyInt_FromLong((long) (*_arg3));
3191 _resultobj = t_output_helper(_resultobj, o);
3192}
3193{
3194 PyObject *o;
3195 o = PyInt_FromLong((long) (*_arg4));
3196 _resultobj = t_output_helper(_resultobj, o);
3197}
3198 return _resultobj;
3199}
3200
3201#define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
107e4716 3202static PyObject *_wrap_wxPrintout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3203 PyObject * _resultobj;
3204 bool _result;
3205 wxPyPrintout * _arg0;
3206 int _arg1;
2d091820 3207 PyObject * _argo0 = 0;
107e4716 3208 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
3209
3210 self = self;
107e4716 3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintout_base_HasPage",_kwnames,&_argo0,&_arg1))
d24a34bb 3212 return NULL;
2d091820
RD
3213 if (_argo0) {
3214 if (_argo0 == Py_None) { _arg0 = NULL; }
3215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3217 return NULL;
3218 }
3219 }
3220{
3221 wxPy_BEGIN_ALLOW_THREADS;
3222 _result = (bool )wxPrintout_base_HasPage(_arg0,_arg1);
3223
3224 wxPy_END_ALLOW_THREADS;
3225} _resultobj = Py_BuildValue("i",_result);
3226 return _resultobj;
3227}
3228
3229#define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
107e4716 3230static PyObject *_wrap_new_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3231 PyObject * _resultobj;
3232 wxPrinter * _result;
2d091820
RD
3233 wxPrintDialogData * _arg0 = (wxPrintDialogData *) NULL;
3234 PyObject * _argo0 = 0;
107e4716 3235 char *_kwnames[] = { "data", NULL };
d24a34bb
RD
3236 char _ptemp[128];
3237
3238 self = self;
107e4716 3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrinter",_kwnames,&_argo0))
d24a34bb 3240 return NULL;
2d091820
RD
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
d24a34bb
RD
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3245 return NULL;
3246 }
3247 }
3248{
3249 wxPy_BEGIN_ALLOW_THREADS;
3250 _result = (wxPrinter *)new_wxPrinter(_arg0);
3251
3252 wxPy_END_ALLOW_THREADS;
2d091820
RD
3253} if (_result) {
3254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinter_p");
3255 _resultobj = Py_BuildValue("s",_ptemp);
3256 } else {
3257 Py_INCREF(Py_None);
3258 _resultobj = Py_None;
3259 }
d24a34bb
RD
3260 return _resultobj;
3261}
3262
3263#define delete_wxPrinter(_swigobj) (delete _swigobj)
107e4716 3264static PyObject *_wrap_delete_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3265 PyObject * _resultobj;
3266 wxPrinter * _arg0;
2d091820 3267 PyObject * _argo0 = 0;
107e4716 3268 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3269
3270 self = self;
107e4716 3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrinter",_kwnames,&_argo0))
d24a34bb 3272 return NULL;
2d091820
RD
3273 if (_argo0) {
3274 if (_argo0 == Py_None) { _arg0 = NULL; }
3275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3277 return NULL;
3278 }
3279 }
3280{
3281 wxPy_BEGIN_ALLOW_THREADS;
3282 delete_wxPrinter(_arg0);
3283
3284 wxPy_END_ALLOW_THREADS;
3285} Py_INCREF(Py_None);
3286 _resultobj = Py_None;
3287 return _resultobj;
3288}
3289
3290#define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
107e4716 3291static PyObject *_wrap_wxPrinter_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3292 PyObject * _resultobj;
3293 wxPrinter * _arg0;
3294 wxWindow * _arg1;
3295 wxPyPrintout * _arg2;
2d091820
RD
3296 PyObject * _argo0 = 0;
3297 PyObject * _argo1 = 0;
3298 PyObject * _argo2 = 0;
107e4716 3299 char *_kwnames[] = { "self","parent","printout", NULL };
d24a34bb
RD
3300
3301 self = self;
107e4716 3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrinter_CreateAbortWindow",_kwnames,&_argo0,&_argo1,&_argo2))
d24a34bb 3303 return NULL;
2d091820
RD
3304 if (_argo0) {
3305 if (_argo0 == Py_None) { _arg0 = NULL; }
3306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3308 return NULL;
3309 }
3310 }
2d091820
RD
3311 if (_argo1) {
3312 if (_argo1 == Py_None) { _arg1 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3315 return NULL;
3316 }
3317 }
2d091820
RD
3318 if (_argo2) {
3319 if (_argo2 == Py_None) { _arg2 = NULL; }
3320 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
d24a34bb
RD
3321 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3322 return NULL;
3323 }
3324 }
3325{
3326 wxPy_BEGIN_ALLOW_THREADS;
3327 wxPrinter_CreateAbortWindow(_arg0,_arg1,_arg2);
3328
3329 wxPy_END_ALLOW_THREADS;
3330} Py_INCREF(Py_None);
3331 _resultobj = Py_None;
3332 return _resultobj;
3333}
3334
3335#define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
107e4716 3336static PyObject *_wrap_wxPrinter_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3337 PyObject * _resultobj;
3338 wxPrintDialogData * _result;
3339 wxPrinter * _arg0;
2d091820 3340 PyObject * _argo0 = 0;
107e4716 3341 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3342 char _ptemp[128];
3343
3344 self = self;
107e4716 3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetPrintDialogData",_kwnames,&_argo0))
d24a34bb 3346 return NULL;
2d091820
RD
3347 if (_argo0) {
3348 if (_argo0 == Py_None) { _arg0 = NULL; }
3349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3351 return NULL;
3352 }
3353 }
3354{
3355 wxPy_BEGIN_ALLOW_THREADS;
3356 wxPrintDialogData & _result_ref = wxPrinter_GetPrintDialogData(_arg0);
3357 _result = (wxPrintDialogData *) &_result_ref;
3358
3359 wxPy_END_ALLOW_THREADS;
2d091820
RD
3360} if (_result) {
3361 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
3362 _resultobj = Py_BuildValue("s",_ptemp);
3363 } else {
3364 Py_INCREF(Py_None);
3365 _resultobj = Py_None;
3366 }
d24a34bb
RD
3367 return _resultobj;
3368}
3369
3370#define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
107e4716 3371static PyObject *_wrap_wxPrinter_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3372 PyObject * _resultobj;
3373 bool _result;
3374 wxPrinter * _arg0;
3375 wxWindow * _arg1;
3376 wxPyPrintout * _arg2;
2d091820
RD
3377 int _arg3 = (int ) TRUE;
3378 PyObject * _argo0 = 0;
3379 PyObject * _argo1 = 0;
3380 PyObject * _argo2 = 0;
107e4716 3381 char *_kwnames[] = { "self","parent","printout","prompt", NULL };
d24a34bb
RD
3382
3383 self = self;
107e4716 3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPrinter_Print",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
d24a34bb 3385 return NULL;
2d091820
RD
3386 if (_argo0) {
3387 if (_argo0 == Py_None) { _arg0 = NULL; }
3388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3390 return NULL;
3391 }
3392 }
2d091820
RD
3393 if (_argo1) {
3394 if (_argo1 == Py_None) { _arg1 = NULL; }
3395 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3396 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3397 return NULL;
3398 }
3399 }
2d091820
RD
3400 if (_argo2) {
3401 if (_argo2 == Py_None) { _arg2 = NULL; }
3402 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
d24a34bb
RD
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3404 return NULL;
3405 }
3406 }
3407{
3408 wxPy_BEGIN_ALLOW_THREADS;
3409 _result = (bool )wxPrinter_Print(_arg0,_arg1,_arg2,_arg3);
3410
3411 wxPy_END_ALLOW_THREADS;
3412} _resultobj = Py_BuildValue("i",_result);
3413 return _resultobj;
3414}
3415
3416#define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
107e4716 3417static PyObject *_wrap_wxPrinter_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3418 PyObject * _resultobj;
3419 wxDC * _result;
3420 wxPrinter * _arg0;
3421 wxWindow * _arg1;
2d091820
RD
3422 PyObject * _argo0 = 0;
3423 PyObject * _argo1 = 0;
107e4716 3424 char *_kwnames[] = { "self","parent", NULL };
d24a34bb
RD
3425 char _ptemp[128];
3426
3427 self = self;
107e4716 3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_PrintDialog",_kwnames,&_argo0,&_argo1))
d24a34bb 3429 return NULL;
2d091820
RD
3430 if (_argo0) {
3431 if (_argo0 == Py_None) { _arg0 = NULL; }
3432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3434 return NULL;
3435 }
3436 }
2d091820
RD
3437 if (_argo1) {
3438 if (_argo1 == Py_None) { _arg1 = NULL; }
3439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3441 return NULL;
3442 }
3443 }
3444{
3445 wxPy_BEGIN_ALLOW_THREADS;
3446 _result = (wxDC *)wxPrinter_PrintDialog(_arg0,_arg1);
3447
3448 wxPy_END_ALLOW_THREADS;
2d091820
RD
3449} if (_result) {
3450 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
3451 _resultobj = Py_BuildValue("s",_ptemp);
3452 } else {
3453 Py_INCREF(Py_None);
3454 _resultobj = Py_None;
3455 }
d24a34bb
RD
3456 return _resultobj;
3457}
3458
3459#define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
107e4716 3460static PyObject *_wrap_wxPrinter_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3461 PyObject * _resultobj;
3462 wxPrinter * _arg0;
3463 wxWindow * _arg1;
3464 wxPyPrintout * _arg2;
3465 char * _arg3;
2d091820
RD
3466 PyObject * _argo0 = 0;
3467 PyObject * _argo1 = 0;
3468 PyObject * _argo2 = 0;
107e4716 3469 char *_kwnames[] = { "self","parent","printout","message", NULL };
d24a34bb
RD
3470
3471 self = self;
107e4716 3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOs:wxPrinter_ReportError",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
d24a34bb 3473 return NULL;
2d091820
RD
3474 if (_argo0) {
3475 if (_argo0 == Py_None) { _arg0 = NULL; }
3476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3478 return NULL;
3479 }
3480 }
2d091820
RD
3481 if (_argo1) {
3482 if (_argo1 == Py_None) { _arg1 = NULL; }
3483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3485 return NULL;
3486 }
3487 }
2d091820
RD
3488 if (_argo2) {
3489 if (_argo2 == Py_None) { _arg2 = NULL; }
3490 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
d24a34bb
RD
3491 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3492 return NULL;
3493 }
3494 }
3495{
3496 wxPy_BEGIN_ALLOW_THREADS;
3497 wxPrinter_ReportError(_arg0,_arg1,_arg2,_arg3);
3498
3499 wxPy_END_ALLOW_THREADS;
3500} Py_INCREF(Py_None);
3501 _resultobj = Py_None;
3502 return _resultobj;
3503}
3504
3505#define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
107e4716 3506static PyObject *_wrap_wxPrinter_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3507 PyObject * _resultobj;
3508 bool _result;
3509 wxPrinter * _arg0;
3510 wxWindow * _arg1;
2d091820
RD
3511 PyObject * _argo0 = 0;
3512 PyObject * _argo1 = 0;
107e4716 3513 char *_kwnames[] = { "self","parent", NULL };
d24a34bb
RD
3514
3515 self = self;
107e4716 3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_Setup",_kwnames,&_argo0,&_argo1))
d24a34bb 3517 return NULL;
2d091820
RD
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
d24a34bb
RD
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3522 return NULL;
3523 }
3524 }
2d091820
RD
3525 if (_argo1) {
3526 if (_argo1 == Py_None) { _arg1 = NULL; }
3527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3529 return NULL;
3530 }
3531 }
3532{
3533 wxPy_BEGIN_ALLOW_THREADS;
3534 _result = (bool )wxPrinter_Setup(_arg0,_arg1);
3535
3536 wxPy_END_ALLOW_THREADS;
3537} _resultobj = Py_BuildValue("i",_result);
3538 return _resultobj;
3539}
3540
3541#define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
107e4716 3542static PyObject *_wrap_new_wxPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3543 PyObject * _resultobj;
3544 wxPrintPreview * _result;
3545 wxPyPrintout * _arg0;
3546 wxPyPrintout * _arg1;
2d091820
RD
3547 wxPrintData * _arg2 = (wxPrintData *) NULL;
3548 PyObject * _argo0 = 0;
3549 PyObject * _argo1 = 0;
3550 PyObject * _argo2 = 0;
107e4716 3551 char *_kwnames[] = { "printout","printoutForPrinting","data", NULL };
d24a34bb
RD
3552 char _ptemp[128];
3553
3554 self = self;
107e4716 3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2))
d24a34bb 3556 return NULL;
2d091820
RD
3557 if (_argo0) {
3558 if (_argo0 == Py_None) { _arg0 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
d24a34bb
RD
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3561 return NULL;
3562 }
3563 }
2d091820
RD
3564 if (_argo1) {
3565 if (_argo1 == Py_None) { _arg1 = NULL; }
3566 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
d24a34bb
RD
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3568 return NULL;
3569 }
3570 }
2d091820
RD
3571 if (_argo2) {
3572 if (_argo2 == Py_None) { _arg2 = NULL; }
3573 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) {
d24a34bb
RD
3574 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3575 return NULL;
3576 }
3577 }
3578{
3579 wxPy_BEGIN_ALLOW_THREADS;
3580 _result = (wxPrintPreview *)new_wxPrintPreview(_arg0,_arg1,_arg2);
3581
3582 wxPy_END_ALLOW_THREADS;
2d091820
RD
3583} if (_result) {
3584 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p");
3585 _resultobj = Py_BuildValue("s",_ptemp);
3586 } else {
3587 Py_INCREF(Py_None);
3588 _resultobj = Py_None;
3589 }
d24a34bb
RD
3590 return _resultobj;
3591}
3592
3593#define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
107e4716 3594static PyObject *_wrap_wxPrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3595 PyObject * _resultobj;
3596 wxWindow * _result;
3597 wxPrintPreview * _arg0;
2d091820 3598 PyObject * _argo0 = 0;
107e4716 3599 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3600 char _ptemp[128];
3601
3602 self = self;
107e4716 3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCanvas",_kwnames,&_argo0))
d24a34bb 3604 return NULL;
2d091820
RD
3605 if (_argo0) {
3606 if (_argo0 == Py_None) { _arg0 = NULL; }
3607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3609 return NULL;
3610 }
3611 }
3612{
3613 wxPy_BEGIN_ALLOW_THREADS;
3614 _result = (wxWindow *)wxPrintPreview_GetCanvas(_arg0);
3615
3616 wxPy_END_ALLOW_THREADS;
2d091820
RD
3617} if (_result) {
3618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3619 _resultobj = Py_BuildValue("s",_ptemp);
3620 } else {
3621 Py_INCREF(Py_None);
3622 _resultobj = Py_None;
3623 }
d24a34bb
RD
3624 return _resultobj;
3625}
3626
3627#define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
107e4716 3628static PyObject *_wrap_wxPrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3629 PyObject * _resultobj;
3630 int _result;
3631 wxPrintPreview * _arg0;
2d091820 3632 PyObject * _argo0 = 0;
107e4716 3633 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3634
3635 self = self;
107e4716 3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCurrentPage",_kwnames,&_argo0))
d24a34bb 3637 return NULL;
2d091820
RD
3638 if (_argo0) {
3639 if (_argo0 == Py_None) { _arg0 = NULL; }
3640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3642 return NULL;
3643 }
3644 }
3645{
3646 wxPy_BEGIN_ALLOW_THREADS;
3647 _result = (int )wxPrintPreview_GetCurrentPage(_arg0);
3648
3649 wxPy_END_ALLOW_THREADS;
3650} _resultobj = Py_BuildValue("i",_result);
3651 return _resultobj;
3652}
3653
3654#define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
107e4716 3655static PyObject *_wrap_wxPrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3656 PyObject * _resultobj;
3657 wxFrame * _result;
3658 wxPrintPreview * _arg0;
2d091820 3659 PyObject * _argo0 = 0;
107e4716 3660 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3661 char _ptemp[128];
3662
3663 self = self;
107e4716 3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetFrame",_kwnames,&_argo0))
d24a34bb 3665 return NULL;
2d091820
RD
3666 if (_argo0) {
3667 if (_argo0 == Py_None) { _arg0 = NULL; }
3668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3670 return NULL;
3671 }
3672 }
3673{
3674 wxPy_BEGIN_ALLOW_THREADS;
3675 _result = (wxFrame *)wxPrintPreview_GetFrame(_arg0);
3676
3677 wxPy_END_ALLOW_THREADS;
2d091820
RD
3678} if (_result) {
3679 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
3680 _resultobj = Py_BuildValue("s",_ptemp);
3681 } else {
3682 Py_INCREF(Py_None);
3683 _resultobj = Py_None;
3684 }
d24a34bb
RD
3685 return _resultobj;
3686}
3687
3688#define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
107e4716 3689static PyObject *_wrap_wxPrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3690 PyObject * _resultobj;
3691 int _result;
3692 wxPrintPreview * _arg0;
2d091820 3693 PyObject * _argo0 = 0;
107e4716 3694 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3695
3696 self = self;
107e4716 3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMaxPage",_kwnames,&_argo0))
d24a34bb 3698 return NULL;
2d091820
RD
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3703 return NULL;
3704 }
3705 }
3706{
3707 wxPy_BEGIN_ALLOW_THREADS;
3708 _result = (int )wxPrintPreview_GetMaxPage(_arg0);
3709
3710 wxPy_END_ALLOW_THREADS;
3711} _resultobj = Py_BuildValue("i",_result);
3712 return _resultobj;
3713}
3714
3715#define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
107e4716 3716static PyObject *_wrap_wxPrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3717 PyObject * _resultobj;
3718 int _result;
3719 wxPrintPreview * _arg0;
2d091820 3720 PyObject * _argo0 = 0;
107e4716 3721 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3722
3723 self = self;
107e4716 3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMinPage",_kwnames,&_argo0))
d24a34bb 3725 return NULL;
2d091820
RD
3726 if (_argo0) {
3727 if (_argo0 == Py_None) { _arg0 = NULL; }
3728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3730 return NULL;
3731 }
3732 }
3733{
3734 wxPy_BEGIN_ALLOW_THREADS;
3735 _result = (int )wxPrintPreview_GetMinPage(_arg0);
3736
3737 wxPy_END_ALLOW_THREADS;
3738} _resultobj = Py_BuildValue("i",_result);
3739 return _resultobj;
3740}
3741
3742#define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
107e4716 3743static PyObject *_wrap_wxPrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3744 PyObject * _resultobj;
3745 wxPrintDialogData * _result;
3746 wxPrintPreview * _arg0;
2d091820 3747 PyObject * _argo0 = 0;
107e4716 3748 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3749 char _ptemp[128];
3750
3751 self = self;
107e4716 3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintDialogData",_kwnames,&_argo0))
d24a34bb 3753 return NULL;
2d091820
RD
3754 if (_argo0) {
3755 if (_argo0 == Py_None) { _arg0 = NULL; }
3756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3758 return NULL;
3759 }
3760 }
3761{
3762 wxPy_BEGIN_ALLOW_THREADS;
3763 wxPrintDialogData & _result_ref = wxPrintPreview_GetPrintDialogData(_arg0);
3764 _result = (wxPrintDialogData *) &_result_ref;
3765
3766 wxPy_END_ALLOW_THREADS;
2d091820
RD
3767} if (_result) {
3768 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
3769 _resultobj = Py_BuildValue("s",_ptemp);
3770 } else {
3771 Py_INCREF(Py_None);
3772 _resultobj = Py_None;
3773 }
d24a34bb
RD
3774 return _resultobj;
3775}
3776
3777#define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
107e4716 3778static PyObject *_wrap_wxPrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3779 PyObject * _resultobj;
3780 wxPyPrintout * _result;
3781 wxPrintPreview * _arg0;
2d091820 3782 PyObject * _argo0 = 0;
107e4716 3783 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3784 char _ptemp[128];
3785
3786 self = self;
107e4716 3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintout",_kwnames,&_argo0))
d24a34bb 3788 return NULL;
2d091820
RD
3789 if (_argo0) {
3790 if (_argo0 == Py_None) { _arg0 = NULL; }
3791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3793 return NULL;
3794 }
3795 }
3796{
3797 wxPy_BEGIN_ALLOW_THREADS;
3798 _result = (wxPyPrintout *)wxPrintPreview_GetPrintout(_arg0);
3799
3800 wxPy_END_ALLOW_THREADS;
2d091820
RD
3801} if (_result) {
3802 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
3803 _resultobj = Py_BuildValue("s",_ptemp);
3804 } else {
3805 Py_INCREF(Py_None);
3806 _resultobj = Py_None;
3807 }
d24a34bb
RD
3808 return _resultobj;
3809}
3810
3811#define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
107e4716 3812static PyObject *_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3813 PyObject * _resultobj;
3814 wxPyPrintout * _result;
3815 wxPrintPreview * _arg0;
2d091820 3816 PyObject * _argo0 = 0;
107e4716 3817 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3818 char _ptemp[128];
3819
3820 self = self;
107e4716 3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames,&_argo0))
d24a34bb 3822 return NULL;
2d091820
RD
3823 if (_argo0) {
3824 if (_argo0 == Py_None) { _arg0 = NULL; }
3825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3827 return NULL;
3828 }
3829 }
3830{
3831 wxPy_BEGIN_ALLOW_THREADS;
3832 _result = (wxPyPrintout *)wxPrintPreview_GetPrintoutForPrinting(_arg0);
3833
3834 wxPy_END_ALLOW_THREADS;
2d091820
RD
3835} if (_result) {
3836 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
3837 _resultobj = Py_BuildValue("s",_ptemp);
3838 } else {
3839 Py_INCREF(Py_None);
3840 _resultobj = Py_None;
3841 }
d24a34bb
RD
3842 return _resultobj;
3843}
3844
3845#define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
107e4716 3846static PyObject *_wrap_wxPrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3847 PyObject * _resultobj;
3848 int _result;
3849 wxPrintPreview * _arg0;
2d091820 3850 PyObject * _argo0 = 0;
107e4716 3851 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3852
3853 self = self;
107e4716 3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetZoom",_kwnames,&_argo0))
d24a34bb 3855 return NULL;
2d091820
RD
3856 if (_argo0) {
3857 if (_argo0 == Py_None) { _arg0 = NULL; }
3858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3860 return NULL;
3861 }
3862 }
3863{
3864 wxPy_BEGIN_ALLOW_THREADS;
3865 _result = (int )wxPrintPreview_GetZoom(_arg0);
3866
3867 wxPy_END_ALLOW_THREADS;
3868} _resultobj = Py_BuildValue("i",_result);
3869 return _resultobj;
3870}
3871
3872#define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
107e4716 3873static PyObject *_wrap_wxPrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3874 PyObject * _resultobj;
3875 bool _result;
3876 wxPrintPreview * _arg0;
2d091820 3877 PyObject * _argo0 = 0;
107e4716 3878 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
3879
3880 self = self;
107e4716 3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_Ok",_kwnames,&_argo0))
d24a34bb 3882 return NULL;
2d091820
RD
3883 if (_argo0) {
3884 if (_argo0 == Py_None) { _arg0 = NULL; }
3885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3887 return NULL;
3888 }
3889 }
3890{
3891 wxPy_BEGIN_ALLOW_THREADS;
3892 _result = (bool )wxPrintPreview_Ok(_arg0);
3893
3894 wxPy_END_ALLOW_THREADS;
3895} _resultobj = Py_BuildValue("i",_result);
3896 return _resultobj;
3897}
3898
3899#define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
107e4716 3900static PyObject *_wrap_wxPrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3901 PyObject * _resultobj;
3902 bool _result;
3903 wxPrintPreview * _arg0;
3904 bool _arg1;
2d091820 3905 PyObject * _argo0 = 0;
d24a34bb 3906 int tempbool1;
107e4716 3907 char *_kwnames[] = { "self","prompt", NULL };
d24a34bb
RD
3908
3909 self = self;
107e4716 3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_Print",_kwnames,&_argo0,&tempbool1))
d24a34bb 3911 return NULL;
2d091820
RD
3912 if (_argo0) {
3913 if (_argo0 == Py_None) { _arg0 = NULL; }
3914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3916 return NULL;
3917 }
3918 }
3919 _arg1 = (bool ) tempbool1;
3920{
3921 wxPy_BEGIN_ALLOW_THREADS;
3922 _result = (bool )wxPrintPreview_Print(_arg0,_arg1);
3923
3924 wxPy_END_ALLOW_THREADS;
3925} _resultobj = Py_BuildValue("i",_result);
3926 return _resultobj;
3927}
3928
3929#define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
107e4716 3930static PyObject *_wrap_wxPrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3931 PyObject * _resultobj;
3932 wxPrintPreview * _arg0;
3933 wxWindow * _arg1;
2d091820
RD
3934 PyObject * _argo0 = 0;
3935 PyObject * _argo1 = 0;
107e4716 3936 char *_kwnames[] = { "self","window", NULL };
d24a34bb
RD
3937
3938 self = self;
107e4716 3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetCanvas",_kwnames,&_argo0,&_argo1))
d24a34bb 3940 return NULL;
2d091820
RD
3941 if (_argo0) {
3942 if (_argo0 == Py_None) { _arg0 = NULL; }
3943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3945 return NULL;
3946 }
3947 }
2d091820
RD
3948 if (_argo1) {
3949 if (_argo1 == Py_None) { _arg1 = NULL; }
3950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
3951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3952 return NULL;
3953 }
3954 }
3955{
3956 wxPy_BEGIN_ALLOW_THREADS;
3957 wxPrintPreview_SetCanvas(_arg0,_arg1);
3958
3959 wxPy_END_ALLOW_THREADS;
3960} Py_INCREF(Py_None);
3961 _resultobj = Py_None;
3962 return _resultobj;
3963}
3964
3965#define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
107e4716 3966static PyObject *_wrap_wxPrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3967 PyObject * _resultobj;
3968 wxPrintPreview * _arg0;
3969 int _arg1;
2d091820 3970 PyObject * _argo0 = 0;
107e4716 3971 char *_kwnames[] = { "self","pageNum", NULL };
d24a34bb
RD
3972
3973 self = self;
107e4716 3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetCurrentPage",_kwnames,&_argo0,&_arg1))
d24a34bb 3975 return NULL;
2d091820
RD
3976 if (_argo0) {
3977 if (_argo0 == Py_None) { _arg0 = NULL; }
3978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
3979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3980 return NULL;
3981 }
3982 }
3983{
3984 wxPy_BEGIN_ALLOW_THREADS;
3985 wxPrintPreview_SetCurrentPage(_arg0,_arg1);
3986
3987 wxPy_END_ALLOW_THREADS;
3988} Py_INCREF(Py_None);
3989 _resultobj = Py_None;
3990 return _resultobj;
3991}
3992
3993#define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
107e4716 3994static PyObject *_wrap_wxPrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3995 PyObject * _resultobj;
3996 wxPrintPreview * _arg0;
3997 wxFrame * _arg1;
2d091820
RD
3998 PyObject * _argo0 = 0;
3999 PyObject * _argo1 = 0;
107e4716 4000 char *_kwnames[] = { "self","frame", NULL };
d24a34bb
RD
4001
4002 self = self;
107e4716 4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetFrame",_kwnames,&_argo0,&_argo1))
d24a34bb 4004 return NULL;
2d091820
RD
4005 if (_argo0) {
4006 if (_argo0 == Py_None) { _arg0 = NULL; }
4007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
4008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4009 return NULL;
4010 }
4011 }
2d091820
RD
4012 if (_argo1) {
4013 if (_argo1 == Py_None) { _arg1 = NULL; }
4014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
d24a34bb
RD
4015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4016 return NULL;
4017 }
4018 }
4019{
4020 wxPy_BEGIN_ALLOW_THREADS;
4021 wxPrintPreview_SetFrame(_arg0,_arg1);
4022
4023 wxPy_END_ALLOW_THREADS;
4024} Py_INCREF(Py_None);
4025 _resultobj = Py_None;
4026 return _resultobj;
4027}
4028
4029#define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
107e4716 4030static PyObject *_wrap_wxPrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4031 PyObject * _resultobj;
4032 wxPrintPreview * _arg0;
4033 wxPyPrintout * _arg1;
2d091820
RD
4034 PyObject * _argo0 = 0;
4035 PyObject * _argo1 = 0;
107e4716 4036 char *_kwnames[] = { "self","printout", NULL };
d24a34bb
RD
4037
4038 self = self;
107e4716 4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetPrintout",_kwnames,&_argo0,&_argo1))
d24a34bb 4040 return NULL;
2d091820
RD
4041 if (_argo0) {
4042 if (_argo0 == Py_None) { _arg0 = NULL; }
4043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
4044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4045 return NULL;
4046 }
4047 }
2d091820
RD
4048 if (_argo1) {
4049 if (_argo1 == Py_None) { _arg1 = NULL; }
4050 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
d24a34bb
RD
4051 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4052 return NULL;
4053 }
4054 }
4055{
4056 wxPy_BEGIN_ALLOW_THREADS;
4057 wxPrintPreview_SetPrintout(_arg0,_arg1);
4058
4059 wxPy_END_ALLOW_THREADS;
4060} Py_INCREF(Py_None);
4061 _resultobj = Py_None;
4062 return _resultobj;
4063}
4064
4065#define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
107e4716 4066static PyObject *_wrap_wxPrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4067 PyObject * _resultobj;
4068 wxPrintPreview * _arg0;
4069 int _arg1;
2d091820 4070 PyObject * _argo0 = 0;
107e4716 4071 char *_kwnames[] = { "self","percent", NULL };
d24a34bb
RD
4072
4073 self = self;
107e4716 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetZoom",_kwnames,&_argo0,&_arg1))
d24a34bb 4075 return NULL;
2d091820
RD
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4080 return NULL;
4081 }
4082 }
4083{
4084 wxPy_BEGIN_ALLOW_THREADS;
4085 wxPrintPreview_SetZoom(_arg0,_arg1);
4086
4087 wxPy_END_ALLOW_THREADS;
4088} Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091}
4092
4093static void *SwigwxPreviewFrameTowxFrame(void *ptr) {
4094 wxPreviewFrame *src;
4095 wxFrame *dest;
4096 src = (wxPreviewFrame *) ptr;
4097 dest = (wxFrame *) src;
4098 return (void *) dest;
4099}
4100
4101static void *SwigwxPreviewFrameTowxWindow(void *ptr) {
4102 wxPreviewFrame *src;
4103 wxWindow *dest;
4104 src = (wxPreviewFrame *) ptr;
4105 dest = (wxWindow *) src;
4106 return (void *) dest;
4107}
4108
4109static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr) {
4110 wxPreviewFrame *src;
4111 wxEvtHandler *dest;
4112 src = (wxPreviewFrame *) ptr;
4113 dest = (wxEvtHandler *) src;
4114 return (void *) dest;
4115}
4116
4117#define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4118static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4119 PyObject * _resultobj;
4120 wxPreviewFrame * _result;
4121 wxPrintPreview * _arg0;
4122 wxFrame * _arg1;
4123 wxString * _arg2;
b68dc582
RD
4124 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4125 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
4126 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
4127 char * _arg6 = (char *) "frame";
4128 PyObject * _argo0 = 0;
4129 PyObject * _argo1 = 0;
d24a34bb 4130 PyObject * _obj2 = 0;
37f6a977
RD
4131 wxPoint temp;
4132 PyObject * _obj3 = 0;
4133 wxSize temp0;
4134 PyObject * _obj4 = 0;
107e4716 4135 char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
d24a34bb
RD
4136 char _ptemp[128];
4137
4138 self = self;
37f6a977 4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOls:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
d24a34bb 4140 return NULL;
2d091820
RD
4141 if (_argo0) {
4142 if (_argo0 == Py_None) { _arg0 = NULL; }
4143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
d24a34bb
RD
4144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4145 return NULL;
4146 }
4147 }
2d091820
RD
4148 if (_argo1) {
4149 if (_argo1 == Py_None) { _arg1 = NULL; }
4150 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
d24a34bb
RD
4151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4152 return NULL;
4153 }
4154 }
4155{
2cd2fac8
RD
4156#if PYTHON_API_VERSION >= 1009
4157 char* tmpPtr; int tmpSize;
4158 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4159 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4160 return NULL;
4161 }
4162 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4163 return NULL;
4164 _arg2 = new wxString(tmpPtr, tmpSize);
4165#else
d24a34bb
RD
4166 if (!PyString_Check(_obj2)) {
4167 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4168 return NULL;
4169 }
2cd2fac8
RD
4170 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4171#endif
d24a34bb 4172}
37f6a977
RD
4173 if (_obj3)
4174{
4175 _arg3 = &temp;
4176 if (! wxPoint_helper(_obj3, &_arg3))
d24a34bb 4177 return NULL;
37f6a977
RD
4178}
4179 if (_obj4)
4180{
4181 _arg4 = &temp0;
4182 if (! wxSize_helper(_obj4, &_arg4))
d24a34bb 4183 return NULL;
37f6a977 4184}
d24a34bb
RD
4185{
4186 wxPy_BEGIN_ALLOW_THREADS;
4187 _result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4188
4189 wxPy_END_ALLOW_THREADS;
2d091820
RD
4190} if (_result) {
4191 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewFrame_p");
4192 _resultobj = Py_BuildValue("s",_ptemp);
4193 } else {
4194 Py_INCREF(Py_None);
4195 _resultobj = Py_None;
4196 }
d24a34bb
RD
4197{
4198 if (_obj2)
4199 delete _arg2;
4200}
4201 return _resultobj;
4202}
4203
4204#define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
107e4716 4205static PyObject *_wrap_wxPreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4206 PyObject * _resultobj;
4207 wxPreviewFrame * _arg0;
2d091820 4208 PyObject * _argo0 = 0;
107e4716 4209 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
4210
4211 self = self;
107e4716 4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_Initialize",_kwnames,&_argo0))
d24a34bb 4213 return NULL;
2d091820
RD
4214 if (_argo0) {
4215 if (_argo0 == Py_None) { _arg0 = NULL; }
4216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
d24a34bb
RD
4217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4218 return NULL;
4219 }
4220 }
4221{
4222 wxPy_BEGIN_ALLOW_THREADS;
4223 wxPreviewFrame_Initialize(_arg0);
4224
4225 wxPy_END_ALLOW_THREADS;
4226} Py_INCREF(Py_None);
4227 _resultobj = Py_None;
4228 return _resultobj;
4229}
4230
4231static PyMethodDef printfwcMethods[] = {
107e4716
RD
4232 { "wxPreviewFrame_Initialize", (PyCFunction) _wrap_wxPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
4233 { "new_wxPreviewFrame", (PyCFunction) _wrap_new_wxPreviewFrame, METH_VARARGS | METH_KEYWORDS },
4234 { "wxPrintPreview_SetZoom", (PyCFunction) _wrap_wxPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
4235 { "wxPrintPreview_SetPrintout", (PyCFunction) _wrap_wxPrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
4236 { "wxPrintPreview_SetFrame", (PyCFunction) _wrap_wxPrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
4237 { "wxPrintPreview_SetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
4238 { "wxPrintPreview_SetCanvas", (PyCFunction) _wrap_wxPrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
4239 { "wxPrintPreview_Print", (PyCFunction) _wrap_wxPrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
4240 { "wxPrintPreview_Ok", (PyCFunction) _wrap_wxPrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
4241 { "wxPrintPreview_GetZoom", (PyCFunction) _wrap_wxPrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
4242 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_wxPrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
4243 { "wxPrintPreview_GetPrintout", (PyCFunction) _wrap_wxPrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
4244 { "wxPrintPreview_GetPrintDialogData", (PyCFunction) _wrap_wxPrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
4245 { "wxPrintPreview_GetMinPage", (PyCFunction) _wrap_wxPrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
4246 { "wxPrintPreview_GetMaxPage", (PyCFunction) _wrap_wxPrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
4247 { "wxPrintPreview_GetFrame", (PyCFunction) _wrap_wxPrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
4248 { "wxPrintPreview_GetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
4249 { "wxPrintPreview_GetCanvas", (PyCFunction) _wrap_wxPrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
4250 { "new_wxPrintPreview", (PyCFunction) _wrap_new_wxPrintPreview, METH_VARARGS | METH_KEYWORDS },
4251 { "wxPrinter_Setup", (PyCFunction) _wrap_wxPrinter_Setup, METH_VARARGS | METH_KEYWORDS },
4252 { "wxPrinter_ReportError", (PyCFunction) _wrap_wxPrinter_ReportError, METH_VARARGS | METH_KEYWORDS },
4253 { "wxPrinter_PrintDialog", (PyCFunction) _wrap_wxPrinter_PrintDialog, METH_VARARGS | METH_KEYWORDS },
4254 { "wxPrinter_Print", (PyCFunction) _wrap_wxPrinter_Print, METH_VARARGS | METH_KEYWORDS },
4255 { "wxPrinter_GetPrintDialogData", (PyCFunction) _wrap_wxPrinter_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
4256 { "wxPrinter_CreateAbortWindow", (PyCFunction) _wrap_wxPrinter_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
4257 { "delete_wxPrinter", (PyCFunction) _wrap_delete_wxPrinter, METH_VARARGS | METH_KEYWORDS },
4258 { "new_wxPrinter", (PyCFunction) _wrap_new_wxPrinter, METH_VARARGS | METH_KEYWORDS },
4259 { "wxPrintout_base_HasPage", (PyCFunction) _wrap_wxPrintout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
4260 { "wxPrintout_base_GetPageInfo", (PyCFunction) _wrap_wxPrintout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
4261 { "wxPrintout_base_OnPreparePrinting", (PyCFunction) _wrap_wxPrintout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
4262 { "wxPrintout_base_OnEndPrinting", (PyCFunction) _wrap_wxPrintout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
4263 { "wxPrintout_base_OnBeginPrinting", (PyCFunction) _wrap_wxPrintout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
4264 { "wxPrintout_base_OnEndDocument", (PyCFunction) _wrap_wxPrintout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
4265 { "wxPrintout_base_OnBeginDocument", (PyCFunction) _wrap_wxPrintout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
4266 { "wxPrintout_IsPreview", (PyCFunction) _wrap_wxPrintout_IsPreview, METH_VARARGS | METH_KEYWORDS },
4267 { "wxPrintout_GetPPIScreen", (PyCFunction) _wrap_wxPrintout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
4268 { "wxPrintout_GetPPIPrinter", (PyCFunction) _wrap_wxPrintout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
4269 { "wxPrintout_GetPageSizePixels", (PyCFunction) _wrap_wxPrintout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
4270 { "wxPrintout_GetPageSizeMM", (PyCFunction) _wrap_wxPrintout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
4271 { "wxPrintout_GetDC", (PyCFunction) _wrap_wxPrintout_GetDC, METH_VARARGS | METH_KEYWORDS },
4272 { "wxPrintout_Destroy", (PyCFunction) _wrap_wxPrintout_Destroy, METH_VARARGS | METH_KEYWORDS },
4273 { "wxPrintout__setSelf", (PyCFunction) _wrap_wxPrintout__setSelf, METH_VARARGS | METH_KEYWORDS },
4274 { "new_wxPrintout", (PyCFunction) _wrap_new_wxPrintout, METH_VARARGS | METH_KEYWORDS },
4275 { "wxPrintDialog_ShowModal", (PyCFunction) _wrap_wxPrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
4276 { "wxPrintDialog_GetPrintDC", (PyCFunction) _wrap_wxPrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
4277 { "wxPrintDialog_GetPrintDialogData", (PyCFunction) _wrap_wxPrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
4278 { "new_wxPrintDialog", (PyCFunction) _wrap_new_wxPrintDialog, METH_VARARGS | METH_KEYWORDS },
4279 { "wxPrintDialogData_SetToPage", (PyCFunction) _wrap_wxPrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
4280 { "wxPrintDialogData_SetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
4281 { "wxPrintDialogData_SetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
4282 { "wxPrintDialogData_SetPrintData", (PyCFunction) _wrap_wxPrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
4283 { "wxPrintDialogData_SetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
4284 { "wxPrintDialogData_SetMinPage", (PyCFunction) _wrap_wxPrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
4285 { "wxPrintDialogData_SetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
4286 { "wxPrintDialogData_SetFromPage", (PyCFunction) _wrap_wxPrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
4287 { "wxPrintDialogData_SetCollate", (PyCFunction) _wrap_wxPrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
4288 { "wxPrintDialogData_GetToPage", (PyCFunction) _wrap_wxPrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
4289 { "wxPrintDialogData_GetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
4290 { "wxPrintDialogData_GetPrintData", (PyCFunction) _wrap_wxPrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
4291 { "wxPrintDialogData_GetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
4292 { "wxPrintDialogData_GetMinPage", (PyCFunction) _wrap_wxPrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
4293 { "wxPrintDialogData_GetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
4294 { "wxPrintDialogData_GetFromPage", (PyCFunction) _wrap_wxPrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
4295 { "wxPrintDialogData_GetCollate", (PyCFunction) _wrap_wxPrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
4296 { "wxPrintDialogData_GetAllPages", (PyCFunction) _wrap_wxPrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
4297 { "wxPrintDialogData_EnableSelection", (PyCFunction) _wrap_wxPrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
4298 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
4299 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
4300 { "wxPrintDialogData_EnableHelp", (PyCFunction) _wrap_wxPrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
4301 { "delete_wxPrintDialogData", (PyCFunction) _wrap_delete_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
4302 { "new_wxPrintDialogData", (PyCFunction) _wrap_new_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
4303 { "wxPageSetupDialog_ShowModal", (PyCFunction) _wrap_wxPageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
4304 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_wxPageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
4305 { "new_wxPageSetupDialog", (PyCFunction) _wrap_new_wxPageSetupDialog, METH_VARARGS | METH_KEYWORDS },
4306 { "wxPageSetupDialogData_SetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
4307 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
4308 { "wxPageSetupDialogData_SetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
4309 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
4310 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
4311 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
4312 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
4313 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
4314 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
4315 { "wxPageSetupDialogData_GetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
4316 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
4317 { "wxPageSetupDialogData_GetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
4318 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
4319 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
4320 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
4321 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
4322 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
4323 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
4324 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
4325 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
4326 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
4327 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
4328 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
4329 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
4330 { "wxPageSetupDialogData_EnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
4331 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
4332 { "wxPageSetupDialogData_EnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
4333 { "wxPageSetupDialogData_EnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
4334 { "delete_wxPageSetupDialogData", (PyCFunction) _wrap_delete_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
4335 { "new_wxPageSetupDialogData", (PyCFunction) _wrap_new_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
4336 { "wxPrintData_SetQuality", (PyCFunction) _wrap_wxPrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
4337 { "wxPrintData_SetPaperSize", (PyCFunction) _wrap_wxPrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
4338 { "wxPrintData_SetPaperId", (PyCFunction) _wrap_wxPrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
4339 { "wxPrintData_SetDuplex", (PyCFunction) _wrap_wxPrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
4340 { "wxPrintData_SetColour", (PyCFunction) _wrap_wxPrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
4341 { "wxPrintData_SetPrinterName", (PyCFunction) _wrap_wxPrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
4342 { "wxPrintData_SetOrientation", (PyCFunction) _wrap_wxPrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
4343 { "wxPrintData_SetCollate", (PyCFunction) _wrap_wxPrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
4344 { "wxPrintData_SetNoCopies", (PyCFunction) _wrap_wxPrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
4345 { "wxPrintData_GetQuality", (PyCFunction) _wrap_wxPrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
4346 { "wxPrintData_GetPaperSize", (PyCFunction) _wrap_wxPrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
4347 { "wxPrintData_GetPaperId", (PyCFunction) _wrap_wxPrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
4348 { "wxPrintData_GetDuplex", (PyCFunction) _wrap_wxPrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
4349 { "wxPrintData_GetColour", (PyCFunction) _wrap_wxPrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
4350 { "wxPrintData_GetPrinterName", (PyCFunction) _wrap_wxPrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
4351 { "wxPrintData_GetOrientation", (PyCFunction) _wrap_wxPrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
4352 { "wxPrintData_GetCollate", (PyCFunction) _wrap_wxPrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
4353 { "wxPrintData_GetNoCopies", (PyCFunction) _wrap_wxPrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
4354 { "delete_wxPrintData", (PyCFunction) _wrap_delete_wxPrintData, METH_VARARGS | METH_KEYWORDS },
4355 { "new_wxPrintData", (PyCFunction) _wrap_new_wxPrintData, METH_VARARGS | METH_KEYWORDS },
d24a34bb
RD
4356 { NULL, NULL }
4357};
2d091820
RD
4358#ifdef __cplusplus
4359}
4360#endif
4361/*
4362 * This table is used by the pointer type-checker
4363 */
4364static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
4365 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4366 { "_wxEvent","_class_wxEvent",0},
4367 { "_class_wxActivateEvent","_wxActivateEvent",0},
4368 { "_signed_long","_long",0},
4369 { "_wxMenuEvent","_class_wxMenuEvent",0},
4120ef2b
RD
4370 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4371 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
37f6a977 4372 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4120ef2b 4373 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
4374 { "_wxPrintQuality","_int",0},
4375 { "_wxPrintQuality","_signed_int",0},
4376 { "_wxPrintQuality","_unsigned_int",0},
4377 { "_wxPrintQuality","_wxWindowID",0},
4378 { "_wxPrintQuality","_uint",0},
4379 { "_wxPrintQuality","_EBool",0},
4380 { "_wxPrintQuality","_size_t",0},
c368d904 4381 { "_wxPrintQuality","_time_t",0},
4120ef2b 4382 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3ca6a5f0 4383 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2d091820
RD
4384 { "_wxFontData","_class_wxFontData",0},
4385 { "_class_wxRegionIterator","_wxRegionIterator",0},
4120ef2b 4386 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2d091820
RD
4387 { "_class_wxMenuBar","_wxMenuBar",0},
4388 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
4389 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
4390 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
4391 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
4392 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
4393 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
4394 { "_class_wxEvtHandler","_wxEvtHandler",0},
4395 { "_wxPaintEvent","_class_wxPaintEvent",0},
4396 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4397 { "_wxCursor","_class_wxCursor",0},
4398 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
ab2208b5 4399 { "_class_wxToolBarBase","_wxToolBarBase",0},
2d091820
RD
4400 { "_wxMask","_class_wxMask",0},
4401 { "_class_wxColourData","_wxColourData",0},
4402 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4403 { "_wxPrinter","_class_wxPrinter",0},
4404 { "_wxPen","_class_wxPen",0},
4405 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4406 { "_byte","_unsigned_char",0},
4120ef2b 4407 { "_wxDataObject","_class_wxDataObject",0},
2d091820 4408 { "_wxStaticBox","_class_wxStaticBox",0},
4120ef2b
RD
4409 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4410 { "_wxPyDropSource","_class_wxPyDropSource",0},
2d091820
RD
4411 { "_wxChoice","_class_wxChoice",0},
4412 { "_wxSlider","_class_wxSlider",0},
4413 { "_wxPyPrintout","_class_wxPyPrintout",0},
2d091820
RD
4414 { "_long","_unsigned_long",0},
4415 { "_long","_signed_long",0},
4416 { "_wxImageList","_class_wxImageList",0},
4120ef2b 4417 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2d091820
RD
4418 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4419 { "_wxBitmapButton","_class_wxBitmapButton",0},
4420 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4421 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4120ef2b 4422 { "_class_wxClipboard","_wxClipboard",0},
2d091820
RD
4423 { "_class_wxGauge","_wxGauge",0},
4424 { "_wxDC","_class_wxDC",0},
4120ef2b 4425 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2d091820
RD
4426 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4427 { "_wxProgressDialog","_class_wxProgressDialog",0},
4428 { "_wxPrintPreview","_class_wxPrintPreview",0},
4429 { "_wxSpinEvent","_class_wxSpinEvent",0},
4120ef2b 4430 { "_size_t","_wxCoord",0},
2d091820 4431 { "_size_t","_wxPrintQuality",0},
c368d904 4432 { "_size_t","_time_t",0},
2d091820
RD
4433 { "_size_t","_unsigned_int",0},
4434 { "_size_t","_int",0},
4435 { "_size_t","_wxWindowID",0},
4436 { "_size_t","_uint",0},
4437 { "_class_wxRealPoint","_wxRealPoint",0},
167b96c2
RD
4438 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4439 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2d091820
RD
4440 { "_class_wxMenuItem","_wxMenuItem",0},
4441 { "_class_wxPaintEvent","_wxPaintEvent",0},
4442 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4443 { "_class_wxStatusBar","_wxStatusBar",0},
4444 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4445 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel},
4446 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel},
4447 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel},
4448 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel},
4449 { "_wxPanel","_class_wxPanel",0},
4450 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4451 { "_wxCheckBox","_class_wxCheckBox",0},
4452 { "_wxPyEvent","_class_wxPyEvent",0},
4453 { "_wxTextCtrl","_class_wxTextCtrl",0},
4454 { "_class_wxMask","_wxMask",0},
4120ef2b 4455 { "_wxTextDataObject","_class_wxTextDataObject",0},
2d091820
RD
4456 { "_class_wxKeyEvent","_wxKeyEvent",0},
4457 { "_wxColour","_class_wxColour",0},
4458 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog},
4459 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog},
4460 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
4461 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
4462 { "_class_wxDialog","_wxDialog",0},
4463 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4464 { "_class_wxPrinter","_wxPrinter",0},
4120ef2b 4465 { "_class_wxFileDataObject","_wxFileDataObject",0},
2d091820
RD
4466 { "_wxIdleEvent","_class_wxIdleEvent",0},
4467 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4468 { "_wxToolBar","_class_wxToolBar",0},
4120ef2b 4469 { "_class_wxDataObject","_wxDataObject",0},
2d091820
RD
4470 { "_wxStaticLine","_class_wxStaticLine",0},
4471 { "_wxBrush","_class_wxBrush",0},
4472 { "_wxMiniFrame","_class_wxMiniFrame",0},
4473 { "_class_wxPyPrintout","_wxPyPrintout",0},
4120ef2b
RD
4474 { "_wxDataFormat","_class_wxDataFormat",0},
4475 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2d091820 4476 { "_wxShowEvent","_class_wxShowEvent",0},
4120ef2b 4477 { "_uint","_wxCoord",0},
2d091820 4478 { "_uint","_wxPrintQuality",0},
c368d904 4479 { "_uint","_time_t",0},
2d091820
RD
4480 { "_uint","_size_t",0},
4481 { "_uint","_unsigned_int",0},
4482 { "_uint","_int",0},
4483 { "_uint","_wxWindowID",0},
f6bcfd97 4484 { "_wxChar","_char",0},
37f6a977 4485 { "_wxPyValidator","_class_wxPyValidator",0},
2d091820
RD
4486 { "_class_wxEvent","_wxEvent",0},
4487 { "_wxCheckListBox","_class_wxCheckListBox",0},
4488 { "_wxRect","_class_wxRect",0},
4489 { "_wxCommandEvent","_class_wxCommandEvent",0},
4490 { "_wxSizeEvent","_class_wxSizeEvent",0},
4491 { "_wxPoint","_class_wxPoint",0},
4492 { "_class_wxButton","_wxButton",0},
4493 { "_wxRadioBox","_class_wxRadioBox",0},
3ca6a5f0 4494 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2d091820 4495 { "_class_wxFontData","_wxFontData",0},
f6bcfd97 4496 { "_char","_wxChar",0},
2d091820
RD
4497 { "_wxBitmap","_class_wxBitmap",0},
4498 { "_wxPrintDialog","_class_wxPrintDialog",0},
2d091820 4499 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97 4500 { "_wxTimerEvent","_class_wxTimerEvent",0},
2d091820
RD
4501 { "_wxScrollBar","_class_wxScrollBar",0},
4502 { "_wxSpinButton","_class_wxSpinButton",0},
2d091820
RD
4503 { "_wxColourDialog","_class_wxColourDialog",0},
4504 { "_wxPrintData","_class_wxPrintData",0},
4505 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4506 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4507 { "_wxMessageDialog","_class_wxMessageDialog",0},
37f6a977 4508 { "_class_wxValidator","_wxValidator",0},
2d091820
RD
4509 { "_class_wxPyEvent","_wxPyEvent",0},
4510 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4511 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4512 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
ab2208b5 4513 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
2d091820 4514 { "_class_wxToolBar","_wxToolBar",0},
4120ef2b 4515 { "_wxDropTarget","_class_wxDropTarget",0},
2d091820
RD
4516 { "_class_wxStaticLine","_wxStaticLine",0},
4517 { "_wxScrollEvent","_class_wxScrollEvent",0},
ab2208b5 4518 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4120ef2b 4519 { "_EBool","_wxCoord",0},
2d091820
RD
4520 { "_EBool","_wxPrintQuality",0},
4521 { "_EBool","_signed_int",0},
4522 { "_EBool","_int",0},
4523 { "_EBool","_wxWindowID",0},
4524 { "_class_wxRegion","_wxRegion",0},
4120ef2b 4525 { "_class_wxDataFormat","_wxDataFormat",0},
2d091820 4526 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
167b96c2 4527 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2d091820
RD
4528 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4529 { "_wxStaticText","_class_wxStaticText",0},
4530 { "_wxFont","_class_wxFont",0},
4120ef2b 4531 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2d091820 4532 { "_wxCloseEvent","_class_wxCloseEvent",0},
2d091820
RD
4533 { "_unsigned_long","_long",0},
4534 { "_class_wxRect","_wxRect",0},
4535 { "_class_wxDC","_wxDC",0},
9cce9de1 4536 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2d091820 4537 { "_class_wxProgressDialog","_wxProgressDialog",0},
167b96c2
RD
4538 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4539 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2d091820 4540 { "_class_wxDirDialog","_wxDirDialog",0},
2d091820
RD
4541 { "_wxFocusEvent","_class_wxFocusEvent",0},
4542 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 4543 { "_class_wxTimerEvent","_wxTimerEvent",0},
2d091820
RD
4544 { "_class_wxSpinButton","_wxSpinButton",0},
4545 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4546 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel},
4547 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel},
4548 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel},
4549 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel},
4550 { "_class_wxPanel","_wxPanel",0},
4551 { "_class_wxCheckBox","_wxCheckBox",0},
4552 { "_wxComboBox","_class_wxComboBox",0},
4553 { "_wxRadioButton","_class_wxRadioButton",0},
4554 { "_class_wxMessageDialog","_wxMessageDialog",0},
4120ef2b 4555 { "_signed_int","_wxCoord",0},
2d091820
RD
4556 { "_signed_int","_wxPrintQuality",0},
4557 { "_signed_int","_EBool",0},
4558 { "_signed_int","_wxWindowID",0},
4559 { "_signed_int","_int",0},
4560 { "_class_wxTextCtrl","_wxTextCtrl",0},
4561 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4120ef2b 4562 { "_class_wxTextDataObject","_wxTextDataObject",0},
2d091820
RD
4563 { "_wxMenu","_class_wxMenu",0},
4564 { "_class_wxMoveEvent","_wxMoveEvent",0},
4565 { "_wxListBox","_class_wxListBox",0},
4566 { "_wxScreenDC","_class_wxScreenDC",0},
ab2208b5 4567 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
2d091820
RD
4568 { "_WXTYPE","_short",0},
4569 { "_WXTYPE","_signed_short",0},
4570 { "_WXTYPE","_unsigned_short",0},
4571 { "_wxFileDialog","_class_wxFileDialog",0},
4120ef2b 4572 { "_class_wxDropTarget","_wxDropTarget",0},
2d091820
RD
4573 { "_class_wxBrush","_wxBrush",0},
4574 { "_unsigned_short","_WXTYPE",0},
4575 { "_unsigned_short","_short",0},
4576 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
4577 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
4578 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow},
4579 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow},
4580 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
4581 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
4582 { "_class_wxWindow","_wxWindow",0},
4583 { "_class_wxStaticText","_wxStaticText",0},
4584 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4585 { "_class_wxFont","_wxFont",0},
4120ef2b 4586 { "_wxClipboard","_class_wxClipboard",0},
37f6a977 4587 { "_class_wxPyValidator","_wxPyValidator",0},
2d091820 4588 { "_class_wxCloseEvent","_wxCloseEvent",0},
4120ef2b 4589 { "_wxBusyInfo","_class_wxBusyInfo",0},
2d091820 4590 { "_class_wxMenuEvent","_wxMenuEvent",0},
167b96c2 4591 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4120ef2b 4592 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2d091820
RD
4593 { "_wxClientDC","_class_wxClientDC",0},
4594 { "_wxMouseEvent","_class_wxMouseEvent",0},
4595 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4596 { "_class_wxPoint","_wxPoint",0},
4597 { "_wxRealPoint","_class_wxRealPoint",0},
4598 { "_class_wxRadioBox","_wxRadioBox",0},
4599 { "_signed_short","_WXTYPE",0},
4600 { "_signed_short","_short",0},
4601 { "_wxMemoryDC","_class_wxMemoryDC",0},
4120ef2b 4602 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2d091820
RD
4603 { "_class_wxPrintDialog","_wxPrintDialog",0},
4604 { "_wxPaintDC","_class_wxPaintDC",0},
4605 { "_class_wxWindowDC","_wxWindowDC",0},
4606 { "_class_wxFocusEvent","_wxFocusEvent",0},
4607 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4608 { "_wxStatusBar","_class_wxStatusBar",0},
2d091820
RD
4609 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4610 { "_class_wxCursor","_wxCursor",0},
4611 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4120ef2b 4612 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2d091820
RD
4613 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4614 { "_unsigned_char","_byte",0},
4615 { "_class_wxMenu","_wxMenu",0},
4616 { "_wxControl","_class_wxControl",0},
4617 { "_class_wxListBox","_wxListBox",0},
4120ef2b 4618 { "_unsigned_int","_wxCoord",0},
2d091820 4619 { "_unsigned_int","_wxPrintQuality",0},
c368d904 4620 { "_unsigned_int","_time_t",0},
2d091820
RD
4621 { "_unsigned_int","_size_t",0},
4622 { "_unsigned_int","_uint",0},
4623 { "_unsigned_int","_wxWindowID",0},
4624 { "_unsigned_int","_int",0},
4625 { "_wxIcon","_class_wxIcon",0},
4626 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog},
4627 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog},
4628 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
4629 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
4630 { "_wxDialog","_class_wxDialog",0},
4631 { "_class_wxPen","_wxPen",0},
4632 { "_class_wxFileDialog","_wxFileDialog",0},
4633 { "_short","_WXTYPE",0},
4634 { "_short","_unsigned_short",0},
4635 { "_short","_signed_short",0},
4636 { "_class_wxStaticBox","_wxStaticBox",0},
4120ef2b
RD
4637 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4638 { "_class_wxPyDropSource","_wxPyDropSource",0},
2d091820
RD
4639 { "_class_wxScrollEvent","_wxScrollEvent",0},
4640 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4641 { "_class_wxChoice","_wxChoice",0},
4642 { "_class_wxSlider","_wxSlider",0},
4643 { "_class_wxImageList","_wxImageList",0},
4644 { "_class_wxBitmapButton","_wxBitmapButton",0},
4645 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
4646 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
4647 { "_wxFrame","_class_wxFrame",0},
167b96c2 4648 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4120ef2b 4649 { "_wxWindowID","_wxCoord",0},
2d091820 4650 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4651 { "_wxWindowID","_time_t",0},
2d091820
RD
4652 { "_wxWindowID","_size_t",0},
4653 { "_wxWindowID","_EBool",0},
4654 { "_wxWindowID","_uint",0},
4655 { "_wxWindowID","_int",0},
4656 { "_wxWindowID","_signed_int",0},
4657 { "_wxWindowID","_unsigned_int",0},
9cce9de1 4658 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4120ef2b 4659 { "_int","_wxCoord",0},
2d091820 4660 { "_int","_wxPrintQuality",0},
c368d904 4661 { "_int","_time_t",0},
2d091820
RD
4662 { "_int","_size_t",0},
4663 { "_int","_EBool",0},
4664 { "_int","_uint",0},
4665 { "_int","_wxWindowID",0},
4666 { "_int","_unsigned_int",0},
4667 { "_int","_signed_int",0},
4668 { "_class_wxMouseEvent","_wxMouseEvent",0},
37f6a977 4669 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2d091820
RD
4670 { "_class_wxPrintPreview","_wxPrintPreview",0},
4671 { "_class_wxSpinEvent","_wxSpinEvent",0},
167b96c2 4672 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
4673 { "_time_t","_wxCoord",0},
4674 { "_time_t","_wxPrintQuality",0},
4675 { "_time_t","_unsigned_int",0},
4676 { "_time_t","_int",0},
4677 { "_time_t","_wxWindowID",0},
4678 { "_time_t","_uint",0},
4679 { "_time_t","_size_t",0},
167b96c2 4680 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2d091820
RD
4681 { "_wxButton","_class_wxButton",0},
4682 { "_wxSize","_class_wxSize",0},
4683 { "_wxRegionIterator","_class_wxRegionIterator",0},
4120ef2b 4684 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2d091820
RD
4685 { "_class_wxPaintDC","_wxPaintDC",0},
4686 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4120ef2b 4687 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2d091820
RD
4688 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4689 { "_class_wxComboBox","_wxComboBox",0},
4690 { "_class_wxRadioButton","_wxRadioButton",0},
37f6a977 4691 { "_wxValidator","_class_wxValidator",0},
ab2208b5 4692 { "_wxToolBarBase","_class_wxToolBarBase",0},
2d091820
RD
4693 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4694 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4695 { "_class_wxControl","_wxControl",0},
4696 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4697 { "_class_wxIcon","_wxIcon",0},
4698 { "_class_wxColour","_wxColour",0},
4699 { "_class_wxScreenDC","_wxScreenDC",0},
4700 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4701 { "_wxPalette","_class_wxPalette",0},
4702 { "_class_wxIdleEvent","_wxIdleEvent",0},
4120ef2b
RD
4703 { "_wxCoord","_int",0},
4704 { "_wxCoord","_signed_int",0},
4705 { "_wxCoord","_unsigned_int",0},
4706 { "_wxCoord","_wxWindowID",0},
4707 { "_wxCoord","_uint",0},
4708 { "_wxCoord","_EBool",0},
4709 { "_wxCoord","_size_t",0},
c368d904 4710 { "_wxCoord","_time_t",0},
4120ef2b 4711 { "_wxCoord","_wxPrintQuality",0},
2d091820 4712 { "_wxEraseEvent","_class_wxEraseEvent",0},
4120ef2b 4713 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2d091820
RD
4714 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4715 { "_class_wxMiniFrame","_wxMiniFrame",0},
4716 { "_wxFontDialog","_class_wxFontDialog",0},
4717 { "_wxRegion","_class_wxRegion",0},
4718 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4719 { "_class_wxShowEvent","_wxShowEvent",0},
4120ef2b 4720 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2d091820
RD
4721 { "_wxActivateEvent","_class_wxActivateEvent",0},
4722 { "_wxGauge","_class_wxGauge",0},
4723 { "_class_wxCheckListBox","_wxCheckListBox",0},
4120ef2b 4724 { "_class_wxBusyInfo","_wxBusyInfo",0},
2d091820
RD
4725 { "_class_wxCommandEvent","_wxCommandEvent",0},
4726 { "_class_wxClientDC","_wxClientDC",0},
4727 { "_class_wxSizeEvent","_wxSizeEvent",0},
4120ef2b 4728 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2d091820
RD
4729 { "_class_wxSize","_wxSize",0},
4730 { "_class_wxBitmap","_wxBitmap",0},
4731 { "_class_wxMemoryDC","_wxMemoryDC",0},
4120ef2b 4732 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2d091820
RD
4733 { "_wxMenuBar","_class_wxMenuBar",0},
4734 { "_wxDirDialog","_class_wxDirDialog",0},
4735 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
4736 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
4737 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
4738 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
4739 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
4740 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
4741 { "_wxEvtHandler","_class_wxEvtHandler",0},
4742 { "_wxMenuItem","_class_wxMenuItem",0},
4743 { "_class_wxScrollBar","_wxScrollBar",0},
4744 { "_class_wxColourDialog","_wxColourDialog",0},
4745 { "_class_wxPrintData","_wxPrintData",0},
2d091820
RD
4746 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4747 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4748 { "_wxKeyEvent","_class_wxKeyEvent",0},
4749 { "_wxMoveEvent","_class_wxMoveEvent",0},
4750 { "_wxColourData","_class_wxColourData",0},
4751 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4752 { "_class_wxPalette","_wxPalette",0},
4120ef2b 4753 { "_wxFileDataObject","_class_wxFileDataObject",0},
2d091820 4754 { "_class_wxEraseEvent","_wxEraseEvent",0},
4120ef2b 4755 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
ab2208b5 4756 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2d091820
RD
4757 { "_class_wxFontDialog","_wxFontDialog",0},
4758 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
4759 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
4760 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow},
4761 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow},
4762 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
4763 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
4764 { "_wxWindow","_class_wxWindow",0},
167b96c2 4765 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2d091820
RD
4766 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
4767 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
4768 { "_class_wxFrame","_wxFrame",0},
4769{0,0,0}};
4770
d24a34bb
RD
4771static PyObject *SWIG_globals;
4772#ifdef __cplusplus
4773extern "C"
4774#endif
2d091820 4775SWIGEXPORT(void) initprintfwc() {
d24a34bb
RD
4776 PyObject *m, *d;
4777 SWIG_globals = SWIG_newvarlink();
4778 m = Py_InitModule("printfwc", printfwcMethods);
4779 d = PyModule_GetDict(m);
2d091820
RD
4780{
4781 int i;
4782 for (i = 0; _swig_mapping[i].n1; i++)
4783 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4784}
d24a34bb 4785}