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