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