]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/printfw.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / printfw.cpp
CommitLineData
bb0054cd 1/*
c368d904 2 * FILE : src/msw/printfw.cpp
bb0054cd
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
bb0054cd
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
7e50db3f
RD
22#include "Python.h"
23
bb0054cd
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
bb0054cd
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
bb0054cd 33# else
c368d904 34# define SWIGEXPORT(a) a
bb0054cd
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
bb0054cd
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
bb0054cd
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
bb0054cd
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
bb0054cd
RD
53#define SWIG_init initprintfwc
54
55#define SWIG_name "printfwc"
56
57#include "helpers.h"
58#include <wx/print.h>
59#include <wx/printdlg.h>
eedf876b 60#include <wx/dcps.h>
bb0054cd 61
2abc0a0f
RD
62#include "printfw.h"
63
137b5242
RD
64 // Put some wx default wxChar* values into wxStrings.
65 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
66 DECLARE_DEF_STRING(PrintoutTitleStr);
5a2a9da2
RD
67 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
68 DECLARE_DEF_STRING(PreviewCanvasNameStr);
137b5242
RD
69
70 DECLARE_DEF_STRING(FrameNameStr);
5a2a9da2
RD
71 DECLARE_DEF_STRING(PanelNameStr);
72 DECLARE_DEF_STRING(DialogNameStr);
73
137b5242 74
bb0054cd
RD
75
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
e0672e2f 80 if (!target) {
bb0054cd 81 target = o;
e0672e2f 82 } else if (target == Py_None) {
bb0054cd
RD
83 Py_DECREF(Py_None);
84 target = o;
e0672e2f 85 } else {
bb0054cd
RD
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
e0672e2f
RD
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
bb0054cd
RD
93
94 o2 = target;
e0672e2f
RD
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
bb0054cd
RD
97 Py_DECREF(o3);
98 }
99 return target;
100}
101
2abc0a0f
RD
102
103
104// Since this one would be tough and ugly to do with the Macros...
105void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3af4e610 106 bool hadErr = FALSE;
19a97bd6 107 bool found;
2abc0a0f 108
4268f798 109 wxPyBeginBlockThreads();
19a97bd6 110 if ((found = m_myInst.findCallback("GetPageInfo"))) {
2abc0a0f
RD
111 PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
112 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
113 PyObject* val;
114
115 val = PyTuple_GetItem(result, 0);
116 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3af4e610 117 else hadErr = TRUE;
2abc0a0f
RD
118
119 val = PyTuple_GetItem(result, 1);
120 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3af4e610 121 else hadErr = TRUE;
2abc0a0f
RD
122
123 val = PyTuple_GetItem(result, 2);
124 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3af4e610 125 else hadErr = TRUE;
2abc0a0f
RD
126
127 val = PyTuple_GetItem(result, 3);
128 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3af4e610 129 else hadErr = TRUE;
bb0054cd
RD
130 }
131 else
3af4e610 132 hadErr = TRUE;
1afc06c2 133
2abc0a0f
RD
134 if (hadErr) {
135 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
136 PyErr_Print();
137 }
138 Py_DECREF(result);
bb0054cd 139 }
4268f798 140 wxPyEndBlockThreads();
19a97bd6 141 if (! found)
bb0054cd 142 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2abc0a0f
RD
143}
144
145void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
146 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
147}
148
1afc06c2
RD
149
150IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
151IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
152IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
153IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
154IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
155IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
156IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
157
158
5a2a9da2
RD
159
160
161#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
162 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
163 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
164
165
166#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
167 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
168 bool rval=FALSE; \
169 bool found; \
170 wxPyBeginBlockThreads(); \
171 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
172 PyObject* win = wxPyMake_wxObject(a); \
173 PyObject* dc = wxPyMake_wxObject(&b); \
174 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
175 Py_DECREF(win); \
176 Py_DECREF(dc); \
177 } \
178 wxPyEndBlockThreads(); \
179 if (! found) \
180 rval = PCLASS::CBNAME(a, b); \
181 return rval; \
182 } \
183 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
184 return PCLASS::CBNAME(a, b); \
185 }
186
187
188
189
190class wxPyPrintPreview : public wxPrintPreview
191{
192 DECLARE_CLASS(wxPyPrintPreview)
193public:
194 wxPyPrintPreview(wxPyPrintout* printout,
195 wxPyPrintout* printoutForPrinting,
196 wxPrintData* data=NULL)
197 : wxPrintPreview(printout, printoutForPrinting, data)
198 {}
199
200 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
201 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
202 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
203 DEC_PYCALLBACK_BOOL_INT(RenderPage);
204 DEC_PYCALLBACK_VOID_INT(SetZoom);
205 DEC_PYCALLBACK_BOOL_BOOL(Print);
206 DEC_PYCALLBACK_VOID_(DetermineScaling);
207
208 PYPRIVATE;
209};
210
211// Stupid renamed classes... Fix this in 2.5...
212#if defined(__WXMSW__)
213IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
214#elif defined(__WXMAC__)
215IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
216#else
217IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
218#endif
219
220IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
221IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
222IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
223IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
224IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
225IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
226IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
227
228class wxPyPreviewFrame : public wxPreviewFrame
229{
230 DECLARE_CLASS(wxPyPreviewFrame);
231public:
232 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
233 const wxString& title,
234 const wxPoint& pos = wxDefaultPosition,
235 const wxSize& size = wxDefaultSize,
236 long style = wxDEFAULT_FRAME_STYLE,
237 const wxString& name = wxPyFrameNameStr)
238 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
239 {}
240
241 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
242 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
243
244 DEC_PYCALLBACK_VOID_(Initialize);
245 DEC_PYCALLBACK_VOID_(CreateCanvas);
246 DEC_PYCALLBACK_VOID_(CreateControlBar);
247
248 PYPRIVATE;
249};
250
251IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
252
253IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
254IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
255IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
256
257class wxPyPreviewControlBar : public wxPreviewControlBar
258{
259 DECLARE_CLASS(wxPyPreviewControlBar);
260public:
261 wxPyPreviewControlBar(wxPrintPreview *preview,
262 long buttons,
263 wxWindow *parent,
264 const wxPoint& pos = wxDefaultPosition,
265 const wxSize& size = wxDefaultSize,
266 long style = 0,
267 const wxString& name = wxPyPanelNameStr)
268 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
269 {}
270
271 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
272
273 DEC_PYCALLBACK_VOID_(CreateButtons);
274 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
275
276 PYPRIVATE;
277};
278
279IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
280IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
281IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1d99702e
RD
282#ifdef __cplusplus
283extern "C" {
284#endif
9416aa89
RD
285static void *SwigwxPrintDataTowxObject(void *ptr) {
286 wxPrintData *src;
287 wxObject *dest;
288 src = (wxPrintData *) ptr;
289 dest = (wxObject *) src;
290 return (void *) dest;
291}
292
bb0054cd 293#define new_wxPrintData() (new wxPrintData())
efc5f224 294static PyObject *_wrap_new_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
295 PyObject * _resultobj;
296 wxPrintData * _result;
efc5f224 297 char *_kwnames[] = { NULL };
bb0054cd
RD
298 char _ptemp[128];
299
300 self = self;
efc5f224 301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintData",_kwnames))
bb0054cd
RD
302 return NULL;
303{
4268f798 304 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 305 _result = (wxPrintData *)new_wxPrintData();
bb0054cd 306
4268f798 307 wxPyEndAllowThreads(__tstate);
493f1553 308 if (PyErr_Occurred()) return NULL;
1d99702e
RD
309} if (_result) {
310 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
311 _resultobj = Py_BuildValue("s",_ptemp);
312 } else {
313 Py_INCREF(Py_None);
314 _resultobj = Py_None;
315 }
bb0054cd
RD
316 return _resultobj;
317}
318
319#define delete_wxPrintData(_swigobj) (delete _swigobj)
efc5f224 320static PyObject *_wrap_delete_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
321 PyObject * _resultobj;
322 wxPrintData * _arg0;
1d99702e 323 PyObject * _argo0 = 0;
efc5f224 324 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
325
326 self = self;
efc5f224 327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintData",_kwnames,&_argo0))
bb0054cd 328 return NULL;
1d99702e
RD
329 if (_argo0) {
330 if (_argo0 == Py_None) { _arg0 = NULL; }
331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
333 return NULL;
334 }
335 }
336{
4268f798 337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 338 delete_wxPrintData(_arg0);
bb0054cd 339
4268f798 340 wxPyEndAllowThreads(__tstate);
493f1553 341 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
342} Py_INCREF(Py_None);
343 _resultobj = Py_None;
344 return _resultobj;
345}
346
347#define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
efc5f224 348static PyObject *_wrap_wxPrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
349 PyObject * _resultobj;
350 int _result;
351 wxPrintData * _arg0;
1d99702e 352 PyObject * _argo0 = 0;
efc5f224 353 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
354
355 self = self;
efc5f224 356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetNoCopies",_kwnames,&_argo0))
bb0054cd 357 return NULL;
1d99702e
RD
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
362 return NULL;
363 }
364 }
365{
4268f798 366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 367 _result = (int )wxPrintData_GetNoCopies(_arg0);
bb0054cd 368
4268f798 369 wxPyEndAllowThreads(__tstate);
493f1553 370 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
371} _resultobj = Py_BuildValue("i",_result);
372 return _resultobj;
373}
374
375#define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
efc5f224 376static PyObject *_wrap_wxPrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
377 PyObject * _resultobj;
378 bool _result;
379 wxPrintData * _arg0;
1d99702e 380 PyObject * _argo0 = 0;
efc5f224 381 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
382
383 self = self;
efc5f224 384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetCollate",_kwnames,&_argo0))
bb0054cd 385 return NULL;
1d99702e
RD
386 if (_argo0) {
387 if (_argo0 == Py_None) { _arg0 = NULL; }
388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
390 return NULL;
391 }
392 }
393{
4268f798 394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 395 _result = (bool )wxPrintData_GetCollate(_arg0);
bb0054cd 396
4268f798 397 wxPyEndAllowThreads(__tstate);
493f1553 398 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
399} _resultobj = Py_BuildValue("i",_result);
400 return _resultobj;
401}
402
403#define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
efc5f224 404static PyObject *_wrap_wxPrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
405 PyObject * _resultobj;
406 int _result;
407 wxPrintData * _arg0;
1d99702e 408 PyObject * _argo0 = 0;
efc5f224 409 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
410
411 self = self;
efc5f224 412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetOrientation",_kwnames,&_argo0))
bb0054cd 413 return NULL;
1d99702e
RD
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
418 return NULL;
419 }
420 }
421{
4268f798 422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 423 _result = (int )wxPrintData_GetOrientation(_arg0);
bb0054cd 424
4268f798 425 wxPyEndAllowThreads(__tstate);
493f1553 426 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
427} _resultobj = Py_BuildValue("i",_result);
428 return _resultobj;
429}
430
b7fc54be
RD
431#define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
432static PyObject *_wrap_wxPrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
433 PyObject * _resultobj;
434 bool _result;
435 wxPrintData * _arg0;
436 PyObject * _argo0 = 0;
437 char *_kwnames[] = { "self", NULL };
438
439 self = self;
440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_Ok",_kwnames,&_argo0))
441 return NULL;
442 if (_argo0) {
443 if (_argo0 == Py_None) { _arg0 = NULL; }
444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_Ok. Expected _wxPrintData_p.");
446 return NULL;
447 }
448 }
449{
450 PyThreadState* __tstate = wxPyBeginAllowThreads();
451 _result = (bool )wxPrintData_Ok(_arg0);
452
453 wxPyEndAllowThreads(__tstate);
454 if (PyErr_Occurred()) return NULL;
455} _resultobj = Py_BuildValue("i",_result);
456 return _resultobj;
457}
458
bb0054cd 459#define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
efc5f224 460static PyObject *_wrap_wxPrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
461 PyObject * _resultobj;
462 wxString * _result;
463 wxPrintData * _arg0;
1d99702e 464 PyObject * _argo0 = 0;
efc5f224 465 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
466
467 self = self;
efc5f224 468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterName",_kwnames,&_argo0))
bb0054cd 469 return NULL;
1d99702e
RD
470 if (_argo0) {
471 if (_argo0 == Py_None) { _arg0 = NULL; }
472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
474 return NULL;
475 }
476 }
477{
4268f798 478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 479 const wxString & _result_ref = wxPrintData_GetPrinterName(_arg0);
bb0054cd
RD
480 _result = (wxString *) &_result_ref;
481
4268f798 482 wxPyEndAllowThreads(__tstate);
493f1553 483 if (PyErr_Occurred()) return NULL;
bb0054cd 484}{
c8bc7bb8 485#if wxUSE_UNICODE
7e50db3f 486 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 487#else
eec92d76 488 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 489#endif
bb0054cd
RD
490}
491 return _resultobj;
492}
493
494#define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
efc5f224 495static PyObject *_wrap_wxPrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
496 PyObject * _resultobj;
497 bool _result;
498 wxPrintData * _arg0;
1d99702e 499 PyObject * _argo0 = 0;
efc5f224 500 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
501
502 self = self;
efc5f224 503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetColour",_kwnames,&_argo0))
bb0054cd 504 return NULL;
1d99702e
RD
505 if (_argo0) {
506 if (_argo0 == Py_None) { _arg0 = NULL; }
507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
509 return NULL;
510 }
511 }
512{
4268f798 513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 514 _result = (bool )wxPrintData_GetColour(_arg0);
bb0054cd 515
4268f798 516 wxPyEndAllowThreads(__tstate);
493f1553 517 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
518} _resultobj = Py_BuildValue("i",_result);
519 return _resultobj;
520}
521
522#define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
efc5f224 523static PyObject *_wrap_wxPrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
524 PyObject * _resultobj;
525 wxDuplexMode _result;
526 wxPrintData * _arg0;
1d99702e 527 PyObject * _argo0 = 0;
efc5f224 528 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
529
530 self = self;
efc5f224 531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetDuplex",_kwnames,&_argo0))
bb0054cd 532 return NULL;
1d99702e
RD
533 if (_argo0) {
534 if (_argo0 == Py_None) { _arg0 = NULL; }
535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
537 return NULL;
538 }
539 }
540{
4268f798 541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 542 _result = (wxDuplexMode )wxPrintData_GetDuplex(_arg0);
bb0054cd 543
4268f798 544 wxPyEndAllowThreads(__tstate);
493f1553 545 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
546} _resultobj = Py_BuildValue("i",_result);
547 return _resultobj;
548}
549
550#define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
efc5f224 551static PyObject *_wrap_wxPrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
552 PyObject * _resultobj;
553 wxPaperSize _result;
554 wxPrintData * _arg0;
1d99702e 555 PyObject * _argo0 = 0;
efc5f224 556 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
557
558 self = self;
efc5f224 559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperId",_kwnames,&_argo0))
bb0054cd 560 return NULL;
1d99702e
RD
561 if (_argo0) {
562 if (_argo0 == Py_None) { _arg0 = NULL; }
563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
565 return NULL;
566 }
567 }
568{
4268f798 569 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 570 _result = (wxPaperSize )wxPrintData_GetPaperId(_arg0);
bb0054cd 571
4268f798 572 wxPyEndAllowThreads(__tstate);
493f1553 573 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
574} _resultobj = Py_BuildValue("i",_result);
575 return _resultobj;
576}
577
578#define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
efc5f224 579static PyObject *_wrap_wxPrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
580 PyObject * _resultobj;
581 wxSize * _result;
582 wxPrintData * _arg0;
1d99702e 583 PyObject * _argo0 = 0;
efc5f224 584 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
585 char _ptemp[128];
586
587 self = self;
efc5f224 588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperSize",_kwnames,&_argo0))
bb0054cd 589 return NULL;
1d99702e
RD
590 if (_argo0) {
591 if (_argo0 == Py_None) { _arg0 = NULL; }
592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
594 return NULL;
595 }
596 }
597{
4268f798 598 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 599 const wxSize & _result_ref = wxPrintData_GetPaperSize(_arg0);
bb0054cd
RD
600 _result = (wxSize *) &_result_ref;
601
4268f798 602 wxPyEndAllowThreads(__tstate);
493f1553 603 if (PyErr_Occurred()) return NULL;
1d99702e
RD
604} if (_result) {
605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
606 _resultobj = Py_BuildValue("s",_ptemp);
607 } else {
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 }
bb0054cd
RD
611 return _resultobj;
612}
613
614#define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
efc5f224 615static PyObject *_wrap_wxPrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
616 PyObject * _resultobj;
617 wxPrintQuality _result;
618 wxPrintData * _arg0;
1d99702e 619 PyObject * _argo0 = 0;
efc5f224 620 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
621
622 self = self;
efc5f224 623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetQuality",_kwnames,&_argo0))
bb0054cd 624 return NULL;
1d99702e
RD
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
629 return NULL;
630 }
631 }
632{
4268f798 633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 634 _result = (wxPrintQuality )wxPrintData_GetQuality(_arg0);
bb0054cd 635
4268f798 636 wxPyEndAllowThreads(__tstate);
493f1553 637 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
638} _resultobj = Py_BuildValue("i",_result);
639 return _resultobj;
640}
641
642#define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
efc5f224 643static PyObject *_wrap_wxPrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
644 PyObject * _resultobj;
645 wxPrintData * _arg0;
646 int _arg1;
1d99702e 647 PyObject * _argo0 = 0;
efc5f224 648 char *_kwnames[] = { "self","v", NULL };
bb0054cd
RD
649
650 self = self;
efc5f224 651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetNoCopies",_kwnames,&_argo0,&_arg1))
bb0054cd 652 return NULL;
1d99702e
RD
653 if (_argo0) {
654 if (_argo0 == Py_None) { _arg0 = NULL; }
655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
657 return NULL;
658 }
659 }
660{
4268f798 661 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 662 wxPrintData_SetNoCopies(_arg0,_arg1);
bb0054cd 663
4268f798 664 wxPyEndAllowThreads(__tstate);
493f1553 665 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
666} Py_INCREF(Py_None);
667 _resultobj = Py_None;
668 return _resultobj;
669}
670
671#define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
efc5f224 672static PyObject *_wrap_wxPrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
673 PyObject * _resultobj;
674 wxPrintData * _arg0;
675 bool _arg1;
1d99702e 676 PyObject * _argo0 = 0;
bb0054cd 677 int tempbool1;
efc5f224 678 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
679
680 self = self;
efc5f224 681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetCollate",_kwnames,&_argo0,&tempbool1))
bb0054cd 682 return NULL;
1d99702e
RD
683 if (_argo0) {
684 if (_argo0 == Py_None) { _arg0 = NULL; }
685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
687 return NULL;
688 }
689 }
690 _arg1 = (bool ) tempbool1;
691{
4268f798 692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 693 wxPrintData_SetCollate(_arg0,_arg1);
bb0054cd 694
4268f798 695 wxPyEndAllowThreads(__tstate);
493f1553 696 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
697} Py_INCREF(Py_None);
698 _resultobj = Py_None;
699 return _resultobj;
700}
701
702#define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
efc5f224 703static PyObject *_wrap_wxPrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
704 PyObject * _resultobj;
705 wxPrintData * _arg0;
706 int _arg1;
1d99702e 707 PyObject * _argo0 = 0;
efc5f224 708 char *_kwnames[] = { "self","orient", NULL };
bb0054cd
RD
709
710 self = self;
efc5f224 711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetOrientation",_kwnames,&_argo0,&_arg1))
bb0054cd 712 return NULL;
1d99702e
RD
713 if (_argo0) {
714 if (_argo0 == Py_None) { _arg0 = NULL; }
715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
717 return NULL;
718 }
719 }
720{
4268f798 721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 722 wxPrintData_SetOrientation(_arg0,_arg1);
bb0054cd 723
4268f798 724 wxPyEndAllowThreads(__tstate);
493f1553 725 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
726} Py_INCREF(Py_None);
727 _resultobj = Py_None;
728 return _resultobj;
729}
730
731#define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
efc5f224 732static PyObject *_wrap_wxPrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
733 PyObject * _resultobj;
734 wxPrintData * _arg0;
735 wxString * _arg1;
1d99702e 736 PyObject * _argo0 = 0;
bb0054cd 737 PyObject * _obj1 = 0;
efc5f224 738 char *_kwnames[] = { "self","name", NULL };
bb0054cd
RD
739
740 self = self;
efc5f224 741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterName",_kwnames,&_argo0,&_obj1))
bb0054cd 742 return NULL;
1d99702e
RD
743 if (_argo0) {
744 if (_argo0 == Py_None) { _arg0 = NULL; }
745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
747 return NULL;
748 }
749 }
750{
c8bc7bb8
RD
751 _arg1 = wxString_in_helper(_obj1);
752 if (_arg1 == NULL)
185d7c3e 753 return NULL;
bb0054cd
RD
754}
755{
4268f798 756 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 757 wxPrintData_SetPrinterName(_arg0,*_arg1);
bb0054cd 758
4268f798 759 wxPyEndAllowThreads(__tstate);
493f1553 760 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
761} Py_INCREF(Py_None);
762 _resultobj = Py_None;
763{
764 if (_obj1)
765 delete _arg1;
766}
767 return _resultobj;
768}
769
770#define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 771static PyObject *_wrap_wxPrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
772 PyObject * _resultobj;
773 wxPrintData * _arg0;
774 bool _arg1;
1d99702e 775 PyObject * _argo0 = 0;
bb0054cd 776 int tempbool1;
efc5f224 777 char *_kwnames[] = { "self","colour", NULL };
bb0054cd
RD
778
779 self = self;
efc5f224 780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetColour",_kwnames,&_argo0,&tempbool1))
bb0054cd 781 return NULL;
1d99702e
RD
782 if (_argo0) {
783 if (_argo0 == Py_None) { _arg0 = NULL; }
784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
786 return NULL;
787 }
788 }
789 _arg1 = (bool ) tempbool1;
790{
4268f798 791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 792 wxPrintData_SetColour(_arg0,_arg1);
bb0054cd 793
4268f798 794 wxPyEndAllowThreads(__tstate);
493f1553 795 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
796} Py_INCREF(Py_None);
797 _resultobj = Py_None;
798 return _resultobj;
799}
800
801#define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
efc5f224 802static PyObject *_wrap_wxPrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
803 PyObject * _resultobj;
804 wxPrintData * _arg0;
805 wxDuplexMode _arg1;
1d99702e 806 PyObject * _argo0 = 0;
efc5f224 807 char *_kwnames[] = { "self","duplex", NULL };
bb0054cd
RD
808
809 self = self;
efc5f224 810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetDuplex",_kwnames,&_argo0,&_arg1))
bb0054cd 811 return NULL;
1d99702e
RD
812 if (_argo0) {
813 if (_argo0 == Py_None) { _arg0 = NULL; }
814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
816 return NULL;
817 }
818 }
819{
4268f798 820 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 821 wxPrintData_SetDuplex(_arg0,_arg1);
bb0054cd 822
4268f798 823 wxPyEndAllowThreads(__tstate);
493f1553 824 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
825} Py_INCREF(Py_None);
826 _resultobj = Py_None;
827 return _resultobj;
828}
829
830#define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
efc5f224 831static PyObject *_wrap_wxPrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
832 PyObject * _resultobj;
833 wxPrintData * _arg0;
834 wxPaperSize _arg1;
1d99702e 835 PyObject * _argo0 = 0;
efc5f224 836 char *_kwnames[] = { "self","sizeId", NULL };
bb0054cd
RD
837
838 self = self;
efc5f224 839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetPaperId",_kwnames,&_argo0,&_arg1))
bb0054cd 840 return NULL;
1d99702e
RD
841 if (_argo0) {
842 if (_argo0 == Py_None) { _arg0 = NULL; }
843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
845 return NULL;
846 }
847 }
848{
4268f798 849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 850 wxPrintData_SetPaperId(_arg0,_arg1);
bb0054cd 851
4268f798 852 wxPyEndAllowThreads(__tstate);
493f1553 853 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
854} Py_INCREF(Py_None);
855 _resultobj = Py_None;
856 return _resultobj;
857}
858
859#define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
efc5f224 860static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
861 PyObject * _resultobj;
862 wxPrintData * _arg0;
863 wxSize * _arg1;
1d99702e 864 PyObject * _argo0 = 0;
2f90df85
RD
865 wxSize temp;
866 PyObject * _obj1 = 0;
efc5f224 867 char *_kwnames[] = { "self","sz", NULL };
bb0054cd
RD
868
869 self = self;
2f90df85 870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_obj1))
bb0054cd 871 return NULL;
1d99702e
RD
872 if (_argo0) {
873 if (_argo0 == Py_None) { _arg0 = NULL; }
874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
876 return NULL;
877 }
878 }
2f90df85
RD
879{
880 _arg1 = &temp;
881 if (! wxSize_helper(_obj1, &_arg1))
bb0054cd 882 return NULL;
2f90df85 883}
bb0054cd 884{
4268f798 885 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 886 wxPrintData_SetPaperSize(_arg0,*_arg1);
bb0054cd 887
4268f798 888 wxPyEndAllowThreads(__tstate);
493f1553 889 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
890} Py_INCREF(Py_None);
891 _resultobj = Py_None;
892 return _resultobj;
893}
894
895#define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
efc5f224 896static PyObject *_wrap_wxPrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
897 PyObject * _resultobj;
898 wxPrintData * _arg0;
899 wxPrintQuality _arg1;
1d99702e 900 PyObject * _argo0 = 0;
efc5f224 901 char *_kwnames[] = { "self","quality", NULL };
bb0054cd
RD
902
903 self = self;
efc5f224 904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetQuality",_kwnames,&_argo0,&_arg1))
bb0054cd 905 return NULL;
1d99702e
RD
906 if (_argo0) {
907 if (_argo0 == Py_None) { _arg0 = NULL; }
908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
bb0054cd
RD
909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
910 return NULL;
911 }
912 }
913{
4268f798 914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 915 wxPrintData_SetQuality(_arg0,_arg1);
bb0054cd 916
4268f798 917 wxPyEndAllowThreads(__tstate);
493f1553 918 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
919} Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 return _resultobj;
922}
923
926bb76c
RD
924#define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
925static PyObject *_wrap_wxPrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject * _resultobj;
927 wxString * _result;
928 wxPrintData * _arg0;
929 PyObject * _argo0 = 0;
930 char *_kwnames[] = { "self", NULL };
931
932 self = self;
933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterCommand",_kwnames,&_argo0))
934 return NULL;
935 if (_argo0) {
936 if (_argo0 == Py_None) { _arg0 = NULL; }
937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
939 return NULL;
940 }
941 }
942{
4268f798 943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 944 const wxString & _result_ref = wxPrintData_GetPrinterCommand(_arg0);
926bb76c
RD
945 _result = (wxString *) &_result_ref;
946
4268f798 947 wxPyEndAllowThreads(__tstate);
493f1553 948 if (PyErr_Occurred()) return NULL;
926bb76c 949}{
c8bc7bb8 950#if wxUSE_UNICODE
7e50db3f 951 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 952#else
926bb76c 953 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 954#endif
926bb76c
RD
955}
956 return _resultobj;
957}
958
959#define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
960static PyObject *_wrap_wxPrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject * _resultobj;
962 wxString * _result;
963 wxPrintData * _arg0;
964 PyObject * _argo0 = 0;
965 char *_kwnames[] = { "self", NULL };
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterOptions",_kwnames,&_argo0))
969 return NULL;
970 if (_argo0) {
971 if (_argo0 == Py_None) { _arg0 = NULL; }
972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
974 return NULL;
975 }
976 }
977{
4268f798 978 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 979 const wxString & _result_ref = wxPrintData_GetPrinterOptions(_arg0);
926bb76c
RD
980 _result = (wxString *) &_result_ref;
981
4268f798 982 wxPyEndAllowThreads(__tstate);
493f1553 983 if (PyErr_Occurred()) return NULL;
926bb76c 984}{
c8bc7bb8 985#if wxUSE_UNICODE
7e50db3f 986 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 987#else
926bb76c 988 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 989#endif
926bb76c
RD
990}
991 return _resultobj;
992}
993
994#define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
995static PyObject *_wrap_wxPrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
996 PyObject * _resultobj;
997 wxString * _result;
998 wxPrintData * _arg0;
999 PyObject * _argo0 = 0;
1000 char *_kwnames[] = { "self", NULL };
1001
1002 self = self;
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPreviewCommand",_kwnames,&_argo0))
1004 return NULL;
1005 if (_argo0) {
1006 if (_argo0 == Py_None) { _arg0 = NULL; }
1007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
1009 return NULL;
1010 }
1011 }
1012{
4268f798 1013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1014 const wxString & _result_ref = wxPrintData_GetPreviewCommand(_arg0);
926bb76c
RD
1015 _result = (wxString *) &_result_ref;
1016
4268f798 1017 wxPyEndAllowThreads(__tstate);
493f1553 1018 if (PyErr_Occurred()) return NULL;
926bb76c 1019}{
c8bc7bb8 1020#if wxUSE_UNICODE
7e50db3f 1021 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1022#else
926bb76c 1023 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1024#endif
926bb76c
RD
1025}
1026 return _resultobj;
1027}
1028
1029#define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
1030static PyObject *_wrap_wxPrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 wxString * _result;
1033 wxPrintData * _arg0;
1034 PyObject * _argo0 = 0;
1035 char *_kwnames[] = { "self", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFilename",_kwnames,&_argo0))
1039 return NULL;
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
1044 return NULL;
1045 }
1046 }
1047{
4268f798 1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1049 const wxString & _result_ref = wxPrintData_GetFilename(_arg0);
926bb76c
RD
1050 _result = (wxString *) &_result_ref;
1051
4268f798 1052 wxPyEndAllowThreads(__tstate);
493f1553 1053 if (PyErr_Occurred()) return NULL;
926bb76c 1054}{
c8bc7bb8 1055#if wxUSE_UNICODE
7e50db3f 1056 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1057#else
926bb76c 1058 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1059#endif
926bb76c
RD
1060}
1061 return _resultobj;
1062}
1063
1064#define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
1065static PyObject *_wrap_wxPrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject * _resultobj;
1067 wxString * _result;
1068 wxPrintData * _arg0;
1069 PyObject * _argo0 = 0;
1070 char *_kwnames[] = { "self", NULL };
1071
1072 self = self;
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFontMetricPath",_kwnames,&_argo0))
1074 return NULL;
1075 if (_argo0) {
1076 if (_argo0 == Py_None) { _arg0 = NULL; }
1077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
1079 return NULL;
1080 }
1081 }
1082{
4268f798 1083 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1084 const wxString & _result_ref = wxPrintData_GetFontMetricPath(_arg0);
926bb76c
RD
1085 _result = (wxString *) &_result_ref;
1086
4268f798 1087 wxPyEndAllowThreads(__tstate);
493f1553 1088 if (PyErr_Occurred()) return NULL;
926bb76c 1089}{
c8bc7bb8 1090#if wxUSE_UNICODE
7e50db3f 1091 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1092#else
926bb76c 1093 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1094#endif
926bb76c
RD
1095}
1096 return _resultobj;
1097}
1098
1099#define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
1100static PyObject *_wrap_wxPrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1101 PyObject * _resultobj;
1102 double _result;
1103 wxPrintData * _arg0;
1104 PyObject * _argo0 = 0;
1105 char *_kwnames[] = { "self", NULL };
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleX",_kwnames,&_argo0))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
1114 return NULL;
1115 }
1116 }
1117{
4268f798 1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1119 _result = (double )wxPrintData_GetPrinterScaleX(_arg0);
926bb76c 1120
4268f798 1121 wxPyEndAllowThreads(__tstate);
493f1553 1122 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1123} _resultobj = Py_BuildValue("d",_result);
1124 return _resultobj;
1125}
1126
1127#define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1128static PyObject *_wrap_wxPrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject * _resultobj;
1130 double _result;
1131 wxPrintData * _arg0;
1132 PyObject * _argo0 = 0;
1133 char *_kwnames[] = { "self", NULL };
1134
1135 self = self;
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleY",_kwnames,&_argo0))
1137 return NULL;
1138 if (_argo0) {
1139 if (_argo0 == Py_None) { _arg0 = NULL; }
1140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1142 return NULL;
1143 }
1144 }
1145{
4268f798 1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1147 _result = (double )wxPrintData_GetPrinterScaleY(_arg0);
926bb76c 1148
4268f798 1149 wxPyEndAllowThreads(__tstate);
493f1553 1150 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1151} _resultobj = Py_BuildValue("d",_result);
1152 return _resultobj;
1153}
1154
1155#define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1156static PyObject *_wrap_wxPrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject * _resultobj;
1158 long _result;
1159 wxPrintData * _arg0;
1160 PyObject * _argo0 = 0;
1161 char *_kwnames[] = { "self", NULL };
1162
1163 self = self;
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateX",_kwnames,&_argo0))
1165 return NULL;
1166 if (_argo0) {
1167 if (_argo0 == Py_None) { _arg0 = NULL; }
1168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1170 return NULL;
1171 }
1172 }
1173{
4268f798 1174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1175 _result = (long )wxPrintData_GetPrinterTranslateX(_arg0);
926bb76c 1176
4268f798 1177 wxPyEndAllowThreads(__tstate);
493f1553 1178 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1179} _resultobj = Py_BuildValue("l",_result);
1180 return _resultobj;
1181}
1182
1183#define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1184static PyObject *_wrap_wxPrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 long _result;
1187 wxPrintData * _arg0;
1188 PyObject * _argo0 = 0;
1189 char *_kwnames[] = { "self", NULL };
1190
1191 self = self;
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateY",_kwnames,&_argo0))
1193 return NULL;
1194 if (_argo0) {
1195 if (_argo0 == Py_None) { _arg0 = NULL; }
1196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1198 return NULL;
1199 }
1200 }
1201{
4268f798 1202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1203 _result = (long )wxPrintData_GetPrinterTranslateY(_arg0);
926bb76c 1204
4268f798 1205 wxPyEndAllowThreads(__tstate);
493f1553 1206 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1207} _resultobj = Py_BuildValue("l",_result);
1208 return _resultobj;
1209}
1210
1211#define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1212static PyObject *_wrap_wxPrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
5a2a9da2 1214 wxPrintMode _result;
926bb76c
RD
1215 wxPrintData * _arg0;
1216 PyObject * _argo0 = 0;
1217 char *_kwnames[] = { "self", NULL };
926bb76c
RD
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrintMode",_kwnames,&_argo0))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1226 return NULL;
1227 }
1228 }
1229{
4268f798 1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 1231 _result = (wxPrintMode )wxPrintData_GetPrintMode(_arg0);
926bb76c 1232
4268f798 1233 wxPyEndAllowThreads(__tstate);
493f1553 1234 if (PyErr_Occurred()) return NULL;
5a2a9da2 1235} _resultobj = Py_BuildValue("i",_result);
926bb76c
RD
1236 return _resultobj;
1237}
1238
1239#define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1240static PyObject *_wrap_wxPrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 wxPrintData * _arg0;
1243 wxString * _arg1;
1244 PyObject * _argo0 = 0;
1245 PyObject * _obj1 = 0;
1246 char *_kwnames[] = { "self","command", NULL };
1247
1248 self = self;
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterCommand",_kwnames,&_argo0,&_obj1))
1250 return NULL;
1251 if (_argo0) {
1252 if (_argo0 == Py_None) { _arg0 = NULL; }
1253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1255 return NULL;
1256 }
1257 }
1258{
c8bc7bb8
RD
1259 _arg1 = wxString_in_helper(_obj1);
1260 if (_arg1 == NULL)
926bb76c 1261 return NULL;
926bb76c
RD
1262}
1263{
4268f798 1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1265 wxPrintData_SetPrinterCommand(_arg0,*_arg1);
926bb76c 1266
4268f798 1267 wxPyEndAllowThreads(__tstate);
493f1553 1268 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1269} Py_INCREF(Py_None);
1270 _resultobj = Py_None;
1271{
1272 if (_obj1)
1273 delete _arg1;
1274}
1275 return _resultobj;
1276}
1277
1278#define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1279static PyObject *_wrap_wxPrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject * _resultobj;
1281 wxPrintData * _arg0;
1282 wxString * _arg1;
1283 PyObject * _argo0 = 0;
1284 PyObject * _obj1 = 0;
1285 char *_kwnames[] = { "self","options", NULL };
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterOptions",_kwnames,&_argo0,&_obj1))
1289 return NULL;
1290 if (_argo0) {
1291 if (_argo0 == Py_None) { _arg0 = NULL; }
1292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1294 return NULL;
1295 }
1296 }
1297{
c8bc7bb8
RD
1298 _arg1 = wxString_in_helper(_obj1);
1299 if (_arg1 == NULL)
926bb76c 1300 return NULL;
926bb76c
RD
1301}
1302{
4268f798 1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1304 wxPrintData_SetPrinterOptions(_arg0,*_arg1);
926bb76c 1305
4268f798 1306 wxPyEndAllowThreads(__tstate);
493f1553 1307 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1308} Py_INCREF(Py_None);
1309 _resultobj = Py_None;
1310{
1311 if (_obj1)
1312 delete _arg1;
1313}
1314 return _resultobj;
1315}
1316
1317#define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1318static PyObject *_wrap_wxPrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject * _resultobj;
1320 wxPrintData * _arg0;
1321 wxString * _arg1;
1322 PyObject * _argo0 = 0;
1323 PyObject * _obj1 = 0;
1324 char *_kwnames[] = { "self","command", NULL };
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPreviewCommand",_kwnames,&_argo0,&_obj1))
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1333 return NULL;
1334 }
1335 }
1336{
c8bc7bb8
RD
1337 _arg1 = wxString_in_helper(_obj1);
1338 if (_arg1 == NULL)
926bb76c 1339 return NULL;
926bb76c
RD
1340}
1341{
4268f798 1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1343 wxPrintData_SetPreviewCommand(_arg0,*_arg1);
926bb76c 1344
4268f798 1345 wxPyEndAllowThreads(__tstate);
493f1553 1346 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1347} Py_INCREF(Py_None);
1348 _resultobj = Py_None;
1349{
1350 if (_obj1)
1351 delete _arg1;
1352}
1353 return _resultobj;
1354}
1355
1356#define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1357static PyObject *_wrap_wxPrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject * _resultobj;
1359 wxPrintData * _arg0;
1360 wxString * _arg1;
1361 PyObject * _argo0 = 0;
1362 PyObject * _obj1 = 0;
1363 char *_kwnames[] = { "self","filename", NULL };
1364
1365 self = self;
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFilename",_kwnames,&_argo0,&_obj1))
1367 return NULL;
1368 if (_argo0) {
1369 if (_argo0 == Py_None) { _arg0 = NULL; }
1370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1372 return NULL;
1373 }
1374 }
1375{
c8bc7bb8
RD
1376 _arg1 = wxString_in_helper(_obj1);
1377 if (_arg1 == NULL)
926bb76c 1378 return NULL;
926bb76c
RD
1379}
1380{
4268f798 1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1382 wxPrintData_SetFilename(_arg0,*_arg1);
926bb76c 1383
4268f798 1384 wxPyEndAllowThreads(__tstate);
493f1553 1385 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1386} Py_INCREF(Py_None);
1387 _resultobj = Py_None;
1388{
1389 if (_obj1)
1390 delete _arg1;
1391}
1392 return _resultobj;
1393}
1394
1395#define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1396static PyObject *_wrap_wxPrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject * _resultobj;
1398 wxPrintData * _arg0;
1399 wxString * _arg1;
1400 PyObject * _argo0 = 0;
1401 PyObject * _obj1 = 0;
1402 char *_kwnames[] = { "self","path", NULL };
1403
1404 self = self;
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFontMetricPath",_kwnames,&_argo0,&_obj1))
1406 return NULL;
1407 if (_argo0) {
1408 if (_argo0 == Py_None) { _arg0 = NULL; }
1409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1411 return NULL;
1412 }
1413 }
1414{
c8bc7bb8
RD
1415 _arg1 = wxString_in_helper(_obj1);
1416 if (_arg1 == NULL)
926bb76c 1417 return NULL;
926bb76c
RD
1418}
1419{
4268f798 1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1421 wxPrintData_SetFontMetricPath(_arg0,*_arg1);
926bb76c 1422
4268f798 1423 wxPyEndAllowThreads(__tstate);
493f1553 1424 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1425} Py_INCREF(Py_None);
1426 _resultobj = Py_None;
1427{
1428 if (_obj1)
1429 delete _arg1;
1430}
1431 return _resultobj;
1432}
1433
1434#define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1435static PyObject *_wrap_wxPrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject * _resultobj;
1437 wxPrintData * _arg0;
1438 double _arg1;
1439 PyObject * _argo0 = 0;
1440 char *_kwnames[] = { "self","x", NULL };
1441
1442 self = self;
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleX",_kwnames,&_argo0,&_arg1))
1444 return NULL;
1445 if (_argo0) {
1446 if (_argo0 == Py_None) { _arg0 = NULL; }
1447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1449 return NULL;
1450 }
1451 }
1452{
4268f798 1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1454 wxPrintData_SetPrinterScaleX(_arg0,_arg1);
926bb76c 1455
4268f798 1456 wxPyEndAllowThreads(__tstate);
493f1553 1457 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1458} Py_INCREF(Py_None);
1459 _resultobj = Py_None;
1460 return _resultobj;
1461}
1462
1463#define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1464static PyObject *_wrap_wxPrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject * _resultobj;
1466 wxPrintData * _arg0;
1467 double _arg1;
1468 PyObject * _argo0 = 0;
1469 char *_kwnames[] = { "self","y", NULL };
1470
1471 self = self;
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleY",_kwnames,&_argo0,&_arg1))
1473 return NULL;
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1478 return NULL;
1479 }
1480 }
1481{
4268f798 1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1483 wxPrintData_SetPrinterScaleY(_arg0,_arg1);
926bb76c 1484
4268f798 1485 wxPyEndAllowThreads(__tstate);
493f1553 1486 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1487} Py_INCREF(Py_None);
1488 _resultobj = Py_None;
1489 return _resultobj;
1490}
1491
1492#define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1493static PyObject *_wrap_wxPrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject * _resultobj;
1495 wxPrintData * _arg0;
1496 double _arg1;
1497 double _arg2;
1498 PyObject * _argo0 = 0;
1499 char *_kwnames[] = { "self","x","y", NULL };
1500
1501 self = self;
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPrintData_SetPrinterScaling",_kwnames,&_argo0,&_arg1,&_arg2))
1503 return NULL;
1504 if (_argo0) {
1505 if (_argo0 == Py_None) { _arg0 = NULL; }
1506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1508 return NULL;
1509 }
1510 }
1511{
4268f798 1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1513 wxPrintData_SetPrinterScaling(_arg0,_arg1,_arg2);
926bb76c 1514
4268f798 1515 wxPyEndAllowThreads(__tstate);
493f1553 1516 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1517} Py_INCREF(Py_None);
1518 _resultobj = Py_None;
1519 return _resultobj;
1520}
1521
1522#define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1523static PyObject *_wrap_wxPrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject * _resultobj;
1525 wxPrintData * _arg0;
1526 long _arg1;
1527 PyObject * _argo0 = 0;
1528 char *_kwnames[] = { "self","x", NULL };
1529
1530 self = self;
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames,&_argo0,&_arg1))
1532 return NULL;
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1537 return NULL;
1538 }
1539 }
1540{
4268f798 1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1542 wxPrintData_SetPrinterTranslateX(_arg0,_arg1);
926bb76c 1543
4268f798 1544 wxPyEndAllowThreads(__tstate);
493f1553 1545 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1546} Py_INCREF(Py_None);
1547 _resultobj = Py_None;
1548 return _resultobj;
1549}
1550
1551#define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1552static PyObject *_wrap_wxPrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject * _resultobj;
1554 wxPrintData * _arg0;
1555 long _arg1;
1556 PyObject * _argo0 = 0;
1557 char *_kwnames[] = { "self","y", NULL };
1558
1559 self = self;
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames,&_argo0,&_arg1))
1561 return NULL;
1562 if (_argo0) {
1563 if (_argo0 == Py_None) { _arg0 = NULL; }
1564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1566 return NULL;
1567 }
1568 }
1569{
4268f798 1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1571 wxPrintData_SetPrinterTranslateY(_arg0,_arg1);
926bb76c 1572
4268f798 1573 wxPyEndAllowThreads(__tstate);
493f1553 1574 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1575} Py_INCREF(Py_None);
1576 _resultobj = Py_None;
1577 return _resultobj;
1578}
1579
1580#define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1581static PyObject *_wrap_wxPrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject * _resultobj;
1583 wxPrintData * _arg0;
1584 long _arg1;
1585 long _arg2;
1586 PyObject * _argo0 = 0;
1587 char *_kwnames[] = { "self","x","y", NULL };
1588
1589 self = self;
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPrintData_SetPrinterTranslation",_kwnames,&_argo0,&_arg1,&_arg2))
1591 return NULL;
1592 if (_argo0) {
1593 if (_argo0 == Py_None) { _arg0 = NULL; }
1594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1596 return NULL;
1597 }
1598 }
1599{
4268f798 1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1601 wxPrintData_SetPrinterTranslation(_arg0,_arg1,_arg2);
926bb76c 1602
4268f798 1603 wxPyEndAllowThreads(__tstate);
493f1553 1604 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1605} Py_INCREF(Py_None);
1606 _resultobj = Py_None;
1607 return _resultobj;
1608}
1609
1610#define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1611static PyObject *_wrap_wxPrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject * _resultobj;
1613 wxPrintData * _arg0;
5a2a9da2 1614 wxPrintMode _arg1;
926bb76c 1615 PyObject * _argo0 = 0;
926bb76c
RD
1616 char *_kwnames[] = { "self","printMode", NULL };
1617
1618 self = self;
5a2a9da2 1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetPrintMode",_kwnames,&_argo0,&_arg1))
926bb76c
RD
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1625 return NULL;
1626 }
1627 }
926bb76c 1628{
4268f798 1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 1630 wxPrintData_SetPrintMode(_arg0,_arg1);
926bb76c 1631
4268f798 1632 wxPyEndAllowThreads(__tstate);
493f1553 1633 if (PyErr_Occurred()) return NULL;
926bb76c
RD
1634} Py_INCREF(Py_None);
1635 _resultobj = Py_None;
1636 return _resultobj;
1637}
1638
1b62f00d
RD
1639static void *SwigwxPrinterDCTowxDC(void *ptr) {
1640 wxPrinterDC *src;
1641 wxDC *dest;
1642 src = (wxPrinterDC *) ptr;
1643 dest = (wxDC *) src;
1644 return (void *) dest;
1645}
1646
9416aa89
RD
1647static void *SwigwxPrinterDCTowxObject(void *ptr) {
1648 wxPrinterDC *src;
1649 wxObject *dest;
1650 src = (wxPrinterDC *) ptr;
1651 dest = (wxObject *) src;
1652 return (void *) dest;
1653}
1654
1b62f00d
RD
1655#define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1656static PyObject *_wrap_new_wxPrinterDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject * _resultobj;
1658 wxPrinterDC * _result;
1659 wxPrintData * _arg0;
1660 PyObject * _argo0 = 0;
1661 char *_kwnames[] = { "printData", NULL };
1662 char _ptemp[128];
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPrinterDC",_kwnames,&_argo0))
1666 return NULL;
1667 if (_argo0) {
7e50db3f 1668 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
1b62f00d
RD
1669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1670 return NULL;
1671 }
1672 }
1673{
4268f798 1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1675 _result = (wxPrinterDC *)new_wxPrinterDC(*_arg0);
1b62f00d 1676
4268f798 1677 wxPyEndAllowThreads(__tstate);
493f1553 1678 if (PyErr_Occurred()) return NULL;
1b62f00d
RD
1679} if (_result) {
1680 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
1681 _resultobj = Py_BuildValue("s",_ptemp);
1682 } else {
1683 Py_INCREF(Py_None);
1684 _resultobj = Py_None;
1685 }
1686 return _resultobj;
1687}
1688
1689#define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1690static PyObject *_wrap_new_wxPrinterDC2(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxPrinterDC * _result;
1693 wxString * _arg0;
1694 wxString * _arg1;
1695 wxString * _arg2;
1696 bool _arg3 = (bool ) TRUE;
1697 int _arg4 = (int ) wxPORTRAIT;
1698 PyObject * _obj0 = 0;
1699 PyObject * _obj1 = 0;
1700 PyObject * _obj2 = 0;
1701 int tempbool3 = (int) TRUE;
1702 char *_kwnames[] = { "driver","device","output","interactive","orientation", NULL };
1703 char _ptemp[128];
1704
1705 self = self;
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:new_wxPrinterDC2",_kwnames,&_obj0,&_obj1,&_obj2,&tempbool3,&_arg4))
1707 return NULL;
1708{
c8bc7bb8
RD
1709 _arg0 = wxString_in_helper(_obj0);
1710 if (_arg0 == NULL)
1b62f00d 1711 return NULL;
1b62f00d
RD
1712}
1713{
c8bc7bb8
RD
1714 _arg1 = wxString_in_helper(_obj1);
1715 if (_arg1 == NULL)
1b62f00d 1716 return NULL;
1b62f00d
RD
1717}
1718{
c8bc7bb8
RD
1719 _arg2 = wxString_in_helper(_obj2);
1720 if (_arg2 == NULL)
1b62f00d 1721 return NULL;
1b62f00d
RD
1722}
1723 _arg3 = (bool ) tempbool3;
1724{
4268f798 1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1726 _result = (wxPrinterDC *)new_wxPrinterDC2(*_arg0,*_arg1,*_arg2,_arg3,_arg4);
1b62f00d 1727
4268f798 1728 wxPyEndAllowThreads(__tstate);
493f1553 1729 if (PyErr_Occurred()) return NULL;
1b62f00d
RD
1730} if (_result) {
1731 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
1732 _resultobj = Py_BuildValue("s",_ptemp);
1733 } else {
1734 Py_INCREF(Py_None);
1735 _resultobj = Py_None;
1736 }
1737{
1738 if (_obj0)
1739 delete _arg0;
1740}
1741{
1742 if (_obj1)
1743 delete _arg1;
1744}
1745{
1746 if (_obj2)
1747 delete _arg2;
1748}
1749 return _resultobj;
1750}
1751
eedf876b
RD
1752static void *SwigwxPostScriptDCTowxDC(void *ptr) {
1753 wxPostScriptDC *src;
1754 wxDC *dest;
1755 src = (wxPostScriptDC *) ptr;
1756 dest = (wxDC *) src;
1757 return (void *) dest;
1758}
1759
1760static void *SwigwxPostScriptDCTowxObject(void *ptr) {
1761 wxPostScriptDC *src;
1762 wxObject *dest;
1763 src = (wxPostScriptDC *) ptr;
1764 dest = (wxObject *) src;
1765 return (void *) dest;
1766}
1767
1768#define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1769static PyObject *_wrap_new_wxPostScriptDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject * _resultobj;
1771 wxPostScriptDC * _result;
1772 wxPrintData * _arg0;
1773 PyObject * _argo0 = 0;
1774 char *_kwnames[] = { "printData", NULL };
1775 char _ptemp[128];
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPostScriptDC",_kwnames,&_argo0))
1779 return NULL;
1780 if (_argo0) {
7e50db3f 1781 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) {
eedf876b
RD
1782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1783 return NULL;
1784 }
1785 }
1786{
4268f798 1787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1788 _result = (wxPostScriptDC *)new_wxPostScriptDC(*_arg0);
eedf876b 1789
4268f798 1790 wxPyEndAllowThreads(__tstate);
eedf876b
RD
1791 if (PyErr_Occurred()) return NULL;
1792} if (_result) {
1793 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPostScriptDC_p");
1794 _resultobj = Py_BuildValue("s",_ptemp);
1795 } else {
1796 Py_INCREF(Py_None);
1797 _resultobj = Py_None;
1798 }
1799 return _resultobj;
1800}
1801
eedf876b
RD
1802#define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1803static PyObject *_wrap_wxPostScriptDC_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject * _resultobj;
1805 wxPrintData * _result;
1806 wxPostScriptDC * _arg0;
1807 PyObject * _argo0 = 0;
1808 char *_kwnames[] = { "self", NULL };
1809 char _ptemp[128];
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPostScriptDC_GetPrintData",_kwnames,&_argo0))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1818 return NULL;
1819 }
1820 }
1821{
4268f798 1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1823 wxPrintData & _result_ref = wxPostScriptDC_GetPrintData(_arg0);
eedf876b
RD
1824 _result = (wxPrintData *) &_result_ref;
1825
4268f798 1826 wxPyEndAllowThreads(__tstate);
eedf876b
RD
1827 if (PyErr_Occurred()) return NULL;
1828} if (_result) {
1829 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
1830 _resultobj = Py_BuildValue("s",_ptemp);
1831 } else {
1832 Py_INCREF(Py_None);
1833 _resultobj = Py_None;
1834 }
1835 return _resultobj;
1836}
1837
1838#define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1839static PyObject *_wrap_wxPostScriptDC_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject * _resultobj;
1841 wxPostScriptDC * _arg0;
1842 wxPrintData * _arg1;
1843 PyObject * _argo0 = 0;
1844 PyObject * _argo1 = 0;
1845 char *_kwnames[] = { "self","data", NULL };
1846
1847 self = self;
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostScriptDC_SetPrintData",_kwnames,&_argo0,&_argo1))
1849 return NULL;
1850 if (_argo0) {
1851 if (_argo0 == Py_None) { _arg0 = NULL; }
1852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPostScriptDC_p")) {
1853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1854 return NULL;
1855 }
1856 }
1857 if (_argo1) {
7e50db3f 1858 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
eedf876b
RD
1859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1860 return NULL;
1861 }
1862 }
1863{
4268f798 1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1865 wxPostScriptDC_SetPrintData(_arg0,*_arg1);
eedf876b 1866
4268f798 1867 wxPyEndAllowThreads(__tstate);
eedf876b
RD
1868 if (PyErr_Occurred()) return NULL;
1869} Py_INCREF(Py_None);
1870 _resultobj = Py_None;
1871 return _resultobj;
1872}
1873
1874static PyObject *_wrap_wxPostScriptDC_SetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject * _resultobj;
1876 int _arg0;
1877 char *_kwnames[] = { "ppi", NULL };
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxPostScriptDC_SetResolution",_kwnames,&_arg0))
1881 return NULL;
1882{
4268f798 1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1884 wxPostScriptDC::SetResolution(_arg0);
eedf876b 1885
4268f798 1886 wxPyEndAllowThreads(__tstate);
eedf876b
RD
1887 if (PyErr_Occurred()) return NULL;
1888} Py_INCREF(Py_None);
1889 _resultobj = Py_None;
1890 return _resultobj;
1891}
1892
1893static PyObject *_wrap_wxPostScriptDC_GetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject * _resultobj;
1895 int _result;
1896 char *_kwnames[] = { NULL };
1897
1898 self = self;
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxPostScriptDC_GetResolution",_kwnames))
1900 return NULL;
1901{
4268f798 1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1903 _result = (int )wxPostScriptDC::GetResolution();
eedf876b 1904
4268f798 1905 wxPyEndAllowThreads(__tstate);
eedf876b
RD
1906 if (PyErr_Occurred()) return NULL;
1907} _resultobj = Py_BuildValue("i",_result);
1908 return _resultobj;
1909}
1910
9416aa89
RD
1911static void *SwigwxPageSetupDialogDataTowxObject(void *ptr) {
1912 wxPageSetupDialogData *src;
1913 wxObject *dest;
1914 src = (wxPageSetupDialogData *) ptr;
1915 dest = (wxObject *) src;
1916 return (void *) dest;
1917}
1918
bb0054cd 1919#define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
efc5f224 1920static PyObject *_wrap_new_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1921 PyObject * _resultobj;
1922 wxPageSetupDialogData * _result;
efc5f224 1923 char *_kwnames[] = { NULL };
bb0054cd
RD
1924 char _ptemp[128];
1925
1926 self = self;
efc5f224 1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPageSetupDialogData",_kwnames))
bb0054cd
RD
1928 return NULL;
1929{
4268f798 1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1931 _result = (wxPageSetupDialogData *)new_wxPageSetupDialogData();
bb0054cd 1932
4268f798 1933 wxPyEndAllowThreads(__tstate);
493f1553 1934 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1935} if (_result) {
1936 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
1937 _resultobj = Py_BuildValue("s",_ptemp);
1938 } else {
1939 Py_INCREF(Py_None);
1940 _resultobj = Py_None;
1941 }
bb0054cd
RD
1942 return _resultobj;
1943}
1944
1945#define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
efc5f224 1946static PyObject *_wrap_delete_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1947 PyObject * _resultobj;
1948 wxPageSetupDialogData * _arg0;
1d99702e 1949 PyObject * _argo0 = 0;
efc5f224 1950 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
1951
1952 self = self;
efc5f224 1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPageSetupDialogData",_kwnames,&_argo0))
bb0054cd 1954 return NULL;
1d99702e
RD
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1959 return NULL;
1960 }
1961 }
1962{
4268f798 1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1964 delete_wxPageSetupDialogData(_arg0);
bb0054cd 1965
4268f798 1966 wxPyEndAllowThreads(__tstate);
493f1553 1967 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1968} Py_INCREF(Py_None);
1969 _resultobj = Py_None;
1970 return _resultobj;
1971}
1972
1973#define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
efc5f224 1974static PyObject *_wrap_wxPageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1975 PyObject * _resultobj;
1976 wxPageSetupDialogData * _arg0;
1977 bool _arg1;
1d99702e 1978 PyObject * _argo0 = 0;
bb0054cd 1979 int tempbool1;
efc5f224 1980 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
1981
1982 self = self;
efc5f224 1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
bb0054cd 1984 return NULL;
1d99702e
RD
1985 if (_argo0) {
1986 if (_argo0 == Py_None) { _arg0 = NULL; }
1987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1989 return NULL;
1990 }
1991 }
1992 _arg1 = (bool ) tempbool1;
1993{
4268f798 1994 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1995 wxPageSetupDialogData_EnableHelp(_arg0,_arg1);
bb0054cd 1996
4268f798 1997 wxPyEndAllowThreads(__tstate);
493f1553 1998 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1999} Py_INCREF(Py_None);
2000 _resultobj = Py_None;
2001 return _resultobj;
2002}
2003
2004#define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
efc5f224 2005static PyObject *_wrap_wxPageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2006 PyObject * _resultobj;
2007 wxPageSetupDialogData * _arg0;
2008 bool _arg1;
1d99702e 2009 PyObject * _argo0 = 0;
bb0054cd 2010 int tempbool1;
efc5f224 2011 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2012
2013 self = self;
efc5f224 2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames,&_argo0,&tempbool1))
bb0054cd 2015 return NULL;
1d99702e
RD
2016 if (_argo0) {
2017 if (_argo0 == Py_None) { _arg0 = NULL; }
2018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
2020 return NULL;
2021 }
2022 }
2023 _arg1 = (bool ) tempbool1;
2024{
4268f798 2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2026 wxPageSetupDialogData_EnableMargins(_arg0,_arg1);
bb0054cd 2027
4268f798 2028 wxPyEndAllowThreads(__tstate);
493f1553 2029 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2030} Py_INCREF(Py_None);
2031 _resultobj = Py_None;
2032 return _resultobj;
2033}
2034
2035#define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
efc5f224 2036static PyObject *_wrap_wxPageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2037 PyObject * _resultobj;
2038 wxPageSetupDialogData * _arg0;
2039 bool _arg1;
1d99702e 2040 PyObject * _argo0 = 0;
bb0054cd 2041 int tempbool1;
efc5f224 2042 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2043
2044 self = self;
efc5f224 2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames,&_argo0,&tempbool1))
bb0054cd 2046 return NULL;
1d99702e
RD
2047 if (_argo0) {
2048 if (_argo0 == Py_None) { _arg0 = NULL; }
2049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
2051 return NULL;
2052 }
2053 }
2054 _arg1 = (bool ) tempbool1;
2055{
4268f798 2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2057 wxPageSetupDialogData_EnableOrientation(_arg0,_arg1);
bb0054cd 2058
4268f798 2059 wxPyEndAllowThreads(__tstate);
493f1553 2060 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2061} Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064}
2065
2066#define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
efc5f224 2067static PyObject *_wrap_wxPageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2068 PyObject * _resultobj;
2069 wxPageSetupDialogData * _arg0;
2070 bool _arg1;
1d99702e 2071 PyObject * _argo0 = 0;
bb0054cd 2072 int tempbool1;
efc5f224 2073 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2074
2075 self = self;
efc5f224 2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames,&_argo0,&tempbool1))
bb0054cd 2077 return NULL;
1d99702e
RD
2078 if (_argo0) {
2079 if (_argo0 == Py_None) { _arg0 = NULL; }
2080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
2082 return NULL;
2083 }
2084 }
2085 _arg1 = (bool ) tempbool1;
2086{
4268f798 2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2088 wxPageSetupDialogData_EnablePaper(_arg0,_arg1);
bb0054cd 2089
4268f798 2090 wxPyEndAllowThreads(__tstate);
493f1553 2091 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2092} Py_INCREF(Py_None);
2093 _resultobj = Py_None;
2094 return _resultobj;
2095}
2096
2097#define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
efc5f224 2098static PyObject *_wrap_wxPageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2099 PyObject * _resultobj;
2100 wxPageSetupDialogData * _arg0;
2101 bool _arg1;
1d99702e 2102 PyObject * _argo0 = 0;
bb0054cd 2103 int tempbool1;
efc5f224 2104 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2105
2106 self = self;
efc5f224 2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames,&_argo0,&tempbool1))
bb0054cd 2108 return NULL;
1d99702e
RD
2109 if (_argo0) {
2110 if (_argo0 == Py_None) { _arg0 = NULL; }
2111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2113 return NULL;
2114 }
2115 }
2116 _arg1 = (bool ) tempbool1;
2117{
4268f798 2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2119 wxPageSetupDialogData_EnablePrinter(_arg0,_arg1);
bb0054cd 2120
4268f798 2121 wxPyEndAllowThreads(__tstate);
493f1553 2122 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2123} Py_INCREF(Py_None);
2124 _resultobj = Py_None;
2125 return _resultobj;
2126}
2127
2128#define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
efc5f224 2129static PyObject *_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2130 PyObject * _resultobj;
2131 bool _result;
2132 wxPageSetupDialogData * _arg0;
1d99702e 2133 PyObject * _argo0 = 0;
efc5f224 2134 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2135
2136 self = self;
efc5f224 2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames,&_argo0))
bb0054cd 2138 return NULL;
1d99702e
RD
2139 if (_argo0) {
2140 if (_argo0 == Py_None) { _arg0 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2143 return NULL;
2144 }
2145 }
2146{
4268f798 2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2148 _result = (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0);
bb0054cd 2149
4268f798 2150 wxPyEndAllowThreads(__tstate);
493f1553 2151 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2152} _resultobj = Py_BuildValue("i",_result);
2153 return _resultobj;
2154}
2155
2156#define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
efc5f224 2157static PyObject *_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2158 PyObject * _resultobj;
2159 bool _result;
2160 wxPageSetupDialogData * _arg0;
1d99702e 2161 PyObject * _argo0 = 0;
efc5f224 2162 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2163
2164 self = self;
efc5f224 2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames,&_argo0))
bb0054cd 2166 return NULL;
1d99702e
RD
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2171 return NULL;
2172 }
2173 }
2174{
4268f798 2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2176 _result = (bool )wxPageSetupDialogData_GetEnableMargins(_arg0);
bb0054cd 2177
4268f798 2178 wxPyEndAllowThreads(__tstate);
493f1553 2179 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2180} _resultobj = Py_BuildValue("i",_result);
2181 return _resultobj;
2182}
2183
2184#define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
efc5f224 2185static PyObject *_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2186 PyObject * _resultobj;
2187 bool _result;
2188 wxPageSetupDialogData * _arg0;
1d99702e 2189 PyObject * _argo0 = 0;
efc5f224 2190 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2191
2192 self = self;
efc5f224 2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames,&_argo0))
bb0054cd 2194 return NULL;
1d99702e
RD
2195 if (_argo0) {
2196 if (_argo0 == Py_None) { _arg0 = NULL; }
2197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2199 return NULL;
2200 }
2201 }
2202{
4268f798 2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2204 _result = (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0);
bb0054cd 2205
4268f798 2206 wxPyEndAllowThreads(__tstate);
493f1553 2207 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2208} _resultobj = Py_BuildValue("i",_result);
2209 return _resultobj;
2210}
2211
2212#define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
efc5f224 2213static PyObject *_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2214 PyObject * _resultobj;
2215 bool _result;
2216 wxPageSetupDialogData * _arg0;
1d99702e 2217 PyObject * _argo0 = 0;
efc5f224 2218 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2219
2220 self = self;
efc5f224 2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames,&_argo0))
bb0054cd 2222 return NULL;
1d99702e
RD
2223 if (_argo0) {
2224 if (_argo0 == Py_None) { _arg0 = NULL; }
2225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2227 return NULL;
2228 }
2229 }
2230{
4268f798 2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2232 _result = (bool )wxPageSetupDialogData_GetEnablePaper(_arg0);
bb0054cd 2233
4268f798 2234 wxPyEndAllowThreads(__tstate);
493f1553 2235 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2236} _resultobj = Py_BuildValue("i",_result);
2237 return _resultobj;
2238}
2239
2240#define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
efc5f224 2241static PyObject *_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2242 PyObject * _resultobj;
2243 bool _result;
2244 wxPageSetupDialogData * _arg0;
1d99702e 2245 PyObject * _argo0 = 0;
efc5f224 2246 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2247
2248 self = self;
efc5f224 2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames,&_argo0))
bb0054cd 2250 return NULL;
1d99702e
RD
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2255 return NULL;
2256 }
2257 }
2258{
4268f798 2259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2260 _result = (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0);
bb0054cd 2261
4268f798 2262 wxPyEndAllowThreads(__tstate);
493f1553 2263 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2264} _resultobj = Py_BuildValue("i",_result);
2265 return _resultobj;
2266}
2267
2268#define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
efc5f224 2269static PyObject *_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2270 PyObject * _resultobj;
2271 bool _result;
2272 wxPageSetupDialogData * _arg0;
1d99702e 2273 PyObject * _argo0 = 0;
efc5f224 2274 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2275
2276 self = self;
efc5f224 2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames,&_argo0))
bb0054cd 2278 return NULL;
1d99702e
RD
2279 if (_argo0) {
2280 if (_argo0 == Py_None) { _arg0 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2283 return NULL;
2284 }
2285 }
2286{
4268f798 2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2288 _result = (bool )wxPageSetupDialogData_GetEnableHelp(_arg0);
bb0054cd 2289
4268f798 2290 wxPyEndAllowThreads(__tstate);
493f1553 2291 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2292} _resultobj = Py_BuildValue("i",_result);
2293 return _resultobj;
2294}
2295
2296#define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
efc5f224 2297static PyObject *_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2298 PyObject * _resultobj;
2299 bool _result;
2300 wxPageSetupDialogData * _arg0;
1d99702e 2301 PyObject * _argo0 = 0;
efc5f224 2302 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2303
2304 self = self;
efc5f224 2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames,&_argo0))
bb0054cd 2306 return NULL;
1d99702e
RD
2307 if (_argo0) {
2308 if (_argo0 == Py_None) { _arg0 = NULL; }
2309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2311 return NULL;
2312 }
2313 }
2314{
4268f798 2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2316 _result = (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0);
bb0054cd 2317
4268f798 2318 wxPyEndAllowThreads(__tstate);
493f1553 2319 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2320} _resultobj = Py_BuildValue("i",_result);
2321 return _resultobj;
2322}
2323
2324#define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
efc5f224 2325static PyObject *_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2326 PyObject * _resultobj;
2327 wxPoint * _result;
2328 wxPageSetupDialogData * _arg0;
1d99702e 2329 PyObject * _argo0 = 0;
efc5f224 2330 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2331 char _ptemp[128];
2332
2333 self = self;
efc5f224 2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames,&_argo0))
bb0054cd 2335 return NULL;
1d99702e
RD
2336 if (_argo0) {
2337 if (_argo0 == Py_None) { _arg0 = NULL; }
2338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2340 return NULL;
2341 }
2342 }
2343{
4268f798 2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2345 _result = new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0));
bb0054cd 2346
4268f798 2347 wxPyEndAllowThreads(__tstate);
493f1553 2348 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2349} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2350 _resultobj = Py_BuildValue("s",_ptemp);
2351 return _resultobj;
2352}
2353
2354#define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
efc5f224 2355static PyObject *_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2356 PyObject * _resultobj;
2357 wxPoint * _result;
2358 wxPageSetupDialogData * _arg0;
1d99702e 2359 PyObject * _argo0 = 0;
efc5f224 2360 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2361 char _ptemp[128];
2362
2363 self = self;
efc5f224 2364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames,&_argo0))
bb0054cd 2365 return NULL;
1d99702e
RD
2366 if (_argo0) {
2367 if (_argo0 == Py_None) { _arg0 = NULL; }
2368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2370 return NULL;
2371 }
2372 }
2373{
4268f798 2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2375 _result = new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0));
bb0054cd 2376
4268f798 2377 wxPyEndAllowThreads(__tstate);
493f1553 2378 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2379} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2380 _resultobj = Py_BuildValue("s",_ptemp);
2381 return _resultobj;
2382}
2383
2384#define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
efc5f224 2385static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2386 PyObject * _resultobj;
2387 wxPoint * _result;
2388 wxPageSetupDialogData * _arg0;
1d99702e 2389 PyObject * _argo0 = 0;
efc5f224 2390 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2391 char _ptemp[128];
2392
2393 self = self;
efc5f224 2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames,&_argo0))
bb0054cd 2395 return NULL;
1d99702e
RD
2396 if (_argo0) {
2397 if (_argo0 == Py_None) { _arg0 = NULL; }
2398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2400 return NULL;
2401 }
2402 }
2403{
4268f798 2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2405 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0));
bb0054cd 2406
4268f798 2407 wxPyEndAllowThreads(__tstate);
493f1553 2408 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2409} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2410 _resultobj = Py_BuildValue("s",_ptemp);
2411 return _resultobj;
2412}
2413
2414#define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
efc5f224 2415static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2416 PyObject * _resultobj;
2417 wxPoint * _result;
2418 wxPageSetupDialogData * _arg0;
1d99702e 2419 PyObject * _argo0 = 0;
efc5f224 2420 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2421 char _ptemp[128];
2422
2423 self = self;
efc5f224 2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames,&_argo0))
bb0054cd 2425 return NULL;
1d99702e
RD
2426 if (_argo0) {
2427 if (_argo0 == Py_None) { _arg0 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2430 return NULL;
2431 }
2432 }
2433{
4268f798 2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2435 _result = new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0));
bb0054cd 2436
4268f798 2437 wxPyEndAllowThreads(__tstate);
493f1553 2438 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2439} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2440 _resultobj = Py_BuildValue("s",_ptemp);
2441 return _resultobj;
2442}
2443
2444#define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
efc5f224 2445static PyObject *_wrap_wxPageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2446 PyObject * _resultobj;
2447 wxPaperSize _result;
2448 wxPageSetupDialogData * _arg0;
1d99702e 2449 PyObject * _argo0 = 0;
efc5f224 2450 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2451
2452 self = self;
efc5f224 2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperId",_kwnames,&_argo0))
bb0054cd 2454 return NULL;
1d99702e
RD
2455 if (_argo0) {
2456 if (_argo0 == Py_None) { _arg0 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2459 return NULL;
2460 }
2461 }
2462{
4268f798 2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2464 _result = (wxPaperSize )wxPageSetupDialogData_GetPaperId(_arg0);
bb0054cd 2465
4268f798 2466 wxPyEndAllowThreads(__tstate);
493f1553 2467 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2468} _resultobj = Py_BuildValue("i",_result);
2469 return _resultobj;
2470}
2471
2472#define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
efc5f224 2473static PyObject *_wrap_wxPageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2474 PyObject * _resultobj;
2475 wxSize * _result;
2476 wxPageSetupDialogData * _arg0;
1d99702e 2477 PyObject * _argo0 = 0;
efc5f224 2478 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2479 char _ptemp[128];
2480
2481 self = self;
efc5f224 2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperSize",_kwnames,&_argo0))
bb0054cd 2483 return NULL;
1d99702e
RD
2484 if (_argo0) {
2485 if (_argo0 == Py_None) { _arg0 = NULL; }
2486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2488 return NULL;
2489 }
2490 }
2491{
4268f798 2492 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2493 _result = new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0));
bb0054cd 2494
4268f798 2495 wxPyEndAllowThreads(__tstate);
493f1553 2496 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2497} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2498 _resultobj = Py_BuildValue("s",_ptemp);
2499 return _resultobj;
2500}
2501
2502static wxPrintData * wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData *self) {
2503 return new wxPrintData(self->GetPrintData()); // force a copy
2504 }
efc5f224 2505static PyObject *_wrap_wxPageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2506 PyObject * _resultobj;
2507 wxPrintData * _result;
2508 wxPageSetupDialogData * _arg0;
1d99702e 2509 PyObject * _argo0 = 0;
efc5f224 2510 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2511 char _ptemp[128];
2512
2513 self = self;
efc5f224 2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPrintData",_kwnames,&_argo0))
bb0054cd 2515 return NULL;
1d99702e
RD
2516 if (_argo0) {
2517 if (_argo0 == Py_None) { _arg0 = NULL; }
2518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2520 return NULL;
2521 }
2522 }
2523{
4268f798 2524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2525 _result = (wxPrintData *)wxPageSetupDialogData_GetPrintData(_arg0);
bb0054cd 2526
4268f798 2527 wxPyEndAllowThreads(__tstate);
493f1553 2528 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2529} if (_result) {
2530 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
2531 _resultobj = Py_BuildValue("s",_ptemp);
2532 } else {
2533 Py_INCREF(Py_None);
2534 _resultobj = Py_None;
2535 }
bb0054cd
RD
2536 return _resultobj;
2537}
2538
b7fc54be
RD
2539#define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2540static PyObject *_wrap_wxPageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 bool _result;
2543 wxPageSetupDialogData * _arg0;
2544 PyObject * _argo0 = 0;
2545 char *_kwnames[] = { "self", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_Ok",_kwnames,&_argo0))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2554 return NULL;
2555 }
2556 }
2557{
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 _result = (bool )wxPageSetupDialogData_Ok(_arg0);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) return NULL;
2563} _resultobj = Py_BuildValue("i",_result);
2564 return _resultobj;
2565}
2566
bb0054cd 2567#define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
efc5f224 2568static PyObject *_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2569 PyObject * _resultobj;
2570 wxPageSetupDialogData * _arg0;
2571 bool _arg1;
1d99702e 2572 PyObject * _argo0 = 0;
bb0054cd 2573 int tempbool1;
efc5f224 2574 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2575
2576 self = self;
efc5f224 2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames,&_argo0,&tempbool1))
bb0054cd 2578 return NULL;
1d99702e
RD
2579 if (_argo0) {
2580 if (_argo0 == Py_None) { _arg0 = NULL; }
2581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2583 return NULL;
2584 }
2585 }
2586 _arg1 = (bool ) tempbool1;
2587{
4268f798 2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2589 wxPageSetupDialogData_SetDefaultInfo(_arg0,_arg1);
bb0054cd 2590
4268f798 2591 wxPyEndAllowThreads(__tstate);
493f1553 2592 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2593} Py_INCREF(Py_None);
2594 _resultobj = Py_None;
2595 return _resultobj;
2596}
2597
2598#define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
efc5f224 2599static PyObject *_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2600 PyObject * _resultobj;
2601 wxPageSetupDialogData * _arg0;
2602 bool _arg1;
1d99702e 2603 PyObject * _argo0 = 0;
bb0054cd 2604 int tempbool1;
efc5f224 2605 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
2606
2607 self = self;
efc5f224 2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames,&_argo0,&tempbool1))
bb0054cd 2609 return NULL;
1d99702e
RD
2610 if (_argo0) {
2611 if (_argo0 == Py_None) { _arg0 = NULL; }
2612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2614 return NULL;
2615 }
2616 }
2617 _arg1 = (bool ) tempbool1;
2618{
4268f798 2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2620 wxPageSetupDialogData_SetDefaultMinMargins(_arg0,_arg1);
bb0054cd 2621
4268f798 2622 wxPyEndAllowThreads(__tstate);
493f1553 2623 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2624} Py_INCREF(Py_None);
2625 _resultobj = Py_None;
2626 return _resultobj;
2627}
2628
2629#define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
efc5f224 2630static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2631 PyObject * _resultobj;
2632 wxPageSetupDialogData * _arg0;
2633 wxPoint * _arg1;
1d99702e 2634 PyObject * _argo0 = 0;
2f90df85
RD
2635 wxPoint temp;
2636 PyObject * _obj1 = 0;
efc5f224 2637 char *_kwnames[] = { "self","pt", NULL };
bb0054cd
RD
2638
2639 self = self;
2f90df85 2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1))
bb0054cd 2641 return NULL;
1d99702e
RD
2642 if (_argo0) {
2643 if (_argo0 == Py_None) { _arg0 = NULL; }
2644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2646 return NULL;
2647 }
2648 }
2f90df85
RD
2649{
2650 _arg1 = &temp;
2651 if (! wxPoint_helper(_obj1, &_arg1))
bb0054cd 2652 return NULL;
2f90df85 2653}
bb0054cd 2654{
4268f798 2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2656 wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
bb0054cd 2657
4268f798 2658 wxPyEndAllowThreads(__tstate);
493f1553 2659 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2660} Py_INCREF(Py_None);
2661 _resultobj = Py_None;
2662 return _resultobj;
2663}
2664
2665#define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
efc5f224 2666static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2667 PyObject * _resultobj;
2668 wxPageSetupDialogData * _arg0;
2669 wxPoint * _arg1;
1d99702e 2670 PyObject * _argo0 = 0;
2f90df85
RD
2671 wxPoint temp;
2672 PyObject * _obj1 = 0;
efc5f224 2673 char *_kwnames[] = { "self","pt", NULL };
bb0054cd
RD
2674
2675 self = self;
2f90df85 2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1))
bb0054cd 2677 return NULL;
1d99702e
RD
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2682 return NULL;
2683 }
2684 }
2f90df85
RD
2685{
2686 _arg1 = &temp;
2687 if (! wxPoint_helper(_obj1, &_arg1))
bb0054cd 2688 return NULL;
2f90df85 2689}
bb0054cd 2690{
4268f798 2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2692 wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
bb0054cd 2693
4268f798 2694 wxPyEndAllowThreads(__tstate);
493f1553 2695 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2696} Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699}
2700
2701#define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
efc5f224 2702static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2703 PyObject * _resultobj;
2704 wxPageSetupDialogData * _arg0;
2705 wxPoint * _arg1;
1d99702e 2706 PyObject * _argo0 = 0;
2f90df85
RD
2707 wxPoint temp;
2708 PyObject * _obj1 = 0;
efc5f224 2709 char *_kwnames[] = { "self","pt", NULL };
bb0054cd
RD
2710
2711 self = self;
2f90df85 2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1))
bb0054cd 2713 return NULL;
1d99702e
RD
2714 if (_argo0) {
2715 if (_argo0 == Py_None) { _arg0 = NULL; }
2716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2718 return NULL;
2719 }
2720 }
2f90df85
RD
2721{
2722 _arg1 = &temp;
2723 if (! wxPoint_helper(_obj1, &_arg1))
bb0054cd 2724 return NULL;
2f90df85 2725}
bb0054cd 2726{
4268f798 2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2728 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1);
bb0054cd 2729
4268f798 2730 wxPyEndAllowThreads(__tstate);
493f1553 2731 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2732} Py_INCREF(Py_None);
2733 _resultobj = Py_None;
2734 return _resultobj;
2735}
2736
2737#define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
efc5f224 2738static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2739 PyObject * _resultobj;
2740 wxPageSetupDialogData * _arg0;
2741 wxPoint * _arg1;
1d99702e 2742 PyObject * _argo0 = 0;
2f90df85
RD
2743 wxPoint temp;
2744 PyObject * _obj1 = 0;
efc5f224 2745 char *_kwnames[] = { "self","pt", NULL };
bb0054cd
RD
2746
2747 self = self;
2f90df85 2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_obj1))
bb0054cd 2749 return NULL;
1d99702e
RD
2750 if (_argo0) {
2751 if (_argo0 == Py_None) { _arg0 = NULL; }
2752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2754 return NULL;
2755 }
2756 }
2f90df85
RD
2757{
2758 _arg1 = &temp;
2759 if (! wxPoint_helper(_obj1, &_arg1))
bb0054cd 2760 return NULL;
2f90df85 2761}
bb0054cd 2762{
4268f798 2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2764 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1);
bb0054cd 2765
4268f798 2766 wxPyEndAllowThreads(__tstate);
493f1553 2767 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2768} Py_INCREF(Py_None);
2769 _resultobj = Py_None;
2770 return _resultobj;
2771}
2772
2773#define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
efc5f224 2774static PyObject *_wrap_wxPageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2775 PyObject * _resultobj;
2776 wxPageSetupDialogData * _arg0;
3ca6a5f0 2777 wxPaperSize _arg1;
1d99702e 2778 PyObject * _argo0 = 0;
efc5f224 2779 char *_kwnames[] = { "self","id", NULL };
bb0054cd
RD
2780
2781 self = self;
3ca6a5f0 2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames,&_argo0,&_arg1))
bb0054cd 2783 return NULL;
1d99702e
RD
2784 if (_argo0) {
2785 if (_argo0 == Py_None) { _arg0 = NULL; }
2786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2788 return NULL;
2789 }
2790 }
bb0054cd 2791{
4268f798 2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2793 wxPageSetupDialogData_SetPaperId(_arg0,_arg1);
bb0054cd 2794
4268f798 2795 wxPyEndAllowThreads(__tstate);
493f1553 2796 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2797} Py_INCREF(Py_None);
2798 _resultobj = Py_None;
2799 return _resultobj;
2800}
2801
2802#define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
efc5f224 2803static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2804 PyObject * _resultobj;
2805 wxPageSetupDialogData * _arg0;
2806 wxSize * _arg1;
1d99702e 2807 PyObject * _argo0 = 0;
2f90df85
RD
2808 wxSize temp;
2809 PyObject * _obj1 = 0;
efc5f224 2810 char *_kwnames[] = { "self","size", NULL };
bb0054cd
RD
2811
2812 self = self;
2f90df85 2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1))
bb0054cd 2814 return NULL;
1d99702e
RD
2815 if (_argo0) {
2816 if (_argo0 == Py_None) { _arg0 = NULL; }
2817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2819 return NULL;
2820 }
2821 }
2f90df85
RD
2822{
2823 _arg1 = &temp;
2824 if (! wxSize_helper(_obj1, &_arg1))
bb0054cd 2825 return NULL;
2f90df85 2826}
bb0054cd 2827{
4268f798 2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2829 wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
bb0054cd 2830
4268f798 2831 wxPyEndAllowThreads(__tstate);
493f1553 2832 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2833} Py_INCREF(Py_None);
2834 _resultobj = Py_None;
2835 return _resultobj;
2836}
2837
2838#define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
efc5f224 2839static PyObject *_wrap_wxPageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2840 PyObject * _resultobj;
2841 wxPageSetupDialogData * _arg0;
2842 wxPrintData * _arg1;
1d99702e
RD
2843 PyObject * _argo0 = 0;
2844 PyObject * _argo1 = 0;
efc5f224 2845 char *_kwnames[] = { "self","printData", NULL };
bb0054cd
RD
2846
2847 self = self;
efc5f224 2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
bb0054cd 2849 return NULL;
1d99702e
RD
2850 if (_argo0) {
2851 if (_argo0 == Py_None) { _arg0 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2854 return NULL;
2855 }
2856 }
1d99702e 2857 if (_argo1) {
7e50db3f 2858 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
bb0054cd
RD
2859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2860 return NULL;
2861 }
2862 }
2863{
4268f798 2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2865 wxPageSetupDialogData_SetPrintData(_arg0,*_arg1);
bb0054cd 2866
4268f798 2867 wxPyEndAllowThreads(__tstate);
493f1553 2868 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2869} Py_INCREF(Py_None);
2870 _resultobj = Py_None;
2871 return _resultobj;
2872}
2873
2874static void *SwigwxPageSetupDialogTowxDialog(void *ptr) {
2875 wxPageSetupDialog *src;
2876 wxDialog *dest;
2877 src = (wxPageSetupDialog *) ptr;
2878 dest = (wxDialog *) src;
2879 return (void *) dest;
2880}
2881
65fe3842 2882static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr) {
bb0054cd 2883 wxPageSetupDialog *src;
65fe3842 2884 wxTopLevelWindow *dest;
bb0054cd 2885 src = (wxPageSetupDialog *) ptr;
65fe3842 2886 dest = (wxTopLevelWindow *) src;
bb0054cd
RD
2887 return (void *) dest;
2888}
2889
2890static void *SwigwxPageSetupDialogTowxWindow(void *ptr) {
2891 wxPageSetupDialog *src;
2892 wxWindow *dest;
2893 src = (wxPageSetupDialog *) ptr;
2894 dest = (wxWindow *) src;
2895 return (void *) dest;
2896}
2897
2898static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) {
2899 wxPageSetupDialog *src;
2900 wxEvtHandler *dest;
2901 src = (wxPageSetupDialog *) ptr;
2902 dest = (wxEvtHandler *) src;
2903 return (void *) dest;
2904}
2905
9416aa89
RD
2906static void *SwigwxPageSetupDialogTowxObject(void *ptr) {
2907 wxPageSetupDialog *src;
2908 wxObject *dest;
2909 src = (wxPageSetupDialog *) ptr;
2910 dest = (wxObject *) src;
2911 return (void *) dest;
2912}
2913
bb0054cd 2914#define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
efc5f224 2915static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2916 PyObject * _resultobj;
2917 wxPageSetupDialog * _result;
2918 wxWindow * _arg0;
1d99702e
RD
2919 wxPageSetupDialogData * _arg1 = (wxPageSetupDialogData *) NULL;
2920 PyObject * _argo0 = 0;
2921 PyObject * _argo1 = 0;
efc5f224 2922 char *_kwnames[] = { "parent","data", NULL };
bb0054cd
RD
2923 char _ptemp[128];
2924
2925 self = self;
efc5f224 2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPageSetupDialog",_kwnames,&_argo0,&_argo1))
bb0054cd 2927 return NULL;
1d99702e
RD
2928 if (_argo0) {
2929 if (_argo0 == Py_None) { _arg0 = NULL; }
2930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2932 return NULL;
2933 }
2934 }
1d99702e
RD
2935 if (_argo1) {
2936 if (_argo1 == Py_None) { _arg1 = NULL; }
2937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPageSetupDialogData_p")) {
bb0054cd
RD
2938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2939 return NULL;
2940 }
2941 }
2942{
4268f798 2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2944 _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1);
bb0054cd 2945
4268f798 2946 wxPyEndAllowThreads(__tstate);
493f1553 2947 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2948} if (_result) {
2949 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p");
2950 _resultobj = Py_BuildValue("s",_ptemp);
2951 } else {
2952 Py_INCREF(Py_None);
2953 _resultobj = Py_None;
2954 }
bb0054cd
RD
2955 return _resultobj;
2956}
2957
2958#define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
efc5f224 2959static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2960 PyObject * _resultobj;
2961 wxPageSetupDialogData * _result;
2962 wxPageSetupDialog * _arg0;
1d99702e 2963 PyObject * _argo0 = 0;
efc5f224 2964 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2965 char _ptemp[128];
2966
2967 self = self;
efc5f224 2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_GetPageSetupData",_kwnames,&_argo0))
bb0054cd 2969 return NULL;
1d99702e
RD
2970 if (_argo0) {
2971 if (_argo0 == Py_None) { _arg0 = NULL; }
2972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
bb0054cd
RD
2973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2974 return NULL;
2975 }
2976 }
2977{
4268f798 2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2979 wxPageSetupDialogData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0);
bb0054cd
RD
2980 _result = (wxPageSetupDialogData *) &_result_ref;
2981
4268f798 2982 wxPyEndAllowThreads(__tstate);
493f1553 2983 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2984} if (_result) {
2985 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
2986 _resultobj = Py_BuildValue("s",_ptemp);
2987 } else {
2988 Py_INCREF(Py_None);
2989 _resultobj = Py_None;
2990 }
bb0054cd
RD
2991 return _resultobj;
2992}
2993
2994#define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 2995static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2996 PyObject * _resultobj;
2997 int _result;
2998 wxPageSetupDialog * _arg0;
1d99702e 2999 PyObject * _argo0 = 0;
efc5f224 3000 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3001
3002 self = self;
efc5f224 3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_ShowModal",_kwnames,&_argo0))
bb0054cd 3004 return NULL;
1d99702e
RD
3005 if (_argo0) {
3006 if (_argo0 == Py_None) { _arg0 = NULL; }
3007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) {
bb0054cd
RD
3008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
3009 return NULL;
3010 }
3011 }
3012{
4268f798 3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3014 _result = (int )wxPageSetupDialog_ShowModal(_arg0);
bb0054cd 3015
4268f798 3016 wxPyEndAllowThreads(__tstate);
493f1553 3017 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3018} _resultobj = Py_BuildValue("i",_result);
3019 return _resultobj;
3020}
3021
9416aa89
RD
3022static void *SwigwxPrintDialogDataTowxObject(void *ptr) {
3023 wxPrintDialogData *src;
3024 wxObject *dest;
3025 src = (wxPrintDialogData *) ptr;
3026 dest = (wxObject *) src;
3027 return (void *) dest;
3028}
3029
bb0054cd 3030#define new_wxPrintDialogData() (new wxPrintDialogData())
efc5f224 3031static PyObject *_wrap_new_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3032 PyObject * _resultobj;
3033 wxPrintDialogData * _result;
efc5f224 3034 char *_kwnames[] = { NULL };
bb0054cd
RD
3035 char _ptemp[128];
3036
3037 self = self;
efc5f224 3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintDialogData",_kwnames))
bb0054cd
RD
3039 return NULL;
3040{
4268f798 3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3042 _result = (wxPrintDialogData *)new_wxPrintDialogData();
bb0054cd 3043
4268f798 3044 wxPyEndAllowThreads(__tstate);
493f1553 3045 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3046} if (_result) {
3047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
3048 _resultobj = Py_BuildValue("s",_ptemp);
3049 } else {
3050 Py_INCREF(Py_None);
3051 _resultobj = Py_None;
3052 }
bb0054cd
RD
3053 return _resultobj;
3054}
3055
3056#define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
efc5f224 3057static PyObject *_wrap_delete_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3058 PyObject * _resultobj;
3059 wxPrintDialogData * _arg0;
1d99702e 3060 PyObject * _argo0 = 0;
efc5f224 3061 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3062
3063 self = self;
efc5f224 3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintDialogData",_kwnames,&_argo0))
bb0054cd 3065 return NULL;
1d99702e
RD
3066 if (_argo0) {
3067 if (_argo0 == Py_None) { _arg0 = NULL; }
3068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
bb0054cd
RD
3069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
3070 return NULL;
3071 }
3072 }
3073{
4268f798 3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3075 delete_wxPrintDialogData(_arg0);
bb0054cd 3076
4268f798 3077 wxPyEndAllowThreads(__tstate);
493f1553 3078 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3079} Py_INCREF(Py_None);
3080 _resultobj = Py_None;
3081 return _resultobj;
3082}
3083
5a2a9da2
RD
3084#define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3085static PyObject *_wrap_wxPrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3086 PyObject * _resultobj;
5a2a9da2 3087 int _result;
bb0054cd 3088 wxPrintDialogData * _arg0;
1d99702e 3089 PyObject * _argo0 = 0;
5a2a9da2 3090 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3091
3092 self = self;
5a2a9da2 3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetFromPage",_kwnames,&_argo0))
bb0054cd 3094 return NULL;
1d99702e
RD
3095 if (_argo0) {
3096 if (_argo0 == Py_None) { _arg0 = NULL; }
3097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3099 return NULL;
3100 }
3101 }
bb0054cd 3102{
4268f798 3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3104 _result = (int )wxPrintDialogData_GetFromPage(_arg0);
bb0054cd 3105
4268f798 3106 wxPyEndAllowThreads(__tstate);
493f1553 3107 if (PyErr_Occurred()) return NULL;
5a2a9da2 3108} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3109 return _resultobj;
3110}
3111
5a2a9da2
RD
3112#define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3113static PyObject *_wrap_wxPrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3114 PyObject * _resultobj;
5a2a9da2 3115 int _result;
bb0054cd 3116 wxPrintDialogData * _arg0;
1d99702e 3117 PyObject * _argo0 = 0;
5a2a9da2 3118 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3119
3120 self = self;
5a2a9da2 3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetToPage",_kwnames,&_argo0))
bb0054cd 3122 return NULL;
1d99702e
RD
3123 if (_argo0) {
3124 if (_argo0 == Py_None) { _arg0 = NULL; }
3125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3127 return NULL;
3128 }
3129 }
bb0054cd 3130{
4268f798 3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3132 _result = (int )wxPrintDialogData_GetToPage(_arg0);
bb0054cd 3133
4268f798 3134 wxPyEndAllowThreads(__tstate);
493f1553 3135 if (PyErr_Occurred()) return NULL;
5a2a9da2 3136} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3137 return _resultobj;
3138}
3139
5a2a9da2
RD
3140#define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3141static PyObject *_wrap_wxPrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3142 PyObject * _resultobj;
5a2a9da2 3143 int _result;
bb0054cd 3144 wxPrintDialogData * _arg0;
1d99702e 3145 PyObject * _argo0 = 0;
5a2a9da2 3146 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3147
3148 self = self;
5a2a9da2 3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMinPage",_kwnames,&_argo0))
bb0054cd 3150 return NULL;
1d99702e
RD
3151 if (_argo0) {
3152 if (_argo0 == Py_None) { _arg0 = NULL; }
3153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3155 return NULL;
3156 }
3157 }
bb0054cd 3158{
4268f798 3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3160 _result = (int )wxPrintDialogData_GetMinPage(_arg0);
bb0054cd 3161
4268f798 3162 wxPyEndAllowThreads(__tstate);
493f1553 3163 if (PyErr_Occurred()) return NULL;
5a2a9da2 3164} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3165 return _resultobj;
3166}
3167
5a2a9da2
RD
3168#define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3169static PyObject *_wrap_wxPrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3170 PyObject * _resultobj;
5a2a9da2 3171 int _result;
bb0054cd 3172 wxPrintDialogData * _arg0;
1d99702e 3173 PyObject * _argo0 = 0;
5a2a9da2 3174 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3175
3176 self = self;
5a2a9da2 3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMaxPage",_kwnames,&_argo0))
bb0054cd 3178 return NULL;
1d99702e
RD
3179 if (_argo0) {
3180 if (_argo0 == Py_None) { _arg0 = NULL; }
3181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3183 return NULL;
3184 }
3185 }
bb0054cd 3186{
4268f798 3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3188 _result = (int )wxPrintDialogData_GetMaxPage(_arg0);
bb0054cd 3189
4268f798 3190 wxPyEndAllowThreads(__tstate);
493f1553 3191 if (PyErr_Occurred()) return NULL;
5a2a9da2 3192} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3193 return _resultobj;
3194}
3195
5a2a9da2
RD
3196#define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3197static PyObject *_wrap_wxPrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3198 PyObject * _resultobj;
5a2a9da2 3199 int _result;
bb0054cd 3200 wxPrintDialogData * _arg0;
1d99702e 3201 PyObject * _argo0 = 0;
efc5f224 3202 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3203
3204 self = self;
5a2a9da2 3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetNoCopies",_kwnames,&_argo0))
bb0054cd 3206 return NULL;
1d99702e
RD
3207 if (_argo0) {
3208 if (_argo0 == Py_None) { _arg0 = NULL; }
3209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3211 return NULL;
3212 }
3213 }
3214{
4268f798 3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3216 _result = (int )wxPrintDialogData_GetNoCopies(_arg0);
bb0054cd 3217
4268f798 3218 wxPyEndAllowThreads(__tstate);
493f1553 3219 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3220} _resultobj = Py_BuildValue("i",_result);
3221 return _resultobj;
3222}
3223
5a2a9da2
RD
3224#define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3225static PyObject *_wrap_wxPrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3226 PyObject * _resultobj;
3227 bool _result;
3228 wxPrintDialogData * _arg0;
1d99702e 3229 PyObject * _argo0 = 0;
efc5f224 3230 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3231
3232 self = self;
5a2a9da2 3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetAllPages",_kwnames,&_argo0))
bb0054cd 3234 return NULL;
1d99702e
RD
3235 if (_argo0) {
3236 if (_argo0 == Py_None) { _arg0 = NULL; }
3237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3239 return NULL;
3240 }
3241 }
3242{
4268f798 3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3244 _result = (bool )wxPrintDialogData_GetAllPages(_arg0);
bb0054cd 3245
4268f798 3246 wxPyEndAllowThreads(__tstate);
493f1553 3247 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3248} _resultobj = Py_BuildValue("i",_result);
3249 return _resultobj;
3250}
3251
5a2a9da2
RD
3252#define wxPrintDialogData_GetSelection(_swigobj) (_swigobj->GetSelection())
3253static PyObject *_wrap_wxPrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3254 PyObject * _resultobj;
5a2a9da2 3255 bool _result;
bb0054cd 3256 wxPrintDialogData * _arg0;
1d99702e 3257 PyObject * _argo0 = 0;
efc5f224 3258 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3259
3260 self = self;
5a2a9da2 3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetSelection",_kwnames,&_argo0))
bb0054cd 3262 return NULL;
1d99702e
RD
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetSelection. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3267 return NULL;
3268 }
3269 }
3270{
4268f798 3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3272 _result = (bool )wxPrintDialogData_GetSelection(_arg0);
bb0054cd 3273
4268f798 3274 wxPyEndAllowThreads(__tstate);
493f1553 3275 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3276} _resultobj = Py_BuildValue("i",_result);
3277 return _resultobj;
3278}
3279
5a2a9da2
RD
3280#define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3281static PyObject *_wrap_wxPrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3282 PyObject * _resultobj;
5a2a9da2 3283 bool _result;
bb0054cd 3284 wxPrintDialogData * _arg0;
1d99702e 3285 PyObject * _argo0 = 0;
efc5f224 3286 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3287
3288 self = self;
5a2a9da2 3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetCollate",_kwnames,&_argo0))
bb0054cd 3290 return NULL;
1d99702e
RD
3291 if (_argo0) {
3292 if (_argo0 == Py_None) { _arg0 = NULL; }
3293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3295 return NULL;
3296 }
3297 }
3298{
4268f798 3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3300 _result = (bool )wxPrintDialogData_GetCollate(_arg0);
bb0054cd 3301
4268f798 3302 wxPyEndAllowThreads(__tstate);
493f1553 3303 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3304} _resultobj = Py_BuildValue("i",_result);
3305 return _resultobj;
3306}
3307
5a2a9da2
RD
3308#define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3309static PyObject *_wrap_wxPrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3310 PyObject * _resultobj;
5a2a9da2 3311 bool _result;
bb0054cd 3312 wxPrintDialogData * _arg0;
1d99702e 3313 PyObject * _argo0 = 0;
efc5f224 3314 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3315
3316 self = self;
5a2a9da2 3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintToFile",_kwnames,&_argo0))
bb0054cd 3318 return NULL;
1d99702e
RD
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3323 return NULL;
3324 }
3325 }
3326{
4268f798 3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3328 _result = (bool )wxPrintDialogData_GetPrintToFile(_arg0);
bb0054cd 3329
4268f798 3330 wxPyEndAllowThreads(__tstate);
493f1553 3331 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3332} _resultobj = Py_BuildValue("i",_result);
3333 return _resultobj;
3334}
3335
5a2a9da2
RD
3336#define wxPrintDialogData_GetSetupDialog(_swigobj) (_swigobj->GetSetupDialog())
3337static PyObject *_wrap_wxPrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3338 PyObject * _resultobj;
5a2a9da2 3339 bool _result;
bb0054cd 3340 wxPrintDialogData * _arg0;
1d99702e 3341 PyObject * _argo0 = 0;
efc5f224 3342 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3343
3344 self = self;
5a2a9da2 3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetSetupDialog",_kwnames,&_argo0))
bb0054cd 3346 return NULL;
1d99702e
RD
3347 if (_argo0) {
3348 if (_argo0 == Py_None) { _arg0 = NULL; }
3349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetSetupDialog. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3351 return NULL;
3352 }
3353 }
3354{
4268f798 3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3356 _result = (bool )wxPrintDialogData_GetSetupDialog(_arg0);
bb0054cd 3357
4268f798 3358 wxPyEndAllowThreads(__tstate);
493f1553 3359 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3360} _resultobj = Py_BuildValue("i",_result);
3361 return _resultobj;
3362}
3363
5a2a9da2
RD
3364#define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3365static PyObject *_wrap_wxPrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3366 PyObject * _resultobj;
bb0054cd 3367 wxPrintDialogData * _arg0;
5a2a9da2 3368 int _arg1;
1d99702e 3369 PyObject * _argo0 = 0;
5a2a9da2 3370 char *_kwnames[] = { "self","v", NULL };
bb0054cd
RD
3371
3372 self = self;
5a2a9da2 3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetFromPage",_kwnames,&_argo0,&_arg1))
bb0054cd 3374 return NULL;
1d99702e
RD
3375 if (_argo0) {
3376 if (_argo0 == Py_None) { _arg0 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3379 return NULL;
3380 }
3381 }
3382{
4268f798 3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3384 wxPrintDialogData_SetFromPage(_arg0,_arg1);
bb0054cd 3385
4268f798 3386 wxPyEndAllowThreads(__tstate);
493f1553 3387 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
3388} Py_INCREF(Py_None);
3389 _resultobj = Py_None;
bb0054cd
RD
3390 return _resultobj;
3391}
3392
5a2a9da2
RD
3393#define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3394static PyObject *_wrap_wxPrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3395 PyObject * _resultobj;
bb0054cd 3396 wxPrintDialogData * _arg0;
5a2a9da2 3397 int _arg1;
1d99702e 3398 PyObject * _argo0 = 0;
5a2a9da2 3399 char *_kwnames[] = { "self","v", NULL };
bb0054cd
RD
3400
3401 self = self;
5a2a9da2 3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetToPage",_kwnames,&_argo0,&_arg1))
bb0054cd 3403 return NULL;
1d99702e
RD
3404 if (_argo0) {
3405 if (_argo0 == Py_None) { _arg0 = NULL; }
3406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3408 return NULL;
3409 }
3410 }
3411{
4268f798 3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3413 wxPrintDialogData_SetToPage(_arg0,_arg1);
bb0054cd 3414
4268f798 3415 wxPyEndAllowThreads(__tstate);
493f1553 3416 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
3417} Py_INCREF(Py_None);
3418 _resultobj = Py_None;
bb0054cd
RD
3419 return _resultobj;
3420}
3421
5a2a9da2
RD
3422#define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3423static PyObject *_wrap_wxPrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3424 PyObject * _resultobj;
bb0054cd 3425 wxPrintDialogData * _arg0;
5a2a9da2 3426 int _arg1;
1d99702e 3427 PyObject * _argo0 = 0;
5a2a9da2 3428 char *_kwnames[] = { "self","v", NULL };
bb0054cd
RD
3429
3430 self = self;
5a2a9da2 3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMinPage",_kwnames,&_argo0,&_arg1))
bb0054cd 3432 return NULL;
1d99702e
RD
3433 if (_argo0) {
3434 if (_argo0 == Py_None) { _arg0 = NULL; }
3435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3437 return NULL;
3438 }
3439 }
3440{
4268f798 3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3442 wxPrintDialogData_SetMinPage(_arg0,_arg1);
bb0054cd 3443
4268f798 3444 wxPyEndAllowThreads(__tstate);
493f1553 3445 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
3446} Py_INCREF(Py_None);
3447 _resultobj = Py_None;
bb0054cd
RD
3448 return _resultobj;
3449}
3450
5a2a9da2
RD
3451#define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3452static PyObject *_wrap_wxPrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
b7fc54be 3453 PyObject * _resultobj;
b7fc54be 3454 wxPrintDialogData * _arg0;
5a2a9da2 3455 int _arg1;
b7fc54be 3456 PyObject * _argo0 = 0;
5a2a9da2 3457 char *_kwnames[] = { "self","v", NULL };
b7fc54be
RD
3458
3459 self = self;
5a2a9da2 3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMaxPage",_kwnames,&_argo0,&_arg1))
b7fc54be
RD
3461 return NULL;
3462 if (_argo0) {
3463 if (_argo0 == Py_None) { _arg0 = NULL; }
3464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
b7fc54be
RD
3466 return NULL;
3467 }
3468 }
3469{
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3471 wxPrintDialogData_SetMaxPage(_arg0,_arg1);
b7fc54be
RD
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
3475} Py_INCREF(Py_None);
3476 _resultobj = Py_None;
b7fc54be
RD
3477 return _resultobj;
3478}
3479
5a2a9da2
RD
3480#define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3481static PyObject *_wrap_wxPrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3482 PyObject * _resultobj;
3483 wxPrintDialogData * _arg0;
5a2a9da2 3484 int _arg1;
1d99702e 3485 PyObject * _argo0 = 0;
5a2a9da2 3486 char *_kwnames[] = { "self","v", NULL };
bb0054cd
RD
3487
3488 self = self;
5a2a9da2 3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetNoCopies",_kwnames,&_argo0,&_arg1))
bb0054cd 3490 return NULL;
1d99702e
RD
3491 if (_argo0) {
3492 if (_argo0 == Py_None) { _arg0 = NULL; }
3493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3495 return NULL;
3496 }
3497 }
bb0054cd 3498{
4268f798 3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3500 wxPrintDialogData_SetNoCopies(_arg0,_arg1);
bb0054cd 3501
4268f798 3502 wxPyEndAllowThreads(__tstate);
493f1553 3503 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3504} Py_INCREF(Py_None);
3505 _resultobj = Py_None;
3506 return _resultobj;
3507}
3508
5a2a9da2
RD
3509#define wxPrintDialogData_SetAllPages(_swigobj,_swigarg0) (_swigobj->SetAllPages(_swigarg0))
3510static PyObject *_wrap_wxPrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3511 PyObject * _resultobj;
3512 wxPrintDialogData * _arg0;
5a2a9da2 3513 bool _arg1;
1d99702e 3514 PyObject * _argo0 = 0;
5a2a9da2
RD
3515 int tempbool1;
3516 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3517
3518 self = self;
5a2a9da2 3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetAllPages",_kwnames,&_argo0,&tempbool1))
bb0054cd 3520 return NULL;
1d99702e
RD
3521 if (_argo0) {
3522 if (_argo0 == Py_None) { _arg0 = NULL; }
3523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetAllPages. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3525 return NULL;
3526 }
3527 }
5a2a9da2 3528 _arg1 = (bool ) tempbool1;
bb0054cd 3529{
4268f798 3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3531 wxPrintDialogData_SetAllPages(_arg0,_arg1);
bb0054cd 3532
4268f798 3533 wxPyEndAllowThreads(__tstate);
493f1553 3534 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3535} Py_INCREF(Py_None);
3536 _resultobj = Py_None;
3537 return _resultobj;
3538}
3539
5a2a9da2
RD
3540#define wxPrintDialogData_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3541static PyObject *_wrap_wxPrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3542 PyObject * _resultobj;
3543 wxPrintDialogData * _arg0;
5a2a9da2 3544 bool _arg1;
1d99702e 3545 PyObject * _argo0 = 0;
5a2a9da2
RD
3546 int tempbool1;
3547 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3548
3549 self = self;
5a2a9da2 3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSelection",_kwnames,&_argo0,&tempbool1))
bb0054cd 3551 return NULL;
1d99702e
RD
3552 if (_argo0) {
3553 if (_argo0 == Py_None) { _arg0 = NULL; }
3554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSelection. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3556 return NULL;
3557 }
3558 }
5a2a9da2 3559 _arg1 = (bool ) tempbool1;
bb0054cd 3560{
4268f798 3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3562 wxPrintDialogData_SetSelection(_arg0,_arg1);
bb0054cd 3563
4268f798 3564 wxPyEndAllowThreads(__tstate);
493f1553 3565 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3566} Py_INCREF(Py_None);
3567 _resultobj = Py_None;
3568 return _resultobj;
3569}
3570
5a2a9da2
RD
3571#define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3572static PyObject *_wrap_wxPrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3573 PyObject * _resultobj;
3574 wxPrintDialogData * _arg0;
5a2a9da2 3575 bool _arg1;
1d99702e 3576 PyObject * _argo0 = 0;
5a2a9da2
RD
3577 int tempbool1;
3578 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3579
3580 self = self;
5a2a9da2 3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetCollate",_kwnames,&_argo0,&tempbool1))
bb0054cd 3582 return NULL;
1d99702e
RD
3583 if (_argo0) {
3584 if (_argo0 == Py_None) { _arg0 = NULL; }
3585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3587 return NULL;
3588 }
3589 }
5a2a9da2 3590 _arg1 = (bool ) tempbool1;
bb0054cd 3591{
4268f798 3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3593 wxPrintDialogData_SetCollate(_arg0,_arg1);
bb0054cd 3594
4268f798 3595 wxPyEndAllowThreads(__tstate);
493f1553 3596 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3597} Py_INCREF(Py_None);
3598 _resultobj = Py_None;
3599 return _resultobj;
3600}
3601
5a2a9da2
RD
3602#define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3603static PyObject *_wrap_wxPrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3604 PyObject * _resultobj;
3605 wxPrintDialogData * _arg0;
5a2a9da2 3606 bool _arg1;
1d99702e 3607 PyObject * _argo0 = 0;
5a2a9da2
RD
3608 int tempbool1;
3609 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3610
3611 self = self;
5a2a9da2 3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames,&_argo0,&tempbool1))
bb0054cd 3613 return NULL;
1d99702e
RD
3614 if (_argo0) {
3615 if (_argo0 == Py_None) { _arg0 = NULL; }
3616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3618 return NULL;
3619 }
3620 }
5a2a9da2 3621 _arg1 = (bool ) tempbool1;
bb0054cd 3622{
4268f798 3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3624 wxPrintDialogData_SetPrintToFile(_arg0,_arg1);
bb0054cd 3625
4268f798 3626 wxPyEndAllowThreads(__tstate);
493f1553 3627 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3628} Py_INCREF(Py_None);
3629 _resultobj = Py_None;
3630 return _resultobj;
3631}
3632
5a2a9da2
RD
3633#define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3634static PyObject *_wrap_wxPrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3635 PyObject * _resultobj;
3636 wxPrintDialogData * _arg0;
5a2a9da2 3637 bool _arg1;
1d99702e 3638 PyObject * _argo0 = 0;
5a2a9da2
RD
3639 int tempbool1;
3640 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3641
3642 self = self;
5a2a9da2 3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames,&_argo0,&tempbool1))
bb0054cd 3644 return NULL;
1d99702e
RD
3645 if (_argo0) {
3646 if (_argo0 == Py_None) { _arg0 = NULL; }
3647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3649 return NULL;
3650 }
3651 }
5a2a9da2 3652 _arg1 = (bool ) tempbool1;
bb0054cd 3653{
4268f798 3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3655 wxPrintDialogData_SetSetupDialog(_arg0,_arg1);
bb0054cd 3656
4268f798 3657 wxPyEndAllowThreads(__tstate);
493f1553 3658 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3659} Py_INCREF(Py_None);
3660 _resultobj = Py_None;
3661 return _resultobj;
3662}
3663
5a2a9da2
RD
3664#define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3665static PyObject *_wrap_wxPrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3666 PyObject * _resultobj;
3667 wxPrintDialogData * _arg0;
3668 bool _arg1;
1d99702e 3669 PyObject * _argo0 = 0;
bb0054cd 3670 int tempbool1;
efc5f224 3671 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3672
3673 self = self;
5a2a9da2 3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames,&_argo0,&tempbool1))
bb0054cd 3675 return NULL;
1d99702e
RD
3676 if (_argo0) {
3677 if (_argo0 == Py_None) { _arg0 = NULL; }
3678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3680 return NULL;
3681 }
3682 }
3683 _arg1 = (bool ) tempbool1;
3684{
4268f798 3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3686 wxPrintDialogData_EnablePrintToFile(_arg0,_arg1);
bb0054cd 3687
4268f798 3688 wxPyEndAllowThreads(__tstate);
493f1553 3689 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3690} Py_INCREF(Py_None);
3691 _resultobj = Py_None;
3692 return _resultobj;
3693}
3694
5a2a9da2
RD
3695#define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3696static PyObject *_wrap_wxPrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3697 PyObject * _resultobj;
3698 wxPrintDialogData * _arg0;
3699 bool _arg1;
1d99702e 3700 PyObject * _argo0 = 0;
bb0054cd 3701 int tempbool1;
efc5f224 3702 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3703
3704 self = self;
5a2a9da2 3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableSelection",_kwnames,&_argo0,&tempbool1))
bb0054cd 3706 return NULL;
1d99702e
RD
3707 if (_argo0) {
3708 if (_argo0 == Py_None) { _arg0 = NULL; }
3709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3711 return NULL;
3712 }
3713 }
3714 _arg1 = (bool ) tempbool1;
3715{
4268f798 3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3717 wxPrintDialogData_EnableSelection(_arg0,_arg1);
bb0054cd 3718
4268f798 3719 wxPyEndAllowThreads(__tstate);
493f1553 3720 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3721} Py_INCREF(Py_None);
3722 _resultobj = Py_None;
3723 return _resultobj;
3724}
3725
5a2a9da2
RD
3726#define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3727static PyObject *_wrap_wxPrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3728 PyObject * _resultobj;
3729 wxPrintDialogData * _arg0;
5a2a9da2 3730 bool _arg1;
1d99702e 3731 PyObject * _argo0 = 0;
5a2a9da2
RD
3732 int tempbool1;
3733 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3734
3735 self = self;
5a2a9da2 3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames,&_argo0,&tempbool1))
bb0054cd 3737 return NULL;
1d99702e
RD
3738 if (_argo0) {
3739 if (_argo0 == Py_None) { _arg0 = NULL; }
3740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
5a2a9da2 3741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3742 return NULL;
3743 }
3744 }
5a2a9da2 3745 _arg1 = (bool ) tempbool1;
bb0054cd 3746{
4268f798 3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3748 wxPrintDialogData_EnablePageNumbers(_arg0,_arg1);
bb0054cd 3749
4268f798 3750 wxPyEndAllowThreads(__tstate);
493f1553 3751 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3752} Py_INCREF(Py_None);
3753 _resultobj = Py_None;
3754 return _resultobj;
3755}
3756
5a2a9da2
RD
3757#define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3758static PyObject *_wrap_wxPrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3759 PyObject * _resultobj;
5a2a9da2
RD
3760 wxPrintDialogData * _arg0;
3761 bool _arg1;
1d99702e 3762 PyObject * _argo0 = 0;
5a2a9da2
RD
3763 int tempbool1;
3764 char *_kwnames[] = { "self","flag", NULL };
bb0054cd
RD
3765
3766 self = self;
5a2a9da2 3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1))
bb0054cd 3768 return NULL;
1d99702e
RD
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3773 return NULL;
3774 }
3775 }
5a2a9da2 3776 _arg1 = (bool ) tempbool1;
bb0054cd 3777{
4268f798 3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3779 wxPrintDialogData_EnableHelp(_arg0,_arg1);
bb0054cd 3780
4268f798 3781 wxPyEndAllowThreads(__tstate);
493f1553 3782 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
3783} Py_INCREF(Py_None);
3784 _resultobj = Py_None;
bb0054cd
RD
3785 return _resultobj;
3786}
3787
5a2a9da2
RD
3788#define wxPrintDialogData_GetEnablePrintToFile(_swigobj) (_swigobj->GetEnablePrintToFile())
3789static PyObject *_wrap_wxPrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3790 PyObject * _resultobj;
5a2a9da2
RD
3791 bool _result;
3792 wxPrintDialogData * _arg0;
1d99702e 3793 PyObject * _argo0 = 0;
efc5f224 3794 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3795
3796 self = self;
5a2a9da2 3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetEnablePrintToFile",_kwnames,&_argo0))
bb0054cd 3798 return NULL;
1d99702e
RD
3799 if (_argo0) {
3800 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
3801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetEnablePrintToFile. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3803 return NULL;
3804 }
3805 }
3806{
4268f798 3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3808 _result = (bool )wxPrintDialogData_GetEnablePrintToFile(_arg0);
bb0054cd 3809
4268f798 3810 wxPyEndAllowThreads(__tstate);
493f1553 3811 if (PyErr_Occurred()) return NULL;
5a2a9da2 3812} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3813 return _resultobj;
3814}
3815
5a2a9da2
RD
3816#define wxPrintDialogData_GetEnableSelection(_swigobj) (_swigobj->GetEnableSelection())
3817static PyObject *_wrap_wxPrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3818 PyObject * _resultobj;
5a2a9da2
RD
3819 bool _result;
3820 wxPrintDialogData * _arg0;
1d99702e 3821 PyObject * _argo0 = 0;
efc5f224 3822 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3823
3824 self = self;
5a2a9da2 3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetEnableSelection",_kwnames,&_argo0))
bb0054cd 3826 return NULL;
1d99702e
RD
3827 if (_argo0) {
3828 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
3829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetEnableSelection. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3831 return NULL;
3832 }
3833 }
3834{
4268f798 3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3836 _result = (bool )wxPrintDialogData_GetEnableSelection(_arg0);
bb0054cd 3837
4268f798 3838 wxPyEndAllowThreads(__tstate);
493f1553 3839 if (PyErr_Occurred()) return NULL;
5a2a9da2 3840} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
3841 return _resultobj;
3842}
3843
5a2a9da2
RD
3844#define wxPrintDialogData_GetEnablePageNumbers(_swigobj) (_swigobj->GetEnablePageNumbers())
3845static PyObject *_wrap_wxPrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 3846 PyObject * _resultobj;
5a2a9da2
RD
3847 bool _result;
3848 wxPrintDialogData * _arg0;
1d99702e 3849 PyObject * _argo0 = 0;
efc5f224 3850 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3851
3852 self = self;
5a2a9da2 3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetEnablePageNumbers",_kwnames,&_argo0))
bb0054cd 3854 return NULL;
1d99702e
RD
3855 if (_argo0) {
3856 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
3857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetEnablePageNumbers. Expected _wxPrintDialogData_p.");
bb0054cd
RD
3859 return NULL;
3860 }
3861 }
3862{
4268f798 3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3864 _result = (bool )wxPrintDialogData_GetEnablePageNumbers(_arg0);
bb0054cd 3865
4268f798 3866 wxPyEndAllowThreads(__tstate);
493f1553 3867 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3868} _resultobj = Py_BuildValue("i",_result);
3869 return _resultobj;
3870}
3871
5a2a9da2
RD
3872#define wxPrintDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
3873static PyObject *_wrap_wxPrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject * _resultobj;
3875 bool _result;
3876 wxPrintDialogData * _arg0;
3877 PyObject * _argo0 = 0;
3878 char *_kwnames[] = { "self", NULL };
3879
3880 self = self;
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetEnableHelp",_kwnames,&_argo0))
3882 return NULL;
3883 if (_argo0) {
3884 if (_argo0 == Py_None) { _arg0 = NULL; }
3885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetEnableHelp. Expected _wxPrintDialogData_p.");
3887 return NULL;
3888 }
3889 }
3890{
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 _result = (bool )wxPrintDialogData_GetEnableHelp(_arg0);
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) return NULL;
3896} _resultobj = Py_BuildValue("i",_result);
3897 return _resultobj;
3898}
3899
3900#define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3901static PyObject *_wrap_wxPrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject * _resultobj;
3903 bool _result;
3904 wxPrintDialogData * _arg0;
3905 PyObject * _argo0 = 0;
3906 char *_kwnames[] = { "self", NULL };
3907
3908 self = self;
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_Ok",_kwnames,&_argo0))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3915 return NULL;
3916 }
3917 }
3918{
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 _result = (bool )wxPrintDialogData_Ok(_arg0);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) return NULL;
3924} _resultobj = Py_BuildValue("i",_result);
3925 return _resultobj;
3926}
3927
3928static wxPrintData * wxPrintDialogData_GetPrintData(wxPrintDialogData *self) {
3929 return new wxPrintData(self->GetPrintData()); // force a copy
3930 }
3931static PyObject *_wrap_wxPrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxPrintData * _result;
3934 wxPrintDialogData * _arg0;
3935 PyObject * _argo0 = 0;
3936 char *_kwnames[] = { "self", NULL };
3937 char _ptemp[128];
3938
3939 self = self;
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintData",_kwnames,&_argo0))
3941 return NULL;
3942 if (_argo0) {
3943 if (_argo0 == Py_None) { _arg0 = NULL; }
3944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3946 return NULL;
3947 }
3948 }
3949{
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 _result = (wxPrintData *)wxPrintDialogData_GetPrintData(_arg0);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) return NULL;
3955} if (_result) {
3956 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
3957 _resultobj = Py_BuildValue("s",_ptemp);
3958 } else {
3959 Py_INCREF(Py_None);
3960 _resultobj = Py_None;
3961 }
3962 return _resultobj;
3963}
3964
3965#define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3966static PyObject *_wrap_wxPrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject * _resultobj;
3968 wxPrintDialogData * _arg0;
3969 wxPrintData * _arg1;
3970 PyObject * _argo0 = 0;
3971 PyObject * _argo1 = 0;
3972 char *_kwnames[] = { "self","printData", NULL };
3973
3974 self = self;
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintDialogData_SetPrintData",_kwnames,&_argo0,&_argo1))
3976 return NULL;
3977 if (_argo0) {
3978 if (_argo0 == Py_None) { _arg0 = NULL; }
3979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
3980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3981 return NULL;
3982 }
3983 }
3984 if (_argo1) {
3985 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) {
3986 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3987 return NULL;
3988 }
3989 }
3990{
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 wxPrintDialogData_SetPrintData(_arg0,*_arg1);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) return NULL;
3996} Py_INCREF(Py_None);
3997 _resultobj = Py_None;
3998 return _resultobj;
3999}
4000
4001static void *SwigwxPrintDialogTowxDialog(void *ptr) {
4002 wxPrintDialog *src;
4003 wxDialog *dest;
4004 src = (wxPrintDialog *) ptr;
4005 dest = (wxDialog *) src;
4006 return (void *) dest;
4007}
4008
4009static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr) {
4010 wxPrintDialog *src;
4011 wxTopLevelWindow *dest;
4012 src = (wxPrintDialog *) ptr;
4013 dest = (wxTopLevelWindow *) src;
4014 return (void *) dest;
4015}
4016
4017static void *SwigwxPrintDialogTowxWindow(void *ptr) {
4018 wxPrintDialog *src;
4019 wxWindow *dest;
4020 src = (wxPrintDialog *) ptr;
4021 dest = (wxWindow *) src;
4022 return (void *) dest;
4023}
4024
4025static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) {
4026 wxPrintDialog *src;
4027 wxEvtHandler *dest;
4028 src = (wxPrintDialog *) ptr;
4029 dest = (wxEvtHandler *) src;
4030 return (void *) dest;
4031}
4032
4033static void *SwigwxPrintDialogTowxObject(void *ptr) {
4034 wxPrintDialog *src;
4035 wxObject *dest;
4036 src = (wxPrintDialog *) ptr;
4037 dest = (wxObject *) src;
4038 return (void *) dest;
4039}
4040
4041#define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
4042static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject * _resultobj;
4044 wxPrintDialog * _result;
4045 wxWindow * _arg0;
4046 wxPrintDialogData * _arg1 = (wxPrintDialogData *) NULL;
4047 PyObject * _argo0 = 0;
4048 PyObject * _argo1 = 0;
4049 char *_kwnames[] = { "parent","data", NULL };
4050 char _ptemp[128];
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPrintDialog",_kwnames,&_argo0,&_argo1))
4054 return NULL;
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
4059 return NULL;
4060 }
4061 }
4062 if (_argo1) {
4063 if (_argo1 == Py_None) { _arg1 = NULL; }
4064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintDialogData_p")) {
4065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
4066 return NULL;
4067 }
4068 }
4069{
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1);
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) return NULL;
4075} if (_result) {
4076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p");
4077 _resultobj = Py_BuildValue("s",_ptemp);
4078 } else {
4079 Py_INCREF(Py_None);
4080 _resultobj = Py_None;
4081 }
4082 return _resultobj;
4083}
4084
4085#define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4086static PyObject *_wrap_wxPrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject * _resultobj;
4088 wxPrintDialogData * _result;
4089 wxPrintDialog * _arg0;
4090 PyObject * _argo0 = 0;
4091 char *_kwnames[] = { "self", NULL };
4092 char _ptemp[128];
4093
4094 self = self;
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDialogData",_kwnames,&_argo0))
4096 return NULL;
4097 if (_argo0) {
4098 if (_argo0 == Py_None) { _arg0 = NULL; }
4099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
4100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
4101 return NULL;
4102 }
4103 }
4104{
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 wxPrintDialogData & _result_ref = wxPrintDialog_GetPrintDialogData(_arg0);
4107 _result = (wxPrintDialogData *) &_result_ref;
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) return NULL;
4111} if (_result) {
4112 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4113 _resultobj = Py_BuildValue("s",_ptemp);
4114 } else {
4115 Py_INCREF(Py_None);
4116 _resultobj = Py_None;
4117 }
4118 return _resultobj;
4119}
4120
4121#define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
4122static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject * _resultobj;
4124 wxDC * _result;
4125 wxPrintDialog * _arg0;
4126 PyObject * _argo0 = 0;
4127 char *_kwnames[] = { "self", NULL };
4128
4129 self = self;
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDC",_kwnames,&_argo0))
4131 return NULL;
4132 if (_argo0) {
4133 if (_argo0 == Py_None) { _arg0 = NULL; }
4134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
4135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
4136 return NULL;
4137 }
4138 }
4139{
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0);
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) return NULL;
4145}{ _resultobj = wxPyMake_wxObject(_result); }
4146 return _resultobj;
4147}
4148
4149#define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4150static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject * _resultobj;
4152 int _result;
4153 wxPrintDialog * _arg0;
4154 PyObject * _argo0 = 0;
4155 char *_kwnames[] = { "self", NULL };
4156
4157 self = self;
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_ShowModal",_kwnames,&_argo0))
4159 return NULL;
4160 if (_argo0) {
4161 if (_argo0 == Py_None) { _arg0 = NULL; }
4162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) {
4163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
4164 return NULL;
4165 }
4166 }
4167{
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 _result = (int )wxPrintDialog_ShowModal(_arg0);
4170
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) return NULL;
4173} _resultobj = Py_BuildValue("i",_result);
4174 return _resultobj;
4175}
4176
4177static void *SwigwxPyPrintoutTowxObject(void *ptr) {
4178 wxPyPrintout *src;
4179 wxObject *dest;
4180 src = (wxPyPrintout *) ptr;
4181 dest = (wxObject *) src;
4182 return (void *) dest;
4183}
4184
4185#define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
4186static PyObject *_wrap_new_wxPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4187 PyObject * _resultobj;
4188 wxPyPrintout * _result;
137b5242
RD
4189 wxString * _arg0 = (wxString *) &wxPyPrintoutTitleStr;
4190 PyObject * _obj0 = 0;
efc5f224 4191 char *_kwnames[] = { "title", NULL };
bb0054cd
RD
4192 char _ptemp[128];
4193
4194 self = self;
5a2a9da2
RD
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrintout",_kwnames,&_obj0))
4196 return NULL;
4197 if (_obj0)
4198{
4199 _arg0 = wxString_in_helper(_obj0);
4200 if (_arg0 == NULL)
4201 return NULL;
4202}
4203{
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 _result = (wxPyPrintout *)new_wxPrintout(*_arg0);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) return NULL;
4209} if (_result) {
4210 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p");
4211 _resultobj = Py_BuildValue("s",_ptemp);
4212 } else {
4213 Py_INCREF(Py_None);
4214 _resultobj = Py_None;
4215 }
4216{
4217 if (_obj0)
4218 delete _arg0;
4219}
4220 return _resultobj;
4221}
4222
4223#define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4224static PyObject *_wrap_wxPrintout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject * _resultobj;
4226 wxPyPrintout * _arg0;
4227 PyObject * _arg1;
4228 PyObject * _arg2;
4229 PyObject * _argo0 = 0;
4230 PyObject * _obj1 = 0;
4231 PyObject * _obj2 = 0;
4232 char *_kwnames[] = { "self","self","_class", NULL };
4233
4234 self = self;
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintout__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4236 return NULL;
4237 if (_argo0) {
4238 if (_argo0 == Py_None) { _arg0 = NULL; }
4239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
4241 return NULL;
4242 }
4243 }
4244{
4245 _arg1 = _obj1;
4246}
4247{
4248 _arg2 = _obj2;
4249}
4250{
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 wxPrintout__setCallbackInfo(_arg0,_arg1,_arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) return NULL;
4256} Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259}
4260
4261static void wxPyPrintout_Destroy(wxPyPrintout *self) { delete self; }
4262static PyObject *_wrap_wxPrintout_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxPyPrintout * _arg0;
4265 PyObject * _argo0 = 0;
4266 char *_kwnames[] = { "self", NULL };
4267
4268 self = self;
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_Destroy",_kwnames,&_argo0))
4270 return NULL;
4271 if (_argo0) {
4272 if (_argo0 == Py_None) { _arg0 = NULL; }
4273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
4275 return NULL;
4276 }
4277 }
4278{
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 wxPyPrintout_Destroy(_arg0);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) return NULL;
4284} Py_INCREF(Py_None);
4285 _resultobj = Py_None;
4286 return _resultobj;
4287}
4288
4289#define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
4290static PyObject *_wrap_wxPrintout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject * _resultobj;
4292 wxDC * _result;
4293 wxPyPrintout * _arg0;
4294 PyObject * _argo0 = 0;
4295 char *_kwnames[] = { "self", NULL };
4296
4297 self = self;
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetDC",_kwnames,&_argo0))
4299 return NULL;
4300 if (_argo0) {
4301 if (_argo0 == Py_None) { _arg0 = NULL; }
4302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4304 return NULL;
4305 }
4306 }
4307{
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 _result = (wxDC *)wxPrintout_GetDC(_arg0);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) return NULL;
4313}{ _resultobj = wxPyMake_wxObject(_result); }
4314 return _resultobj;
4315}
4316
4317#define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4318static PyObject *_wrap_wxPrintout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject * _resultobj;
4320 wxPyPrintout * _arg0;
4321 int * _arg1;
4322 int temp;
4323 int * _arg2;
4324 int temp0;
4325 PyObject * _argo0 = 0;
4326 char *_kwnames[] = { "self", NULL };
4327
4328 self = self;
4329{
4330 _arg1 = &temp;
4331}
4332{
4333 _arg2 = &temp0;
4334}
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizeMM",_kwnames,&_argo0))
4336 return NULL;
4337 if (_argo0) {
4338 if (_argo0 == Py_None) { _arg0 = NULL; }
4339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4341 return NULL;
4342 }
4343 }
4344{
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 wxPrintout_GetPageSizeMM(_arg0,_arg1,_arg2);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) return NULL;
4350} Py_INCREF(Py_None);
4351 _resultobj = Py_None;
4352{
4353 PyObject *o;
4354 o = PyInt_FromLong((long) (*_arg1));
4355 _resultobj = t_output_helper(_resultobj, o);
4356}
4357{
4358 PyObject *o;
4359 o = PyInt_FromLong((long) (*_arg2));
4360 _resultobj = t_output_helper(_resultobj, o);
4361}
4362 return _resultobj;
4363}
4364
4365#define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4366static PyObject *_wrap_wxPrintout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject * _resultobj;
4368 wxPyPrintout * _arg0;
4369 int * _arg1;
4370 int temp;
4371 int * _arg2;
4372 int temp0;
4373 PyObject * _argo0 = 0;
4374 char *_kwnames[] = { "self", NULL };
4375
4376 self = self;
4377{
4378 _arg1 = &temp;
4379}
4380{
4381 _arg2 = &temp0;
4382}
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizePixels",_kwnames,&_argo0))
4384 return NULL;
4385 if (_argo0) {
4386 if (_argo0 == Py_None) { _arg0 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4389 return NULL;
4390 }
4391 }
4392{
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 wxPrintout_GetPageSizePixels(_arg0,_arg1,_arg2);
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) return NULL;
4398} Py_INCREF(Py_None);
4399 _resultobj = Py_None;
4400{
4401 PyObject *o;
4402 o = PyInt_FromLong((long) (*_arg1));
4403 _resultobj = t_output_helper(_resultobj, o);
4404}
4405{
4406 PyObject *o;
4407 o = PyInt_FromLong((long) (*_arg2));
4408 _resultobj = t_output_helper(_resultobj, o);
4409}
4410 return _resultobj;
4411}
4412
4413#define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4414static PyObject *_wrap_wxPrintout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject * _resultobj;
4416 wxPyPrintout * _arg0;
4417 int * _arg1;
4418 int temp;
4419 int * _arg2;
4420 int temp0;
4421 PyObject * _argo0 = 0;
4422 char *_kwnames[] = { "self", NULL };
4423
4424 self = self;
4425{
4426 _arg1 = &temp;
4427}
4428{
4429 _arg2 = &temp0;
4430}
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIPrinter",_kwnames,&_argo0))
4432 return NULL;
4433 if (_argo0) {
4434 if (_argo0 == Py_None) { _arg0 = NULL; }
4435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4437 return NULL;
4438 }
4439 }
4440{
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 wxPrintout_GetPPIPrinter(_arg0,_arg1,_arg2);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) return NULL;
4446} Py_INCREF(Py_None);
4447 _resultobj = Py_None;
4448{
4449 PyObject *o;
4450 o = PyInt_FromLong((long) (*_arg1));
4451 _resultobj = t_output_helper(_resultobj, o);
4452}
4453{
4454 PyObject *o;
4455 o = PyInt_FromLong((long) (*_arg2));
4456 _resultobj = t_output_helper(_resultobj, o);
4457}
4458 return _resultobj;
4459}
4460
4461#define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4462static PyObject *_wrap_wxPrintout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject * _resultobj;
4464 wxPyPrintout * _arg0;
4465 int * _arg1;
4466 int temp;
4467 int * _arg2;
4468 int temp0;
4469 PyObject * _argo0 = 0;
4470 char *_kwnames[] = { "self", NULL };
4471
4472 self = self;
4473{
4474 _arg1 = &temp;
4475}
4476{
4477 _arg2 = &temp0;
4478}
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIScreen",_kwnames,&_argo0))
4480 return NULL;
4481 if (_argo0) {
4482 if (_argo0 == Py_None) { _arg0 = NULL; }
4483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4485 return NULL;
4486 }
4487 }
4488{
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 wxPrintout_GetPPIScreen(_arg0,_arg1,_arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) return NULL;
4494} Py_INCREF(Py_None);
4495 _resultobj = Py_None;
4496{
4497 PyObject *o;
4498 o = PyInt_FromLong((long) (*_arg1));
4499 _resultobj = t_output_helper(_resultobj, o);
4500}
4501{
4502 PyObject *o;
4503 o = PyInt_FromLong((long) (*_arg2));
4504 _resultobj = t_output_helper(_resultobj, o);
4505}
4506 return _resultobj;
4507}
4508
4509#define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4510static PyObject *_wrap_wxPrintout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject * _resultobj;
4512 bool _result;
4513 wxPyPrintout * _arg0;
4514 PyObject * _argo0 = 0;
4515 char *_kwnames[] = { "self", NULL };
4516
4517 self = self;
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_IsPreview",_kwnames,&_argo0))
4519 return NULL;
4520 if (_argo0) {
4521 if (_argo0 == Py_None) { _arg0 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4524 return NULL;
4525 }
4526 }
4527{
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 _result = (bool )wxPrintout_IsPreview(_arg0);
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) return NULL;
4533} _resultobj = Py_BuildValue("i",_result);
4534 return _resultobj;
4535}
4536
4537#define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4538static PyObject *_wrap_wxPrintout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject * _resultobj;
4540 bool _result;
4541 wxPyPrintout * _arg0;
4542 int _arg1;
4543 int _arg2;
4544 PyObject * _argo0 = 0;
4545 char *_kwnames[] = { "self","startPage","endPage", NULL };
4546
4547 self = self;
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPrintout_base_OnBeginDocument",_kwnames,&_argo0,&_arg1,&_arg2))
4549 return NULL;
4550 if (_argo0) {
4551 if (_argo0 == Py_None) { _arg0 = NULL; }
4552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4554 return NULL;
4555 }
4556 }
4557{
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 _result = (bool )wxPrintout_base_OnBeginDocument(_arg0,_arg1,_arg2);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) return NULL;
4563} _resultobj = Py_BuildValue("i",_result);
4564 return _resultobj;
4565}
4566
4567#define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4568static PyObject *_wrap_wxPrintout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject * _resultobj;
4570 wxPyPrintout * _arg0;
4571 PyObject * _argo0 = 0;
4572 char *_kwnames[] = { "self", NULL };
4573
4574 self = self;
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndDocument",_kwnames,&_argo0))
4576 return NULL;
4577 if (_argo0) {
4578 if (_argo0 == Py_None) { _arg0 = NULL; }
4579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4581 return NULL;
4582 }
4583 }
4584{
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 wxPrintout_base_OnEndDocument(_arg0);
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) return NULL;
4590} Py_INCREF(Py_None);
4591 _resultobj = Py_None;
4592 return _resultobj;
4593}
4594
4595#define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4596static PyObject *_wrap_wxPrintout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject * _resultobj;
4598 wxPyPrintout * _arg0;
4599 PyObject * _argo0 = 0;
4600 char *_kwnames[] = { "self", NULL };
4601
4602 self = self;
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnBeginPrinting",_kwnames,&_argo0))
4604 return NULL;
4605 if (_argo0) {
4606 if (_argo0 == Py_None) { _arg0 = NULL; }
4607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4609 return NULL;
4610 }
4611 }
4612{
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 wxPrintout_base_OnBeginPrinting(_arg0);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) return NULL;
4618} Py_INCREF(Py_None);
4619 _resultobj = Py_None;
4620 return _resultobj;
4621}
4622
4623#define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4624static PyObject *_wrap_wxPrintout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject * _resultobj;
4626 wxPyPrintout * _arg0;
4627 PyObject * _argo0 = 0;
4628 char *_kwnames[] = { "self", NULL };
4629
4630 self = self;
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndPrinting",_kwnames,&_argo0))
4632 return NULL;
4633 if (_argo0) {
4634 if (_argo0 == Py_None) { _arg0 = NULL; }
4635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4637 return NULL;
4638 }
4639 }
4640{
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 wxPrintout_base_OnEndPrinting(_arg0);
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) return NULL;
4646} Py_INCREF(Py_None);
4647 _resultobj = Py_None;
4648 return _resultobj;
4649}
4650
4651#define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4652static PyObject *_wrap_wxPrintout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject * _resultobj;
4654 wxPyPrintout * _arg0;
4655 PyObject * _argo0 = 0;
4656 char *_kwnames[] = { "self", NULL };
4657
4658 self = self;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnPreparePrinting",_kwnames,&_argo0))
4660 return NULL;
4661 if (_argo0) {
4662 if (_argo0 == Py_None) { _arg0 = NULL; }
4663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4665 return NULL;
4666 }
4667 }
4668{
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 wxPrintout_base_OnPreparePrinting(_arg0);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) return NULL;
4674} Py_INCREF(Py_None);
4675 _resultobj = Py_None;
4676 return _resultobj;
4677}
4678
4679#define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4680static PyObject *_wrap_wxPrintout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject * _resultobj;
4682 wxPyPrintout * _arg0;
4683 int * _arg1;
4684 int temp;
4685 int * _arg2;
4686 int temp0;
4687 int * _arg3;
4688 int temp1;
4689 int * _arg4;
4690 int temp2;
4691 PyObject * _argo0 = 0;
4692 char *_kwnames[] = { "self", NULL };
4693
4694 self = self;
4695{
4696 _arg1 = &temp;
4697}
4698{
4699 _arg2 = &temp0;
4700}
4701{
4702 _arg3 = &temp1;
4703}
4704{
4705 _arg4 = &temp2;
4706}
4707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_GetPageInfo",_kwnames,&_argo0))
4708 return NULL;
4709 if (_argo0) {
4710 if (_argo0 == Py_None) { _arg0 = NULL; }
4711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4713 return NULL;
4714 }
4715 }
4716{
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 wxPrintout_base_GetPageInfo(_arg0,_arg1,_arg2,_arg3,_arg4);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) return NULL;
4722} Py_INCREF(Py_None);
4723 _resultobj = Py_None;
4724{
4725 PyObject *o;
4726 o = PyInt_FromLong((long) (*_arg1));
4727 _resultobj = t_output_helper(_resultobj, o);
4728}
4729{
4730 PyObject *o;
4731 o = PyInt_FromLong((long) (*_arg2));
4732 _resultobj = t_output_helper(_resultobj, o);
4733}
4734{
4735 PyObject *o;
4736 o = PyInt_FromLong((long) (*_arg3));
4737 _resultobj = t_output_helper(_resultobj, o);
4738}
4739{
4740 PyObject *o;
4741 o = PyInt_FromLong((long) (*_arg4));
4742 _resultobj = t_output_helper(_resultobj, o);
4743}
4744 return _resultobj;
4745}
4746
4747#define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4748static PyObject *_wrap_wxPrintout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject * _resultobj;
4750 bool _result;
4751 wxPyPrintout * _arg0;
4752 int _arg1;
4753 PyObject * _argo0 = 0;
4754 char *_kwnames[] = { "self","page", NULL };
4755
4756 self = self;
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintout_base_HasPage",_kwnames,&_argo0,&_arg1))
4758 return NULL;
4759 if (_argo0) {
4760 if (_argo0 == Py_None) { _arg0 = NULL; }
4761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
4762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4763 return NULL;
4764 }
4765 }
4766{
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 _result = (bool )wxPrintout_base_HasPage(_arg0,_arg1);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) return NULL;
4772} _resultobj = Py_BuildValue("i",_result);
4773 return _resultobj;
4774}
4775
4776static void *SwigwxPrinterTowxObject(void *ptr) {
4777 wxPrinter *src;
4778 wxObject *dest;
4779 src = (wxPrinter *) ptr;
4780 dest = (wxObject *) src;
4781 return (void *) dest;
4782}
4783
4784#define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4785static PyObject *_wrap_new_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject * _resultobj;
4787 wxPrinter * _result;
4788 wxPrintDialogData * _arg0 = (wxPrintDialogData *) NULL;
4789 PyObject * _argo0 = 0;
4790 char *_kwnames[] = { "data", NULL };
4791 char _ptemp[128];
4792
4793 self = self;
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrinter",_kwnames,&_argo0))
4795 return NULL;
4796 if (_argo0) {
4797 if (_argo0 == Py_None) { _arg0 = NULL; }
4798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4800 return NULL;
4801 }
4802 }
4803{
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 _result = (wxPrinter *)new_wxPrinter(_arg0);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) return NULL;
4809} if (_result) {
4810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinter_p");
4811 _resultobj = Py_BuildValue("s",_ptemp);
4812 } else {
4813 Py_INCREF(Py_None);
4814 _resultobj = Py_None;
4815 }
4816 return _resultobj;
4817}
4818
4819#define delete_wxPrinter(_swigobj) (delete _swigobj)
4820static PyObject *_wrap_delete_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject * _resultobj;
4822 wxPrinter * _arg0;
4823 PyObject * _argo0 = 0;
4824 char *_kwnames[] = { "self", NULL };
4825
4826 self = self;
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrinter",_kwnames,&_argo0))
4828 return NULL;
4829 if (_argo0) {
4830 if (_argo0 == Py_None) { _arg0 = NULL; }
4831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4833 return NULL;
4834 }
4835 }
4836{
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 delete_wxPrinter(_arg0);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) return NULL;
4842} Py_INCREF(Py_None);
4843 _resultobj = Py_None;
4844 return _resultobj;
4845}
4846
4847#define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4848static PyObject *_wrap_wxPrinter_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject * _resultobj;
4850 wxPrinter * _arg0;
4851 wxWindow * _arg1;
4852 wxPyPrintout * _arg2;
4853 PyObject * _argo0 = 0;
4854 PyObject * _argo1 = 0;
4855 PyObject * _argo2 = 0;
4856 char *_kwnames[] = { "self","parent","printout", NULL };
4857
4858 self = self;
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrinter_CreateAbortWindow",_kwnames,&_argo0,&_argo1,&_argo2))
4860 return NULL;
4861 if (_argo0) {
4862 if (_argo0 == Py_None) { _arg0 = NULL; }
4863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4865 return NULL;
4866 }
4867 }
4868 if (_argo1) {
4869 if (_argo1 == Py_None) { _arg1 = NULL; }
4870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4872 return NULL;
4873 }
4874 }
4875 if (_argo2) {
4876 if (_argo2 == Py_None) { _arg2 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4879 return NULL;
4880 }
4881 }
4882{
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 wxPrinter_CreateAbortWindow(_arg0,_arg1,_arg2);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) return NULL;
4888} Py_INCREF(Py_None);
4889 _resultobj = Py_None;
4890 return _resultobj;
4891}
4892
4893#define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4894static PyObject *_wrap_wxPrinter_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject * _resultobj;
4896 wxPrintDialogData * _result;
4897 wxPrinter * _arg0;
4898 PyObject * _argo0 = 0;
4899 char *_kwnames[] = { "self", NULL };
4900 char _ptemp[128];
4901
4902 self = self;
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetPrintDialogData",_kwnames,&_argo0))
4904 return NULL;
4905 if (_argo0) {
4906 if (_argo0 == Py_None) { _arg0 = NULL; }
4907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4909 return NULL;
4910 }
4911 }
4912{
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 wxPrintDialogData & _result_ref = wxPrinter_GetPrintDialogData(_arg0);
4915 _result = (wxPrintDialogData *) &_result_ref;
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) return NULL;
4919} if (_result) {
4920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
4921 _resultobj = Py_BuildValue("s",_ptemp);
4922 } else {
4923 Py_INCREF(Py_None);
4924 _resultobj = Py_None;
4925 }
4926 return _resultobj;
4927}
4928
4929#define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4930static PyObject *_wrap_wxPrinter_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject * _resultobj;
4932 bool _result;
4933 wxPrinter * _arg0;
4934 wxWindow * _arg1;
4935 wxPyPrintout * _arg2;
4936 int _arg3 = (int ) TRUE;
4937 PyObject * _argo0 = 0;
4938 PyObject * _argo1 = 0;
4939 PyObject * _argo2 = 0;
4940 char *_kwnames[] = { "self","parent","printout","prompt", NULL };
4941
4942 self = self;
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPrinter_Print",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4944 return NULL;
4945 if (_argo0) {
4946 if (_argo0 == Py_None) { _arg0 = NULL; }
4947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4949 return NULL;
4950 }
4951 }
4952 if (_argo1) {
4953 if (_argo1 == Py_None) { _arg1 = NULL; }
4954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4956 return NULL;
4957 }
4958 }
4959 if (_argo2) {
4960 if (_argo2 == Py_None) { _arg2 = NULL; }
4961 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
4962 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4963 return NULL;
4964 }
4965 }
4966{
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 _result = (bool )wxPrinter_Print(_arg0,_arg1,_arg2,_arg3);
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) return NULL;
4972} _resultobj = Py_BuildValue("i",_result);
4973 return _resultobj;
4974}
4975
4976#define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4977static PyObject *_wrap_wxPrinter_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject * _resultobj;
4979 wxDC * _result;
4980 wxPrinter * _arg0;
4981 wxWindow * _arg1;
4982 PyObject * _argo0 = 0;
4983 PyObject * _argo1 = 0;
4984 char *_kwnames[] = { "self","parent", NULL };
4985
4986 self = self;
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_PrintDialog",_kwnames,&_argo0,&_argo1))
4988 return NULL;
4989 if (_argo0) {
4990 if (_argo0 == Py_None) { _arg0 = NULL; }
4991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
4992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4993 return NULL;
4994 }
4995 }
4996 if (_argo1) {
4997 if (_argo1 == Py_None) { _arg1 = NULL; }
4998 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4999 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
5000 return NULL;
5001 }
5002 }
5003{
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 _result = (wxDC *)wxPrinter_PrintDialog(_arg0,_arg1);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) return NULL;
5009}{ _resultobj = wxPyMake_wxObject(_result); }
5010 return _resultobj;
5011}
5012
5013#define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
5014static PyObject *_wrap_wxPrinter_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
5015 PyObject * _resultobj;
5016 wxPrinter * _arg0;
5017 wxWindow * _arg1;
5018 wxPyPrintout * _arg2;
5019 wxString * _arg3;
5020 PyObject * _argo0 = 0;
5021 PyObject * _argo1 = 0;
5022 PyObject * _argo2 = 0;
5023 PyObject * _obj3 = 0;
5024 char *_kwnames[] = { "self","parent","printout","message", NULL };
5025
5026 self = self;
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPrinter_ReportError",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3))
5028 return NULL;
5029 if (_argo0) {
5030 if (_argo0 == Py_None) { _arg0 = NULL; }
5031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
5032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
5033 return NULL;
5034 }
5035 }
5036 if (_argo1) {
5037 if (_argo1 == Py_None) { _arg1 = NULL; }
5038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
5040 return NULL;
5041 }
5042 }
5043 if (_argo2) {
5044 if (_argo2 == Py_None) { _arg2 = NULL; }
5045 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) {
5046 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
5047 return NULL;
5048 }
5049 }
5050{
5051 _arg3 = wxString_in_helper(_obj3);
5052 if (_arg3 == NULL)
5053 return NULL;
5054}
5055{
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 wxPrinter_ReportError(_arg0,_arg1,_arg2,*_arg3);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) return NULL;
5061} Py_INCREF(Py_None);
5062 _resultobj = Py_None;
5063{
5064 if (_obj3)
5065 delete _arg3;
5066}
5067 return _resultobj;
5068}
5069
5070#define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
5071static PyObject *_wrap_wxPrinter_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject * _resultobj;
5073 bool _result;
5074 wxPrinter * _arg0;
5075 wxWindow * _arg1;
5076 PyObject * _argo0 = 0;
5077 PyObject * _argo1 = 0;
5078 char *_kwnames[] = { "self","parent", NULL };
5079
5080 self = self;
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_Setup",_kwnames,&_argo0,&_argo1))
5082 return NULL;
5083 if (_argo0) {
5084 if (_argo0 == Py_None) { _arg0 = NULL; }
5085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
5086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
5087 return NULL;
5088 }
5089 }
5090 if (_argo1) {
5091 if (_argo1 == Py_None) { _arg1 = NULL; }
5092 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5093 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
5094 return NULL;
5095 }
5096 }
5097{
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 _result = (bool )wxPrinter_Setup(_arg0,_arg1);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) return NULL;
5103} _resultobj = Py_BuildValue("i",_result);
5104 return _resultobj;
5105}
5106
5107#define wxPrinter_GetAbort(_swigobj) (_swigobj->GetAbort())
5108static PyObject *_wrap_wxPrinter_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject * _resultobj;
5110 bool _result;
5111 wxPrinter * _arg0;
5112 PyObject * _argo0 = 0;
5113 char *_kwnames[] = { "self", NULL };
5114
5115 self = self;
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetAbort",_kwnames,&_argo0))
5117 return NULL;
5118 if (_argo0) {
5119 if (_argo0 == Py_None) { _arg0 = NULL; }
5120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) {
5121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetAbort. Expected _wxPrinter_p.");
5122 return NULL;
5123 }
5124 }
5125{
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 _result = (bool )wxPrinter_GetAbort(_arg0);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) return NULL;
5131} _resultobj = Py_BuildValue("i",_result);
5132 return _resultobj;
5133}
5134
5135static PyObject *_wrap_wxPrinter_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject * _resultobj;
5137 wxPrinterError _result;
5138 char *_kwnames[] = { NULL };
5139
5140 self = self;
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxPrinter_GetLastError",_kwnames))
5142 return NULL;
5143{
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 _result = (wxPrinterError )wxPrinter::GetLastError();
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) return NULL;
5149} _resultobj = Py_BuildValue("i",_result);
5150 return _resultobj;
5151}
5152
5153static void *SwigwxPrintAbortDialogTowxDialog(void *ptr) {
5154 wxPrintAbortDialog *src;
5155 wxDialog *dest;
5156 src = (wxPrintAbortDialog *) ptr;
5157 dest = (wxDialog *) src;
5158 return (void *) dest;
5159}
5160
5161static void *SwigwxPrintAbortDialogTowxTopLevelWindow(void *ptr) {
5162 wxPrintAbortDialog *src;
5163 wxTopLevelWindow *dest;
5164 src = (wxPrintAbortDialog *) ptr;
5165 dest = (wxTopLevelWindow *) src;
5166 return (void *) dest;
5167}
5168
5169static void *SwigwxPrintAbortDialogTowxWindow(void *ptr) {
5170 wxPrintAbortDialog *src;
5171 wxWindow *dest;
5172 src = (wxPrintAbortDialog *) ptr;
5173 dest = (wxWindow *) src;
5174 return (void *) dest;
5175}
5176
5177static void *SwigwxPrintAbortDialogTowxEvtHandler(void *ptr) {
5178 wxPrintAbortDialog *src;
5179 wxEvtHandler *dest;
5180 src = (wxPrintAbortDialog *) ptr;
5181 dest = (wxEvtHandler *) src;
5182 return (void *) dest;
5183}
5184
5185static void *SwigwxPrintAbortDialogTowxObject(void *ptr) {
5186 wxPrintAbortDialog *src;
5187 wxObject *dest;
5188 src = (wxPrintAbortDialog *) ptr;
5189 dest = (wxObject *) src;
5190 return (void *) dest;
5191}
5192
5193#define new_wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5194static PyObject *_wrap_new_wxPrintAbortDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject * _resultobj;
5196 wxPrintAbortDialog * _result;
5197 wxWindow * _arg0;
5198 wxString * _arg1;
5199 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5200 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5201 long _arg4 = (long ) 0;
5202 wxString * _arg5 = (wxString *) &wxPyDialogNameStr;
5203 PyObject * _argo0 = 0;
5204 PyObject * _obj1 = 0;
5205 wxPoint temp;
5206 PyObject * _obj2 = 0;
5207 wxSize temp0;
5208 PyObject * _obj3 = 0;
5209 PyObject * _obj5 = 0;
5210 char *_kwnames[] = { "parent","title","pos","size","style","name", NULL };
5211 char _ptemp[128];
5212
5213 self = self;
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOlO:new_wxPrintAbortDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_arg4,&_obj5))
5215 return NULL;
5216 if (_argo0) {
5217 if (_argo0 == Py_None) { _arg0 = NULL; }
5218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintAbortDialog. Expected _wxWindow_p.");
5220 return NULL;
5221 }
5222 }
5223{
5224 _arg1 = wxString_in_helper(_obj1);
5225 if (_arg1 == NULL)
5226 return NULL;
5227}
5228 if (_obj2)
5229{
5230 _arg2 = &temp;
5231 if (! wxPoint_helper(_obj2, &_arg2))
5232 return NULL;
5233}
5234 if (_obj3)
5235{
5236 _arg3 = &temp0;
5237 if (! wxSize_helper(_obj3, &_arg3))
5238 return NULL;
5239}
5240 if (_obj5)
5241{
5242 _arg5 = wxString_in_helper(_obj5);
5243 if (_arg5 == NULL)
5244 return NULL;
5245}
5246{
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 _result = (wxPrintAbortDialog *)new_wxPrintAbortDialog(_arg0,*_arg1,*_arg2,*_arg3,_arg4,*_arg5);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) return NULL;
5252} if (_result) {
5253 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintAbortDialog_p");
5254 _resultobj = Py_BuildValue("s",_ptemp);
5255 } else {
5256 Py_INCREF(Py_None);
5257 _resultobj = Py_None;
5258 }
5259{
5260 if (_obj1)
5261 delete _arg1;
5262}
5263{
5264 if (_obj5)
5265 delete _arg5;
5266}
5267 return _resultobj;
5268}
5269
5270static void *SwigwxPrintPreviewTowxObject(void *ptr) {
5271 wxPrintPreview *src;
5272 wxObject *dest;
5273 src = (wxPrintPreview *) ptr;
5274 dest = (wxObject *) src;
5275 return (void *) dest;
5276}
5277
5278#define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
5279static PyObject *_wrap_new_wxPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject * _resultobj;
5281 wxPrintPreview * _result;
5282 wxPyPrintout * _arg0;
5283 wxPyPrintout * _arg1;
5284 wxPrintData * _arg2 = (wxPrintData *) NULL;
5285 PyObject * _argo0 = 0;
5286 PyObject * _argo1 = 0;
5287 PyObject * _argo2 = 0;
5288 char *_kwnames[] = { "printout","printoutForPrinting","data", NULL };
5289 char _ptemp[128];
5290
5291 self = self;
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2))
5293 return NULL;
5294 if (_argo0) {
5295 if (_argo0 == Py_None) { _arg0 = NULL; }
5296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
5297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5298 return NULL;
5299 }
5300 }
5301 if (_argo1) {
5302 if (_argo1 == Py_None) { _arg1 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5305 return NULL;
5306 }
5307 }
5308 if (_argo2) {
5309 if (_argo2 == Py_None) { _arg2 = NULL; }
5310 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) {
5311 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
5312 return NULL;
5313 }
5314 }
5315{
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 _result = (wxPrintPreview *)new_wxPrintPreview(_arg0,_arg1,_arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) return NULL;
5321} if (_result) {
5322 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p");
5323 _resultobj = Py_BuildValue("s",_ptemp);
5324 } else {
5325 Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 }
5328 return _resultobj;
5329}
5330
5331#define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5332static PyObject *_wrap_wxPrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject * _resultobj;
5334 bool _result;
5335 wxPrintPreview * _arg0;
5336 int _arg1;
5337 PyObject * _argo0 = 0;
5338 char *_kwnames[] = { "self","pageNum", NULL };
5339
5340 self = self;
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetCurrentPage",_kwnames,&_argo0,&_arg1))
5342 return NULL;
5343 if (_argo0) {
5344 if (_argo0 == Py_None) { _arg0 = NULL; }
5345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5347 return NULL;
5348 }
5349 }
5350{
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 _result = (bool )wxPrintPreview_SetCurrentPage(_arg0,_arg1);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) return NULL;
5356} _resultobj = Py_BuildValue("i",_result);
5357 return _resultobj;
5358}
5359
5360#define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
5361static PyObject *_wrap_wxPrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject * _resultobj;
5363 int _result;
5364 wxPrintPreview * _arg0;
5365 PyObject * _argo0 = 0;
5366 char *_kwnames[] = { "self", NULL };
5367
5368 self = self;
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCurrentPage",_kwnames,&_argo0))
5370 return NULL;
5371 if (_argo0) {
5372 if (_argo0 == Py_None) { _arg0 = NULL; }
5373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
5375 return NULL;
5376 }
5377 }
5378{
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 _result = (int )wxPrintPreview_GetCurrentPage(_arg0);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) return NULL;
5384} _resultobj = Py_BuildValue("i",_result);
5385 return _resultobj;
5386}
5387
5388#define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5389static PyObject *_wrap_wxPrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 wxPrintPreview * _arg0;
5392 wxPyPrintout * _arg1;
5393 PyObject * _argo0 = 0;
5394 PyObject * _argo1 = 0;
5395 char *_kwnames[] = { "self","printout", NULL };
5396
5397 self = self;
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetPrintout",_kwnames,&_argo0,&_argo1))
5399 return NULL;
5400 if (_argo0) {
5401 if (_argo0 == Py_None) { _arg0 = NULL; }
5402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5404 return NULL;
5405 }
5406 }
5407 if (_argo1) {
5408 if (_argo1 == Py_None) { _arg1 = NULL; }
5409 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
5410 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5411 return NULL;
5412 }
5413 }
5414{
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 wxPrintPreview_SetPrintout(_arg0,_arg1);
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) return NULL;
5420} Py_INCREF(Py_None);
5421 _resultobj = Py_None;
5422 return _resultobj;
5423}
5424
5425#define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5426static PyObject *_wrap_wxPrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject * _resultobj;
5428 wxPyPrintout * _result;
5429 wxPrintPreview * _arg0;
5430 PyObject * _argo0 = 0;
5431 char *_kwnames[] = { "self", NULL };
5432
5433 self = self;
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintout",_kwnames,&_argo0))
5435 return NULL;
5436 if (_argo0) {
5437 if (_argo0 == Py_None) { _arg0 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5440 return NULL;
5441 }
5442 }
5443{
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 _result = (wxPyPrintout *)wxPrintPreview_GetPrintout(_arg0);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) return NULL;
5449}{ _resultobj = wxPyMake_wxObject(_result); }
5450 return _resultobj;
5451}
5452
5453#define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5454static PyObject *_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject * _resultobj;
5456 wxPyPrintout * _result;
5457 wxPrintPreview * _arg0;
5458 PyObject * _argo0 = 0;
5459 char *_kwnames[] = { "self", NULL };
5460
5461 self = self;
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames,&_argo0))
5463 return NULL;
5464 if (_argo0) {
5465 if (_argo0 == Py_None) { _arg0 = NULL; }
5466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5468 return NULL;
5469 }
5470 }
5471{
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 _result = (wxPyPrintout *)wxPrintPreview_GetPrintoutForPrinting(_arg0);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) return NULL;
5477}{ _resultobj = wxPyMake_wxObject(_result); }
5478 return _resultobj;
5479}
5480
5481#define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5482static PyObject *_wrap_wxPrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject * _resultobj;
5484 wxPrintPreview * _arg0;
5485 wxFrame * _arg1;
5486 PyObject * _argo0 = 0;
5487 PyObject * _argo1 = 0;
5488 char *_kwnames[] = { "self","frame", NULL };
5489
5490 self = self;
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetFrame",_kwnames,&_argo0,&_argo1))
5492 return NULL;
5493 if (_argo0) {
5494 if (_argo0 == Py_None) { _arg0 = NULL; }
5495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5497 return NULL;
5498 }
5499 }
5500 if (_argo1) {
5501 if (_argo1 == Py_None) { _arg1 = NULL; }
5502 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5503 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5504 return NULL;
5505 }
5506 }
5507{
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 wxPrintPreview_SetFrame(_arg0,_arg1);
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) return NULL;
5513} Py_INCREF(Py_None);
5514 _resultobj = Py_None;
5515 return _resultobj;
5516}
5517
5518#define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5519static PyObject *_wrap_wxPrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject * _resultobj;
5521 wxPrintPreview * _arg0;
5522 wxPreviewCanvas * _arg1;
5523 PyObject * _argo0 = 0;
5524 PyObject * _argo1 = 0;
5525 char *_kwnames[] = { "self","canvas", NULL };
5526
5527 self = self;
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetCanvas",_kwnames,&_argo0,&_argo1))
bb0054cd 5529 return NULL;
5a2a9da2
RD
5530 if (_argo0) {
5531 if (_argo0 == Py_None) { _arg0 = NULL; }
5532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5534 return NULL;
5535 }
5536 }
5537 if (_argo1) {
5538 if (_argo1 == Py_None) { _arg1 = NULL; }
5539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
5540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxPreviewCanvas_p.");
5541 return NULL;
5542 }
5543 }
137b5242 5544{
5a2a9da2
RD
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 wxPrintPreview_SetCanvas(_arg0,_arg1);
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) return NULL;
5550} Py_INCREF(Py_None);
5551 _resultobj = Py_None;
5552 return _resultobj;
5553}
5554
5555#define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
5556static PyObject *_wrap_wxPrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject * _resultobj;
5558 wxFrame * _result;
5559 wxPrintPreview * _arg0;
5560 PyObject * _argo0 = 0;
5561 char *_kwnames[] = { "self", NULL };
5562
5563 self = self;
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetFrame",_kwnames,&_argo0))
5565 return NULL;
5566 if (_argo0) {
5567 if (_argo0 == Py_None) { _arg0 = NULL; }
5568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
137b5242 5570 return NULL;
5a2a9da2
RD
5571 }
5572 }
5573{
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 _result = (wxFrame *)wxPrintPreview_GetFrame(_arg0);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) return NULL;
5579}{ _resultobj = wxPyMake_wxObject(_result); }
5580 return _resultobj;
137b5242 5581}
5a2a9da2
RD
5582
5583#define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
5584static PyObject *_wrap_wxPrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject * _resultobj;
5586 wxPreviewCanvas * _result;
5587 wxPrintPreview * _arg0;
5588 PyObject * _argo0 = 0;
5589 char *_kwnames[] = { "self", NULL };
5590 char _ptemp[128];
5591
5592 self = self;
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCanvas",_kwnames,&_argo0))
5594 return NULL;
5595 if (_argo0) {
5596 if (_argo0 == Py_None) { _arg0 = NULL; }
5597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
5599 return NULL;
5600 }
5601 }
bb0054cd 5602{
4268f798 5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5604 _result = (wxPreviewCanvas *)wxPrintPreview_GetCanvas(_arg0);
bb0054cd 5605
4268f798 5606 wxPyEndAllowThreads(__tstate);
493f1553 5607 if (PyErr_Occurred()) return NULL;
1d99702e 5608} if (_result) {
5a2a9da2 5609 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewCanvas_p");
1d99702e
RD
5610 _resultobj = Py_BuildValue("s",_ptemp);
5611 } else {
5612 Py_INCREF(Py_None);
5613 _resultobj = Py_None;
5614 }
5a2a9da2
RD
5615 return _resultobj;
5616}
5617
5618#define wxPrintPreview_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintPage(_swigarg0,_swigarg1))
5619static PyObject *_wrap_wxPrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject * _resultobj;
5621 bool _result;
5622 wxPrintPreview * _arg0;
5623 wxPreviewCanvas * _arg1;
5624 wxDC * _arg2;
5625 PyObject * _argo0 = 0;
5626 PyObject * _argo1 = 0;
5627 PyObject * _argo2 = 0;
5628 char *_kwnames[] = { "self","canvas","dc", NULL };
5629
5630 self = self;
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintPreview_PaintPage",_kwnames,&_argo0,&_argo1,&_argo2))
5632 return NULL;
5633 if (_argo0) {
5634 if (_argo0 == Py_None) { _arg0 = NULL; }
5635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_PaintPage. Expected _wxPrintPreview_p.");
5637 return NULL;
5638 }
5639 }
5640 if (_argo1) {
5641 if (_argo1 == Py_None) { _arg1 = NULL; }
5642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
5643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_PaintPage. Expected _wxPreviewCanvas_p.");
5644 return NULL;
5645 }
5646 }
5647 if (_argo2) {
5648 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
5649 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrintPreview_PaintPage. Expected _wxDC_p.");
5650 return NULL;
5651 }
5652 }
137b5242 5653{
5a2a9da2
RD
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 _result = (bool )wxPrintPreview_PaintPage(_arg0,_arg1,*_arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) return NULL;
5659} _resultobj = Py_BuildValue("i",_result);
5660 return _resultobj;
5661}
5662
5663#define wxPrintPreview_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawBlankPage(_swigarg0,_swigarg1))
5664static PyObject *_wrap_wxPrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject * _resultobj;
5666 bool _result;
5667 wxPrintPreview * _arg0;
5668 wxPreviewCanvas * _arg1;
5669 wxDC * _arg2;
5670 PyObject * _argo0 = 0;
5671 PyObject * _argo1 = 0;
5672 PyObject * _argo2 = 0;
5673 char *_kwnames[] = { "self","canvas","dc", NULL };
5674
5675 self = self;
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintPreview_DrawBlankPage",_kwnames,&_argo0,&_argo1,&_argo2))
5677 return NULL;
5678 if (_argo0) {
5679 if (_argo0 == Py_None) { _arg0 = NULL; }
5680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_DrawBlankPage. Expected _wxPrintPreview_p.");
5682 return NULL;
5683 }
5684 }
5685 if (_argo1) {
5686 if (_argo1 == Py_None) { _arg1 = NULL; }
5687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
5688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_DrawBlankPage. Expected _wxPreviewCanvas_p.");
5689 return NULL;
5690 }
5691 }
5692 if (_argo2) {
5693 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
5694 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrintPreview_DrawBlankPage. Expected _wxDC_p.");
5695 return NULL;
5696 }
5697 }
5698{
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 _result = (bool )wxPrintPreview_DrawBlankPage(_arg0,_arg1,*_arg2);
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) return NULL;
5704} _resultobj = Py_BuildValue("i",_result);
5705 return _resultobj;
137b5242 5706}
5a2a9da2
RD
5707
5708#define wxPrintPreview_RenderPage(_swigobj,_swigarg0) (_swigobj->RenderPage(_swigarg0))
5709static PyObject *_wrap_wxPrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject * _resultobj;
5711 bool _result;
5712 wxPrintPreview * _arg0;
5713 int _arg1;
5714 PyObject * _argo0 = 0;
5715 char *_kwnames[] = { "self","pageNum", NULL };
5716
5717 self = self;
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_RenderPage",_kwnames,&_argo0,&_arg1))
5719 return NULL;
5720 if (_argo0) {
5721 if (_argo0 == Py_None) { _arg0 = NULL; }
5722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_RenderPage. Expected _wxPrintPreview_p.");
5724 return NULL;
5725 }
5726 }
5727{
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 _result = (bool )wxPrintPreview_RenderPage(_arg0,_arg1);
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) return NULL;
5733} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
5734 return _resultobj;
5735}
5736
5a2a9da2
RD
5737#define wxPrintPreview_AdjustScrollbars(_swigobj,_swigarg0) (_swigobj->AdjustScrollbars(_swigarg0))
5738static PyObject *_wrap_wxPrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5739 PyObject * _resultobj;
5a2a9da2
RD
5740 wxPrintPreview * _arg0;
5741 wxPreviewCanvas * _arg1;
1d99702e 5742 PyObject * _argo0 = 0;
5a2a9da2
RD
5743 PyObject * _argo1 = 0;
5744 char *_kwnames[] = { "self","canvas", NULL };
bb0054cd
RD
5745
5746 self = self;
5a2a9da2 5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_AdjustScrollbars",_kwnames,&_argo0,&_argo1))
bb0054cd 5748 return NULL;
1d99702e
RD
5749 if (_argo0) {
5750 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_AdjustScrollbars. Expected _wxPrintPreview_p.");
5753 return NULL;
5754 }
5755 }
5756 if (_argo1) {
5757 if (_argo1 == Py_None) { _arg1 = NULL; }
5758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
5759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_AdjustScrollbars. Expected _wxPreviewCanvas_p.");
bb0054cd
RD
5760 return NULL;
5761 }
5762 }
5763{
5a2a9da2
RD
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 wxPrintPreview_AdjustScrollbars(_arg0,_arg1);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) return NULL;
5769} Py_INCREF(Py_None);
5770 _resultobj = Py_None;
5771 return _resultobj;
bb0054cd 5772}
5a2a9da2
RD
5773
5774#define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5775static PyObject *_wrap_wxPrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject * _resultobj;
5777 wxPrintDialogData * _result;
5778 wxPrintPreview * _arg0;
5779 PyObject * _argo0 = 0;
5780 char *_kwnames[] = { "self", NULL };
5781 char _ptemp[128];
5782
5783 self = self;
5784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintDialogData",_kwnames,&_argo0))
5785 return NULL;
5786 if (_argo0) {
5787 if (_argo0 == Py_None) { _arg0 = NULL; }
5788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5790 return NULL;
5791 }
5792 }
f6bcfd97 5793{
5a2a9da2
RD
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 wxPrintDialogData & _result_ref = wxPrintPreview_GetPrintDialogData(_arg0);
5796 _result = (wxPrintDialogData *) &_result_ref;
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) return NULL;
5800} if (_result) {
5801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p");
5802 _resultobj = Py_BuildValue("s",_ptemp);
5803 } else {
5804 Py_INCREF(Py_None);
5805 _resultobj = Py_None;
5806 }
5807 return _resultobj;
f6bcfd97 5808}
5a2a9da2
RD
5809
5810#define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5811static PyObject *_wrap_wxPrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject * _resultobj;
5813 wxPrintPreview * _arg0;
5814 int _arg1;
5815 PyObject * _argo0 = 0;
5816 char *_kwnames[] = { "self","percent", NULL };
5817
5818 self = self;
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetZoom",_kwnames,&_argo0,&_arg1))
5820 return NULL;
5821 if (_argo0) {
5822 if (_argo0 == Py_None) { _arg0 = NULL; }
5823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5825 return NULL;
5826 }
5827 }
bb0054cd 5828{
4268f798 5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5830 wxPrintPreview_SetZoom(_arg0,_arg1);
bb0054cd 5831
4268f798 5832 wxPyEndAllowThreads(__tstate);
493f1553 5833 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
5834} Py_INCREF(Py_None);
5835 _resultobj = Py_None;
5836 return _resultobj;
5837}
5838
5a2a9da2
RD
5839#define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5840static PyObject *_wrap_wxPrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5841 PyObject * _resultobj;
5a2a9da2
RD
5842 int _result;
5843 wxPrintPreview * _arg0;
1d99702e 5844 PyObject * _argo0 = 0;
efc5f224 5845 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
5846
5847 self = self;
5a2a9da2 5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetZoom",_kwnames,&_argo0))
bb0054cd 5849 return NULL;
1d99702e
RD
5850 if (_argo0) {
5851 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
bb0054cd
RD
5854 return NULL;
5855 }
5856 }
5857{
4268f798 5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5859 _result = (int )wxPrintPreview_GetZoom(_arg0);
bb0054cd 5860
4268f798 5861 wxPyEndAllowThreads(__tstate);
493f1553 5862 if (PyErr_Occurred()) return NULL;
5a2a9da2 5863} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
5864 return _resultobj;
5865}
5866
5a2a9da2
RD
5867#define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
5868static PyObject *_wrap_wxPrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5869 PyObject * _resultobj;
5a2a9da2
RD
5870 int _result;
5871 wxPrintPreview * _arg0;
1d99702e 5872 PyObject * _argo0 = 0;
efc5f224 5873 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
5874
5875 self = self;
5a2a9da2 5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMaxPage",_kwnames,&_argo0))
bb0054cd 5877 return NULL;
1d99702e
RD
5878 if (_argo0) {
5879 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
bb0054cd
RD
5882 return NULL;
5883 }
5884 }
5885{
4268f798 5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5887 _result = (int )wxPrintPreview_GetMaxPage(_arg0);
bb0054cd 5888
4268f798 5889 wxPyEndAllowThreads(__tstate);
493f1553 5890 if (PyErr_Occurred()) return NULL;
5a2a9da2 5891} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
5892 return _resultobj;
5893}
5894
5a2a9da2
RD
5895#define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
5896static PyObject *_wrap_wxPrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5897 PyObject * _resultobj;
5a2a9da2
RD
5898 int _result;
5899 wxPrintPreview * _arg0;
1d99702e 5900 PyObject * _argo0 = 0;
efc5f224 5901 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
5902
5903 self = self;
5a2a9da2 5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMinPage",_kwnames,&_argo0))
bb0054cd 5905 return NULL;
1d99702e
RD
5906 if (_argo0) {
5907 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
bb0054cd
RD
5910 return NULL;
5911 }
5912 }
5913{
4268f798 5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5915 _result = (int )wxPrintPreview_GetMinPage(_arg0);
bb0054cd 5916
4268f798 5917 wxPyEndAllowThreads(__tstate);
493f1553 5918 if (PyErr_Occurred()) return NULL;
5a2a9da2 5919} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
5920 return _resultobj;
5921}
5922
5a2a9da2
RD
5923#define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5924static PyObject *_wrap_wxPrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5925 PyObject * _resultobj;
5a2a9da2
RD
5926 bool _result;
5927 wxPrintPreview * _arg0;
1d99702e 5928 PyObject * _argo0 = 0;
efc5f224 5929 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
5930
5931 self = self;
5a2a9da2 5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_Ok",_kwnames,&_argo0))
bb0054cd 5933 return NULL;
1d99702e
RD
5934 if (_argo0) {
5935 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
bb0054cd
RD
5938 return NULL;
5939 }
5940 }
5941{
4268f798 5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5943 _result = (bool )wxPrintPreview_Ok(_arg0);
bb0054cd 5944
4268f798 5945 wxPyEndAllowThreads(__tstate);
493f1553 5946 if (PyErr_Occurred()) return NULL;
5a2a9da2 5947} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
5948 return _resultobj;
5949}
5950
5a2a9da2
RD
5951#define wxPrintPreview_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
5952static PyObject *_wrap_wxPrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5953 PyObject * _resultobj;
5a2a9da2
RD
5954 wxPrintPreview * _arg0;
5955 bool _arg1;
1d99702e 5956 PyObject * _argo0 = 0;
5a2a9da2
RD
5957 int tempbool1;
5958 char *_kwnames[] = { "self","ok", NULL };
bb0054cd
RD
5959
5960 self = self;
5a2a9da2 5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetOk",_kwnames,&_argo0,&tempbool1))
bb0054cd 5962 return NULL;
1d99702e
RD
5963 if (_argo0) {
5964 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetOk. Expected _wxPrintPreview_p.");
bb0054cd
RD
5967 return NULL;
5968 }
5969 }
5a2a9da2 5970 _arg1 = (bool ) tempbool1;
bb0054cd 5971{
4268f798 5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5973 wxPrintPreview_SetOk(_arg0,_arg1);
bb0054cd 5974
4268f798 5975 wxPyEndAllowThreads(__tstate);
493f1553 5976 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
5977} Py_INCREF(Py_None);
5978 _resultobj = Py_None;
bb0054cd
RD
5979 return _resultobj;
5980}
5981
5a2a9da2
RD
5982#define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5983static PyObject *_wrap_wxPrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 5984 PyObject * _resultobj;
5a2a9da2
RD
5985 bool _result;
5986 wxPrintPreview * _arg0;
5987 bool _arg1;
1d99702e 5988 PyObject * _argo0 = 0;
5a2a9da2
RD
5989 int tempbool1;
5990 char *_kwnames[] = { "self","interactive", NULL };
bb0054cd
RD
5991
5992 self = self;
5a2a9da2 5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_Print",_kwnames,&_argo0,&tempbool1))
bb0054cd 5994 return NULL;
1d99702e
RD
5995 if (_argo0) {
5996 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
5997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
bb0054cd
RD
5999 return NULL;
6000 }
6001 }
5a2a9da2 6002 _arg1 = (bool ) tempbool1;
bb0054cd 6003{
4268f798 6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6005 _result = (bool )wxPrintPreview_Print(_arg0,_arg1);
bb0054cd 6006
4268f798 6007 wxPyEndAllowThreads(__tstate);
493f1553 6008 if (PyErr_Occurred()) return NULL;
5a2a9da2 6009} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
6010 return _resultobj;
6011}
6012
5a2a9da2
RD
6013#define wxPrintPreview_DetermineScaling(_swigobj) (_swigobj->DetermineScaling())
6014static PyObject *_wrap_wxPrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6015 PyObject * _resultobj;
5a2a9da2 6016 wxPrintPreview * _arg0;
1d99702e 6017 PyObject * _argo0 = 0;
efc5f224 6018 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6019
6020 self = self;
5a2a9da2 6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_DetermineScaling",_kwnames,&_argo0))
bb0054cd 6022 return NULL;
1d99702e
RD
6023 if (_argo0) {
6024 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
6026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_DetermineScaling. Expected _wxPrintPreview_p.");
bb0054cd
RD
6027 return NULL;
6028 }
6029 }
6030{
4268f798 6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6032 wxPrintPreview_DetermineScaling(_arg0);
bb0054cd 6033
4268f798 6034 wxPyEndAllowThreads(__tstate);
493f1553 6035 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6036} Py_INCREF(Py_None);
6037 _resultobj = Py_None;
bb0054cd
RD
6038 return _resultobj;
6039}
6040
5a2a9da2
RD
6041static void *SwigwxPreviewFrameTowxFrame(void *ptr) {
6042 wxPreviewFrame *src;
6043 wxFrame *dest;
6044 src = (wxPreviewFrame *) ptr;
6045 dest = (wxFrame *) src;
6046 return (void *) dest;
6047}
6048
6049static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr) {
6050 wxPreviewFrame *src;
6051 wxTopLevelWindow *dest;
6052 src = (wxPreviewFrame *) ptr;
6053 dest = (wxTopLevelWindow *) src;
6054 return (void *) dest;
6055}
6056
6057static void *SwigwxPreviewFrameTowxWindow(void *ptr) {
6058 wxPreviewFrame *src;
6059 wxWindow *dest;
6060 src = (wxPreviewFrame *) ptr;
6061 dest = (wxWindow *) src;
6062 return (void *) dest;
6063}
6064
6065static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr) {
6066 wxPreviewFrame *src;
6067 wxEvtHandler *dest;
6068 src = (wxPreviewFrame *) ptr;
6069 dest = (wxEvtHandler *) src;
6070 return (void *) dest;
6071}
6072
6073static void *SwigwxPreviewFrameTowxObject(void *ptr) {
6074 wxPreviewFrame *src;
6075 wxObject *dest;
6076 src = (wxPreviewFrame *) ptr;
6077 dest = (wxObject *) src;
6078 return (void *) dest;
6079}
6080
6081#define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6082static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6083 PyObject * _resultobj;
5a2a9da2
RD
6084 wxPreviewFrame * _result;
6085 wxPrintPreview * _arg0;
6086 wxFrame * _arg1;
6087 wxString * _arg2;
6088 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6089 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6090 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
6091 wxString * _arg6 = (wxString *) &wxPyFrameNameStr;
1d99702e 6092 PyObject * _argo0 = 0;
5a2a9da2
RD
6093 PyObject * _argo1 = 0;
6094 PyObject * _obj2 = 0;
6095 wxPoint temp;
6096 PyObject * _obj3 = 0;
6097 wxSize temp0;
6098 PyObject * _obj4 = 0;
6099 PyObject * _obj6 = 0;
6100 char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
6101 char _ptemp[128];
bb0054cd
RD
6102
6103 self = self;
5a2a9da2 6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOlO:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
bb0054cd 6105 return NULL;
1d99702e
RD
6106 if (_argo0) {
6107 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
6109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
6110 return NULL;
6111 }
6112 }
6113 if (_argo1) {
6114 if (_argo1 == Py_None) { _arg1 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
bb0054cd
RD
6117 return NULL;
6118 }
6119 }
5a2a9da2
RD
6120{
6121 _arg2 = wxString_in_helper(_obj2);
6122 if (_arg2 == NULL)
6123 return NULL;
6124}
6125 if (_obj3)
6126{
6127 _arg3 = &temp;
6128 if (! wxPoint_helper(_obj3, &_arg3))
6129 return NULL;
6130}
6131 if (_obj4)
6132{
6133 _arg4 = &temp0;
6134 if (! wxSize_helper(_obj4, &_arg4))
6135 return NULL;
6136}
6137 if (_obj6)
6138{
6139 _arg6 = wxString_in_helper(_obj6);
6140 if (_arg6 == NULL)
6141 return NULL;
6142}
bb0054cd 6143{
4268f798 6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6145 _result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
bb0054cd 6146
4268f798 6147 wxPyEndAllowThreads(__tstate);
493f1553 6148 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6149} if (_result) {
6150 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewFrame_p");
6151 _resultobj = Py_BuildValue("s",_ptemp);
6152 } else {
6153 Py_INCREF(Py_None);
6154 _resultobj = Py_None;
6155 }
6156{
6157 if (_obj2)
6158 delete _arg2;
6159}
6160{
6161 if (_obj6)
6162 delete _arg6;
6163}
bb0054cd
RD
6164 return _resultobj;
6165}
6166
5a2a9da2
RD
6167#define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
6168static PyObject *_wrap_wxPreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6169 PyObject * _resultobj;
5a2a9da2 6170 wxPreviewFrame * _arg0;
1d99702e 6171 PyObject * _argo0 = 0;
efc5f224 6172 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6173
6174 self = self;
5a2a9da2 6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_Initialize",_kwnames,&_argo0))
bb0054cd 6176 return NULL;
1d99702e
RD
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
bb0054cd
RD
6181 return NULL;
6182 }
6183 }
6184{
4268f798 6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6186 wxPreviewFrame_Initialize(_arg0);
bb0054cd 6187
4268f798 6188 wxPyEndAllowThreads(__tstate);
493f1553 6189 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6190} Py_INCREF(Py_None);
6191 _resultobj = Py_None;
6192 return _resultobj;
6193}
6194
5a2a9da2
RD
6195#define wxPreviewFrame_CreateControlBar(_swigobj) (_swigobj->CreateControlBar())
6196static PyObject *_wrap_wxPreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6197 PyObject * _resultobj;
5a2a9da2 6198 wxPreviewFrame * _arg0;
1d99702e 6199 PyObject * _argo0 = 0;
efc5f224 6200 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6201
6202 self = self;
5a2a9da2 6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_CreateControlBar",_kwnames,&_argo0))
bb0054cd 6204 return NULL;
1d99702e
RD
6205 if (_argo0) {
6206 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
6208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_CreateControlBar. Expected _wxPreviewFrame_p.");
bb0054cd
RD
6209 return NULL;
6210 }
6211 }
6212{
4268f798 6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6214 wxPreviewFrame_CreateControlBar(_arg0);
bb0054cd 6215
4268f798 6216 wxPyEndAllowThreads(__tstate);
493f1553 6217 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6218} Py_INCREF(Py_None);
6219 _resultobj = Py_None;
6220 return _resultobj;
6221}
6222
5a2a9da2
RD
6223#define wxPreviewFrame_CreateCanvas(_swigobj) (_swigobj->CreateCanvas())
6224static PyObject *_wrap_wxPreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6225 PyObject * _resultobj;
5a2a9da2 6226 wxPreviewFrame * _arg0;
1d99702e 6227 PyObject * _argo0 = 0;
efc5f224 6228 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6229
6230 self = self;
5a2a9da2 6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_CreateCanvas",_kwnames,&_argo0))
bb0054cd 6232 return NULL;
1d99702e
RD
6233 if (_argo0) {
6234 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
6236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_CreateCanvas. Expected _wxPreviewFrame_p.");
bb0054cd
RD
6237 return NULL;
6238 }
6239 }
6240{
4268f798 6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6242 wxPreviewFrame_CreateCanvas(_arg0);
bb0054cd 6243
4268f798 6244 wxPyEndAllowThreads(__tstate);
493f1553 6245 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6246} Py_INCREF(Py_None);
6247 _resultobj = Py_None;
6248 return _resultobj;
6249}
6250
5a2a9da2
RD
6251#define wxPreviewFrame_GetControlBar(_swigobj) (_swigobj->GetControlBar())
6252static PyObject *_wrap_wxPreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6253 PyObject * _resultobj;
5a2a9da2
RD
6254 wxPreviewControlBar * _result;
6255 wxPreviewFrame * _arg0;
1d99702e 6256 PyObject * _argo0 = 0;
efc5f224 6257 char *_kwnames[] = { "self", NULL };
5a2a9da2 6258 char _ptemp[128];
bb0054cd
RD
6259
6260 self = self;
5a2a9da2 6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_GetControlBar",_kwnames,&_argo0))
bb0054cd 6262 return NULL;
1d99702e
RD
6263 if (_argo0) {
6264 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) {
6266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_GetControlBar. Expected _wxPreviewFrame_p.");
bb0054cd
RD
6267 return NULL;
6268 }
6269 }
6270{
4268f798 6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6272 _result = (wxPreviewControlBar *)wxPreviewFrame_GetControlBar(_arg0);
bb0054cd 6273
4268f798 6274 wxPyEndAllowThreads(__tstate);
493f1553 6275 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6276} if (_result) {
6277 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewControlBar_p");
6278 _resultobj = Py_BuildValue("s",_ptemp);
6279 } else {
6280 Py_INCREF(Py_None);
6281 _resultobj = Py_None;
6282 }
bb0054cd
RD
6283 return _resultobj;
6284}
6285
5a2a9da2
RD
6286static void *SwigwxPreviewCanvasTowxScrolledWindow(void *ptr) {
6287 wxPreviewCanvas *src;
6288 wxScrolledWindow *dest;
6289 src = (wxPreviewCanvas *) ptr;
6290 dest = (wxScrolledWindow *) src;
6291 return (void *) dest;
6292}
bb0054cd 6293
5a2a9da2
RD
6294static void *SwigwxPreviewCanvasTowxPanel(void *ptr) {
6295 wxPreviewCanvas *src;
6296 wxPanel *dest;
6297 src = (wxPreviewCanvas *) ptr;
6298 dest = (wxPanel *) src;
6299 return (void *) dest;
bb0054cd 6300}
5a2a9da2
RD
6301
6302static void *SwigwxPreviewCanvasTowxWindow(void *ptr) {
6303 wxPreviewCanvas *src;
6304 wxWindow *dest;
6305 src = (wxPreviewCanvas *) ptr;
6306 dest = (wxWindow *) src;
6307 return (void *) dest;
bb0054cd 6308}
5a2a9da2
RD
6309
6310static void *SwigwxPreviewCanvasTowxEvtHandler(void *ptr) {
6311 wxPreviewCanvas *src;
6312 wxEvtHandler *dest;
6313 src = (wxPreviewCanvas *) ptr;
6314 dest = (wxEvtHandler *) src;
6315 return (void *) dest;
bb0054cd 6316}
5a2a9da2
RD
6317
6318static void *SwigwxPreviewCanvasTowxObject(void *ptr) {
6319 wxPreviewCanvas *src;
6320 wxObject *dest;
6321 src = (wxPreviewCanvas *) ptr;
6322 dest = (wxObject *) src;
6323 return (void *) dest;
bb0054cd 6324}
5a2a9da2
RD
6325
6326#define new_wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6327static PyObject *_wrap_new_wxPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject * _resultobj;
6329 wxPreviewCanvas * _result;
6330 wxPrintPreview * _arg0;
6331 wxWindow * _arg1;
6332 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6333 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6334 long _arg4 = (long ) 0;
6335 wxString * _arg5 = (wxString *) &wxPyPreviewCanvasNameStr;
6336 PyObject * _argo0 = 0;
6337 PyObject * _argo1 = 0;
6338 wxPoint temp;
6339 PyObject * _obj2 = 0;
6340 wxSize temp0;
6341 PyObject * _obj3 = 0;
6342 PyObject * _obj5 = 0;
6343 char *_kwnames[] = { "preview","parent","pos","size","style","name", NULL };
6344 char _ptemp[128];
6345
6346 self = self;
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOlO:new_wxPreviewCanvas",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_obj5))
bb0054cd 6348 return NULL;
1d99702e
RD
6349 if (_argo0) {
6350 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
6352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewCanvas. Expected _wxPrintPreview_p.");
bb0054cd
RD
6353 return NULL;
6354 }
6355 }
5a2a9da2
RD
6356 if (_argo1) {
6357 if (_argo1 == Py_None) { _arg1 = NULL; }
6358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewCanvas. Expected _wxWindow_p.");
6360 return NULL;
6361 }
6362 }
6363 if (_obj2)
bb0054cd 6364{
5a2a9da2
RD
6365 _arg2 = &temp;
6366 if (! wxPoint_helper(_obj2, &_arg2))
6367 return NULL;
bb0054cd 6368}
5a2a9da2 6369 if (_obj3)
bb0054cd 6370{
5a2a9da2
RD
6371 _arg3 = &temp0;
6372 if (! wxSize_helper(_obj3, &_arg3))
6373 return NULL;
bb0054cd 6374}
5a2a9da2 6375 if (_obj5)
bb0054cd 6376{
5a2a9da2
RD
6377 _arg5 = wxString_in_helper(_obj5);
6378 if (_arg5 == NULL)
6379 return NULL;
bb0054cd
RD
6380}
6381{
5a2a9da2
RD
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 _result = (wxPreviewCanvas *)new_wxPreviewCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) return NULL;
6387} if (_result) {
6388 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewCanvas_p");
6389 _resultobj = Py_BuildValue("s",_ptemp);
6390 } else {
6391 Py_INCREF(Py_None);
6392 _resultobj = Py_None;
6393 }
6394{
6395 if (_obj5)
6396 delete _arg5;
bb0054cd
RD
6397}
6398 return _resultobj;
6399}
6400
5a2a9da2
RD
6401static void *SwigwxPreviewControlBarTowxPanel(void *ptr) {
6402 wxPreviewControlBar *src;
6403 wxPanel *dest;
6404 src = (wxPreviewControlBar *) ptr;
6405 dest = (wxPanel *) src;
6406 return (void *) dest;
6407}
bb0054cd 6408
5a2a9da2
RD
6409static void *SwigwxPreviewControlBarTowxWindow(void *ptr) {
6410 wxPreviewControlBar *src;
6411 wxWindow *dest;
6412 src = (wxPreviewControlBar *) ptr;
6413 dest = (wxWindow *) src;
6414 return (void *) dest;
6415}
bb0054cd 6416
5a2a9da2
RD
6417static void *SwigwxPreviewControlBarTowxEvtHandler(void *ptr) {
6418 wxPreviewControlBar *src;
6419 wxEvtHandler *dest;
6420 src = (wxPreviewControlBar *) ptr;
6421 dest = (wxEvtHandler *) src;
6422 return (void *) dest;
bb0054cd
RD
6423}
6424
5a2a9da2
RD
6425static void *SwigwxPreviewControlBarTowxObject(void *ptr) {
6426 wxPreviewControlBar *src;
9416aa89 6427 wxObject *dest;
5a2a9da2 6428 src = (wxPreviewControlBar *) ptr;
9416aa89
RD
6429 dest = (wxObject *) src;
6430 return (void *) dest;
6431}
6432
5a2a9da2
RD
6433#define new_wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6434static PyObject *_wrap_new_wxPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6435 PyObject * _resultobj;
5a2a9da2
RD
6436 wxPreviewControlBar * _result;
6437 wxPrintPreview * _arg0;
6438 long _arg1;
6439 wxWindow * _arg2;
6440 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6441 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6442 long _arg5 = (long ) wxTAB_TRAVERSAL;
6443 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
1d99702e 6444 PyObject * _argo0 = 0;
5a2a9da2
RD
6445 PyObject * _argo2 = 0;
6446 wxPoint temp;
6447 PyObject * _obj3 = 0;
6448 wxSize temp0;
6449 PyObject * _obj4 = 0;
6450 PyObject * _obj6 = 0;
6451 char *_kwnames[] = { "preview","buttons","parent","pos","size","style","name", NULL };
bb0054cd
RD
6452 char _ptemp[128];
6453
6454 self = self;
5a2a9da2 6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|OOlO:new_wxPreviewControlBar",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
bb0054cd 6456 return NULL;
1d99702e
RD
6457 if (_argo0) {
6458 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
6460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewControlBar. Expected _wxPrintPreview_p.");
6461 return NULL;
6462 }
6463 }
6464 if (_argo2) {
6465 if (_argo2 == Py_None) { _arg2 = NULL; }
6466 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
6467 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPreviewControlBar. Expected _wxWindow_p.");
bb0054cd
RD
6468 return NULL;
6469 }
6470 }
5a2a9da2
RD
6471 if (_obj3)
6472{
6473 _arg3 = &temp;
6474 if (! wxPoint_helper(_obj3, &_arg3))
6475 return NULL;
6476}
6477 if (_obj4)
6478{
6479 _arg4 = &temp0;
6480 if (! wxSize_helper(_obj4, &_arg4))
6481 return NULL;
6482}
6483 if (_obj6)
6484{
6485 _arg6 = wxString_in_helper(_obj6);
6486 if (_arg6 == NULL)
6487 return NULL;
6488}
bb0054cd 6489{
4268f798 6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6491 _result = (wxPreviewControlBar *)new_wxPreviewControlBar(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
bb0054cd 6492
4268f798 6493 wxPyEndAllowThreads(__tstate);
493f1553 6494 if (PyErr_Occurred()) return NULL;
1d99702e 6495} if (_result) {
5a2a9da2 6496 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewControlBar_p");
1d99702e
RD
6497 _resultobj = Py_BuildValue("s",_ptemp);
6498 } else {
6499 Py_INCREF(Py_None);
6500 _resultobj = Py_None;
6501 }
5a2a9da2
RD
6502{
6503 if (_obj6)
6504 delete _arg6;
6505}
bb0054cd
RD
6506 return _resultobj;
6507}
6508
5a2a9da2
RD
6509#define wxPreviewControlBar_GetZoomControl(_swigobj) (_swigobj->GetZoomControl())
6510static PyObject *_wrap_wxPreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6511 PyObject * _resultobj;
5a2a9da2
RD
6512 int _result;
6513 wxPreviewControlBar * _arg0;
1d99702e 6514 PyObject * _argo0 = 0;
efc5f224 6515 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6516
6517 self = self;
5a2a9da2 6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_GetZoomControl",_kwnames,&_argo0))
bb0054cd 6519 return NULL;
1d99702e
RD
6520 if (_argo0) {
6521 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_GetZoomControl. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6524 return NULL;
6525 }
6526 }
6527{
4268f798 6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6529 _result = (int )wxPreviewControlBar_GetZoomControl(_arg0);
bb0054cd 6530
4268f798 6531 wxPyEndAllowThreads(__tstate);
493f1553 6532 if (PyErr_Occurred()) return NULL;
5a2a9da2 6533} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
6534 return _resultobj;
6535}
6536
5a2a9da2
RD
6537#define wxPreviewControlBar_SetZoomControl(_swigobj,_swigarg0) (_swigobj->SetZoomControl(_swigarg0))
6538static PyObject *_wrap_wxPreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6539 PyObject * _resultobj;
5a2a9da2
RD
6540 wxPreviewControlBar * _arg0;
6541 int _arg1;
1d99702e 6542 PyObject * _argo0 = 0;
5a2a9da2 6543 char *_kwnames[] = { "self","zoom", NULL };
bb0054cd
RD
6544
6545 self = self;
5a2a9da2 6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPreviewControlBar_SetZoomControl",_kwnames,&_argo0,&_arg1))
bb0054cd 6547 return NULL;
1d99702e
RD
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_SetZoomControl. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6552 return NULL;
6553 }
6554 }
6555{
4268f798 6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6557 wxPreviewControlBar_SetZoomControl(_arg0,_arg1);
bb0054cd 6558
4268f798 6559 wxPyEndAllowThreads(__tstate);
493f1553 6560 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6561} Py_INCREF(Py_None);
6562 _resultobj = Py_None;
6563 return _resultobj;
6564}
6565
5a2a9da2
RD
6566#define wxPreviewControlBar_GetPrintPreview(_swigobj) (_swigobj->GetPrintPreview())
6567static PyObject *_wrap_wxPreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6568 PyObject * _resultobj;
5a2a9da2
RD
6569 wxPrintPreview * _result;
6570 wxPreviewControlBar * _arg0;
1d99702e 6571 PyObject * _argo0 = 0;
efc5f224 6572 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6573 char _ptemp[128];
6574
6575 self = self;
5a2a9da2 6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_GetPrintPreview",_kwnames,&_argo0))
bb0054cd 6577 return NULL;
1d99702e
RD
6578 if (_argo0) {
6579 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_GetPrintPreview. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6582 return NULL;
6583 }
6584 }
6585{
4268f798 6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6587 _result = (wxPrintPreview *)wxPreviewControlBar_GetPrintPreview(_arg0);
bb0054cd 6588
4268f798 6589 wxPyEndAllowThreads(__tstate);
493f1553 6590 if (PyErr_Occurred()) return NULL;
1d99702e 6591} if (_result) {
5a2a9da2 6592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p");
1d99702e
RD
6593 _resultobj = Py_BuildValue("s",_ptemp);
6594 } else {
6595 Py_INCREF(Py_None);
6596 _resultobj = Py_None;
6597 }
bb0054cd
RD
6598 return _resultobj;
6599}
6600
5a2a9da2
RD
6601#define wxPreviewControlBar_OnNext(_swigobj) (_swigobj->OnNext())
6602static PyObject *_wrap_wxPreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6603 PyObject * _resultobj;
5a2a9da2 6604 wxPreviewControlBar * _arg0;
1d99702e 6605 PyObject * _argo0 = 0;
5a2a9da2 6606 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6607
6608 self = self;
5a2a9da2 6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_OnNext",_kwnames,&_argo0))
bb0054cd 6610 return NULL;
1d99702e
RD
6611 if (_argo0) {
6612 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_OnNext. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6615 return NULL;
6616 }
6617 }
6618{
4268f798 6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6620 wxPreviewControlBar_OnNext(_arg0);
bb0054cd 6621
4268f798 6622 wxPyEndAllowThreads(__tstate);
493f1553 6623 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6624} Py_INCREF(Py_None);
6625 _resultobj = Py_None;
bb0054cd
RD
6626 return _resultobj;
6627}
6628
5a2a9da2
RD
6629#define wxPreviewControlBar_OnPrevious(_swigobj) (_swigobj->OnPrevious())
6630static PyObject *_wrap_wxPreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6631 PyObject * _resultobj;
5a2a9da2 6632 wxPreviewControlBar * _arg0;
1d99702e 6633 PyObject * _argo0 = 0;
5a2a9da2 6634 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6635
6636 self = self;
5a2a9da2 6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_OnPrevious",_kwnames,&_argo0))
bb0054cd 6638 return NULL;
1d99702e
RD
6639 if (_argo0) {
6640 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_OnPrevious. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6643 return NULL;
6644 }
6645 }
6646{
4268f798 6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6648 wxPreviewControlBar_OnPrevious(_arg0);
bb0054cd 6649
4268f798 6650 wxPyEndAllowThreads(__tstate);
493f1553 6651 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6652} Py_INCREF(Py_None);
6653 _resultobj = Py_None;
bb0054cd
RD
6654 return _resultobj;
6655}
6656
5a2a9da2
RD
6657#define wxPreviewControlBar_OnFirst(_swigobj) (_swigobj->OnFirst())
6658static PyObject *_wrap_wxPreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6659 PyObject * _resultobj;
5a2a9da2 6660 wxPreviewControlBar * _arg0;
1d99702e 6661 PyObject * _argo0 = 0;
5a2a9da2 6662 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6663
6664 self = self;
5a2a9da2 6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_OnFirst",_kwnames,&_argo0))
bb0054cd 6666 return NULL;
1d99702e
RD
6667 if (_argo0) {
6668 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_OnFirst. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6671 return NULL;
6672 }
6673 }
5a2a9da2
RD
6674{
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 wxPreviewControlBar_OnFirst(_arg0);
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) return NULL;
6680} Py_INCREF(Py_None);
6681 _resultobj = Py_None;
6682 return _resultobj;
6683}
6684
6685#define wxPreviewControlBar_OnLast(_swigobj) (_swigobj->OnLast())
6686static PyObject *_wrap_wxPreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject * _resultobj;
6688 wxPreviewControlBar * _arg0;
6689 PyObject * _argo0 = 0;
6690 char *_kwnames[] = { "self", NULL };
6691
6692 self = self;
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_OnLast",_kwnames,&_argo0))
bb0054cd 6694 return NULL;
5a2a9da2
RD
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_OnLast. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6699 return NULL;
6700 }
6701 }
6702{
4268f798 6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6704 wxPreviewControlBar_OnLast(_arg0);
bb0054cd 6705
4268f798 6706 wxPyEndAllowThreads(__tstate);
493f1553 6707 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6708} Py_INCREF(Py_None);
6709 _resultobj = Py_None;
6710 return _resultobj;
6711}
6712
5a2a9da2
RD
6713#define wxPreviewControlBar_OnGoto(_swigobj) (_swigobj->OnGoto())
6714static PyObject *_wrap_wxPreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6715 PyObject * _resultobj;
5a2a9da2 6716 wxPreviewControlBar * _arg0;
1d99702e 6717 PyObject * _argo0 = 0;
5a2a9da2 6718 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6719
6720 self = self;
5a2a9da2 6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewControlBar_OnGoto",_kwnames,&_argo0))
bb0054cd 6722 return NULL;
1d99702e
RD
6723 if (_argo0) {
6724 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewControlBar_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewControlBar_OnGoto. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
6727 return NULL;
6728 }
6729 }
6730{
4268f798 6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6732 wxPreviewControlBar_OnGoto(_arg0);
bb0054cd 6733
4268f798 6734 wxPyEndAllowThreads(__tstate);
493f1553 6735 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6736} Py_INCREF(Py_None);
6737 _resultobj = Py_None;
bb0054cd
RD
6738 return _resultobj;
6739}
6740
5a2a9da2
RD
6741static void *SwigwxPyPrintPreviewTowxPrintPreview(void *ptr) {
6742 wxPyPrintPreview *src;
6743 wxPrintPreview *dest;
6744 src = (wxPyPrintPreview *) ptr;
6745 dest = (wxPrintPreview *) src;
6746 return (void *) dest;
6747}
6748
6749static void *SwigwxPyPrintPreviewTowxObject(void *ptr) {
6750 wxPyPrintPreview *src;
9416aa89 6751 wxObject *dest;
5a2a9da2 6752 src = (wxPyPrintPreview *) ptr;
9416aa89
RD
6753 dest = (wxObject *) src;
6754 return (void *) dest;
6755}
6756
5a2a9da2
RD
6757#define new_wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2))
6758static PyObject *_wrap_new_wxPyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6759 PyObject * _resultobj;
5a2a9da2 6760 wxPyPrintPreview * _result;
bb0054cd
RD
6761 wxPyPrintout * _arg0;
6762 wxPyPrintout * _arg1;
1d99702e
RD
6763 wxPrintData * _arg2 = (wxPrintData *) NULL;
6764 PyObject * _argo0 = 0;
6765 PyObject * _argo1 = 0;
6766 PyObject * _argo2 = 0;
efc5f224 6767 char *_kwnames[] = { "printout","printoutForPrinting","data", NULL };
bb0054cd
RD
6768 char _ptemp[128];
6769
6770 self = self;
5a2a9da2 6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPyPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2))
bb0054cd 6772 return NULL;
1d99702e
RD
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) {
5a2a9da2 6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
bb0054cd
RD
6777 return NULL;
6778 }
6779 }
1d99702e
RD
6780 if (_argo1) {
6781 if (_argo1 == Py_None) { _arg1 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) {
5a2a9da2 6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
bb0054cd
RD
6784 return NULL;
6785 }
6786 }
1d99702e
RD
6787 if (_argo2) {
6788 if (_argo2 == Py_None) { _arg2 = NULL; }
6789 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) {
5a2a9da2 6790 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPyPrintPreview. Expected _wxPrintData_p.");
bb0054cd
RD
6791 return NULL;
6792 }
6793 }
6794{
4268f798 6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6796 _result = (wxPyPrintPreview *)new_wxPyPrintPreview(_arg0,_arg1,_arg2);
bb0054cd 6797
4268f798 6798 wxPyEndAllowThreads(__tstate);
493f1553 6799 if (PyErr_Occurred()) return NULL;
1d99702e 6800} if (_result) {
5a2a9da2 6801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintPreview_p");
1d99702e
RD
6802 _resultobj = Py_BuildValue("s",_ptemp);
6803 } else {
6804 Py_INCREF(Py_None);
6805 _resultobj = Py_None;
6806 }
bb0054cd
RD
6807 return _resultobj;
6808}
6809
5a2a9da2
RD
6810#define wxPyPrintPreview__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6811static PyObject *_wrap_wxPyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6812 PyObject * _resultobj;
5a2a9da2
RD
6813 wxPyPrintPreview * _arg0;
6814 PyObject * _arg1;
6815 PyObject * _arg2;
1d99702e 6816 PyObject * _argo0 = 0;
5a2a9da2
RD
6817 PyObject * _obj1 = 0;
6818 PyObject * _obj2 = 0;
6819 char *_kwnames[] = { "self","self","_class", NULL };
bb0054cd
RD
6820
6821 self = self;
5a2a9da2 6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPrintPreview__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
bb0054cd 6823 return NULL;
1d99702e
RD
6824 if (_argo0) {
6825 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
6827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview__setCallbackInfo. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
6828 return NULL;
6829 }
6830 }
5a2a9da2
RD
6831{
6832 _arg1 = _obj1;
6833}
6834{
6835 _arg2 = _obj2;
6836}
bb0054cd 6837{
4268f798 6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6839 wxPyPrintPreview__setCallbackInfo(_arg0,_arg1,_arg2);
bb0054cd 6840
4268f798 6841 wxPyEndAllowThreads(__tstate);
493f1553 6842 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
6843} Py_INCREF(Py_None);
6844 _resultobj = Py_None;
bb0054cd
RD
6845 return _resultobj;
6846}
6847
5a2a9da2
RD
6848#define wxPyPrintPreview_base_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->base_SetCurrentPage(_swigarg0))
6849static PyObject *_wrap_wxPyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6850 PyObject * _resultobj;
5a2a9da2
RD
6851 bool _result;
6852 wxPyPrintPreview * _arg0;
6853 int _arg1;
1d99702e 6854 PyObject * _argo0 = 0;
5a2a9da2 6855 char *_kwnames[] = { "self","pageNum", NULL };
bb0054cd
RD
6856
6857 self = self;
5a2a9da2 6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyPrintPreview_base_SetCurrentPage",_kwnames,&_argo0,&_arg1))
bb0054cd 6859 return NULL;
1d99702e
RD
6860 if (_argo0) {
6861 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
6863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_SetCurrentPage. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
6864 return NULL;
6865 }
6866 }
6867{
4268f798 6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6869 _result = (bool )wxPyPrintPreview_base_SetCurrentPage(_arg0,_arg1);
bb0054cd 6870
4268f798 6871 wxPyEndAllowThreads(__tstate);
493f1553 6872 if (PyErr_Occurred()) return NULL;
5a2a9da2 6873} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
6874 return _resultobj;
6875}
6876
5a2a9da2
RD
6877#define wxPyPrintPreview_base_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintPage(_swigarg0,_swigarg1))
6878static PyObject *_wrap_wxPyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6879 PyObject * _resultobj;
5a2a9da2
RD
6880 bool _result;
6881 wxPyPrintPreview * _arg0;
6882 wxPreviewCanvas * _arg1;
6883 wxDC * _arg2;
1d99702e 6884 PyObject * _argo0 = 0;
5a2a9da2
RD
6885 PyObject * _argo1 = 0;
6886 PyObject * _argo2 = 0;
6887 char *_kwnames[] = { "self","canvas","dc", NULL };
bb0054cd
RD
6888
6889 self = self;
5a2a9da2 6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPrintPreview_base_PaintPage",_kwnames,&_argo0,&_argo1,&_argo2))
bb0054cd 6891 return NULL;
1d99702e
RD
6892 if (_argo0) {
6893 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
6895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_PaintPage. Expected _wxPyPrintPreview_p.");
6896 return NULL;
6897 }
6898 }
6899 if (_argo1) {
6900 if (_argo1 == Py_None) { _arg1 = NULL; }
6901 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
6902 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPrintPreview_base_PaintPage. Expected _wxPreviewCanvas_p.");
6903 return NULL;
6904 }
6905 }
6906 if (_argo2) {
6907 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
6908 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyPrintPreview_base_PaintPage. Expected _wxDC_p.");
bb0054cd
RD
6909 return NULL;
6910 }
6911 }
6912{
4268f798 6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6914 _result = (bool )wxPyPrintPreview_base_PaintPage(_arg0,_arg1,*_arg2);
bb0054cd 6915
4268f798 6916 wxPyEndAllowThreads(__tstate);
493f1553 6917 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6918} _resultobj = Py_BuildValue("i",_result);
6919 return _resultobj;
6920}
6921
5a2a9da2
RD
6922#define wxPyPrintPreview_base_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DrawBlankPage(_swigarg0,_swigarg1))
6923static PyObject *_wrap_wxPyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6924 PyObject * _resultobj;
5a2a9da2
RD
6925 bool _result;
6926 wxPyPrintPreview * _arg0;
6927 wxPreviewCanvas * _arg1;
6928 wxDC * _arg2;
1d99702e 6929 PyObject * _argo0 = 0;
5a2a9da2
RD
6930 PyObject * _argo1 = 0;
6931 PyObject * _argo2 = 0;
6932 char *_kwnames[] = { "self","canvas","dc", NULL };
bb0054cd
RD
6933
6934 self = self;
5a2a9da2 6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPrintPreview_base_DrawBlankPage",_kwnames,&_argo0,&_argo1,&_argo2))
bb0054cd 6936 return NULL;
1d99702e
RD
6937 if (_argo0) {
6938 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
6940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPyPrintPreview_p.");
6941 return NULL;
6942 }
6943 }
6944 if (_argo1) {
6945 if (_argo1 == Py_None) { _arg1 = NULL; }
6946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
6947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPreviewCanvas_p.");
6948 return NULL;
6949 }
6950 }
6951 if (_argo2) {
6952 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
6953 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxDC_p.");
bb0054cd
RD
6954 return NULL;
6955 }
6956 }
6957{
4268f798 6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6959 _result = (bool )wxPyPrintPreview_base_DrawBlankPage(_arg0,_arg1,*_arg2);
bb0054cd 6960
4268f798 6961 wxPyEndAllowThreads(__tstate);
493f1553 6962 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6963} _resultobj = Py_BuildValue("i",_result);
6964 return _resultobj;
6965}
6966
5a2a9da2
RD
6967#define wxPyPrintPreview_base_RenderPage(_swigobj,_swigarg0) (_swigobj->base_RenderPage(_swigarg0))
6968static PyObject *_wrap_wxPyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6969 PyObject * _resultobj;
5a2a9da2
RD
6970 bool _result;
6971 wxPyPrintPreview * _arg0;
6972 int _arg1;
1d99702e 6973 PyObject * _argo0 = 0;
5a2a9da2 6974 char *_kwnames[] = { "self","pageNum", NULL };
bb0054cd
RD
6975
6976 self = self;
5a2a9da2 6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyPrintPreview_base_RenderPage",_kwnames,&_argo0,&_arg1))
bb0054cd 6978 return NULL;
1d99702e
RD
6979 if (_argo0) {
6980 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
6981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
6982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_RenderPage. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
6983 return NULL;
6984 }
6985 }
6986{
4268f798 6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 6988 _result = (bool )wxPyPrintPreview_base_RenderPage(_arg0,_arg1);
bb0054cd 6989
4268f798 6990 wxPyEndAllowThreads(__tstate);
493f1553 6991 if (PyErr_Occurred()) return NULL;
5a2a9da2 6992} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
6993 return _resultobj;
6994}
6995
5a2a9da2
RD
6996#define wxPyPrintPreview_base_SetZoom(_swigobj,_swigarg0) (_swigobj->base_SetZoom(_swigarg0))
6997static PyObject *_wrap_wxPyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 6998 PyObject * _resultobj;
5a2a9da2
RD
6999 wxPyPrintPreview * _arg0;
7000 int _arg1;
1d99702e 7001 PyObject * _argo0 = 0;
5a2a9da2 7002 char *_kwnames[] = { "self","percent", NULL };
bb0054cd
RD
7003
7004 self = self;
5a2a9da2 7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyPrintPreview_base_SetZoom",_kwnames,&_argo0,&_arg1))
bb0054cd 7006 return NULL;
1d99702e
RD
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_SetZoom. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
7011 return NULL;
7012 }
7013 }
7014{
4268f798 7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7016 wxPyPrintPreview_base_SetZoom(_arg0,_arg1);
bb0054cd 7017
4268f798 7018 wxPyEndAllowThreads(__tstate);
493f1553 7019 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
7020} Py_INCREF(Py_None);
7021 _resultobj = Py_None;
bb0054cd
RD
7022 return _resultobj;
7023}
7024
5a2a9da2
RD
7025#define wxPyPrintPreview_base_Print(_swigobj,_swigarg0) (_swigobj->base_Print(_swigarg0))
7026static PyObject *_wrap_wxPyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7027 PyObject * _resultobj;
5a2a9da2
RD
7028 bool _result;
7029 wxPyPrintPreview * _arg0;
7030 bool _arg1;
1d99702e 7031 PyObject * _argo0 = 0;
5a2a9da2
RD
7032 int tempbool1;
7033 char *_kwnames[] = { "self","interactive", NULL };
bb0054cd
RD
7034
7035 self = self;
5a2a9da2 7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyPrintPreview_base_Print",_kwnames,&_argo0,&tempbool1))
bb0054cd 7037 return NULL;
1d99702e
RD
7038 if (_argo0) {
7039 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
7041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_Print. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
7042 return NULL;
7043 }
7044 }
5a2a9da2 7045 _arg1 = (bool ) tempbool1;
bb0054cd 7046{
4268f798 7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7048 _result = (bool )wxPyPrintPreview_base_Print(_arg0,_arg1);
bb0054cd 7049
4268f798 7050 wxPyEndAllowThreads(__tstate);
493f1553 7051 if (PyErr_Occurred()) return NULL;
5a2a9da2 7052} _resultobj = Py_BuildValue("i",_result);
bb0054cd
RD
7053 return _resultobj;
7054}
7055
5a2a9da2
RD
7056#define wxPyPrintPreview_base_DetermineScaling(_swigobj) (_swigobj->base_DetermineScaling())
7057static PyObject *_wrap_wxPyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7058 PyObject * _resultobj;
5a2a9da2 7059 wxPyPrintPreview * _arg0;
1d99702e 7060 PyObject * _argo0 = 0;
efc5f224 7061 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7062
7063 self = self;
5a2a9da2 7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPrintPreview_base_DetermineScaling",_kwnames,&_argo0))
bb0054cd 7065 return NULL;
1d99702e
RD
7066 if (_argo0) {
7067 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintPreview_p")) {
7069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPrintPreview_base_DetermineScaling. Expected _wxPyPrintPreview_p.");
bb0054cd
RD
7070 return NULL;
7071 }
7072 }
7073{
4268f798 7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7075 wxPyPrintPreview_base_DetermineScaling(_arg0);
bb0054cd 7076
4268f798 7077 wxPyEndAllowThreads(__tstate);
493f1553 7078 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
7079} Py_INCREF(Py_None);
7080 _resultobj = Py_None;
bb0054cd
RD
7081 return _resultobj;
7082}
7083
5a2a9da2
RD
7084static void *SwigwxPyPreviewFrameTowxPreviewFrame(void *ptr) {
7085 wxPyPreviewFrame *src;
7086 wxPreviewFrame *dest;
7087 src = (wxPyPreviewFrame *) ptr;
7088 dest = (wxPreviewFrame *) src;
7089 return (void *) dest;
7090}
7091
7092static void *SwigwxPyPreviewFrameTowxFrame(void *ptr) {
7093 wxPyPreviewFrame *src;
7094 wxFrame *dest;
7095 src = (wxPyPreviewFrame *) ptr;
7096 dest = (wxFrame *) src;
7097 return (void *) dest;
7098}
7099
7100static void *SwigwxPyPreviewFrameTowxTopLevelWindow(void *ptr) {
7101 wxPyPreviewFrame *src;
7102 wxTopLevelWindow *dest;
7103 src = (wxPyPreviewFrame *) ptr;
7104 dest = (wxTopLevelWindow *) src;
7105 return (void *) dest;
7106}
7107
7108static void *SwigwxPyPreviewFrameTowxWindow(void *ptr) {
7109 wxPyPreviewFrame *src;
7110 wxWindow *dest;
7111 src = (wxPyPreviewFrame *) ptr;
7112 dest = (wxWindow *) src;
7113 return (void *) dest;
7114}
7115
7116static void *SwigwxPyPreviewFrameTowxEvtHandler(void *ptr) {
7117 wxPyPreviewFrame *src;
7118 wxEvtHandler *dest;
7119 src = (wxPyPreviewFrame *) ptr;
7120 dest = (wxEvtHandler *) src;
7121 return (void *) dest;
7122}
7123
7124static void *SwigwxPyPreviewFrameTowxObject(void *ptr) {
7125 wxPyPreviewFrame *src;
7126 wxObject *dest;
7127 src = (wxPyPreviewFrame *) ptr;
7128 dest = (wxObject *) src;
7129 return (void *) dest;
7130}
7131
7132#define new_wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7133static PyObject *_wrap_new_wxPyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7134 PyObject * _resultobj;
5a2a9da2 7135 wxPyPreviewFrame * _result;
bb0054cd 7136 wxPrintPreview * _arg0;
5a2a9da2
RD
7137 wxFrame * _arg1;
7138 wxString * _arg2;
7139 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7140 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7141 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
7142 wxString * _arg6 = (wxString *) &wxPyFrameNameStr;
1d99702e 7143 PyObject * _argo0 = 0;
5a2a9da2
RD
7144 PyObject * _argo1 = 0;
7145 PyObject * _obj2 = 0;
7146 wxPoint temp;
7147 PyObject * _obj3 = 0;
7148 wxSize temp0;
7149 PyObject * _obj4 = 0;
7150 PyObject * _obj6 = 0;
7151 char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
7152 char _ptemp[128];
bb0054cd
RD
7153
7154 self = self;
5a2a9da2 7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOlO:new_wxPyPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
bb0054cd 7156 return NULL;
1d99702e
RD
7157 if (_argo0) {
7158 if (_argo0 == Py_None) { _arg0 = NULL; }
7159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5a2a9da2
RD
7160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPreviewFrame. Expected _wxPrintPreview_p.");
7161 return NULL;
7162 }
7163 }
7164 if (_argo1) {
7165 if (_argo1 == Py_None) { _arg1 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyPreviewFrame. Expected _wxFrame_p.");
bb0054cd
RD
7168 return NULL;
7169 }
7170 }
5a2a9da2
RD
7171{
7172 _arg2 = wxString_in_helper(_obj2);
7173 if (_arg2 == NULL)
7174 return NULL;
7175}
7176 if (_obj3)
7177{
7178 _arg3 = &temp;
7179 if (! wxPoint_helper(_obj3, &_arg3))
7180 return NULL;
7181}
7182 if (_obj4)
7183{
7184 _arg4 = &temp0;
7185 if (! wxSize_helper(_obj4, &_arg4))
7186 return NULL;
7187}
7188 if (_obj6)
7189{
7190 _arg6 = wxString_in_helper(_obj6);
7191 if (_arg6 == NULL)
7192 return NULL;
7193}
bb0054cd 7194{
4268f798 7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7196 _result = (wxPyPreviewFrame *)new_wxPyPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
bb0054cd 7197
4268f798 7198 wxPyEndAllowThreads(__tstate);
493f1553 7199 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
7200} if (_result) {
7201 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPreviewFrame_p");
7202 _resultobj = Py_BuildValue("s",_ptemp);
7203 } else {
7204 Py_INCREF(Py_None);
7205 _resultobj = Py_None;
7206 }
7207{
7208 if (_obj2)
7209 delete _arg2;
7210}
7211{
7212 if (_obj6)
7213 delete _arg6;
7214}
bb0054cd
RD
7215 return _resultobj;
7216}
7217
5a2a9da2
RD
7218#define wxPyPreviewFrame__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7219static PyObject *_wrap_wxPyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7220 PyObject * _resultobj;
5a2a9da2
RD
7221 wxPyPreviewFrame * _arg0;
7222 PyObject * _arg1;
7223 PyObject * _arg2;
1d99702e 7224 PyObject * _argo0 = 0;
5a2a9da2
RD
7225 PyObject * _obj1 = 0;
7226 PyObject * _obj2 = 0;
7227 char *_kwnames[] = { "self","self","_class", NULL };
bb0054cd
RD
7228
7229 self = self;
5a2a9da2 7230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPreviewFrame__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
bb0054cd 7231 return NULL;
1d99702e
RD
7232 if (_argo0) {
7233 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame__setCallbackInfo. Expected _wxPyPreviewFrame_p.");
bb0054cd
RD
7236 return NULL;
7237 }
7238 }
5a2a9da2
RD
7239{
7240 _arg1 = _obj1;
7241}
7242{
7243 _arg2 = _obj2;
7244}
bb0054cd 7245{
4268f798 7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7247 wxPyPreviewFrame__setCallbackInfo(_arg0,_arg1,_arg2);
bb0054cd 7248
4268f798 7249 wxPyEndAllowThreads(__tstate);
493f1553 7250 if (PyErr_Occurred()) return NULL;
5a2a9da2
RD
7251} Py_INCREF(Py_None);
7252 _resultobj = Py_None;
bb0054cd
RD
7253 return _resultobj;
7254}
7255
5a2a9da2
RD
7256#define wxPyPreviewFrame_SetPreviewCanvas(_swigobj,_swigarg0) (_swigobj->SetPreviewCanvas(_swigarg0))
7257static PyObject *_wrap_wxPyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7258 PyObject * _resultobj;
5a2a9da2
RD
7259 wxPyPreviewFrame * _arg0;
7260 wxPreviewCanvas * _arg1;
1d99702e
RD
7261 PyObject * _argo0 = 0;
7262 PyObject * _argo1 = 0;
5a2a9da2 7263 char *_kwnames[] = { "self","canvas", NULL };
bb0054cd
RD
7264
7265 self = self;
5a2a9da2 7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPreviewFrame_SetPreviewCanvas",_kwnames,&_argo0,&_argo1))
bb0054cd 7267 return NULL;
1d99702e
RD
7268 if (_argo0) {
7269 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPyPreviewFrame_p.");
bb0054cd
RD
7272 return NULL;
7273 }
7274 }
1d99702e
RD
7275 if (_argo1) {
7276 if (_argo1 == Py_None) { _arg1 = NULL; }
5a2a9da2
RD
7277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewCanvas_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPreviewCanvas_p.");
bb0054cd
RD
7279 return NULL;
7280 }
7281 }
7282{
4268f798 7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7284 wxPyPreviewFrame_SetPreviewCanvas(_arg0,_arg1);
bb0054cd 7285
4268f798 7286 wxPyEndAllowThreads(__tstate);
493f1553 7287 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7288} Py_INCREF(Py_None);
7289 _resultobj = Py_None;
7290 return _resultobj;
7291}
7292
5a2a9da2
RD
7293#define wxPyPreviewFrame_SetControlBar(_swigobj,_swigarg0) (_swigobj->SetControlBar(_swigarg0))
7294static PyObject *_wrap_wxPyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7295 PyObject * _resultobj;
5a2a9da2
RD
7296 wxPyPreviewFrame * _arg0;
7297 wxPreviewControlBar * _arg1;
1d99702e 7298 PyObject * _argo0 = 0;
5a2a9da2
RD
7299 PyObject * _argo1 = 0;
7300 char *_kwnames[] = { "self","bar", NULL };
bb0054cd
RD
7301
7302 self = self;
5a2a9da2 7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPreviewFrame_SetControlBar",_kwnames,&_argo0,&_argo1))
bb0054cd 7304 return NULL;
1d99702e
RD
7305 if (_argo0) {
7306 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame_SetControlBar. Expected _wxPyPreviewFrame_p.");
7309 return NULL;
7310 }
7311 }
7312 if (_argo1) {
7313 if (_argo1 == Py_None) { _arg1 = NULL; }
7314 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPreviewControlBar_p")) {
7315 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPreviewFrame_SetControlBar. Expected _wxPreviewControlBar_p.");
bb0054cd
RD
7316 return NULL;
7317 }
7318 }
7319{
4268f798 7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7321 wxPyPreviewFrame_SetControlBar(_arg0,_arg1);
bb0054cd 7322
4268f798 7323 wxPyEndAllowThreads(__tstate);
493f1553 7324 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7325} Py_INCREF(Py_None);
7326 _resultobj = Py_None;
7327 return _resultobj;
7328}
7329
5a2a9da2
RD
7330#define wxPyPreviewFrame_base_Initialize(_swigobj) (_swigobj->base_Initialize())
7331static PyObject *_wrap_wxPyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7332 PyObject * _resultobj;
5a2a9da2 7333 wxPyPreviewFrame * _arg0;
1d99702e 7334 PyObject * _argo0 = 0;
5a2a9da2 7335 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7336
7337 self = self;
5a2a9da2 7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPreviewFrame_base_Initialize",_kwnames,&_argo0))
bb0054cd 7339 return NULL;
1d99702e
RD
7340 if (_argo0) {
7341 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame_base_Initialize. Expected _wxPyPreviewFrame_p.");
bb0054cd
RD
7344 return NULL;
7345 }
7346 }
7347{
4268f798 7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7349 wxPyPreviewFrame_base_Initialize(_arg0);
bb0054cd 7350
4268f798 7351 wxPyEndAllowThreads(__tstate);
493f1553 7352 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7353} Py_INCREF(Py_None);
7354 _resultobj = Py_None;
7355 return _resultobj;
7356}
7357
5a2a9da2
RD
7358#define wxPyPreviewFrame_base_CreateCanvas(_swigobj) (_swigobj->base_CreateCanvas())
7359static PyObject *_wrap_wxPyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7360 PyObject * _resultobj;
5a2a9da2 7361 wxPyPreviewFrame * _arg0;
1d99702e 7362 PyObject * _argo0 = 0;
5a2a9da2 7363 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7364
7365 self = self;
5a2a9da2 7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPreviewFrame_base_CreateCanvas",_kwnames,&_argo0))
bb0054cd 7367 return NULL;
1d99702e
RD
7368 if (_argo0) {
7369 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame_base_CreateCanvas. Expected _wxPyPreviewFrame_p.");
bb0054cd
RD
7372 return NULL;
7373 }
7374 }
7375{
4268f798 7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7377 wxPyPreviewFrame_base_CreateCanvas(_arg0);
bb0054cd 7378
4268f798 7379 wxPyEndAllowThreads(__tstate);
493f1553 7380 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7381} Py_INCREF(Py_None);
7382 _resultobj = Py_None;
7383 return _resultobj;
7384}
7385
5a2a9da2
RD
7386#define wxPyPreviewFrame_base_CreateControlBar(_swigobj) (_swigobj->base_CreateControlBar())
7387static PyObject *_wrap_wxPyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7388 PyObject * _resultobj;
5a2a9da2 7389 wxPyPreviewFrame * _arg0;
1d99702e 7390 PyObject * _argo0 = 0;
5a2a9da2 7391 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7392
7393 self = self;
5a2a9da2 7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPreviewFrame_base_CreateControlBar",_kwnames,&_argo0))
bb0054cd 7395 return NULL;
1d99702e
RD
7396 if (_argo0) {
7397 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewFrame_p")) {
7399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewFrame_base_CreateControlBar. Expected _wxPyPreviewFrame_p.");
bb0054cd
RD
7400 return NULL;
7401 }
7402 }
7403{
4268f798 7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7405 wxPyPreviewFrame_base_CreateControlBar(_arg0);
bb0054cd 7406
4268f798 7407 wxPyEndAllowThreads(__tstate);
493f1553 7408 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7409} Py_INCREF(Py_None);
7410 _resultobj = Py_None;
7411 return _resultobj;
7412}
7413
5a2a9da2
RD
7414static void *SwigwxPyPreviewControlBarTowxPreviewControlBar(void *ptr) {
7415 wxPyPreviewControlBar *src;
7416 wxPreviewControlBar *dest;
7417 src = (wxPyPreviewControlBar *) ptr;
7418 dest = (wxPreviewControlBar *) src;
bb0054cd
RD
7419 return (void *) dest;
7420}
7421
5a2a9da2
RD
7422static void *SwigwxPyPreviewControlBarTowxPanel(void *ptr) {
7423 wxPyPreviewControlBar *src;
7424 wxPanel *dest;
7425 src = (wxPyPreviewControlBar *) ptr;
7426 dest = (wxPanel *) src;
65fe3842
RD
7427 return (void *) dest;
7428}
7429
5a2a9da2
RD
7430static void *SwigwxPyPreviewControlBarTowxWindow(void *ptr) {
7431 wxPyPreviewControlBar *src;
bb0054cd 7432 wxWindow *dest;
5a2a9da2 7433 src = (wxPyPreviewControlBar *) ptr;
bb0054cd
RD
7434 dest = (wxWindow *) src;
7435 return (void *) dest;
7436}
7437
5a2a9da2
RD
7438static void *SwigwxPyPreviewControlBarTowxEvtHandler(void *ptr) {
7439 wxPyPreviewControlBar *src;
bb0054cd 7440 wxEvtHandler *dest;
5a2a9da2 7441 src = (wxPyPreviewControlBar *) ptr;
bb0054cd
RD
7442 dest = (wxEvtHandler *) src;
7443 return (void *) dest;
7444}
7445
5a2a9da2
RD
7446static void *SwigwxPyPreviewControlBarTowxObject(void *ptr) {
7447 wxPyPreviewControlBar *src;
9416aa89 7448 wxObject *dest;
5a2a9da2 7449 src = (wxPyPreviewControlBar *) ptr;
9416aa89
RD
7450 dest = (wxObject *) src;
7451 return (void *) dest;
7452}
7453
5a2a9da2
RD
7454#define new_wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7455static PyObject *_wrap_new_wxPyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7456 PyObject * _resultobj;
5a2a9da2 7457 wxPyPreviewControlBar * _result;
bb0054cd 7458 wxPrintPreview * _arg0;
5a2a9da2
RD
7459 long _arg1;
7460 wxWindow * _arg2;
e508a2b6
RD
7461 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7462 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5a2a9da2
RD
7463 long _arg5 = (long ) 0;
7464 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
1d99702e 7465 PyObject * _argo0 = 0;
5a2a9da2 7466 PyObject * _argo2 = 0;
2f90df85
RD
7467 wxPoint temp;
7468 PyObject * _obj3 = 0;
7469 wxSize temp0;
7470 PyObject * _obj4 = 0;
137b5242 7471 PyObject * _obj6 = 0;
5a2a9da2 7472 char *_kwnames[] = { "preview","buttons","parent","pos","size","style","name", NULL };
bb0054cd
RD
7473 char _ptemp[128];
7474
7475 self = self;
5a2a9da2 7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|OOlO:new_wxPyPreviewControlBar",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
bb0054cd 7477 return NULL;
1d99702e
RD
7478 if (_argo0) {
7479 if (_argo0 == Py_None) { _arg0 = NULL; }
7480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) {
5a2a9da2 7481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPreviewControlBar. Expected _wxPrintPreview_p.");
bb0054cd
RD
7482 return NULL;
7483 }
7484 }
5a2a9da2
RD
7485 if (_argo2) {
7486 if (_argo2 == Py_None) { _arg2 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPyPreviewControlBar. Expected _wxWindow_p.");
bb0054cd
RD
7489 return NULL;
7490 }
7491 }
2f90df85
RD
7492 if (_obj3)
7493{
7494 _arg3 = &temp;
7495 if (! wxPoint_helper(_obj3, &_arg3))
bb0054cd 7496 return NULL;
2f90df85
RD
7497}
7498 if (_obj4)
7499{
7500 _arg4 = &temp0;
7501 if (! wxSize_helper(_obj4, &_arg4))
bb0054cd 7502 return NULL;
137b5242
RD
7503}
7504 if (_obj6)
7505{
7506 _arg6 = wxString_in_helper(_obj6);
7507 if (_arg6 == NULL)
7508 return NULL;
2f90df85 7509}
bb0054cd 7510{
4268f798 7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 7512 _result = (wxPyPreviewControlBar *)new_wxPyPreviewControlBar(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
bb0054cd 7513
4268f798 7514 wxPyEndAllowThreads(__tstate);
493f1553 7515 if (PyErr_Occurred()) return NULL;
1d99702e 7516} if (_result) {
5a2a9da2 7517 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPreviewControlBar_p");
1d99702e
RD
7518 _resultobj = Py_BuildValue("s",_ptemp);
7519 } else {
7520 Py_INCREF(Py_None);
7521 _resultobj = Py_None;
7522 }
137b5242
RD
7523{
7524 if (_obj6)
7525 delete _arg6;
bb0054cd
RD
7526}
7527 return _resultobj;
7528}
7529
5a2a9da2
RD
7530#define wxPyPreviewControlBar__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7531static PyObject *_wrap_wxPyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 7532 PyObject * _resultobj;
5a2a9da2
RD
7533 wxPyPreviewControlBar * _arg0;
7534 PyObject * _arg1;
7535 PyObject * _arg2;
7536 PyObject * _argo0 = 0;
7537 PyObject * _obj1 = 0;
7538 PyObject * _obj2 = 0;
7539 char *_kwnames[] = { "self","self","_class", NULL };
7540
7541 self = self;
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPreviewControlBar__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
7543 return NULL;
7544 if (_argo0) {
7545 if (_argo0 == Py_None) { _arg0 = NULL; }
7546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewControlBar_p")) {
7547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewControlBar__setCallbackInfo. Expected _wxPyPreviewControlBar_p.");
7548 return NULL;
7549 }
7550 }
7551{
7552 _arg1 = _obj1;
7553}
7554{
7555 _arg2 = _obj2;
7556}
7557{
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 wxPyPreviewControlBar__setCallbackInfo(_arg0,_arg1,_arg2);
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) return NULL;
7563} Py_INCREF(Py_None);
7564 _resultobj = Py_None;
7565 return _resultobj;
7566}
7567
7568#define wxPyPreviewControlBar_SetPrintPreview(_swigobj,_swigarg0) (_swigobj->SetPrintPreview(_swigarg0))
7569static PyObject *_wrap_wxPyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject * _resultobj;
7571 wxPyPreviewControlBar * _arg0;
7572 wxPrintPreview * _arg1;
7573 PyObject * _argo0 = 0;
7574 PyObject * _argo1 = 0;
7575 char *_kwnames[] = { "self","preview", NULL };
7576
7577 self = self;
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPreviewControlBar_SetPrintPreview",_kwnames,&_argo0,&_argo1))
7579 return NULL;
7580 if (_argo0) {
7581 if (_argo0 == Py_None) { _arg0 = NULL; }
7582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewControlBar_p")) {
7583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPyPreviewControlBar_p.");
7584 return NULL;
7585 }
7586 }
7587 if (_argo1) {
7588 if (_argo1 == Py_None) { _arg1 = NULL; }
7589 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintPreview_p")) {
7590 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPrintPreview_p.");
7591 return NULL;
7592 }
7593 }
7594{
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 wxPyPreviewControlBar_SetPrintPreview(_arg0,_arg1);
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) return NULL;
7600} Py_INCREF(Py_None);
7601 _resultobj = Py_None;
7602 return _resultobj;
7603}
7604
7605#define wxPyPreviewControlBar_base_CreateButtons(_swigobj) (_swigobj->base_CreateButtons())
7606static PyObject *_wrap_wxPyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject * _resultobj;
7608 wxPyPreviewControlBar * _arg0;
1d99702e 7609 PyObject * _argo0 = 0;
efc5f224 7610 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7611
7612 self = self;
5a2a9da2 7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPreviewControlBar_base_CreateButtons",_kwnames,&_argo0))
bb0054cd 7614 return NULL;
1d99702e
RD
7615 if (_argo0) {
7616 if (_argo0 == Py_None) { _arg0 = NULL; }
5a2a9da2
RD
7617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewControlBar_p")) {
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewControlBar_base_CreateButtons. Expected _wxPyPreviewControlBar_p.");
bb0054cd
RD
7619 return NULL;
7620 }
7621 }
7622{
4268f798 7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2
RD
7624 wxPyPreviewControlBar_base_CreateButtons(_arg0);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) return NULL;
7628} Py_INCREF(Py_None);
7629 _resultobj = Py_None;
7630 return _resultobj;
7631}
7632
7633#define wxPyPreviewControlBar_base_SetZoomControl(_swigobj,_swigarg0) (_swigobj->base_SetZoomControl(_swigarg0))
7634static PyObject *_wrap_wxPyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject * _resultobj;
7636 wxPyPreviewControlBar * _arg0;
7637 int _arg1;
7638 PyObject * _argo0 = 0;
7639 char *_kwnames[] = { "self","zoom", NULL };
7640
7641 self = self;
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyPreviewControlBar_base_SetZoomControl",_kwnames,&_argo0,&_arg1))
7643 return NULL;
7644 if (_argo0) {
7645 if (_argo0 == Py_None) { _arg0 = NULL; }
7646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPreviewControlBar_p")) {
7647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPreviewControlBar_base_SetZoomControl. Expected _wxPyPreviewControlBar_p.");
7648 return NULL;
7649 }
7650 }
7651{
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 wxPyPreviewControlBar_base_SetZoomControl(_arg0,_arg1);
bb0054cd 7654
4268f798 7655 wxPyEndAllowThreads(__tstate);
493f1553 7656 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7657} Py_INCREF(Py_None);
7658 _resultobj = Py_None;
7659 return _resultobj;
7660}
7661
7662static PyMethodDef printfwcMethods[] = {
5a2a9da2
RD
7663 { "wxPyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_wxPyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
7664 { "wxPyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_wxPyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
7665 { "wxPyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_wxPyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
7666 { "wxPyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_wxPyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7667 { "new_wxPyPreviewControlBar", (PyCFunction) _wrap_new_wxPyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
7668 { "wxPyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_wxPyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
7669 { "wxPyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_wxPyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
7670 { "wxPyPreviewFrame_base_Initialize", (PyCFunction) _wrap_wxPyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
7671 { "wxPyPreviewFrame_SetControlBar", (PyCFunction) _wrap_wxPyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
7672 { "wxPyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_wxPyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
7673 { "wxPyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_wxPyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7674 { "new_wxPyPreviewFrame", (PyCFunction) _wrap_new_wxPyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
7675 { "wxPyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_wxPyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
7676 { "wxPyPrintPreview_base_Print", (PyCFunction) _wrap_wxPyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
7677 { "wxPyPrintPreview_base_SetZoom", (PyCFunction) _wrap_wxPyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
7678 { "wxPyPrintPreview_base_RenderPage", (PyCFunction) _wrap_wxPyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
7679 { "wxPyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_wxPyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
7680 { "wxPyPrintPreview_base_PaintPage", (PyCFunction) _wrap_wxPyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
7681 { "wxPyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_wxPyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
7682 { "wxPyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_wxPyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7683 { "new_wxPyPrintPreview", (PyCFunction) _wrap_new_wxPyPrintPreview, METH_VARARGS | METH_KEYWORDS },
7684 { "wxPreviewControlBar_OnGoto", (PyCFunction) _wrap_wxPreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
7685 { "wxPreviewControlBar_OnLast", (PyCFunction) _wrap_wxPreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
7686 { "wxPreviewControlBar_OnFirst", (PyCFunction) _wrap_wxPreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
7687 { "wxPreviewControlBar_OnPrevious", (PyCFunction) _wrap_wxPreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
7688 { "wxPreviewControlBar_OnNext", (PyCFunction) _wrap_wxPreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
7689 { "wxPreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_wxPreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
7690 { "wxPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_wxPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
7691 { "wxPreviewControlBar_GetZoomControl", (PyCFunction) _wrap_wxPreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
7692 { "new_wxPreviewControlBar", (PyCFunction) _wrap_new_wxPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
7693 { "new_wxPreviewCanvas", (PyCFunction) _wrap_new_wxPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
7694 { "wxPreviewFrame_GetControlBar", (PyCFunction) _wrap_wxPreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
7695 { "wxPreviewFrame_CreateCanvas", (PyCFunction) _wrap_wxPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
7696 { "wxPreviewFrame_CreateControlBar", (PyCFunction) _wrap_wxPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7697 { "wxPreviewFrame_Initialize", (PyCFunction) _wrap_wxPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
7698 { "new_wxPreviewFrame", (PyCFunction) _wrap_new_wxPreviewFrame, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 7699 { "wxPrintPreview_DetermineScaling", (PyCFunction) _wrap_wxPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
efc5f224 7700 { "wxPrintPreview_Print", (PyCFunction) _wrap_wxPrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 7701 { "wxPrintPreview_SetOk", (PyCFunction) _wrap_wxPrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
efc5f224 7702 { "wxPrintPreview_Ok", (PyCFunction) _wrap_wxPrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7703 { "wxPrintPreview_GetMinPage", (PyCFunction) _wrap_wxPrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
7704 { "wxPrintPreview_GetMaxPage", (PyCFunction) _wrap_wxPrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7705 { "wxPrintPreview_GetZoom", (PyCFunction) _wrap_wxPrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
7706 { "wxPrintPreview_SetZoom", (PyCFunction) _wrap_wxPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
7707 { "wxPrintPreview_GetPrintDialogData", (PyCFunction) _wrap_wxPrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
7708 { "wxPrintPreview_AdjustScrollbars", (PyCFunction) _wrap_wxPrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
7709 { "wxPrintPreview_RenderPage", (PyCFunction) _wrap_wxPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
7710 { "wxPrintPreview_DrawBlankPage", (PyCFunction) _wrap_wxPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
7711 { "wxPrintPreview_PaintPage", (PyCFunction) _wrap_wxPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
7712 { "wxPrintPreview_GetCanvas", (PyCFunction) _wrap_wxPrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
efc5f224 7713 { "wxPrintPreview_GetFrame", (PyCFunction) _wrap_wxPrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7714 { "wxPrintPreview_SetCanvas", (PyCFunction) _wrap_wxPrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
7715 { "wxPrintPreview_SetFrame", (PyCFunction) _wrap_wxPrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
7716 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_wxPrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
7717 { "wxPrintPreview_GetPrintout", (PyCFunction) _wrap_wxPrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
7718 { "wxPrintPreview_SetPrintout", (PyCFunction) _wrap_wxPrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
efc5f224 7719 { "wxPrintPreview_GetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 7720 { "wxPrintPreview_SetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
efc5f224 7721 { "new_wxPrintPreview", (PyCFunction) _wrap_new_wxPrintPreview, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7722 { "new_wxPrintAbortDialog", (PyCFunction) _wrap_new_wxPrintAbortDialog, METH_VARARGS | METH_KEYWORDS },
7723 { "wxPrinter_GetLastError", (PyCFunction) _wrap_wxPrinter_GetLastError, METH_VARARGS | METH_KEYWORDS },
7724 { "wxPrinter_GetAbort", (PyCFunction) _wrap_wxPrinter_GetAbort, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7725 { "wxPrinter_Setup", (PyCFunction) _wrap_wxPrinter_Setup, METH_VARARGS | METH_KEYWORDS },
7726 { "wxPrinter_ReportError", (PyCFunction) _wrap_wxPrinter_ReportError, METH_VARARGS | METH_KEYWORDS },
7727 { "wxPrinter_PrintDialog", (PyCFunction) _wrap_wxPrinter_PrintDialog, METH_VARARGS | METH_KEYWORDS },
7728 { "wxPrinter_Print", (PyCFunction) _wrap_wxPrinter_Print, METH_VARARGS | METH_KEYWORDS },
7729 { "wxPrinter_GetPrintDialogData", (PyCFunction) _wrap_wxPrinter_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
7730 { "wxPrinter_CreateAbortWindow", (PyCFunction) _wrap_wxPrinter_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
7731 { "delete_wxPrinter", (PyCFunction) _wrap_delete_wxPrinter, METH_VARARGS | METH_KEYWORDS },
7732 { "new_wxPrinter", (PyCFunction) _wrap_new_wxPrinter, METH_VARARGS | METH_KEYWORDS },
7733 { "wxPrintout_base_HasPage", (PyCFunction) _wrap_wxPrintout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
7734 { "wxPrintout_base_GetPageInfo", (PyCFunction) _wrap_wxPrintout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
7735 { "wxPrintout_base_OnPreparePrinting", (PyCFunction) _wrap_wxPrintout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
7736 { "wxPrintout_base_OnEndPrinting", (PyCFunction) _wrap_wxPrintout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
7737 { "wxPrintout_base_OnBeginPrinting", (PyCFunction) _wrap_wxPrintout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
7738 { "wxPrintout_base_OnEndDocument", (PyCFunction) _wrap_wxPrintout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
7739 { "wxPrintout_base_OnBeginDocument", (PyCFunction) _wrap_wxPrintout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
7740 { "wxPrintout_IsPreview", (PyCFunction) _wrap_wxPrintout_IsPreview, METH_VARARGS | METH_KEYWORDS },
7741 { "wxPrintout_GetPPIScreen", (PyCFunction) _wrap_wxPrintout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
7742 { "wxPrintout_GetPPIPrinter", (PyCFunction) _wrap_wxPrintout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
7743 { "wxPrintout_GetPageSizePixels", (PyCFunction) _wrap_wxPrintout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
7744 { "wxPrintout_GetPageSizeMM", (PyCFunction) _wrap_wxPrintout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
7745 { "wxPrintout_GetDC", (PyCFunction) _wrap_wxPrintout_GetDC, METH_VARARGS | METH_KEYWORDS },
7746 { "wxPrintout_Destroy", (PyCFunction) _wrap_wxPrintout_Destroy, METH_VARARGS | METH_KEYWORDS },
0122b7e3 7747 { "wxPrintout__setCallbackInfo", (PyCFunction) _wrap_wxPrintout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7748 { "new_wxPrintout", (PyCFunction) _wrap_new_wxPrintout, METH_VARARGS | METH_KEYWORDS },
7749 { "wxPrintDialog_ShowModal", (PyCFunction) _wrap_wxPrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
7750 { "wxPrintDialog_GetPrintDC", (PyCFunction) _wrap_wxPrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
7751 { "wxPrintDialog_GetPrintDialogData", (PyCFunction) _wrap_wxPrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
7752 { "new_wxPrintDialog", (PyCFunction) _wrap_new_wxPrintDialog, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7753 { "wxPrintDialogData_SetPrintData", (PyCFunction) _wrap_wxPrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
7754 { "wxPrintDialogData_GetPrintData", (PyCFunction) _wrap_wxPrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
7755 { "wxPrintDialogData_Ok", (PyCFunction) _wrap_wxPrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
7756 { "wxPrintDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
7757 { "wxPrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
7758 { "wxPrintDialogData_GetEnableSelection", (PyCFunction) _wrap_wxPrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
7759 { "wxPrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
7760 { "wxPrintDialogData_EnableHelp", (PyCFunction) _wrap_wxPrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
7761 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
7762 { "wxPrintDialogData_EnableSelection", (PyCFunction) _wrap_wxPrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
7763 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7764 { "wxPrintDialogData_SetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
7765 { "wxPrintDialogData_SetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7766 { "wxPrintDialogData_SetCollate", (PyCFunction) _wrap_wxPrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
7767 { "wxPrintDialogData_SetSelection", (PyCFunction) _wrap_wxPrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
7768 { "wxPrintDialogData_SetAllPages", (PyCFunction) _wrap_wxPrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
efc5f224 7769 { "wxPrintDialogData_SetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
efc5f224 7770 { "wxPrintDialogData_SetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7771 { "wxPrintDialogData_SetMinPage", (PyCFunction) _wrap_wxPrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
7772 { "wxPrintDialogData_SetToPage", (PyCFunction) _wrap_wxPrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
efc5f224 7773 { "wxPrintDialogData_SetFromPage", (PyCFunction) _wrap_wxPrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 7774 { "wxPrintDialogData_GetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
efc5f224 7775 { "wxPrintDialogData_GetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7776 { "wxPrintDialogData_GetCollate", (PyCFunction) _wrap_wxPrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
7777 { "wxPrintDialogData_GetSelection", (PyCFunction) _wrap_wxPrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
7778 { "wxPrintDialogData_GetAllPages", (PyCFunction) _wrap_wxPrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
efc5f224 7779 { "wxPrintDialogData_GetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
efc5f224 7780 { "wxPrintDialogData_GetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
7781 { "wxPrintDialogData_GetMinPage", (PyCFunction) _wrap_wxPrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
7782 { "wxPrintDialogData_GetToPage", (PyCFunction) _wrap_wxPrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
efc5f224 7783 { "wxPrintDialogData_GetFromPage", (PyCFunction) _wrap_wxPrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7784 { "delete_wxPrintDialogData", (PyCFunction) _wrap_delete_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
7785 { "new_wxPrintDialogData", (PyCFunction) _wrap_new_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS },
7786 { "wxPageSetupDialog_ShowModal", (PyCFunction) _wrap_wxPageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
7787 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_wxPageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
7788 { "new_wxPageSetupDialog", (PyCFunction) _wrap_new_wxPageSetupDialog, METH_VARARGS | METH_KEYWORDS },
7789 { "wxPageSetupDialogData_SetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
7790 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
7791 { "wxPageSetupDialogData_SetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
7792 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
7793 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
7794 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
7795 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
7796 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
7797 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
b7fc54be 7798 { "wxPageSetupDialogData_Ok", (PyCFunction) _wrap_wxPageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7799 { "wxPageSetupDialogData_GetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
7800 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
7801 { "wxPageSetupDialogData_GetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
7802 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
7803 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
7804 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
7805 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
7806 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
7807 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
7808 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
7809 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
7810 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
7811 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
7812 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
7813 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
7814 { "wxPageSetupDialogData_EnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
7815 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
7816 { "wxPageSetupDialogData_EnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
7817 { "wxPageSetupDialogData_EnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
7818 { "delete_wxPageSetupDialogData", (PyCFunction) _wrap_delete_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
7819 { "new_wxPageSetupDialogData", (PyCFunction) _wrap_new_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
eedf876b
RD
7820 { "wxPostScriptDC_GetResolution", (PyCFunction) _wrap_wxPostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS },
7821 { "wxPostScriptDC_SetResolution", (PyCFunction) _wrap_wxPostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS },
7822 { "wxPostScriptDC_SetPrintData", (PyCFunction) _wrap_wxPostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS },
7823 { "wxPostScriptDC_GetPrintData", (PyCFunction) _wrap_wxPostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS },
eedf876b 7824 { "new_wxPostScriptDC", (PyCFunction) _wrap_new_wxPostScriptDC, METH_VARARGS | METH_KEYWORDS },
1b62f00d
RD
7825 { "new_wxPrinterDC2", (PyCFunction) _wrap_new_wxPrinterDC2, METH_VARARGS | METH_KEYWORDS },
7826 { "new_wxPrinterDC", (PyCFunction) _wrap_new_wxPrinterDC, METH_VARARGS | METH_KEYWORDS },
926bb76c
RD
7827 { "wxPrintData_SetPrintMode", (PyCFunction) _wrap_wxPrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
7828 { "wxPrintData_SetPrinterTranslation", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
7829 { "wxPrintData_SetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
7830 { "wxPrintData_SetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
7831 { "wxPrintData_SetPrinterScaling", (PyCFunction) _wrap_wxPrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
7832 { "wxPrintData_SetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
7833 { "wxPrintData_SetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
7834 { "wxPrintData_SetFontMetricPath", (PyCFunction) _wrap_wxPrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
7835 { "wxPrintData_SetFilename", (PyCFunction) _wrap_wxPrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
7836 { "wxPrintData_SetPreviewCommand", (PyCFunction) _wrap_wxPrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
7837 { "wxPrintData_SetPrinterOptions", (PyCFunction) _wrap_wxPrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
7838 { "wxPrintData_SetPrinterCommand", (PyCFunction) _wrap_wxPrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
7839 { "wxPrintData_GetPrintMode", (PyCFunction) _wrap_wxPrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
7840 { "wxPrintData_GetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
7841 { "wxPrintData_GetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
7842 { "wxPrintData_GetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
7843 { "wxPrintData_GetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
7844 { "wxPrintData_GetFontMetricPath", (PyCFunction) _wrap_wxPrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
7845 { "wxPrintData_GetFilename", (PyCFunction) _wrap_wxPrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
7846 { "wxPrintData_GetPreviewCommand", (PyCFunction) _wrap_wxPrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
7847 { "wxPrintData_GetPrinterOptions", (PyCFunction) _wrap_wxPrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
7848 { "wxPrintData_GetPrinterCommand", (PyCFunction) _wrap_wxPrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7849 { "wxPrintData_SetQuality", (PyCFunction) _wrap_wxPrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
7850 { "wxPrintData_SetPaperSize", (PyCFunction) _wrap_wxPrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
7851 { "wxPrintData_SetPaperId", (PyCFunction) _wrap_wxPrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
7852 { "wxPrintData_SetDuplex", (PyCFunction) _wrap_wxPrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
7853 { "wxPrintData_SetColour", (PyCFunction) _wrap_wxPrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
7854 { "wxPrintData_SetPrinterName", (PyCFunction) _wrap_wxPrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
7855 { "wxPrintData_SetOrientation", (PyCFunction) _wrap_wxPrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
7856 { "wxPrintData_SetCollate", (PyCFunction) _wrap_wxPrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
7857 { "wxPrintData_SetNoCopies", (PyCFunction) _wrap_wxPrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
7858 { "wxPrintData_GetQuality", (PyCFunction) _wrap_wxPrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
7859 { "wxPrintData_GetPaperSize", (PyCFunction) _wrap_wxPrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
7860 { "wxPrintData_GetPaperId", (PyCFunction) _wrap_wxPrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
7861 { "wxPrintData_GetDuplex", (PyCFunction) _wrap_wxPrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
7862 { "wxPrintData_GetColour", (PyCFunction) _wrap_wxPrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
7863 { "wxPrintData_GetPrinterName", (PyCFunction) _wrap_wxPrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
b7fc54be 7864 { "wxPrintData_Ok", (PyCFunction) _wrap_wxPrintData_Ok, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7865 { "wxPrintData_GetOrientation", (PyCFunction) _wrap_wxPrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
7866 { "wxPrintData_GetCollate", (PyCFunction) _wrap_wxPrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
7867 { "wxPrintData_GetNoCopies", (PyCFunction) _wrap_wxPrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
7868 { "delete_wxPrintData", (PyCFunction) _wrap_delete_wxPrintData, METH_VARARGS | METH_KEYWORDS },
7869 { "new_wxPrintData", (PyCFunction) _wrap_new_wxPrintData, METH_VARARGS | METH_KEYWORDS },
bb0054cd
RD
7870 { NULL, NULL }
7871};
1d99702e
RD
7872#ifdef __cplusplus
7873}
7874#endif
7875/*
7876 * This table is used by the pointer type-checker
7877 */
7878static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 7879 { "_signed_long","_long",0},
b1462dfa 7880 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
7881 { "_wxPrintQuality","_int",0},
7882 { "_wxPrintQuality","_signed_int",0},
7883 { "_wxPrintQuality","_unsigned_int",0},
7884 { "_wxPrintQuality","_wxWindowID",0},
7885 { "_wxPrintQuality","_uint",0},
7886 { "_wxPrintQuality","_EBool",0},
7887 { "_wxPrintQuality","_size_t",0},
c368d904 7888 { "_wxPrintQuality","_time_t",0},
1d99702e 7889 { "_byte","_unsigned_char",0},
1d99702e
RD
7890 { "_long","_unsigned_long",0},
7891 { "_long","_signed_long",0},
eedf876b 7892 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC},
1b62f00d 7893 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC},
5a2a9da2 7894 { "_wxPrintPreview","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxPrintPreview},
b1462dfa 7895 { "_size_t","_wxCoord",0},
1d99702e 7896 { "_size_t","_wxPrintQuality",0},
c368d904 7897 { "_size_t","_time_t",0},
1d99702e
RD
7898 { "_size_t","_unsigned_int",0},
7899 { "_size_t","_int",0},
7900 { "_size_t","_wxWindowID",0},
7901 { "_size_t","_uint",0},
5a2a9da2
RD
7902 { "_wxPanel","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPanel},
7903 { "_wxPanel","_wxPreviewControlBar",SwigwxPreviewControlBarTowxPanel},
7904 { "_wxPanel","_wxPreviewCanvas",SwigwxPreviewCanvasTowxPanel},
7905 { "_wxTopLevelWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxTopLevelWindow},
65fe3842 7906 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow},
5a2a9da2 7907 { "_wxTopLevelWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxTopLevelWindow},
65fe3842
RD
7908 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow},
7909 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow},
b1462dfa 7910 { "_uint","_wxCoord",0},
1d99702e 7911 { "_uint","_wxPrintQuality",0},
c368d904 7912 { "_uint","_time_t",0},
1d99702e
RD
7913 { "_uint","_size_t",0},
7914 { "_uint","_unsigned_int",0},
7915 { "_uint","_int",0},
7916 { "_uint","_wxWindowID",0},
f6bcfd97 7917 { "_wxChar","_char",0},
f6bcfd97 7918 { "_char","_wxChar",0},
cdf14688 7919 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 7920 { "_EBool","_wxCoord",0},
1d99702e
RD
7921 { "_EBool","_wxPrintQuality",0},
7922 { "_EBool","_signed_int",0},
7923 { "_EBool","_int",0},
7924 { "_EBool","_wxWindowID",0},
5a2a9da2 7925 { "_wxPreviewControlBar","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPreviewControlBar},
1d99702e 7926 { "_unsigned_long","_long",0},
cdf14688 7927 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 7928 { "_signed_int","_wxCoord",0},
1d99702e
RD
7929 { "_signed_int","_wxPrintQuality",0},
7930 { "_signed_int","_EBool",0},
7931 { "_signed_int","_wxWindowID",0},
7932 { "_signed_int","_int",0},
1d99702e
RD
7933 { "_WXTYPE","_short",0},
7934 { "_WXTYPE","_signed_short",0},
7935 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
7936 { "_unsigned_short","_WXTYPE",0},
7937 { "_unsigned_short","_short",0},
5a2a9da2
RD
7938 { "_wxObject","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxObject},
7939 { "_wxObject","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxObject},
7940 { "_wxObject","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxObject},
7941 { "_wxObject","_wxPreviewControlBar",SwigwxPreviewControlBarTowxObject},
7942 { "_wxObject","_wxPreviewCanvas",SwigwxPreviewCanvasTowxObject},
9416aa89 7943 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject},
9416aa89 7944 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject},
5a2a9da2 7945 { "_wxObject","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxObject},
9416aa89 7946 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject},
9416aa89 7947 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject},
9416aa89 7948 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject},
9416aa89 7949 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject},
9416aa89 7950 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject},
9416aa89 7951 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject},
eedf876b 7952 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject},
9416aa89 7953 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject},
9416aa89 7954 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject},
1d99702e
RD
7955 { "_signed_short","_WXTYPE",0},
7956 { "_signed_short","_short",0},
5a2a9da2 7957 { "_wxScrolledWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxScrolledWindow},
1d99702e 7958 { "_unsigned_char","_byte",0},
b1462dfa 7959 { "_unsigned_int","_wxCoord",0},
1d99702e 7960 { "_unsigned_int","_wxPrintQuality",0},
c368d904 7961 { "_unsigned_int","_time_t",0},
1d99702e
RD
7962 { "_unsigned_int","_size_t",0},
7963 { "_unsigned_int","_uint",0},
7964 { "_unsigned_int","_wxWindowID",0},
7965 { "_unsigned_int","_int",0},
5a2a9da2 7966 { "_wxDialog","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxDialog},
1d99702e 7967 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog},
1d99702e 7968 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog},
1d99702e
RD
7969 { "_short","_WXTYPE",0},
7970 { "_short","_unsigned_short",0},
7971 { "_short","_signed_short",0},
5a2a9da2 7972 { "_wxFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxFrame},
1d99702e 7973 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame},
b1462dfa 7974 { "_wxWindowID","_wxCoord",0},
1d99702e 7975 { "_wxWindowID","_wxPrintQuality",0},
c368d904 7976 { "_wxWindowID","_time_t",0},
1d99702e
RD
7977 { "_wxWindowID","_size_t",0},
7978 { "_wxWindowID","_EBool",0},
7979 { "_wxWindowID","_uint",0},
7980 { "_wxWindowID","_int",0},
7981 { "_wxWindowID","_signed_int",0},
7982 { "_wxWindowID","_unsigned_int",0},
b1462dfa 7983 { "_int","_wxCoord",0},
1d99702e 7984 { "_int","_wxPrintQuality",0},
c368d904 7985 { "_int","_time_t",0},
1d99702e
RD
7986 { "_int","_size_t",0},
7987 { "_int","_EBool",0},
7988 { "_int","_uint",0},
7989 { "_int","_wxWindowID",0},
7990 { "_int","_unsigned_int",0},
7991 { "_int","_signed_int",0},
c368d904
RD
7992 { "_time_t","_wxCoord",0},
7993 { "_time_t","_wxPrintQuality",0},
7994 { "_time_t","_unsigned_int",0},
7995 { "_time_t","_int",0},
7996 { "_time_t","_wxWindowID",0},
7997 { "_time_t","_uint",0},
7998 { "_time_t","_size_t",0},
b1462dfa
RD
7999 { "_wxCoord","_int",0},
8000 { "_wxCoord","_signed_int",0},
8001 { "_wxCoord","_unsigned_int",0},
8002 { "_wxCoord","_wxWindowID",0},
8003 { "_wxCoord","_uint",0},
8004 { "_wxCoord","_EBool",0},
8005 { "_wxCoord","_size_t",0},
c368d904 8006 { "_wxCoord","_time_t",0},
b1462dfa 8007 { "_wxCoord","_wxPrintQuality",0},
5a2a9da2
RD
8008 { "_wxPreviewFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxPreviewFrame},
8009 { "_wxEvtHandler","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxEvtHandler},
8010 { "_wxEvtHandler","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxEvtHandler},
8011 { "_wxEvtHandler","_wxPreviewControlBar",SwigwxPreviewControlBarTowxEvtHandler},
8012 { "_wxEvtHandler","_wxPreviewCanvas",SwigwxPreviewCanvasTowxEvtHandler},
1d99702e 8013 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler},
5a2a9da2 8014 { "_wxEvtHandler","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxEvtHandler},
1d99702e 8015 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler},
1d99702e 8016 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler},
5a2a9da2
RD
8017 { "_wxWindow","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxWindow},
8018 { "_wxWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxWindow},
8019 { "_wxWindow","_wxPreviewControlBar",SwigwxPreviewControlBarTowxWindow},
8020 { "_wxWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxWindow},
1d99702e 8021 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
5a2a9da2 8022 { "_wxWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxWindow},
1d99702e 8023 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow},
1d99702e 8024 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow},
1d99702e
RD
8025{0,0,0}};
8026
bb0054cd
RD
8027static PyObject *SWIG_globals;
8028#ifdef __cplusplus
8029extern "C"
8030#endif
1d99702e 8031SWIGEXPORT(void) initprintfwc() {
bb0054cd
RD
8032 PyObject *m, *d;
8033 SWIG_globals = SWIG_newvarlink();
8034 m = Py_InitModule("printfwc", printfwcMethods);
8035 d = PyModule_GetDict(m);
5a2a9da2
RD
8036 PyDict_SetItemString(d,"wxPRINT_MODE_NONE", PyInt_FromLong((long) wxPRINT_MODE_NONE));
8037 PyDict_SetItemString(d,"wxPRINT_MODE_PREVIEW", PyInt_FromLong((long) wxPRINT_MODE_PREVIEW));
8038 PyDict_SetItemString(d,"wxPRINT_MODE_FILE", PyInt_FromLong((long) wxPRINT_MODE_FILE));
8039 PyDict_SetItemString(d,"wxPRINT_MODE_PRINTER", PyInt_FromLong((long) wxPRINT_MODE_PRINTER));
8040 PyDict_SetItemString(d,"wxPRINTER_NO_ERROR", PyInt_FromLong((long) wxPRINTER_NO_ERROR));
8041 PyDict_SetItemString(d,"wxPRINTER_CANCELLED", PyInt_FromLong((long) wxPRINTER_CANCELLED));
8042 PyDict_SetItemString(d,"wxPRINTER_ERROR", PyInt_FromLong((long) wxPRINTER_ERROR));
8043 PyDict_SetItemString(d,"wxPREVIEW_PRINT", PyInt_FromLong((long) wxPREVIEW_PRINT));
8044 PyDict_SetItemString(d,"wxPREVIEW_PREVIOUS", PyInt_FromLong((long) wxPREVIEW_PREVIOUS));
8045 PyDict_SetItemString(d,"wxPREVIEW_NEXT", PyInt_FromLong((long) wxPREVIEW_NEXT));
8046 PyDict_SetItemString(d,"wxPREVIEW_ZOOM", PyInt_FromLong((long) wxPREVIEW_ZOOM));
8047 PyDict_SetItemString(d,"wxPREVIEW_FIRST", PyInt_FromLong((long) wxPREVIEW_FIRST));
8048 PyDict_SetItemString(d,"wxPREVIEW_LAST", PyInt_FromLong((long) wxPREVIEW_LAST));
8049 PyDict_SetItemString(d,"wxPREVIEW_GOTO", PyInt_FromLong((long) wxPREVIEW_GOTO));
8050 PyDict_SetItemString(d,"wxPREVIEW_DEFAULT", PyInt_FromLong((long) wxPREVIEW_DEFAULT));
8051 PyDict_SetItemString(d,"wxID_PREVIEW_CLOSE", PyInt_FromLong((long) wxID_PREVIEW_CLOSE));
8052 PyDict_SetItemString(d,"wxID_PREVIEW_NEXT", PyInt_FromLong((long) wxID_PREVIEW_NEXT));
8053 PyDict_SetItemString(d,"wxID_PREVIEW_PREVIOUS", PyInt_FromLong((long) wxID_PREVIEW_PREVIOUS));
8054 PyDict_SetItemString(d,"wxID_PREVIEW_PRINT", PyInt_FromLong((long) wxID_PREVIEW_PRINT));
8055 PyDict_SetItemString(d,"wxID_PREVIEW_ZOOM", PyInt_FromLong((long) wxID_PREVIEW_ZOOM));
8056 PyDict_SetItemString(d,"wxID_PREVIEW_FIRST", PyInt_FromLong((long) wxID_PREVIEW_FIRST));
8057 PyDict_SetItemString(d,"wxID_PREVIEW_LAST", PyInt_FromLong((long) wxID_PREVIEW_LAST));
8058 PyDict_SetItemString(d,"wxID_PREVIEW_GOTO", PyInt_FromLong((long) wxID_PREVIEW_GOTO));
9416aa89
RD
8059
8060 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
1d99702e
RD
8061{
8062 int i;
8063 for (i = 0; _swig_mapping[i].n1; i++)
8064 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8065}
bb0054cd 8066}