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