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