2 * FILE : msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initprintfwc
54 #define SWIG_name "printfwc"
58 #include <wx/printdlg.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 class wxPyPrintout
: public wxPrintout
{
122 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
124 PYCALLBACK_BOOL_INTINT(wxPrintout
, OnBeginDocument
);
125 PYCALLBACK__(wxPrintout
, OnEndDocument
);
126 PYCALLBACK__(wxPrintout
, OnBeginPrinting
);
127 PYCALLBACK__(wxPrintout
, OnEndPrinting
);
128 PYCALLBACK__(wxPrintout
, OnPreparePrinting
);
129 PYCALLBACK_BOOL_INT_pure(wxPrintout
, OnPrintPage
);
130 PYCALLBACK_BOOL_INT(wxPrintout
, HasPage
);
133 // Since this one would be tough and ugly to do with the Macros...
134 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
137 if (m_myInst
.findCallback("GetPageInfo")) {
138 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
139 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
142 val
= PyTuple_GetItem(result
, 0);
143 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
146 val
= PyTuple_GetItem(result
, 1);
147 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
150 val
= PyTuple_GetItem(result
, 2);
151 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
154 val
= PyTuple_GetItem(result
, 3);
155 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
162 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
166 #ifdef WXP_WITH_THREAD
171 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
173 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
174 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
182 #define new_wxPrintData() (new wxPrintData())
183 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
) {
184 PyObject
* _resultobj
;
185 wxPrintData
* _result
;
189 if(!PyArg_ParseTuple(args
,":new_wxPrintData"))
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (wxPrintData
*)new_wxPrintData();
195 wxPy_END_ALLOW_THREADS
;
197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
198 _resultobj
= Py_BuildValue("s",_ptemp
);
201 _resultobj
= Py_None
;
206 #define delete_wxPrintData(_swigobj) (delete _swigobj)
207 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
) {
208 PyObject
* _resultobj
;
210 PyObject
* _argo0
= 0;
213 if(!PyArg_ParseTuple(args
,"O:delete_wxPrintData",&_argo0
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
223 wxPy_BEGIN_ALLOW_THREADS
;
224 delete_wxPrintData(_arg0
);
226 wxPy_END_ALLOW_THREADS
;
227 } Py_INCREF(Py_None
);
228 _resultobj
= Py_None
;
232 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
233 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
234 PyObject
* _resultobj
;
237 PyObject
* _argo0
= 0;
240 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetNoCopies",&_argo0
))
243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
250 wxPy_BEGIN_ALLOW_THREADS
;
251 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
253 wxPy_END_ALLOW_THREADS
;
254 } _resultobj
= Py_BuildValue("i",_result
);
258 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
259 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
) {
260 PyObject
* _resultobj
;
263 PyObject
* _argo0
= 0;
266 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetCollate",&_argo0
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 _result
= (bool )wxPrintData_GetCollate(_arg0
);
279 wxPy_END_ALLOW_THREADS
;
280 } _resultobj
= Py_BuildValue("i",_result
);
284 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
285 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
) {
286 PyObject
* _resultobj
;
289 PyObject
* _argo0
= 0;
292 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetOrientation",&_argo0
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (int )wxPrintData_GetOrientation(_arg0
);
305 wxPy_END_ALLOW_THREADS
;
306 } _resultobj
= Py_BuildValue("i",_result
);
310 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
311 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
) {
312 PyObject
* _resultobj
;
315 PyObject
* _argo0
= 0;
318 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetPrinterName",&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
330 _result
= (wxString
*) &_result_ref
;
332 wxPy_END_ALLOW_THREADS
;
334 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
339 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
340 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
) {
341 PyObject
* _resultobj
;
344 PyObject
* _argo0
= 0;
347 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetColour",&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (bool )wxPrintData_GetColour(_arg0
);
360 wxPy_END_ALLOW_THREADS
;
361 } _resultobj
= Py_BuildValue("i",_result
);
365 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
366 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
) {
367 PyObject
* _resultobj
;
368 wxDuplexMode _result
;
370 PyObject
* _argo0
= 0;
373 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetDuplex",&_argo0
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
383 wxPy_BEGIN_ALLOW_THREADS
;
384 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
386 wxPy_END_ALLOW_THREADS
;
387 } _resultobj
= Py_BuildValue("i",_result
);
391 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
392 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
) {
393 PyObject
* _resultobj
;
396 PyObject
* _argo0
= 0;
399 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetPaperId",&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
412 wxPy_END_ALLOW_THREADS
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
418 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
419 PyObject
* _resultobj
;
422 PyObject
* _argo0
= 0;
426 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetPaperSize",&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
438 _result
= (wxSize
*) &_result_ref
;
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
451 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
452 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
) {
453 PyObject
* _resultobj
;
454 wxPrintQuality _result
;
456 PyObject
* _argo0
= 0;
459 if(!PyArg_ParseTuple(args
,"O:wxPrintData_GetQuality",&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
472 wxPy_END_ALLOW_THREADS
;
473 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
478 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
479 PyObject
* _resultobj
;
482 PyObject
* _argo0
= 0;
485 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetNoCopies",&_argo0
,&_arg1
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 wxPrintData_SetNoCopies(_arg0
,_arg1
);
498 wxPy_END_ALLOW_THREADS
;
499 } Py_INCREF(Py_None
);
500 _resultobj
= Py_None
;
504 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
505 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
) {
506 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
513 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetCollate",&_argo0
,&tempbool1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
522 _arg1
= (bool ) tempbool1
;
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxPrintData_SetCollate(_arg0
,_arg1
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
534 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
538 PyObject
* _argo0
= 0;
541 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetOrientation",&_argo0
,&_arg1
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
551 wxPy_BEGIN_ALLOW_THREADS
;
552 wxPrintData_SetOrientation(_arg0
,_arg1
);
554 wxPy_END_ALLOW_THREADS
;
555 } Py_INCREF(Py_None
);
556 _resultobj
= Py_None
;
560 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
561 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
) {
562 PyObject
* _resultobj
;
565 PyObject
* _argo0
= 0;
566 PyObject
* _obj1
= 0;
569 if(!PyArg_ParseTuple(args
,"OO:wxPrintData_SetPrinterName",&_argo0
,&_obj1
))
572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
579 if (!PyString_Check(_obj1
)) {
580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
583 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
586 wxPy_BEGIN_ALLOW_THREADS
;
587 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
589 wxPy_END_ALLOW_THREADS
;
590 } Py_INCREF(Py_None
);
591 _resultobj
= Py_None
;
599 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
600 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
) {
601 PyObject
* _resultobj
;
604 PyObject
* _argo0
= 0;
608 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetColour",&_argo0
,&tempbool1
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
617 _arg1
= (bool ) tempbool1
;
619 wxPy_BEGIN_ALLOW_THREADS
;
620 wxPrintData_SetColour(_arg0
,_arg1
);
622 wxPy_END_ALLOW_THREADS
;
623 } Py_INCREF(Py_None
);
624 _resultobj
= Py_None
;
628 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
629 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
) {
630 PyObject
* _resultobj
;
633 PyObject
* _argo0
= 0;
636 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetDuplex",&_argo0
,&_arg1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 wxPrintData_SetDuplex(_arg0
,_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 } Py_INCREF(Py_None
);
651 _resultobj
= Py_None
;
655 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
656 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
663 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetPaperId",&_argo0
,&_arg1
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
673 wxPy_BEGIN_ALLOW_THREADS
;
674 wxPrintData_SetPaperId(_arg0
,_arg1
);
676 wxPy_END_ALLOW_THREADS
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
682 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
683 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 PyObject
* _argo1
= 0;
691 if(!PyArg_ParseTuple(args
,"OO:wxPrintData_SetPaperSize",&_argo0
,&_argo1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
708 wxPy_BEGIN_ALLOW_THREADS
;
709 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
711 wxPy_END_ALLOW_THREADS
;
712 } Py_INCREF(Py_None
);
713 _resultobj
= Py_None
;
717 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
718 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
) {
719 PyObject
* _resultobj
;
721 wxPrintQuality _arg1
;
722 PyObject
* _argo0
= 0;
725 if(!PyArg_ParseTuple(args
,"Oi:wxPrintData_SetQuality",&_argo0
,&_arg1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
735 wxPy_BEGIN_ALLOW_THREADS
;
736 wxPrintData_SetQuality(_arg0
,_arg1
);
738 wxPy_END_ALLOW_THREADS
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
745 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
746 PyObject
* _resultobj
;
747 wxPageSetupDialogData
* _result
;
751 if(!PyArg_ParseTuple(args
,":new_wxPageSetupDialogData"))
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
757 wxPy_END_ALLOW_THREADS
;
759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
760 _resultobj
= Py_BuildValue("s",_ptemp
);
763 _resultobj
= Py_None
;
768 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
769 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
770 PyObject
* _resultobj
;
771 wxPageSetupDialogData
* _arg0
;
772 PyObject
* _argo0
= 0;
775 if(!PyArg_ParseTuple(args
,"O:delete_wxPageSetupDialogData",&_argo0
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
785 wxPy_BEGIN_ALLOW_THREADS
;
786 delete_wxPageSetupDialogData(_arg0
);
788 wxPy_END_ALLOW_THREADS
;
789 } Py_INCREF(Py_None
);
790 _resultobj
= Py_None
;
794 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
795 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
796 PyObject
* _resultobj
;
797 wxPageSetupDialogData
* _arg0
;
799 PyObject
* _argo0
= 0;
803 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_EnableHelp",&_argo0
,&tempbool1
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
812 _arg1
= (bool ) tempbool1
;
814 wxPy_BEGIN_ALLOW_THREADS
;
815 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
823 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
824 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
) {
825 PyObject
* _resultobj
;
826 wxPageSetupDialogData
* _arg0
;
828 PyObject
* _argo0
= 0;
832 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_EnableMargins",&_argo0
,&tempbool1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
841 _arg1
= (bool ) tempbool1
;
843 wxPy_BEGIN_ALLOW_THREADS
;
844 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
846 wxPy_END_ALLOW_THREADS
;
847 } Py_INCREF(Py_None
);
848 _resultobj
= Py_None
;
852 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
853 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
) {
854 PyObject
* _resultobj
;
855 wxPageSetupDialogData
* _arg0
;
857 PyObject
* _argo0
= 0;
861 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_EnableOrientation",&_argo0
,&tempbool1
))
864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
870 _arg1
= (bool ) tempbool1
;
872 wxPy_BEGIN_ALLOW_THREADS
;
873 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
875 wxPy_END_ALLOW_THREADS
;
876 } Py_INCREF(Py_None
);
877 _resultobj
= Py_None
;
881 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
882 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
) {
883 PyObject
* _resultobj
;
884 wxPageSetupDialogData
* _arg0
;
886 PyObject
* _argo0
= 0;
890 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_EnablePaper",&_argo0
,&tempbool1
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
899 _arg1
= (bool ) tempbool1
;
901 wxPy_BEGIN_ALLOW_THREADS
;
902 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
904 wxPy_END_ALLOW_THREADS
;
905 } Py_INCREF(Py_None
);
906 _resultobj
= Py_None
;
910 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
911 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
) {
912 PyObject
* _resultobj
;
913 wxPageSetupDialogData
* _arg0
;
915 PyObject
* _argo0
= 0;
919 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_EnablePrinter",&_argo0
,&tempbool1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
928 _arg1
= (bool ) tempbool1
;
930 wxPy_BEGIN_ALLOW_THREADS
;
931 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
933 wxPy_END_ALLOW_THREADS
;
934 } Py_INCREF(Py_None
);
935 _resultobj
= Py_None
;
939 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
940 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
941 PyObject
* _resultobj
;
943 wxPageSetupDialogData
* _arg0
;
944 PyObject
* _argo0
= 0;
947 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetDefaultMinMargins",&_argo0
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
957 wxPy_BEGIN_ALLOW_THREADS
;
958 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
960 wxPy_END_ALLOW_THREADS
;
961 } _resultobj
= Py_BuildValue("i",_result
);
965 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
966 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
) {
967 PyObject
* _resultobj
;
969 wxPageSetupDialogData
* _arg0
;
970 PyObject
* _argo0
= 0;
973 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetEnableMargins",&_argo0
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
986 wxPy_END_ALLOW_THREADS
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
992 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
) {
993 PyObject
* _resultobj
;
995 wxPageSetupDialogData
* _arg0
;
996 PyObject
* _argo0
= 0;
999 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetEnableOrientation",&_argo0
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1012 wxPy_END_ALLOW_THREADS
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1018 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1021 wxPageSetupDialogData
* _arg0
;
1022 PyObject
* _argo0
= 0;
1025 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetEnablePaper",&_argo0
))
1028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1035 wxPy_BEGIN_ALLOW_THREADS
;
1036 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1038 wxPy_END_ALLOW_THREADS
;
1039 } _resultobj
= Py_BuildValue("i",_result
);
1043 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1044 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
) {
1045 PyObject
* _resultobj
;
1047 wxPageSetupDialogData
* _arg0
;
1048 PyObject
* _argo0
= 0;
1051 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetEnablePrinter",&_argo0
))
1054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } _resultobj
= Py_BuildValue("i",_result
);
1069 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1070 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
) {
1071 PyObject
* _resultobj
;
1073 wxPageSetupDialogData
* _arg0
;
1074 PyObject
* _argo0
= 0;
1077 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetEnableHelp",&_argo0
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } _resultobj
= Py_BuildValue("i",_result
);
1095 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1096 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1099 wxPageSetupDialogData
* _arg0
;
1100 PyObject
* _argo0
= 0;
1103 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetDefaultInfo",&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1116 wxPy_END_ALLOW_THREADS
;
1117 } _resultobj
= Py_BuildValue("i",_result
);
1121 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1122 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1123 PyObject
* _resultobj
;
1125 wxPageSetupDialogData
* _arg0
;
1126 PyObject
* _argo0
= 0;
1130 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetMarginTopLeft",&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1143 wxPy_END_ALLOW_THREADS
;
1144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1145 _resultobj
= Py_BuildValue("s",_ptemp
);
1149 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1150 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1153 wxPageSetupDialogData
* _arg0
;
1154 PyObject
* _argo0
= 0;
1158 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetMarginBottomRight",&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1171 wxPy_END_ALLOW_THREADS
;
1172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1178 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1179 PyObject
* _resultobj
;
1181 wxPageSetupDialogData
* _arg0
;
1182 PyObject
* _argo0
= 0;
1186 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1199 wxPy_END_ALLOW_THREADS
;
1200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1205 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1206 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1207 PyObject
* _resultobj
;
1209 wxPageSetupDialogData
* _arg0
;
1210 PyObject
* _argo0
= 0;
1214 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1227 wxPy_END_ALLOW_THREADS
;
1228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1229 _resultobj
= Py_BuildValue("s",_ptemp
);
1233 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1234 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
) {
1235 PyObject
* _resultobj
;
1236 wxPaperSize _result
;
1237 wxPageSetupDialogData
* _arg0
;
1238 PyObject
* _argo0
= 0;
1241 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetPaperId",&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } _resultobj
= Py_BuildValue("i",_result
);
1259 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1260 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
1261 PyObject
* _resultobj
;
1263 wxPageSetupDialogData
* _arg0
;
1264 PyObject
* _argo0
= 0;
1268 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetPaperSize",&_argo0
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1281 wxPy_END_ALLOW_THREADS
;
1282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1283 _resultobj
= Py_BuildValue("s",_ptemp
);
1287 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1288 return new wxPrintData(self
->GetPrintData()); // force a copy
1290 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
1291 PyObject
* _resultobj
;
1292 wxPrintData
* _result
;
1293 wxPageSetupDialogData
* _arg0
;
1294 PyObject
* _argo0
= 0;
1298 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialogData_GetPrintData",&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1317 _resultobj
= Py_None
;
1322 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1323 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1324 PyObject
* _resultobj
;
1325 wxPageSetupDialogData
* _arg0
;
1327 PyObject
* _argo0
= 0;
1331 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_SetDefaultInfo",&_argo0
,&tempbool1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1340 _arg1
= (bool ) tempbool1
;
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1352 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1354 wxPageSetupDialogData
* _arg0
;
1356 PyObject
* _argo0
= 0;
1360 if(!PyArg_ParseTuple(args
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",&_argo0
,&tempbool1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1369 _arg1
= (bool ) tempbool1
;
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1374 wxPy_END_ALLOW_THREADS
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1381 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1383 wxPageSetupDialogData
* _arg0
;
1385 PyObject
* _argo0
= 0;
1386 PyObject
* _argo1
= 0;
1389 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetMarginTopLeft",&_argo0
,&_argo1
))
1392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1409 wxPy_END_ALLOW_THREADS
;
1410 } Py_INCREF(Py_None
);
1411 _resultobj
= Py_None
;
1415 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1416 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1417 PyObject
* _resultobj
;
1418 wxPageSetupDialogData
* _arg0
;
1420 PyObject
* _argo0
= 0;
1421 PyObject
* _argo1
= 0;
1424 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetMarginBottomRight",&_argo0
,&_argo1
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1444 wxPy_END_ALLOW_THREADS
;
1445 } Py_INCREF(Py_None
);
1446 _resultobj
= Py_None
;
1450 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1451 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1452 PyObject
* _resultobj
;
1453 wxPageSetupDialogData
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 PyObject
* _argo1
= 0;
1459 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",&_argo0
,&_argo1
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1479 wxPy_END_ALLOW_THREADS
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1486 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1488 wxPageSetupDialogData
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 PyObject
* _argo1
= 0;
1494 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",&_argo0
,&_argo1
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1514 wxPy_END_ALLOW_THREADS
;
1515 } Py_INCREF(Py_None
);
1516 _resultobj
= Py_None
;
1520 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1521 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
) {
1522 PyObject
* _resultobj
;
1523 wxPageSetupDialogData
* _arg0
;
1524 wxPaperSize
* _arg1
;
1525 PyObject
* _argo0
= 0;
1526 PyObject
* _argo1
= 0;
1529 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetPaperId",&_argo0
,&_argo1
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1546 wxPy_BEGIN_ALLOW_THREADS
;
1547 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1549 wxPy_END_ALLOW_THREADS
;
1550 } Py_INCREF(Py_None
);
1551 _resultobj
= Py_None
;
1555 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1556 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
1557 PyObject
* _resultobj
;
1558 wxPageSetupDialogData
* _arg0
;
1560 PyObject
* _argo0
= 0;
1561 PyObject
* _argo1
= 0;
1564 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetPaperSize",&_argo0
,&_argo1
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1584 wxPy_END_ALLOW_THREADS
;
1585 } Py_INCREF(Py_None
);
1586 _resultobj
= Py_None
;
1590 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1591 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
1592 PyObject
* _resultobj
;
1593 wxPageSetupDialogData
* _arg0
;
1594 wxPrintData
* _arg1
;
1595 PyObject
* _argo0
= 0;
1596 PyObject
* _argo1
= 0;
1599 if(!PyArg_ParseTuple(args
,"OO:wxPageSetupDialogData_SetPrintData",&_argo0
,&_argo1
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1619 wxPy_END_ALLOW_THREADS
;
1620 } Py_INCREF(Py_None
);
1621 _resultobj
= Py_None
;
1625 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1626 wxPageSetupDialog
*src
;
1628 src
= (wxPageSetupDialog
*) ptr
;
1629 dest
= (wxDialog
*) src
;
1630 return (void *) dest
;
1633 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1634 wxPageSetupDialog
*src
;
1636 src
= (wxPageSetupDialog
*) ptr
;
1637 dest
= (wxPanel
*) src
;
1638 return (void *) dest
;
1641 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1642 wxPageSetupDialog
*src
;
1644 src
= (wxPageSetupDialog
*) ptr
;
1645 dest
= (wxWindow
*) src
;
1646 return (void *) dest
;
1649 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1650 wxPageSetupDialog
*src
;
1652 src
= (wxPageSetupDialog
*) ptr
;
1653 dest
= (wxEvtHandler
*) src
;
1654 return (void *) dest
;
1657 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1658 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
) {
1659 PyObject
* _resultobj
;
1660 wxPageSetupDialog
* _result
;
1662 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1668 if(!PyArg_ParseTuple(args
,"O|O:new_wxPageSetupDialog",&_argo0
,&_argo1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1691 _resultobj
= Py_BuildValue("s",_ptemp
);
1694 _resultobj
= Py_None
;
1699 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1700 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1702 wxPageSetupDialogData
* _result
;
1703 wxPageSetupDialog
* _arg0
;
1704 PyObject
* _argo0
= 0;
1708 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialog_GetPageSetupData",&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1720 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1722 wxPy_END_ALLOW_THREADS
;
1724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1725 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 _resultobj
= Py_None
;
1733 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1734 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1737 wxPageSetupDialog
* _arg0
;
1738 PyObject
* _argo0
= 0;
1741 if(!PyArg_ParseTuple(args
,"O:wxPageSetupDialog_ShowModal",&_argo0
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define new_wxPrintDialogData() (new wxPrintDialogData())
1760 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1761 PyObject
* _resultobj
;
1762 wxPrintDialogData
* _result
;
1766 if(!PyArg_ParseTuple(args
,":new_wxPrintDialogData"))
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1772 wxPy_END_ALLOW_THREADS
;
1774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1775 _resultobj
= Py_BuildValue("s",_ptemp
);
1778 _resultobj
= Py_None
;
1783 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1784 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1785 PyObject
* _resultobj
;
1786 wxPrintDialogData
* _arg0
;
1787 PyObject
* _argo0
= 0;
1790 if(!PyArg_ParseTuple(args
,"O:delete_wxPrintDialogData",&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 delete_wxPrintDialogData(_arg0
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1810 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
1811 PyObject
* _resultobj
;
1812 wxPrintDialogData
* _arg0
;
1814 PyObject
* _argo0
= 0;
1818 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_EnableHelp",&_argo0
,&tempbool1
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1827 _arg1
= (bool ) tempbool1
;
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1839 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
) {
1840 PyObject
* _resultobj
;
1841 wxPrintDialogData
* _arg0
;
1843 PyObject
* _argo0
= 0;
1847 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_EnablePageNumbers",&_argo0
,&tempbool1
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1856 _arg1
= (bool ) tempbool1
;
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1868 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
) {
1869 PyObject
* _resultobj
;
1870 wxPrintDialogData
* _arg0
;
1872 PyObject
* _argo0
= 0;
1876 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_EnablePrintToFile",&_argo0
,&tempbool1
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1885 _arg1
= (bool ) tempbool1
;
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } Py_INCREF(Py_None
);
1892 _resultobj
= Py_None
;
1896 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1897 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
) {
1898 PyObject
* _resultobj
;
1899 wxPrintDialogData
* _arg0
;
1901 PyObject
* _argo0
= 0;
1905 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_EnableSelection",&_argo0
,&tempbool1
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1914 _arg1
= (bool ) tempbool1
;
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1919 wxPy_END_ALLOW_THREADS
;
1920 } Py_INCREF(Py_None
);
1921 _resultobj
= Py_None
;
1925 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1926 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
) {
1927 PyObject
* _resultobj
;
1929 wxPrintDialogData
* _arg0
;
1930 PyObject
* _argo0
= 0;
1933 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetAllPages",&_argo0
))
1936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1946 wxPy_END_ALLOW_THREADS
;
1947 } _resultobj
= Py_BuildValue("i",_result
);
1951 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1952 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
) {
1953 PyObject
* _resultobj
;
1955 wxPrintDialogData
* _arg0
;
1956 PyObject
* _argo0
= 0;
1959 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetCollate",&_argo0
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
1972 wxPy_END_ALLOW_THREADS
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1977 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
1978 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
) {
1979 PyObject
* _resultobj
;
1981 wxPrintDialogData
* _arg0
;
1982 PyObject
* _argo0
= 0;
1985 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetFromPage",&_argo0
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
1995 wxPy_BEGIN_ALLOW_THREADS
;
1996 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
1998 wxPy_END_ALLOW_THREADS
;
1999 } _resultobj
= Py_BuildValue("i",_result
);
2003 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2004 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
) {
2005 PyObject
* _resultobj
;
2007 wxPrintDialogData
* _arg0
;
2008 PyObject
* _argo0
= 0;
2011 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetMaxPage",&_argo0
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2021 wxPy_BEGIN_ALLOW_THREADS
;
2022 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2024 wxPy_END_ALLOW_THREADS
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2030 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
) {
2031 PyObject
* _resultobj
;
2033 wxPrintDialogData
* _arg0
;
2034 PyObject
* _argo0
= 0;
2037 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetMinPage",&_argo0
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2047 wxPy_BEGIN_ALLOW_THREADS
;
2048 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2050 wxPy_END_ALLOW_THREADS
;
2051 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2056 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
2057 PyObject
* _resultobj
;
2059 wxPrintDialogData
* _arg0
;
2060 PyObject
* _argo0
= 0;
2063 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetNoCopies",&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2082 return new wxPrintData(self
->GetPrintData()); // force a copy
2084 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
2085 PyObject
* _resultobj
;
2086 wxPrintData
* _result
;
2087 wxPrintDialogData
* _arg0
;
2088 PyObject
* _argo0
= 0;
2092 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetPrintData",&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2105 wxPy_END_ALLOW_THREADS
;
2107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2108 _resultobj
= Py_BuildValue("s",_ptemp
);
2111 _resultobj
= Py_None
;
2116 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2117 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
) {
2118 PyObject
* _resultobj
;
2120 wxPrintDialogData
* _arg0
;
2121 PyObject
* _argo0
= 0;
2124 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetPrintToFile",&_argo0
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } _resultobj
= Py_BuildValue("i",_result
);
2142 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2143 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
) {
2144 PyObject
* _resultobj
;
2146 wxPrintDialogData
* _arg0
;
2147 PyObject
* _argo0
= 0;
2150 if(!PyArg_ParseTuple(args
,"O:wxPrintDialogData_GetToPage",&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2164 } _resultobj
= Py_BuildValue("i",_result
);
2168 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2169 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
) {
2170 PyObject
* _resultobj
;
2171 wxPrintDialogData
* _arg0
;
2173 PyObject
* _argo0
= 0;
2177 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetCollate",&_argo0
,&tempbool1
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2186 _arg1
= (bool ) tempbool1
;
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } Py_INCREF(Py_None
);
2193 _resultobj
= Py_None
;
2197 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2198 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
) {
2199 PyObject
* _resultobj
;
2200 wxPrintDialogData
* _arg0
;
2202 PyObject
* _argo0
= 0;
2205 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetFromPage",&_argo0
,&_arg1
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2225 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
) {
2226 PyObject
* _resultobj
;
2227 wxPrintDialogData
* _arg0
;
2229 PyObject
* _argo0
= 0;
2232 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetMaxPage",&_argo0
,&_arg1
))
2235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2245 wxPy_END_ALLOW_THREADS
;
2246 } Py_INCREF(Py_None
);
2247 _resultobj
= Py_None
;
2251 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2252 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
) {
2253 PyObject
* _resultobj
;
2254 wxPrintDialogData
* _arg0
;
2256 PyObject
* _argo0
= 0;
2259 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetMinPage",&_argo0
,&_arg1
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2279 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
2280 PyObject
* _resultobj
;
2281 wxPrintDialogData
* _arg0
;
2283 PyObject
* _argo0
= 0;
2286 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetNoCopies",&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2306 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
2307 PyObject
* _resultobj
;
2308 wxPrintDialogData
* _arg0
;
2309 wxPrintData
* _arg1
;
2310 PyObject
* _argo0
= 0;
2311 PyObject
* _argo1
= 0;
2314 if(!PyArg_ParseTuple(args
,"OO:wxPrintDialogData_SetPrintData",&_argo0
,&_argo1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2334 wxPy_END_ALLOW_THREADS
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2341 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
) {
2342 PyObject
* _resultobj
;
2343 wxPrintDialogData
* _arg0
;
2345 PyObject
* _argo0
= 0;
2349 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetPrintToFile",&_argo0
,&tempbool1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2358 _arg1
= (bool ) tempbool1
;
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2370 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
) {
2371 PyObject
* _resultobj
;
2372 wxPrintDialogData
* _arg0
;
2374 PyObject
* _argo0
= 0;
2378 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetSetupDialog",&_argo0
,&tempbool1
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2387 _arg1
= (bool ) tempbool1
;
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2398 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2399 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
) {
2400 PyObject
* _resultobj
;
2401 wxPrintDialogData
* _arg0
;
2403 PyObject
* _argo0
= 0;
2406 if(!PyArg_ParseTuple(args
,"Oi:wxPrintDialogData_SetToPage",&_argo0
,&_arg1
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2419 wxPy_END_ALLOW_THREADS
;
2420 } Py_INCREF(Py_None
);
2421 _resultobj
= Py_None
;
2425 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2428 src
= (wxPrintDialog
*) ptr
;
2429 dest
= (wxDialog
*) src
;
2430 return (void *) dest
;
2433 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2436 src
= (wxPrintDialog
*) ptr
;
2437 dest
= (wxPanel
*) src
;
2438 return (void *) dest
;
2441 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2444 src
= (wxPrintDialog
*) ptr
;
2445 dest
= (wxWindow
*) src
;
2446 return (void *) dest
;
2449 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2452 src
= (wxPrintDialog
*) ptr
;
2453 dest
= (wxEvtHandler
*) src
;
2454 return (void *) dest
;
2457 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2458 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
) {
2459 PyObject
* _resultobj
;
2460 wxPrintDialog
* _result
;
2462 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2463 PyObject
* _argo0
= 0;
2464 PyObject
* _argo1
= 0;
2468 if(!PyArg_ParseTuple(args
,"O|O:new_wxPrintDialog",&_argo0
,&_argo1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2485 wxPy_BEGIN_ALLOW_THREADS
;
2486 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2488 wxPy_END_ALLOW_THREADS
;
2490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2494 _resultobj
= Py_None
;
2499 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2500 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
2501 PyObject
* _resultobj
;
2502 wxPrintDialogData
* _result
;
2503 wxPrintDialog
* _arg0
;
2504 PyObject
* _argo0
= 0;
2508 if(!PyArg_ParseTuple(args
,"O:wxPrintDialog_GetPrintDialogData",&_argo0
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2520 _result
= (wxPrintDialogData
*) &_result_ref
;
2522 wxPy_END_ALLOW_THREADS
;
2524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2525 _resultobj
= Py_BuildValue("s",_ptemp
);
2528 _resultobj
= Py_None
;
2533 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2534 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
) {
2535 PyObject
* _resultobj
;
2537 wxPrintDialog
* _arg0
;
2538 PyObject
* _argo0
= 0;
2542 if(!PyArg_ParseTuple(args
,"O:wxPrintDialog_GetPrintDC",&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2555 wxPy_END_ALLOW_THREADS
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2567 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2568 PyObject
* _resultobj
;
2570 wxPrintDialog
* _arg0
;
2571 PyObject
* _argo0
= 0;
2574 if(!PyArg_ParseTuple(args
,"O:wxPrintDialog_ShowModal",&_argo0
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2587 wxPy_END_ALLOW_THREADS
;
2588 } _resultobj
= Py_BuildValue("i",_result
);
2592 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2593 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
) {
2594 PyObject
* _resultobj
;
2595 wxPyPrintout
* _result
;
2596 char * _arg0
= (char *) "Printout";
2600 if(!PyArg_ParseTuple(args
,"|s:new_wxPrintout",&_arg0
))
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2606 wxPy_END_ALLOW_THREADS
;
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 _resultobj
= Py_None
;
2617 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2618 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
) {
2619 PyObject
* _resultobj
;
2620 wxPyPrintout
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _obj1
= 0;
2626 if(!PyArg_ParseTuple(args
,"OO:wxPrintout__setSelf",&_argo0
,&_obj1
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 wxPrintout__setSelf(_arg0
,_arg1
);
2642 wxPy_END_ALLOW_THREADS
;
2643 } Py_INCREF(Py_None
);
2644 _resultobj
= Py_None
;
2648 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) {
2651 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
) {
2652 PyObject
* _resultobj
;
2653 wxPyPrintout
* _arg0
;
2654 PyObject
* _argo0
= 0;
2657 if(!PyArg_ParseTuple(args
,"O:wxPrintout_Destroy",&_argo0
))
2660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 wxPyPrintout_Destroy(_arg0
);
2670 wxPy_END_ALLOW_THREADS
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2676 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2677 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
) {
2678 PyObject
* _resultobj
;
2680 wxPyPrintout
* _arg0
;
2681 PyObject
* _argo0
= 0;
2685 if(!PyArg_ParseTuple(args
,"O:wxPrintout_GetDC",&_argo0
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2698 wxPy_END_ALLOW_THREADS
;
2700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2701 _resultobj
= Py_BuildValue("s",_ptemp
);
2704 _resultobj
= Py_None
;
2709 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2710 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
) {
2711 PyObject
* _resultobj
;
2712 wxPyPrintout
* _arg0
;
2717 PyObject
* _argo0
= 0;
2726 if(!PyArg_ParseTuple(args
,"O:wxPrintout_GetPageSizeMM",&_argo0
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2739 wxPy_END_ALLOW_THREADS
;
2740 } Py_INCREF(Py_None
);
2741 _resultobj
= Py_None
;
2744 o
= PyInt_FromLong((long) (*_arg1
));
2745 _resultobj
= t_output_helper(_resultobj
, o
);
2749 o
= PyInt_FromLong((long) (*_arg2
));
2750 _resultobj
= t_output_helper(_resultobj
, o
);
2755 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2756 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
) {
2757 PyObject
* _resultobj
;
2758 wxPyPrintout
* _arg0
;
2763 PyObject
* _argo0
= 0;
2772 if(!PyArg_ParseTuple(args
,"O:wxPrintout_GetPageSizePixels",&_argo0
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2785 wxPy_END_ALLOW_THREADS
;
2786 } Py_INCREF(Py_None
);
2787 _resultobj
= Py_None
;
2790 o
= PyInt_FromLong((long) (*_arg1
));
2791 _resultobj
= t_output_helper(_resultobj
, o
);
2795 o
= PyInt_FromLong((long) (*_arg2
));
2796 _resultobj
= t_output_helper(_resultobj
, o
);
2801 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2802 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
) {
2803 PyObject
* _resultobj
;
2804 wxPyPrintout
* _arg0
;
2809 PyObject
* _argo0
= 0;
2818 if(!PyArg_ParseTuple(args
,"O:wxPrintout_GetPPIPrinter",&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2836 o
= PyInt_FromLong((long) (*_arg1
));
2837 _resultobj
= t_output_helper(_resultobj
, o
);
2841 o
= PyInt_FromLong((long) (*_arg2
));
2842 _resultobj
= t_output_helper(_resultobj
, o
);
2847 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2848 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
) {
2849 PyObject
* _resultobj
;
2850 wxPyPrintout
* _arg0
;
2855 PyObject
* _argo0
= 0;
2864 if(!PyArg_ParseTuple(args
,"O:wxPrintout_GetPPIScreen",&_argo0
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2874 wxPy_BEGIN_ALLOW_THREADS
;
2875 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2877 wxPy_END_ALLOW_THREADS
;
2878 } Py_INCREF(Py_None
);
2879 _resultobj
= Py_None
;
2882 o
= PyInt_FromLong((long) (*_arg1
));
2883 _resultobj
= t_output_helper(_resultobj
, o
);
2887 o
= PyInt_FromLong((long) (*_arg2
));
2888 _resultobj
= t_output_helper(_resultobj
, o
);
2893 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2894 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2897 wxPyPrintout
* _arg0
;
2898 PyObject
* _argo0
= 0;
2901 if(!PyArg_ParseTuple(args
,"O:wxPrintout_IsPreview",&_argo0
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2914 wxPy_END_ALLOW_THREADS
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
2920 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
) {
2921 PyObject
* _resultobj
;
2923 wxPyPrintout
* _arg0
;
2926 PyObject
* _argo0
= 0;
2929 if(!PyArg_ParseTuple(args
,"Oii:wxPrintout_base_OnBeginDocument",&_argo0
,&_arg1
,&_arg2
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
2948 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2950 wxPyPrintout
* _arg0
;
2951 PyObject
* _argo0
= 0;
2954 if(!PyArg_ParseTuple(args
,"O:wxPrintout_base_OnEndDocument",&_argo0
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
2964 wxPy_BEGIN_ALLOW_THREADS
;
2965 wxPrintout_base_OnEndDocument(_arg0
);
2967 wxPy_END_ALLOW_THREADS
;
2968 } Py_INCREF(Py_None
);
2969 _resultobj
= Py_None
;
2973 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
2974 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
) {
2975 PyObject
* _resultobj
;
2976 wxPyPrintout
* _arg0
;
2977 PyObject
* _argo0
= 0;
2980 if(!PyArg_ParseTuple(args
,"O:wxPrintout_base_OnBeginPrinting",&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 wxPrintout_base_OnBeginPrinting(_arg0
);
2993 wxPy_END_ALLOW_THREADS
;
2994 } Py_INCREF(Py_None
);
2995 _resultobj
= Py_None
;
2999 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3000 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
) {
3001 PyObject
* _resultobj
;
3002 wxPyPrintout
* _arg0
;
3003 PyObject
* _argo0
= 0;
3006 if(!PyArg_ParseTuple(args
,"O:wxPrintout_base_OnEndPrinting",&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 wxPrintout_base_OnEndPrinting(_arg0
);
3019 wxPy_END_ALLOW_THREADS
;
3020 } Py_INCREF(Py_None
);
3021 _resultobj
= Py_None
;
3025 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3026 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
) {
3027 PyObject
* _resultobj
;
3028 wxPyPrintout
* _arg0
;
3029 PyObject
* _argo0
= 0;
3032 if(!PyArg_ParseTuple(args
,"O:wxPrintout_base_OnPreparePrinting",&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 wxPrintout_base_OnPreparePrinting(_arg0
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3052 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
) {
3053 PyObject
* _resultobj
;
3054 wxPyPrintout
* _arg0
;
3063 PyObject
* _argo0
= 0;
3078 if(!PyArg_ParseTuple(args
,"O:wxPrintout_base_GetPageInfo",&_argo0
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3091 wxPy_END_ALLOW_THREADS
;
3092 } Py_INCREF(Py_None
);
3093 _resultobj
= Py_None
;
3096 o
= PyInt_FromLong((long) (*_arg1
));
3097 _resultobj
= t_output_helper(_resultobj
, o
);
3101 o
= PyInt_FromLong((long) (*_arg2
));
3102 _resultobj
= t_output_helper(_resultobj
, o
);
3106 o
= PyInt_FromLong((long) (*_arg3
));
3107 _resultobj
= t_output_helper(_resultobj
, o
);
3111 o
= PyInt_FromLong((long) (*_arg4
));
3112 _resultobj
= t_output_helper(_resultobj
, o
);
3117 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3118 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
) {
3119 PyObject
* _resultobj
;
3121 wxPyPrintout
* _arg0
;
3123 PyObject
* _argo0
= 0;
3126 if(!PyArg_ParseTuple(args
,"Oi:wxPrintout_base_HasPage",&_argo0
,&_arg1
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } _resultobj
= Py_BuildValue("i",_result
);
3144 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3145 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
) {
3146 PyObject
* _resultobj
;
3147 wxPrinter
* _result
;
3148 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3149 PyObject
* _argo0
= 0;
3153 if(!PyArg_ParseTuple(args
,"|O:new_wxPrinter",&_argo0
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3166 wxPy_END_ALLOW_THREADS
;
3168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 _resultobj
= Py_None
;
3177 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3178 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
) {
3179 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3184 if(!PyArg_ParseTuple(args
,"O:delete_wxPrinter",&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 delete_wxPrinter(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } Py_INCREF(Py_None
);
3199 _resultobj
= Py_None
;
3203 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3204 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
) {
3205 PyObject
* _resultobj
;
3208 wxPyPrintout
* _arg2
;
3209 PyObject
* _argo0
= 0;
3210 PyObject
* _argo1
= 0;
3211 PyObject
* _argo2
= 0;
3214 if(!PyArg_ParseTuple(args
,"OOO:wxPrinter_CreateAbortWindow",&_argo0
,&_argo1
,&_argo2
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3231 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3238 wxPy_BEGIN_ALLOW_THREADS
;
3239 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3241 wxPy_END_ALLOW_THREADS
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3248 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3249 PyObject
* _resultobj
;
3250 wxPrintDialogData
* _result
;
3252 PyObject
* _argo0
= 0;
3256 if(!PyArg_ParseTuple(args
,"O:wxPrinter_GetPrintDialogData",&_argo0
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3268 _result
= (wxPrintDialogData
*) &_result_ref
;
3270 wxPy_END_ALLOW_THREADS
;
3272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3273 _resultobj
= Py_BuildValue("s",_ptemp
);
3276 _resultobj
= Py_None
;
3281 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3282 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
) {
3283 PyObject
* _resultobj
;
3287 wxPyPrintout
* _arg2
;
3288 int _arg3
= (int ) TRUE
;
3289 PyObject
* _argo0
= 0;
3290 PyObject
* _argo1
= 0;
3291 PyObject
* _argo2
= 0;
3294 if(!PyArg_ParseTuple(args
,"OOO|i:wxPrinter_Print",&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3311 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3321 wxPy_END_ALLOW_THREADS
;
3322 } _resultobj
= Py_BuildValue("i",_result
);
3326 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3327 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
) {
3328 PyObject
* _resultobj
;
3332 PyObject
* _argo0
= 0;
3333 PyObject
* _argo1
= 0;
3337 if(!PyArg_ParseTuple(args
,"OO:wxPrinter_PrintDialog",&_argo0
,&_argo1
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3357 wxPy_END_ALLOW_THREADS
;
3359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3360 _resultobj
= Py_BuildValue("s",_ptemp
);
3363 _resultobj
= Py_None
;
3368 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3369 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
) {
3370 PyObject
* _resultobj
;
3373 wxPyPrintout
* _arg2
;
3375 PyObject
* _argo0
= 0;
3376 PyObject
* _argo1
= 0;
3377 PyObject
* _argo2
= 0;
3380 if(!PyArg_ParseTuple(args
,"OOOs:wxPrinter_ReportError",&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3397 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3407 wxPy_END_ALLOW_THREADS
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3414 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
) {
3415 PyObject
* _resultobj
;
3419 PyObject
* _argo0
= 0;
3420 PyObject
* _argo1
= 0;
3423 if(!PyArg_ParseTuple(args
,"OO:wxPrinter_Setup",&_argo0
,&_argo1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3443 wxPy_END_ALLOW_THREADS
;
3444 } _resultobj
= Py_BuildValue("i",_result
);
3448 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3449 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
) {
3450 PyObject
* _resultobj
;
3451 wxPrintPreview
* _result
;
3452 wxPyPrintout
* _arg0
;
3453 wxPyPrintout
* _arg1
;
3454 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3455 PyObject
* _argo0
= 0;
3456 PyObject
* _argo1
= 0;
3457 PyObject
* _argo2
= 0;
3461 if(!PyArg_ParseTuple(args
,"OO|O:new_wxPrintPreview",&_argo0
,&_argo1
,&_argo2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3478 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3488 wxPy_END_ALLOW_THREADS
;
3490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3491 _resultobj
= Py_BuildValue("s",_ptemp
);
3494 _resultobj
= Py_None
;
3499 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3500 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
) {
3501 PyObject
* _resultobj
;
3503 wxPrintPreview
* _arg0
;
3504 PyObject
* _argo0
= 0;
3508 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetCanvas",&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3521 wxPy_END_ALLOW_THREADS
;
3523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3527 _resultobj
= Py_None
;
3532 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3533 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
) {
3534 PyObject
* _resultobj
;
3536 wxPrintPreview
* _arg0
;
3537 PyObject
* _argo0
= 0;
3540 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetCurrentPage",&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3550 wxPy_BEGIN_ALLOW_THREADS
;
3551 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3553 wxPy_END_ALLOW_THREADS
;
3554 } _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3559 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
) {
3560 PyObject
* _resultobj
;
3562 wxPrintPreview
* _arg0
;
3563 PyObject
* _argo0
= 0;
3567 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetFrame",&_argo0
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3580 wxPy_END_ALLOW_THREADS
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3592 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
) {
3593 PyObject
* _resultobj
;
3595 wxPrintPreview
* _arg0
;
3596 PyObject
* _argo0
= 0;
3599 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetMaxPage",&_argo0
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3618 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
) {
3619 PyObject
* _resultobj
;
3621 wxPrintPreview
* _arg0
;
3622 PyObject
* _argo0
= 0;
3625 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetMinPage",&_argo0
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3638 wxPy_END_ALLOW_THREADS
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3644 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3645 PyObject
* _resultobj
;
3646 wxPrintDialogData
* _result
;
3647 wxPrintPreview
* _arg0
;
3648 PyObject
* _argo0
= 0;
3652 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetPrintDialogData",&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3662 wxPy_BEGIN_ALLOW_THREADS
;
3663 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3664 _result
= (wxPrintDialogData
*) &_result_ref
;
3666 wxPy_END_ALLOW_THREADS
;
3668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3669 _resultobj
= Py_BuildValue("s",_ptemp
);
3672 _resultobj
= Py_None
;
3677 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3678 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
) {
3679 PyObject
* _resultobj
;
3680 wxPyPrintout
* _result
;
3681 wxPrintPreview
* _arg0
;
3682 PyObject
* _argo0
= 0;
3686 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetPrintout",&_argo0
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3696 wxPy_BEGIN_ALLOW_THREADS
;
3697 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3699 wxPy_END_ALLOW_THREADS
;
3701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3702 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 _resultobj
= Py_None
;
3710 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3711 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
) {
3712 PyObject
* _resultobj
;
3713 wxPyPrintout
* _result
;
3714 wxPrintPreview
* _arg0
;
3715 PyObject
* _argo0
= 0;
3719 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetPrintoutForPrinting",&_argo0
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3732 wxPy_END_ALLOW_THREADS
;
3734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3738 _resultobj
= Py_None
;
3743 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3744 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
) {
3745 PyObject
* _resultobj
;
3747 wxPrintPreview
* _arg0
;
3748 PyObject
* _argo0
= 0;
3751 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_GetZoom",&_argo0
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3761 wxPy_BEGIN_ALLOW_THREADS
;
3762 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3764 wxPy_END_ALLOW_THREADS
;
3765 } _resultobj
= Py_BuildValue("i",_result
);
3769 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3770 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
) {
3771 PyObject
* _resultobj
;
3773 wxPrintPreview
* _arg0
;
3774 PyObject
* _argo0
= 0;
3777 if(!PyArg_ParseTuple(args
,"O:wxPrintPreview_Ok",&_argo0
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3790 wxPy_END_ALLOW_THREADS
;
3791 } _resultobj
= Py_BuildValue("i",_result
);
3795 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3796 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
) {
3797 PyObject
* _resultobj
;
3799 wxPrintPreview
* _arg0
;
3801 PyObject
* _argo0
= 0;
3805 if(!PyArg_ParseTuple(args
,"Oi:wxPrintPreview_Print",&_argo0
,&tempbool1
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3814 _arg1
= (bool ) tempbool1
;
3816 wxPy_BEGIN_ALLOW_THREADS
;
3817 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3819 wxPy_END_ALLOW_THREADS
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3825 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
) {
3826 PyObject
* _resultobj
;
3827 wxPrintPreview
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 PyObject
* _argo1
= 0;
3833 if(!PyArg_ParseTuple(args
,"OO:wxPrintPreview_SetCanvas",&_argo0
,&_argo1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3860 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
) {
3861 PyObject
* _resultobj
;
3862 wxPrintPreview
* _arg0
;
3864 PyObject
* _argo0
= 0;
3867 if(!PyArg_ParseTuple(args
,"Oi:wxPrintPreview_SetCurrentPage",&_argo0
,&_arg1
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } Py_INCREF(Py_None
);
3882 _resultobj
= Py_None
;
3886 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3887 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
) {
3888 PyObject
* _resultobj
;
3889 wxPrintPreview
* _arg0
;
3891 PyObject
* _argo0
= 0;
3892 PyObject
* _argo1
= 0;
3895 if(!PyArg_ParseTuple(args
,"OO:wxPrintPreview_SetFrame",&_argo0
,&_argo1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
3905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 wxPrintPreview_SetFrame(_arg0
,_arg1
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3921 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
3922 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
) {
3923 PyObject
* _resultobj
;
3924 wxPrintPreview
* _arg0
;
3925 wxPyPrintout
* _arg1
;
3926 PyObject
* _argo0
= 0;
3927 PyObject
* _argo1
= 0;
3930 if(!PyArg_ParseTuple(args
,"OO:wxPrintPreview_SetPrintout",&_argo0
,&_argo1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
3940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
3947 wxPy_BEGIN_ALLOW_THREADS
;
3948 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
3950 wxPy_END_ALLOW_THREADS
;
3951 } Py_INCREF(Py_None
);
3952 _resultobj
= Py_None
;
3956 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
3957 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
) {
3958 PyObject
* _resultobj
;
3959 wxPrintPreview
* _arg0
;
3961 PyObject
* _argo0
= 0;
3964 if(!PyArg_ParseTuple(args
,"Oi:wxPrintPreview_SetZoom",&_argo0
,&_arg1
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 wxPrintPreview_SetZoom(_arg0
,_arg1
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } Py_INCREF(Py_None
);
3979 _resultobj
= Py_None
;
3983 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
3984 wxPreviewFrame
*src
;
3986 src
= (wxPreviewFrame
*) ptr
;
3987 dest
= (wxFrame
*) src
;
3988 return (void *) dest
;
3991 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
3992 wxPreviewFrame
*src
;
3994 src
= (wxPreviewFrame
*) ptr
;
3995 dest
= (wxWindow
*) src
;
3996 return (void *) dest
;
3999 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4000 wxPreviewFrame
*src
;
4002 src
= (wxPreviewFrame
*) ptr
;
4003 dest
= (wxEvtHandler
*) src
;
4004 return (void *) dest
;
4007 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4008 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
) {
4009 PyObject
* _resultobj
;
4010 wxPreviewFrame
* _result
;
4011 wxPrintPreview
* _arg0
;
4014 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4015 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4016 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4017 char * _arg6
= (char *) "frame";
4018 PyObject
* _argo0
= 0;
4019 PyObject
* _argo1
= 0;
4020 PyObject
* _obj2
= 0;
4021 PyObject
* _argo3
= 0;
4022 PyObject
* _argo4
= 0;
4026 if(!PyArg_ParseTuple(args
,"OOO|OOls:new_wxPreviewFrame",&_argo0
,&_argo1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4043 if (!PyString_Check(_obj2
)) {
4044 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4047 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4050 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
4057 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
4064 wxPy_BEGIN_ALLOW_THREADS
;
4065 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4067 wxPy_END_ALLOW_THREADS
;
4069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4070 _resultobj
= Py_BuildValue("s",_ptemp
);
4073 _resultobj
= Py_None
;
4082 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4083 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
) {
4084 PyObject
* _resultobj
;
4085 wxPreviewFrame
* _arg0
;
4086 PyObject
* _argo0
= 0;
4089 if(!PyArg_ParseTuple(args
,"O:wxPreviewFrame_Initialize",&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 wxPreviewFrame_Initialize(_arg0
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 static PyMethodDef printfwcMethods
[] = {
4109 { "wxPreviewFrame_Initialize", _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
},
4110 { "new_wxPreviewFrame", _wrap_new_wxPreviewFrame
, METH_VARARGS
},
4111 { "wxPrintPreview_SetZoom", _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
},
4112 { "wxPrintPreview_SetPrintout", _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
},
4113 { "wxPrintPreview_SetFrame", _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
},
4114 { "wxPrintPreview_SetCurrentPage", _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
},
4115 { "wxPrintPreview_SetCanvas", _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
},
4116 { "wxPrintPreview_Print", _wrap_wxPrintPreview_Print
, METH_VARARGS
},
4117 { "wxPrintPreview_Ok", _wrap_wxPrintPreview_Ok
, METH_VARARGS
},
4118 { "wxPrintPreview_GetZoom", _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
},
4119 { "wxPrintPreview_GetPrintoutForPrinting", _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
},
4120 { "wxPrintPreview_GetPrintout", _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
},
4121 { "wxPrintPreview_GetPrintDialogData", _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
},
4122 { "wxPrintPreview_GetMinPage", _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
},
4123 { "wxPrintPreview_GetMaxPage", _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
},
4124 { "wxPrintPreview_GetFrame", _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
},
4125 { "wxPrintPreview_GetCurrentPage", _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
},
4126 { "wxPrintPreview_GetCanvas", _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
},
4127 { "new_wxPrintPreview", _wrap_new_wxPrintPreview
, METH_VARARGS
},
4128 { "wxPrinter_Setup", _wrap_wxPrinter_Setup
, METH_VARARGS
},
4129 { "wxPrinter_ReportError", _wrap_wxPrinter_ReportError
, METH_VARARGS
},
4130 { "wxPrinter_PrintDialog", _wrap_wxPrinter_PrintDialog
, METH_VARARGS
},
4131 { "wxPrinter_Print", _wrap_wxPrinter_Print
, METH_VARARGS
},
4132 { "wxPrinter_GetPrintDialogData", _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
},
4133 { "wxPrinter_CreateAbortWindow", _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
},
4134 { "delete_wxPrinter", _wrap_delete_wxPrinter
, METH_VARARGS
},
4135 { "new_wxPrinter", _wrap_new_wxPrinter
, METH_VARARGS
},
4136 { "wxPrintout_base_HasPage", _wrap_wxPrintout_base_HasPage
, METH_VARARGS
},
4137 { "wxPrintout_base_GetPageInfo", _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
},
4138 { "wxPrintout_base_OnPreparePrinting", _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
},
4139 { "wxPrintout_base_OnEndPrinting", _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
},
4140 { "wxPrintout_base_OnBeginPrinting", _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
},
4141 { "wxPrintout_base_OnEndDocument", _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
},
4142 { "wxPrintout_base_OnBeginDocument", _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
},
4143 { "wxPrintout_IsPreview", _wrap_wxPrintout_IsPreview
, METH_VARARGS
},
4144 { "wxPrintout_GetPPIScreen", _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
},
4145 { "wxPrintout_GetPPIPrinter", _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
},
4146 { "wxPrintout_GetPageSizePixels", _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
},
4147 { "wxPrintout_GetPageSizeMM", _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
},
4148 { "wxPrintout_GetDC", _wrap_wxPrintout_GetDC
, METH_VARARGS
},
4149 { "wxPrintout_Destroy", _wrap_wxPrintout_Destroy
, METH_VARARGS
},
4150 { "wxPrintout__setSelf", _wrap_wxPrintout__setSelf
, METH_VARARGS
},
4151 { "new_wxPrintout", _wrap_new_wxPrintout
, METH_VARARGS
},
4152 { "wxPrintDialog_ShowModal", _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
},
4153 { "wxPrintDialog_GetPrintDC", _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
},
4154 { "wxPrintDialog_GetPrintDialogData", _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
},
4155 { "new_wxPrintDialog", _wrap_new_wxPrintDialog
, METH_VARARGS
},
4156 { "wxPrintDialogData_SetToPage", _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
},
4157 { "wxPrintDialogData_SetSetupDialog", _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
},
4158 { "wxPrintDialogData_SetPrintToFile", _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
},
4159 { "wxPrintDialogData_SetPrintData", _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
},
4160 { "wxPrintDialogData_SetNoCopies", _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
},
4161 { "wxPrintDialogData_SetMinPage", _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
},
4162 { "wxPrintDialogData_SetMaxPage", _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
},
4163 { "wxPrintDialogData_SetFromPage", _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
},
4164 { "wxPrintDialogData_SetCollate", _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
},
4165 { "wxPrintDialogData_GetToPage", _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
},
4166 { "wxPrintDialogData_GetPrintToFile", _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
},
4167 { "wxPrintDialogData_GetPrintData", _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
},
4168 { "wxPrintDialogData_GetNoCopies", _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
},
4169 { "wxPrintDialogData_GetMinPage", _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
},
4170 { "wxPrintDialogData_GetMaxPage", _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
},
4171 { "wxPrintDialogData_GetFromPage", _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
},
4172 { "wxPrintDialogData_GetCollate", _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
},
4173 { "wxPrintDialogData_GetAllPages", _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
},
4174 { "wxPrintDialogData_EnableSelection", _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
},
4175 { "wxPrintDialogData_EnablePrintToFile", _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
},
4176 { "wxPrintDialogData_EnablePageNumbers", _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
},
4177 { "wxPrintDialogData_EnableHelp", _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
},
4178 { "delete_wxPrintDialogData", _wrap_delete_wxPrintDialogData
, METH_VARARGS
},
4179 { "new_wxPrintDialogData", _wrap_new_wxPrintDialogData
, METH_VARARGS
},
4180 { "wxPageSetupDialog_ShowModal", _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
},
4181 { "wxPageSetupDialog_GetPageSetupData", _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
},
4182 { "new_wxPageSetupDialog", _wrap_new_wxPageSetupDialog
, METH_VARARGS
},
4183 { "wxPageSetupDialogData_SetPrintData", _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
},
4184 { "wxPageSetupDialogData_SetPaperSize", _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
},
4185 { "wxPageSetupDialogData_SetPaperId", _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
},
4186 { "wxPageSetupDialogData_SetMinMarginBottomRight", _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
},
4187 { "wxPageSetupDialogData_SetMinMarginTopLeft", _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
},
4188 { "wxPageSetupDialogData_SetMarginBottomRight", _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
},
4189 { "wxPageSetupDialogData_SetMarginTopLeft", _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
},
4190 { "wxPageSetupDialogData_SetDefaultMinMargins", _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
},
4191 { "wxPageSetupDialogData_SetDefaultInfo", _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
},
4192 { "wxPageSetupDialogData_GetPrintData", _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
},
4193 { "wxPageSetupDialogData_GetPaperSize", _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
},
4194 { "wxPageSetupDialogData_GetPaperId", _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
},
4195 { "wxPageSetupDialogData_GetMinMarginBottomRight", _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
},
4196 { "wxPageSetupDialogData_GetMinMarginTopLeft", _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
},
4197 { "wxPageSetupDialogData_GetMarginBottomRight", _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
},
4198 { "wxPageSetupDialogData_GetMarginTopLeft", _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
},
4199 { "wxPageSetupDialogData_GetDefaultInfo", _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
},
4200 { "wxPageSetupDialogData_GetEnableHelp", _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
},
4201 { "wxPageSetupDialogData_GetEnablePrinter", _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
},
4202 { "wxPageSetupDialogData_GetEnablePaper", _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
},
4203 { "wxPageSetupDialogData_GetEnableOrientation", _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
},
4204 { "wxPageSetupDialogData_GetEnableMargins", _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
},
4205 { "wxPageSetupDialogData_GetDefaultMinMargins", _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
},
4206 { "wxPageSetupDialogData_EnablePrinter", _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
},
4207 { "wxPageSetupDialogData_EnablePaper", _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
},
4208 { "wxPageSetupDialogData_EnableOrientation", _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
},
4209 { "wxPageSetupDialogData_EnableMargins", _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
},
4210 { "wxPageSetupDialogData_EnableHelp", _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
},
4211 { "delete_wxPageSetupDialogData", _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
},
4212 { "new_wxPageSetupDialogData", _wrap_new_wxPageSetupDialogData
, METH_VARARGS
},
4213 { "wxPrintData_SetQuality", _wrap_wxPrintData_SetQuality
, METH_VARARGS
},
4214 { "wxPrintData_SetPaperSize", _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
},
4215 { "wxPrintData_SetPaperId", _wrap_wxPrintData_SetPaperId
, METH_VARARGS
},
4216 { "wxPrintData_SetDuplex", _wrap_wxPrintData_SetDuplex
, METH_VARARGS
},
4217 { "wxPrintData_SetColour", _wrap_wxPrintData_SetColour
, METH_VARARGS
},
4218 { "wxPrintData_SetPrinterName", _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
},
4219 { "wxPrintData_SetOrientation", _wrap_wxPrintData_SetOrientation
, METH_VARARGS
},
4220 { "wxPrintData_SetCollate", _wrap_wxPrintData_SetCollate
, METH_VARARGS
},
4221 { "wxPrintData_SetNoCopies", _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
},
4222 { "wxPrintData_GetQuality", _wrap_wxPrintData_GetQuality
, METH_VARARGS
},
4223 { "wxPrintData_GetPaperSize", _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
},
4224 { "wxPrintData_GetPaperId", _wrap_wxPrintData_GetPaperId
, METH_VARARGS
},
4225 { "wxPrintData_GetDuplex", _wrap_wxPrintData_GetDuplex
, METH_VARARGS
},
4226 { "wxPrintData_GetColour", _wrap_wxPrintData_GetColour
, METH_VARARGS
},
4227 { "wxPrintData_GetPrinterName", _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
},
4228 { "wxPrintData_GetOrientation", _wrap_wxPrintData_GetOrientation
, METH_VARARGS
},
4229 { "wxPrintData_GetCollate", _wrap_wxPrintData_GetCollate
, METH_VARARGS
},
4230 { "wxPrintData_GetNoCopies", _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
},
4231 { "delete_wxPrintData", _wrap_delete_wxPrintData
, METH_VARARGS
},
4232 { "new_wxPrintData", _wrap_new_wxPrintData
, METH_VARARGS
},
4239 * This table is used by the pointer type-checker
4241 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4242 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4243 { "_wxEvent","_class_wxEvent",0},
4244 { "_class_wxActivateEvent","_wxActivateEvent",0},
4245 { "_signed_long","_long",0},
4246 { "_wxMenuEvent","_class_wxMenuEvent",0},
4247 { "_wxPrintQuality","_int",0},
4248 { "_wxPrintQuality","_signed_int",0},
4249 { "_wxPrintQuality","_unsigned_int",0},
4250 { "_wxPrintQuality","_wxWindowID",0},
4251 { "_wxPrintQuality","_uint",0},
4252 { "_wxPrintQuality","_EBool",0},
4253 { "_wxPrintQuality","_size_t",0},
4254 { "_wxFontData","_class_wxFontData",0},
4255 { "_class_wxRegionIterator","_wxRegionIterator",0},
4256 { "_class_wxMenuBar","_wxMenuBar",0},
4257 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4258 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4259 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4260 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4261 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4262 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4263 { "_class_wxEvtHandler","_wxEvtHandler",0},
4264 { "_wxPaintEvent","_class_wxPaintEvent",0},
4265 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4266 { "_wxCursor","_class_wxCursor",0},
4267 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4268 { "_wxMask","_class_wxMask",0},
4269 { "_class_wxColourData","_wxColourData",0},
4270 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4271 { "_wxPrinter","_class_wxPrinter",0},
4272 { "_wxPen","_class_wxPen",0},
4273 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4274 { "_byte","_unsigned_char",0},
4275 { "_wxStaticBox","_class_wxStaticBox",0},
4276 { "_wxChoice","_class_wxChoice",0},
4277 { "_wxSlider","_class_wxSlider",0},
4278 { "_wxPyPrintout","_class_wxPyPrintout",0},
4279 { "_long","_wxDash",0},
4280 { "_long","_unsigned_long",0},
4281 { "_long","_signed_long",0},
4282 { "_wxImageList","_class_wxImageList",0},
4283 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4284 { "_wxBitmapButton","_class_wxBitmapButton",0},
4285 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4286 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4287 { "_class_wxGauge","_wxGauge",0},
4288 { "_wxDC","_class_wxDC",0},
4289 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4290 { "_wxProgressDialog","_class_wxProgressDialog",0},
4291 { "_wxPrintPreview","_class_wxPrintPreview",0},
4292 { "_wxSpinEvent","_class_wxSpinEvent",0},
4293 { "_size_t","_wxPrintQuality",0},
4294 { "_size_t","_unsigned_int",0},
4295 { "_size_t","_int",0},
4296 { "_size_t","_wxWindowID",0},
4297 { "_size_t","_uint",0},
4298 { "_class_wxRealPoint","_wxRealPoint",0},
4299 { "_wxPrinterDC","_class_wxPrinterDC",0},
4300 { "_class_wxMenuItem","_wxMenuItem",0},
4301 { "_class_wxPaintEvent","_wxPaintEvent",0},
4302 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4303 { "_class_wxStatusBar","_wxStatusBar",0},
4304 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4305 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4306 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4307 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4308 { "_wxPanel","_class_wxPanel",0},
4309 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4310 { "_wxCheckBox","_class_wxCheckBox",0},
4311 { "_wxPyEvent","_class_wxPyEvent",0},
4312 { "_wxTextCtrl","_class_wxTextCtrl",0},
4313 { "_class_wxMask","_wxMask",0},
4314 { "_class_wxKeyEvent","_wxKeyEvent",0},
4315 { "_wxColour","_class_wxColour",0},
4316 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4317 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4318 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4319 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4320 { "_class_wxDialog","_wxDialog",0},
4321 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4322 { "_class_wxPrinter","_wxPrinter",0},
4323 { "_wxIdleEvent","_class_wxIdleEvent",0},
4324 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4325 { "_wxToolBar","_class_wxToolBar",0},
4326 { "_wxStaticLine","_class_wxStaticLine",0},
4327 { "_wxBrush","_class_wxBrush",0},
4328 { "_wxMiniFrame","_class_wxMiniFrame",0},
4329 { "_class_wxPyPrintout","_wxPyPrintout",0},
4330 { "_wxShowEvent","_class_wxShowEvent",0},
4331 { "_uint","_wxPrintQuality",0},
4332 { "_uint","_size_t",0},
4333 { "_uint","_unsigned_int",0},
4334 { "_uint","_int",0},
4335 { "_uint","_wxWindowID",0},
4336 { "_class_wxEvent","_wxEvent",0},
4337 { "_wxCheckListBox","_class_wxCheckListBox",0},
4338 { "_wxRect","_class_wxRect",0},
4339 { "_wxCommandEvent","_class_wxCommandEvent",0},
4340 { "_wxSizeEvent","_class_wxSizeEvent",0},
4341 { "_wxPoint","_class_wxPoint",0},
4342 { "_class_wxButton","_wxButton",0},
4343 { "_wxRadioBox","_class_wxRadioBox",0},
4344 { "_class_wxFontData","_wxFontData",0},
4345 { "_wxBitmap","_class_wxBitmap",0},
4346 { "_wxPrintDialog","_class_wxPrintDialog",0},
4347 { "_wxPyTimer","_class_wxPyTimer",0},
4348 { "_wxWindowDC","_class_wxWindowDC",0},
4349 { "_wxScrollBar","_class_wxScrollBar",0},
4350 { "_wxSpinButton","_class_wxSpinButton",0},
4351 { "_wxToolBarTool","_class_wxToolBarTool",0},
4352 { "_wxColourDialog","_class_wxColourDialog",0},
4353 { "_wxPrintData","_class_wxPrintData",0},
4354 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4355 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4356 { "_wxMessageDialog","_class_wxMessageDialog",0},
4357 { "_class_wxPyEvent","_wxPyEvent",0},
4358 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4359 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4360 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4361 { "_class_wxToolBar","_wxToolBar",0},
4362 { "_class_wxStaticLine","_wxStaticLine",0},
4363 { "_wxScrollEvent","_class_wxScrollEvent",0},
4364 { "_EBool","_wxPrintQuality",0},
4365 { "_EBool","_signed_int",0},
4366 { "_EBool","_int",0},
4367 { "_EBool","_wxWindowID",0},
4368 { "_class_wxRegion","_wxRegion",0},
4369 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4370 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4371 { "_wxStaticText","_class_wxStaticText",0},
4372 { "_wxFont","_class_wxFont",0},
4373 { "_wxCloseEvent","_class_wxCloseEvent",0},
4374 { "_unsigned_long","_wxDash",0},
4375 { "_unsigned_long","_long",0},
4376 { "_class_wxRect","_wxRect",0},
4377 { "_class_wxDC","_wxDC",0},
4378 { "_class_wxProgressDialog","_wxProgressDialog",0},
4379 { "_class_wxDirDialog","_wxDirDialog",0},
4380 { "_class_wxPyTimer","_wxPyTimer",0},
4381 { "_wxFocusEvent","_class_wxFocusEvent",0},
4382 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4383 { "_class_wxSpinButton","_wxSpinButton",0},
4384 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4385 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4386 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4387 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4388 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4389 { "_class_wxPanel","_wxPanel",0},
4390 { "_class_wxCheckBox","_wxCheckBox",0},
4391 { "_wxComboBox","_class_wxComboBox",0},
4392 { "_wxRadioButton","_class_wxRadioButton",0},
4393 { "_class_wxMessageDialog","_wxMessageDialog",0},
4394 { "_signed_int","_wxPrintQuality",0},
4395 { "_signed_int","_EBool",0},
4396 { "_signed_int","_wxWindowID",0},
4397 { "_signed_int","_int",0},
4398 { "_class_wxTextCtrl","_wxTextCtrl",0},
4399 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4400 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
4401 { "_wxMenu","_class_wxMenu",0},
4402 { "_class_wxMoveEvent","_wxMoveEvent",0},
4403 { "_wxListBox","_class_wxListBox",0},
4404 { "_wxScreenDC","_class_wxScreenDC",0},
4405 { "_WXTYPE","_short",0},
4406 { "_WXTYPE","_signed_short",0},
4407 { "_WXTYPE","_unsigned_short",0},
4408 { "_wxFileDialog","_class_wxFileDialog",0},
4409 { "_class_wxBrush","_wxBrush",0},
4410 { "_unsigned_short","_WXTYPE",0},
4411 { "_unsigned_short","_short",0},
4412 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4413 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4414 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4415 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4416 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4417 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4418 { "_class_wxWindow","_wxWindow",0},
4419 { "_class_wxStaticText","_wxStaticText",0},
4420 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4421 { "_class_wxFont","_wxFont",0},
4422 { "_class_wxCloseEvent","_wxCloseEvent",0},
4423 { "_class_wxMenuEvent","_wxMenuEvent",0},
4424 { "_wxClientDC","_class_wxClientDC",0},
4425 { "_wxMouseEvent","_class_wxMouseEvent",0},
4426 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4427 { "_class_wxPoint","_wxPoint",0},
4428 { "_wxRealPoint","_class_wxRealPoint",0},
4429 { "_class_wxRadioBox","_wxRadioBox",0},
4430 { "_signed_short","_WXTYPE",0},
4431 { "_signed_short","_short",0},
4432 { "_wxMemoryDC","_class_wxMemoryDC",0},
4433 { "_class_wxPrintDialog","_wxPrintDialog",0},
4434 { "_wxPaintDC","_class_wxPaintDC",0},
4435 { "_class_wxWindowDC","_wxWindowDC",0},
4436 { "_class_wxFocusEvent","_wxFocusEvent",0},
4437 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4438 { "_wxStatusBar","_class_wxStatusBar",0},
4439 { "_class_wxToolBarTool","_wxToolBarTool",0},
4440 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4441 { "_class_wxCursor","_wxCursor",0},
4442 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4443 { "_unsigned_char","_byte",0},
4444 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
4445 { "_class_wxMenu","_wxMenu",0},
4446 { "_wxControl","_class_wxControl",0},
4447 { "_class_wxListBox","_wxListBox",0},
4448 { "_unsigned_int","_wxPrintQuality",0},
4449 { "_unsigned_int","_size_t",0},
4450 { "_unsigned_int","_uint",0},
4451 { "_unsigned_int","_wxWindowID",0},
4452 { "_unsigned_int","_int",0},
4453 { "_wxIcon","_class_wxIcon",0},
4454 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4455 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4456 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4457 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4458 { "_wxDialog","_class_wxDialog",0},
4459 { "_class_wxPen","_wxPen",0},
4460 { "_class_wxFileDialog","_wxFileDialog",0},
4461 { "_short","_WXTYPE",0},
4462 { "_short","_unsigned_short",0},
4463 { "_short","_signed_short",0},
4464 { "_class_wxStaticBox","_wxStaticBox",0},
4465 { "_class_wxScrollEvent","_wxScrollEvent",0},
4466 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4467 { "_class_wxChoice","_wxChoice",0},
4468 { "_class_wxSlider","_wxSlider",0},
4469 { "_class_wxImageList","_wxImageList",0},
4470 { "_class_wxBitmapButton","_wxBitmapButton",0},
4471 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4472 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4473 { "_wxFrame","_class_wxFrame",0},
4474 { "_wxWindowID","_wxPrintQuality",0},
4475 { "_wxWindowID","_size_t",0},
4476 { "_wxWindowID","_EBool",0},
4477 { "_wxWindowID","_uint",0},
4478 { "_wxWindowID","_int",0},
4479 { "_wxWindowID","_signed_int",0},
4480 { "_wxWindowID","_unsigned_int",0},
4481 { "_int","_wxPrintQuality",0},
4482 { "_int","_size_t",0},
4483 { "_int","_EBool",0},
4484 { "_int","_uint",0},
4485 { "_int","_wxWindowID",0},
4486 { "_int","_unsigned_int",0},
4487 { "_int","_signed_int",0},
4488 { "_class_wxMouseEvent","_wxMouseEvent",0},
4489 { "_class_wxPrintPreview","_wxPrintPreview",0},
4490 { "_class_wxSpinEvent","_wxSpinEvent",0},
4491 { "_wxButton","_class_wxButton",0},
4492 { "_wxSize","_class_wxSize",0},
4493 { "_wxRegionIterator","_class_wxRegionIterator",0},
4494 { "_class_wxPrinterDC","_wxPrinterDC",0},
4495 { "_class_wxPaintDC","_wxPaintDC",0},
4496 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4497 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4498 { "_class_wxComboBox","_wxComboBox",0},
4499 { "_class_wxRadioButton","_wxRadioButton",0},
4500 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4501 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4502 { "_class_wxControl","_wxControl",0},
4503 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4504 { "_class_wxIcon","_wxIcon",0},
4505 { "_class_wxColour","_wxColour",0},
4506 { "_class_wxScreenDC","_wxScreenDC",0},
4507 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4508 { "_wxPalette","_class_wxPalette",0},
4509 { "_class_wxIdleEvent","_wxIdleEvent",0},
4510 { "_wxEraseEvent","_class_wxEraseEvent",0},
4511 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4512 { "_class_wxMiniFrame","_wxMiniFrame",0},
4513 { "_wxFontDialog","_class_wxFontDialog",0},
4514 { "_wxRegion","_class_wxRegion",0},
4515 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4516 { "_class_wxShowEvent","_wxShowEvent",0},
4517 { "_wxActivateEvent","_class_wxActivateEvent",0},
4518 { "_wxGauge","_class_wxGauge",0},
4519 { "_class_wxCheckListBox","_wxCheckListBox",0},
4520 { "_class_wxCommandEvent","_wxCommandEvent",0},
4521 { "_class_wxClientDC","_wxClientDC",0},
4522 { "_class_wxSizeEvent","_wxSizeEvent",0},
4523 { "_class_wxSize","_wxSize",0},
4524 { "_class_wxBitmap","_wxBitmap",0},
4525 { "_class_wxMemoryDC","_wxMemoryDC",0},
4526 { "_wxMenuBar","_class_wxMenuBar",0},
4527 { "_wxDirDialog","_class_wxDirDialog",0},
4528 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4529 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4530 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4531 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4532 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4533 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4534 { "_wxEvtHandler","_class_wxEvtHandler",0},
4535 { "_wxMenuItem","_class_wxMenuItem",0},
4536 { "_class_wxScrollBar","_wxScrollBar",0},
4537 { "_class_wxColourDialog","_wxColourDialog",0},
4538 { "_class_wxPrintData","_wxPrintData",0},
4539 { "_wxDash","_unsigned_long",0},
4540 { "_wxDash","_long",0},
4541 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4542 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4543 { "_wxKeyEvent","_class_wxKeyEvent",0},
4544 { "_wxMoveEvent","_class_wxMoveEvent",0},
4545 { "_wxColourData","_class_wxColourData",0},
4546 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4547 { "_class_wxPalette","_wxPalette",0},
4548 { "_class_wxEraseEvent","_wxEraseEvent",0},
4549 { "_class_wxFontDialog","_wxFontDialog",0},
4550 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4551 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4552 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4553 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4554 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4555 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4556 { "_wxWindow","_class_wxWindow",0},
4557 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4558 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4559 { "_class_wxFrame","_wxFrame",0},
4562 static PyObject
*SWIG_globals
;
4566 SWIGEXPORT(void) initprintfwc() {
4568 SWIG_globals
= SWIG_newvarlink();
4569 m
= Py_InitModule("printfwc", printfwcMethods
);
4570 d
= PyModule_GetDict(m
);
4573 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4574 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);