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