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