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