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