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