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