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