2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
114 // Since this one would be tough and ugly to do with the Macros...
115 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
118 bool doSave
= wxPyRestoreThread();
119 if (m_myInst
.findCallback("GetPageInfo")) {
120 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
121 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
124 val
= PyTuple_GetItem(result
, 0);
125 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
128 val
= PyTuple_GetItem(result
, 1);
129 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 2);
133 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 3);
137 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
144 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
150 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
152 wxPySaveThread(doSave
);
155 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
156 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
160 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
163 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
164 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
165 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
166 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
172 #define new_wxPrintData() (new wxPrintData())
173 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxPrintData
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxPrintData
*)new_wxPrintData();
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
197 #define delete_wxPrintData(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
215 wxPy_BEGIN_ALLOW_THREADS
;
216 delete_wxPrintData(_arg0
);
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
225 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
252 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (bool )wxPrintData_GetCollate(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
279 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
297 wxPy_BEGIN_ALLOW_THREADS
;
298 _result
= (int )wxPrintData_GetOrientation(_arg0
);
300 wxPy_END_ALLOW_THREADS
;
301 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
306 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
326 _result
= (wxString
*) &_result_ref
;
328 wxPy_END_ALLOW_THREADS
;
330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 } _resultobj
= Py_BuildValue("i",_result
);
362 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
363 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxDuplexMode _result
;
367 PyObject
* _argo0
= 0;
368 char *_kwnames
[] = { "self", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
384 wxPy_END_ALLOW_THREADS
;
385 } _resultobj
= Py_BuildValue("i",_result
);
389 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
390 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
417 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_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
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxPrintQuality _result
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
473 wxPy_END_ALLOW_THREADS
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
479 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self","v", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxPrintData_SetNoCopies(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
507 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self","flag", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
525 _arg1
= (bool ) tempbool1
;
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxPrintData_SetCollate(_arg0
,_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
537 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","orient", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxPrintData_SetOrientation(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
565 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 PyObject
* _obj1
= 0;
571 char *_kwnames
[] = { "self","name", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
584 #if PYTHON_API_VERSION >= 1009
585 char* tmpPtr
; int tmpSize
;
586 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
587 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
590 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
592 _arg1
= new wxString(tmpPtr
, tmpSize
);
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
602 wxPy_BEGIN_ALLOW_THREADS
;
603 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
605 wxPy_END_ALLOW_THREADS
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
615 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
616 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","colour", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
634 _arg1
= (bool ) tempbool1
;
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxPrintData_SetColour(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
646 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","duplex", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxPrintData_SetDuplex(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
674 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","sizeId", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxPrintData_SetPaperId(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
702 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
708 PyObject
* _obj1
= 0;
709 char *_kwnames
[] = { "self","sz", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
723 if (! wxSize_helper(_obj1
, &_arg1
))
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
737 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxPrintQuality _arg1
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","quality", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxPrintData_SetQuality(_arg0
,_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
765 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
785 _result
= (wxString
*) &_result_ref
;
787 wxPy_END_ALLOW_THREADS
;
789 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
794 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
795 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
815 _result
= (wxString
*) &_result_ref
;
817 wxPy_END_ALLOW_THREADS
;
819 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
824 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
825 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
843 wxPy_BEGIN_ALLOW_THREADS
;
844 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
845 _result
= (wxString
*) &_result_ref
;
847 wxPy_END_ALLOW_THREADS
;
849 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
854 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
855 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
859 PyObject
* _argo0
= 0;
860 char *_kwnames
[] = { "self", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
873 wxPy_BEGIN_ALLOW_THREADS
;
874 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
875 _result
= (wxString
*) &_result_ref
;
877 wxPy_END_ALLOW_THREADS
;
879 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
884 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
885 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
889 PyObject
* _argo0
= 0;
890 char *_kwnames
[] = { "self", NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
903 wxPy_BEGIN_ALLOW_THREADS
;
904 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
905 _result
= (wxString
*) &_result_ref
;
907 wxPy_END_ALLOW_THREADS
;
909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
914 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
915 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
933 wxPy_BEGIN_ALLOW_THREADS
;
934 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
936 wxPy_END_ALLOW_THREADS
;
937 } _resultobj
= Py_BuildValue("d",_result
);
941 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
942 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
963 wxPy_END_ALLOW_THREADS
;
964 } _resultobj
= Py_BuildValue("d",_result
);
968 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
969 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
973 PyObject
* _argo0
= 0;
974 char *_kwnames
[] = { "self", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
991 } _resultobj
= Py_BuildValue("l",_result
);
995 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
996 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "self", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } _resultobj
= Py_BuildValue("l",_result
);
1022 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1023 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1025 wxPrintMode
* _result
;
1026 wxPrintData
* _arg0
;
1027 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1045 wxPy_END_ALLOW_THREADS
;
1046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1051 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1052 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1054 wxPrintData
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 PyObject
* _obj1
= 0;
1058 char *_kwnames
[] = { "self","command", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1071 #if PYTHON_API_VERSION >= 1009
1072 char* tmpPtr
; int tmpSize
;
1073 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1074 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1077 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1079 _arg1
= new wxString(tmpPtr
, tmpSize
);
1081 if (!PyString_Check(_obj1
)) {
1082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1085 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1102 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1103 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1105 wxPrintData
* _arg0
;
1107 PyObject
* _argo0
= 0;
1108 PyObject
* _obj1
= 0;
1109 char *_kwnames
[] = { "self","options", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1122 #if PYTHON_API_VERSION >= 1009
1123 char* tmpPtr
; int tmpSize
;
1124 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1125 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1128 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1130 _arg1
= new wxString(tmpPtr
, tmpSize
);
1132 if (!PyString_Check(_obj1
)) {
1133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1136 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1153 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1154 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxPrintData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _obj1
= 0;
1160 char *_kwnames
[] = { "self","command", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1173 #if PYTHON_API_VERSION >= 1009
1174 char* tmpPtr
; int tmpSize
;
1175 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1176 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1179 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1181 _arg1
= new wxString(tmpPtr
, tmpSize
);
1183 if (!PyString_Check(_obj1
)) {
1184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1187 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1204 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1205 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1207 wxPrintData
* _arg0
;
1209 PyObject
* _argo0
= 0;
1210 PyObject
* _obj1
= 0;
1211 char *_kwnames
[] = { "self","filename", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1224 #if PYTHON_API_VERSION >= 1009
1225 char* tmpPtr
; int tmpSize
;
1226 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1227 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1230 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1232 _arg1
= new wxString(tmpPtr
, tmpSize
);
1234 if (!PyString_Check(_obj1
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 wxPrintData_SetFilename(_arg0
,*_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1255 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1256 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1258 wxPrintData
* _arg0
;
1260 PyObject
* _argo0
= 0;
1261 PyObject
* _obj1
= 0;
1262 char *_kwnames
[] = { "self","path", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1275 #if PYTHON_API_VERSION >= 1009
1276 char* tmpPtr
; int tmpSize
;
1277 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1278 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1281 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1283 _arg1
= new wxString(tmpPtr
, tmpSize
);
1285 if (!PyString_Check(_obj1
)) {
1286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1289 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1296 wxPy_END_ALLOW_THREADS
;
1297 } Py_INCREF(Py_None
);
1298 _resultobj
= Py_None
;
1306 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1307 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxPrintData
* _arg0
;
1311 PyObject
* _argo0
= 0;
1312 char *_kwnames
[] = { "self","x", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1328 wxPy_END_ALLOW_THREADS
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1335 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxPrintData
* _arg0
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self","y", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1356 wxPy_END_ALLOW_THREADS
;
1357 } Py_INCREF(Py_None
);
1358 _resultobj
= Py_None
;
1362 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1363 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxPrintData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","x","y", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1391 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1392 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxPrintData
* _arg0
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","x", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1413 wxPy_END_ALLOW_THREADS
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1420 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxPrintData
* _arg0
;
1424 PyObject
* _argo0
= 0;
1425 char *_kwnames
[] = { "self","y", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } Py_INCREF(Py_None
);
1443 _resultobj
= Py_None
;
1447 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1448 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1450 wxPrintData
* _arg0
;
1453 PyObject
* _argo0
= 0;
1454 char *_kwnames
[] = { "self","x","y", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1470 wxPy_END_ALLOW_THREADS
;
1471 } Py_INCREF(Py_None
);
1472 _resultobj
= Py_None
;
1476 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1477 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1479 wxPrintData
* _arg0
;
1480 wxPrintMode
* _arg1
;
1481 PyObject
* _argo0
= 0;
1482 PyObject
* _argo1
= 0;
1483 char *_kwnames
[] = { "self","printMode", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } Py_INCREF(Py_None
);
1508 _resultobj
= Py_None
;
1512 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1515 src
= (wxPrinterDC
*) ptr
;
1516 dest
= (wxDC
*) src
;
1517 return (void *) dest
;
1520 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1521 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1523 wxPrinterDC
* _result
;
1524 wxPrintData
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "printData", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1540 wxPy_BEGIN_ALLOW_THREADS
;
1541 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1543 wxPy_END_ALLOW_THREADS
;
1545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1546 _resultobj
= Py_BuildValue("s",_ptemp
);
1549 _resultobj
= Py_None
;
1554 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1555 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1557 wxPrinterDC
* _result
;
1561 bool _arg3
= (bool ) TRUE
;
1562 int _arg4
= (int ) wxPORTRAIT
;
1563 PyObject
* _obj0
= 0;
1564 PyObject
* _obj1
= 0;
1565 PyObject
* _obj2
= 0;
1566 int tempbool3
= (int) TRUE
;
1567 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1574 #if PYTHON_API_VERSION >= 1009
1575 char* tmpPtr
; int tmpSize
;
1576 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1577 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1580 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1582 _arg0
= new wxString(tmpPtr
, tmpSize
);
1584 if (!PyString_Check(_obj0
)) {
1585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1588 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1592 #if PYTHON_API_VERSION >= 1009
1593 char* tmpPtr
; int tmpSize
;
1594 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1595 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1598 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1600 _arg1
= new wxString(tmpPtr
, tmpSize
);
1602 if (!PyString_Check(_obj1
)) {
1603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1606 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1610 #if PYTHON_API_VERSION >= 1009
1611 char* tmpPtr
; int tmpSize
;
1612 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1613 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1616 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1618 _arg2
= new wxString(tmpPtr
, tmpSize
);
1620 if (!PyString_Check(_obj2
)) {
1621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1624 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1627 _arg3
= (bool ) tempbool3
;
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1632 wxPy_END_ALLOW_THREADS
;
1634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1638 _resultobj
= Py_None
;
1655 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1656 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1658 wxPageSetupDialogData
* _result
;
1659 char *_kwnames
[] = { NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1666 wxPy_BEGIN_ALLOW_THREADS
;
1667 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1669 wxPy_END_ALLOW_THREADS
;
1671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1672 _resultobj
= Py_BuildValue("s",_ptemp
);
1675 _resultobj
= Py_None
;
1680 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1681 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxPageSetupDialogData
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 delete_wxPageSetupDialogData(_arg0
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1708 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxPageSetupDialogData
* _arg0
;
1712 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self","flag", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1726 _arg1
= (bool ) tempbool1
;
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1738 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxPageSetupDialogData
* _arg0
;
1742 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self","flag", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1756 _arg1
= (bool ) tempbool1
;
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1768 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxPageSetupDialogData
* _arg0
;
1772 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self","flag", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1786 _arg1
= (bool ) tempbool1
;
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1798 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxPageSetupDialogData
* _arg0
;
1802 PyObject
* _argo0
= 0;
1804 char *_kwnames
[] = { "self","flag", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1816 _arg1
= (bool ) tempbool1
;
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1821 wxPy_END_ALLOW_THREADS
;
1822 } Py_INCREF(Py_None
);
1823 _resultobj
= Py_None
;
1827 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1828 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxPageSetupDialogData
* _arg0
;
1832 PyObject
* _argo0
= 0;
1834 char *_kwnames
[] = { "self","flag", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1846 _arg1
= (bool ) tempbool1
;
1848 wxPy_BEGIN_ALLOW_THREADS
;
1849 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1851 wxPy_END_ALLOW_THREADS
;
1852 } Py_INCREF(Py_None
);
1853 _resultobj
= Py_None
;
1857 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1858 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1861 wxPageSetupDialogData
* _arg0
;
1862 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("i",_result
);
1884 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1885 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1888 wxPageSetupDialogData
* _arg0
;
1889 PyObject
* _argo0
= 0;
1890 char *_kwnames
[] = { "self", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1912 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1915 wxPageSetupDialogData
* _arg0
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1933 wxPy_END_ALLOW_THREADS
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1939 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 wxPageSetupDialogData
* _arg0
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } _resultobj
= Py_BuildValue("i",_result
);
1965 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1966 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1969 wxPageSetupDialogData
* _arg0
;
1970 PyObject
* _argo0
= 0;
1971 char *_kwnames
[] = { "self", NULL
};
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1984 wxPy_BEGIN_ALLOW_THREADS
;
1985 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1987 wxPy_END_ALLOW_THREADS
;
1988 } _resultobj
= Py_BuildValue("i",_result
);
1992 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1993 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1996 wxPageSetupDialogData
* _arg0
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2014 wxPy_END_ALLOW_THREADS
;
2015 } _resultobj
= Py_BuildValue("i",_result
);
2019 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2020 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2023 wxPageSetupDialogData
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2047 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 wxPageSetupDialogData
* _arg0
;
2051 PyObject
* _argo0
= 0;
2052 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2069 wxPy_END_ALLOW_THREADS
;
2070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2071 _resultobj
= Py_BuildValue("s",_ptemp
);
2075 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2076 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 wxPageSetupDialogData
* _arg0
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2098 wxPy_END_ALLOW_THREADS
;
2099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2100 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2105 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 wxPageSetupDialogData
* _arg0
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2124 wxPy_BEGIN_ALLOW_THREADS
;
2125 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2127 wxPy_END_ALLOW_THREADS
;
2128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2129 _resultobj
= Py_BuildValue("s",_ptemp
);
2133 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2134 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2137 wxPageSetupDialogData
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2156 wxPy_END_ALLOW_THREADS
;
2157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2158 _resultobj
= Py_BuildValue("s",_ptemp
);
2162 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2163 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2165 wxPaperSize _result
;
2166 wxPageSetupDialogData
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("i",_result
);
2189 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2190 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2193 wxPageSetupDialogData
* _arg0
;
2194 PyObject
* _argo0
= 0;
2195 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2212 wxPy_END_ALLOW_THREADS
;
2213 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2218 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2219 return new wxPrintData(self
->GetPrintData()); // force a copy
2221 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2223 wxPrintData
* _result
;
2224 wxPageSetupDialogData
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2243 wxPy_END_ALLOW_THREADS
;
2245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2246 _resultobj
= Py_BuildValue("s",_ptemp
);
2249 _resultobj
= Py_None
;
2254 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2255 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2257 wxPageSetupDialogData
* _arg0
;
2259 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self","flag", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2273 _arg1
= (bool ) tempbool1
;
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2285 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2287 wxPageSetupDialogData
* _arg0
;
2289 PyObject
* _argo0
= 0;
2291 char *_kwnames
[] = { "self","flag", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2303 _arg1
= (bool ) tempbool1
;
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2314 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2315 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2317 wxPageSetupDialogData
* _arg0
;
2319 PyObject
* _argo0
= 0;
2321 PyObject
* _obj1
= 0;
2322 char *_kwnames
[] = { "self","pt", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2336 if (! wxPoint_helper(_obj1
, &_arg1
))
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2349 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2350 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2352 wxPageSetupDialogData
* _arg0
;
2354 PyObject
* _argo0
= 0;
2356 PyObject
* _obj1
= 0;
2357 char *_kwnames
[] = { "self","pt", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2371 if (! wxPoint_helper(_obj1
, &_arg1
))
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2385 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxPageSetupDialogData
* _arg0
;
2389 PyObject
* _argo0
= 0;
2391 PyObject
* _obj1
= 0;
2392 char *_kwnames
[] = { "self","pt", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2406 if (! wxPoint_helper(_obj1
, &_arg1
))
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2420 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2422 wxPageSetupDialogData
* _arg0
;
2424 PyObject
* _argo0
= 0;
2426 PyObject
* _obj1
= 0;
2427 char *_kwnames
[] = { "self","pt", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2441 if (! wxPoint_helper(_obj1
, &_arg1
))
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2455 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2457 wxPageSetupDialogData
* _arg0
;
2459 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self","id", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2483 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxPageSetupDialogData
* _arg0
;
2487 PyObject
* _argo0
= 0;
2489 PyObject
* _obj1
= 0;
2490 char *_kwnames
[] = { "self","size", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2504 if (! wxSize_helper(_obj1
, &_arg1
))
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2511 wxPy_END_ALLOW_THREADS
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2518 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2520 wxPageSetupDialogData
* _arg0
;
2521 wxPrintData
* _arg1
;
2522 PyObject
* _argo0
= 0;
2523 PyObject
* _argo1
= 0;
2524 char *_kwnames
[] = { "self","printData", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2554 wxPageSetupDialog
*src
;
2556 src
= (wxPageSetupDialog
*) ptr
;
2557 dest
= (wxDialog
*) src
;
2558 return (void *) dest
;
2561 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2562 wxPageSetupDialog
*src
;
2564 src
= (wxPageSetupDialog
*) ptr
;
2565 dest
= (wxPanel
*) src
;
2566 return (void *) dest
;
2569 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2570 wxPageSetupDialog
*src
;
2572 src
= (wxPageSetupDialog
*) ptr
;
2573 dest
= (wxWindow
*) src
;
2574 return (void *) dest
;
2577 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2578 wxPageSetupDialog
*src
;
2580 src
= (wxPageSetupDialog
*) ptr
;
2581 dest
= (wxEvtHandler
*) src
;
2582 return (void *) dest
;
2585 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2586 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2588 wxPageSetupDialog
* _result
;
2590 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2591 PyObject
* _argo0
= 0;
2592 PyObject
* _argo1
= 0;
2593 char *_kwnames
[] = { "parent","data", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2617 wxPy_END_ALLOW_THREADS
;
2619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2620 _resultobj
= Py_BuildValue("s",_ptemp
);
2623 _resultobj
= Py_None
;
2628 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2629 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2631 wxPageSetupDialogData
* _result
;
2632 wxPageSetupDialog
* _arg0
;
2633 PyObject
* _argo0
= 0;
2634 char *_kwnames
[] = { "self", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2650 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2652 wxPy_END_ALLOW_THREADS
;
2654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2655 _resultobj
= Py_BuildValue("s",_ptemp
);
2658 _resultobj
= Py_None
;
2663 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2664 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2667 wxPageSetupDialog
* _arg0
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2685 wxPy_END_ALLOW_THREADS
;
2686 } _resultobj
= Py_BuildValue("i",_result
);
2690 #define new_wxPrintDialogData() (new wxPrintDialogData())
2691 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2693 wxPrintDialogData
* _result
;
2694 char *_kwnames
[] = { NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2704 wxPy_END_ALLOW_THREADS
;
2706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2710 _resultobj
= Py_None
;
2715 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2716 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2718 wxPrintDialogData
* _arg0
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 delete_wxPrintDialogData(_arg0
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } Py_INCREF(Py_None
);
2738 _resultobj
= Py_None
;
2742 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2743 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2745 wxPrintDialogData
* _arg0
;
2747 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self","flag", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2761 _arg1
= (bool ) tempbool1
;
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2766 wxPy_END_ALLOW_THREADS
;
2767 } Py_INCREF(Py_None
);
2768 _resultobj
= Py_None
;
2772 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2773 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxPrintDialogData
* _arg0
;
2777 PyObject
* _argo0
= 0;
2779 char *_kwnames
[] = { "self","flag", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2791 _arg1
= (bool ) tempbool1
;
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2796 wxPy_END_ALLOW_THREADS
;
2797 } Py_INCREF(Py_None
);
2798 _resultobj
= Py_None
;
2802 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2803 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxPrintDialogData
* _arg0
;
2807 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self","flag", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2821 _arg1
= (bool ) tempbool1
;
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } Py_INCREF(Py_None
);
2828 _resultobj
= Py_None
;
2832 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2833 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2835 wxPrintDialogData
* _arg0
;
2837 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self","flag", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2851 _arg1
= (bool ) tempbool1
;
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2856 wxPy_END_ALLOW_THREADS
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2863 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2866 wxPrintDialogData
* _arg0
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2881 wxPy_BEGIN_ALLOW_THREADS
;
2882 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2884 wxPy_END_ALLOW_THREADS
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2890 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2893 wxPrintDialogData
* _arg0
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2911 wxPy_END_ALLOW_THREADS
;
2912 } _resultobj
= Py_BuildValue("i",_result
);
2916 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2917 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 wxPrintDialogData
* _arg0
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2944 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxPrintDialogData
* _arg0
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2971 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2974 wxPrintDialogData
* _arg0
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
2997 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2998 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3001 wxPrintDialogData
* _arg0
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3019 wxPy_END_ALLOW_THREADS
;
3020 } _resultobj
= Py_BuildValue("i",_result
);
3024 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3025 return new wxPrintData(self
->GetPrintData()); // force a copy
3027 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxPrintData
* _result
;
3030 wxPrintDialogData
* _arg0
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3049 wxPy_END_ALLOW_THREADS
;
3051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3052 _resultobj
= Py_BuildValue("s",_ptemp
);
3055 _resultobj
= Py_None
;
3060 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3061 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3064 wxPrintDialogData
* _arg0
;
3065 PyObject
* _argo0
= 0;
3066 char *_kwnames
[] = { "self", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3088 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3091 wxPrintDialogData
* _arg0
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3109 wxPy_END_ALLOW_THREADS
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3115 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3117 wxPrintDialogData
* _arg0
;
3119 PyObject
* _argo0
= 0;
3121 char *_kwnames
[] = { "self","flag", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3133 _arg1
= (bool ) tempbool1
;
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3145 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxPrintDialogData
* _arg0
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self","page", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
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 wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3166 wxPy_END_ALLOW_THREADS
;
3167 } Py_INCREF(Py_None
);
3168 _resultobj
= Py_None
;
3172 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3173 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3175 wxPrintDialogData
* _arg0
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self","page", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } Py_INCREF(Py_None
);
3196 _resultobj
= Py_None
;
3200 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3201 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3203 wxPrintDialogData
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","page", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3222 wxPy_END_ALLOW_THREADS
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3229 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3231 wxPrintDialogData
* _arg0
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self","n", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3250 wxPy_END_ALLOW_THREADS
;
3251 } Py_INCREF(Py_None
);
3252 _resultobj
= Py_None
;
3256 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3257 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3259 wxPrintDialogData
* _arg0
;
3260 wxPrintData
* _arg1
;
3261 PyObject
* _argo0
= 0;
3262 PyObject
* _argo1
= 0;
3263 char *_kwnames
[] = { "self","printData", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3293 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3295 wxPrintDialogData
* _arg0
;
3297 PyObject
* _argo0
= 0;
3299 char *_kwnames
[] = { "self","flag", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3311 _arg1
= (bool ) tempbool1
;
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3316 wxPy_END_ALLOW_THREADS
;
3317 } Py_INCREF(Py_None
);
3318 _resultobj
= Py_None
;
3322 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3323 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3325 wxPrintDialogData
* _arg0
;
3327 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self","flag", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3341 _arg1
= (bool ) tempbool1
;
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3353 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxPrintDialogData
* _arg0
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self","page", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3383 src
= (wxPrintDialog
*) ptr
;
3384 dest
= (wxDialog
*) src
;
3385 return (void *) dest
;
3388 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3391 src
= (wxPrintDialog
*) ptr
;
3392 dest
= (wxPanel
*) src
;
3393 return (void *) dest
;
3396 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3399 src
= (wxPrintDialog
*) ptr
;
3400 dest
= (wxWindow
*) src
;
3401 return (void *) dest
;
3404 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3407 src
= (wxPrintDialog
*) ptr
;
3408 dest
= (wxEvtHandler
*) src
;
3409 return (void *) dest
;
3412 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3413 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3415 wxPrintDialog
* _result
;
3417 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3418 PyObject
* _argo0
= 0;
3419 PyObject
* _argo1
= 0;
3420 char *_kwnames
[] = { "parent","data", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3444 wxPy_END_ALLOW_THREADS
;
3446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3447 _resultobj
= Py_BuildValue("s",_ptemp
);
3450 _resultobj
= Py_None
;
3455 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3456 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxPrintDialogData
* _result
;
3459 wxPrintDialog
* _arg0
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3475 wxPy_BEGIN_ALLOW_THREADS
;
3476 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3477 _result
= (wxPrintDialogData
*) &_result_ref
;
3479 wxPy_END_ALLOW_THREADS
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3491 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3494 wxPrintDialog
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3513 wxPy_END_ALLOW_THREADS
;
3515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3516 _resultobj
= Py_BuildValue("s",_ptemp
);
3519 _resultobj
= Py_None
;
3524 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3525 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3528 wxPrintDialog
* _arg0
;
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3546 wxPy_END_ALLOW_THREADS
;
3547 } _resultobj
= Py_BuildValue("i",_result
);
3551 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3552 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3554 wxPyPrintout
* _result
;
3555 char * _arg0
= (char *) "Printout";
3556 char *_kwnames
[] = { "title", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3566 wxPy_END_ALLOW_THREADS
;
3568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3572 _resultobj
= Py_None
;
3577 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3578 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3580 wxPyPrintout
* _arg0
;
3583 PyObject
* _argo0
= 0;
3584 PyObject
* _obj1
= 0;
3585 PyObject
* _obj2
= 0;
3586 char *_kwnames
[] = { "self","self","_class", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3615 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxPyPrintout
* _arg0
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 wxPyPrintout_Destroy(_arg0
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3642 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3645 wxPyPrintout
* _arg0
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3661 wxPy_BEGIN_ALLOW_THREADS
;
3662 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3664 wxPy_END_ALLOW_THREADS
;
3666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3667 _resultobj
= Py_BuildValue("s",_ptemp
);
3670 _resultobj
= Py_None
;
3675 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3676 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3678 wxPyPrintout
* _arg0
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3706 wxPy_END_ALLOW_THREADS
;
3707 } Py_INCREF(Py_None
);
3708 _resultobj
= Py_None
;
3711 o
= PyInt_FromLong((long) (*_arg1
));
3712 _resultobj
= t_output_helper(_resultobj
, o
);
3716 o
= PyInt_FromLong((long) (*_arg2
));
3717 _resultobj
= t_output_helper(_resultobj
, o
);
3722 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3723 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3725 wxPyPrintout
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3758 o
= PyInt_FromLong((long) (*_arg1
));
3759 _resultobj
= t_output_helper(_resultobj
, o
);
3763 o
= PyInt_FromLong((long) (*_arg2
));
3764 _resultobj
= t_output_helper(_resultobj
, o
);
3769 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3770 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxPyPrintout
* _arg0
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3797 wxPy_BEGIN_ALLOW_THREADS
;
3798 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3800 wxPy_END_ALLOW_THREADS
;
3801 } Py_INCREF(Py_None
);
3802 _resultobj
= Py_None
;
3805 o
= PyInt_FromLong((long) (*_arg1
));
3806 _resultobj
= t_output_helper(_resultobj
, o
);
3810 o
= PyInt_FromLong((long) (*_arg2
));
3811 _resultobj
= t_output_helper(_resultobj
, o
);
3816 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3817 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3819 wxPyPrintout
* _arg0
;
3824 PyObject
* _argo0
= 0;
3825 char *_kwnames
[] = { "self", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3844 wxPy_BEGIN_ALLOW_THREADS
;
3845 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3847 wxPy_END_ALLOW_THREADS
;
3848 } Py_INCREF(Py_None
);
3849 _resultobj
= Py_None
;
3852 o
= PyInt_FromLong((long) (*_arg1
));
3853 _resultobj
= t_output_helper(_resultobj
, o
);
3857 o
= PyInt_FromLong((long) (*_arg2
));
3858 _resultobj
= t_output_helper(_resultobj
, o
);
3863 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3864 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxPyPrintout
* _arg0
;
3868 PyObject
* _argo0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3891 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxPyPrintout
* _arg0
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3914 wxPy_END_ALLOW_THREADS
;
3915 } _resultobj
= Py_BuildValue("i",_result
);
3919 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3920 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3922 wxPyPrintout
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3937 wxPy_BEGIN_ALLOW_THREADS
;
3938 wxPrintout_base_OnEndDocument(_arg0
);
3940 wxPy_END_ALLOW_THREADS
;
3941 } Py_INCREF(Py_None
);
3942 _resultobj
= Py_None
;
3946 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3947 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3949 wxPyPrintout
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3964 wxPy_BEGIN_ALLOW_THREADS
;
3965 wxPrintout_base_OnBeginPrinting(_arg0
);
3967 wxPy_END_ALLOW_THREADS
;
3968 } Py_INCREF(Py_None
);
3969 _resultobj
= Py_None
;
3973 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3974 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3976 wxPyPrintout
* _arg0
;
3977 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 wxPrintout_base_OnEndPrinting(_arg0
);
3994 wxPy_END_ALLOW_THREADS
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4001 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxPyPrintout
* _arg0
;
4004 PyObject
* _argo0
= 0;
4005 char *_kwnames
[] = { "self", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4018 wxPy_BEGIN_ALLOW_THREADS
;
4019 wxPrintout_base_OnPreparePrinting(_arg0
);
4021 wxPy_END_ALLOW_THREADS
;
4022 } Py_INCREF(Py_None
);
4023 _resultobj
= Py_None
;
4027 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4028 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4030 wxPyPrintout
* _arg0
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4068 wxPy_END_ALLOW_THREADS
;
4069 } Py_INCREF(Py_None
);
4070 _resultobj
= Py_None
;
4073 o
= PyInt_FromLong((long) (*_arg1
));
4074 _resultobj
= t_output_helper(_resultobj
, o
);
4078 o
= PyInt_FromLong((long) (*_arg2
));
4079 _resultobj
= t_output_helper(_resultobj
, o
);
4083 o
= PyInt_FromLong((long) (*_arg3
));
4084 _resultobj
= t_output_helper(_resultobj
, o
);
4088 o
= PyInt_FromLong((long) (*_arg4
));
4089 _resultobj
= t_output_helper(_resultobj
, o
);
4094 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4095 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4098 wxPyPrintout
* _arg0
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self","page", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4122 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4123 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4125 wxPrinter
* _result
;
4126 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "data", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4145 wxPy_END_ALLOW_THREADS
;
4147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4148 _resultobj
= Py_BuildValue("s",_ptemp
);
4151 _resultobj
= Py_None
;
4156 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4157 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4160 PyObject
* _argo0
= 0;
4161 char *_kwnames
[] = { "self", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 delete_wxPrinter(_arg0
);
4177 wxPy_END_ALLOW_THREADS
;
4178 } Py_INCREF(Py_None
);
4179 _resultobj
= Py_None
;
4183 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4184 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4188 wxPyPrintout
* _arg2
;
4189 PyObject
* _argo0
= 0;
4190 PyObject
* _argo1
= 0;
4191 PyObject
* _argo2
= 0;
4192 char *_kwnames
[] = { "self","parent","printout", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4212 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4229 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4231 wxPrintDialogData
* _result
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4248 wxPy_BEGIN_ALLOW_THREADS
;
4249 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4250 _result
= (wxPrintDialogData
*) &_result_ref
;
4252 wxPy_END_ALLOW_THREADS
;
4254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4255 _resultobj
= Py_BuildValue("s",_ptemp
);
4258 _resultobj
= Py_None
;
4263 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4264 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4269 wxPyPrintout
* _arg2
;
4270 int _arg3
= (int ) TRUE
;
4271 PyObject
* _argo0
= 0;
4272 PyObject
* _argo1
= 0;
4273 PyObject
* _argo2
= 0;
4274 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4287 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4294 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } _resultobj
= Py_BuildValue("i",_result
);
4309 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4310 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _argo1
= 0;
4317 char *_kwnames
[] = { "self","parent", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4341 wxPy_END_ALLOW_THREADS
;
4343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
4344 _resultobj
= Py_BuildValue("s",_ptemp
);
4347 _resultobj
= Py_None
;
4352 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4353 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4357 wxPyPrintout
* _arg2
;
4359 PyObject
* _argo0
= 0;
4360 PyObject
* _argo1
= 0;
4361 PyObject
* _argo2
= 0;
4362 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4382 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4392 wxPy_END_ALLOW_THREADS
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4399 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4404 PyObject
* _argo0
= 0;
4405 PyObject
* _argo1
= 0;
4406 char *_kwnames
[] = { "self","parent", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4426 wxPy_BEGIN_ALLOW_THREADS
;
4427 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4429 wxPy_END_ALLOW_THREADS
;
4430 } _resultobj
= Py_BuildValue("i",_result
);
4434 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4435 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4437 wxPrintPreview
* _result
;
4438 wxPyPrintout
* _arg0
;
4439 wxPyPrintout
* _arg1
;
4440 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _argo1
= 0;
4443 PyObject
* _argo2
= 0;
4444 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4465 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4472 wxPy_BEGIN_ALLOW_THREADS
;
4473 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4475 wxPy_END_ALLOW_THREADS
;
4477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4478 _resultobj
= Py_BuildValue("s",_ptemp
);
4481 _resultobj
= Py_None
;
4486 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4487 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxPrintPreview
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4509 wxPy_END_ALLOW_THREADS
;
4511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4512 _resultobj
= Py_BuildValue("s",_ptemp
);
4515 _resultobj
= Py_None
;
4520 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4521 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4524 wxPrintPreview
* _arg0
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4539 wxPy_BEGIN_ALLOW_THREADS
;
4540 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4542 wxPy_END_ALLOW_THREADS
;
4543 } _resultobj
= Py_BuildValue("i",_result
);
4547 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4548 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4551 wxPrintPreview
* _arg0
;
4552 PyObject
* _argo0
= 0;
4553 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4567 wxPy_BEGIN_ALLOW_THREADS
;
4568 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4570 wxPy_END_ALLOW_THREADS
;
4572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4573 _resultobj
= Py_BuildValue("s",_ptemp
);
4576 _resultobj
= Py_None
;
4581 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4582 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4585 wxPrintPreview
* _arg0
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4600 wxPy_BEGIN_ALLOW_THREADS
;
4601 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4603 wxPy_END_ALLOW_THREADS
;
4604 } _resultobj
= Py_BuildValue("i",_result
);
4608 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4609 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4612 wxPrintPreview
* _arg0
;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4627 wxPy_BEGIN_ALLOW_THREADS
;
4628 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4630 wxPy_END_ALLOW_THREADS
;
4631 } _resultobj
= Py_BuildValue("i",_result
);
4635 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4636 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4638 wxPrintDialogData
* _result
;
4639 wxPrintPreview
* _arg0
;
4640 PyObject
* _argo0
= 0;
4641 char *_kwnames
[] = { "self", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4655 wxPy_BEGIN_ALLOW_THREADS
;
4656 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4657 _result
= (wxPrintDialogData
*) &_result_ref
;
4659 wxPy_END_ALLOW_THREADS
;
4661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4662 _resultobj
= Py_BuildValue("s",_ptemp
);
4665 _resultobj
= Py_None
;
4670 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4671 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4673 wxPyPrintout
* _result
;
4674 wxPrintPreview
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4693 wxPy_END_ALLOW_THREADS
;
4695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4696 _resultobj
= Py_BuildValue("s",_ptemp
);
4699 _resultobj
= Py_None
;
4704 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4705 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4707 wxPyPrintout
* _result
;
4708 wxPrintPreview
* _arg0
;
4709 PyObject
* _argo0
= 0;
4710 char *_kwnames
[] = { "self", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4727 wxPy_END_ALLOW_THREADS
;
4729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4730 _resultobj
= Py_BuildValue("s",_ptemp
);
4733 _resultobj
= Py_None
;
4738 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4739 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 wxPrintPreview
* _arg0
;
4743 PyObject
* _argo0
= 0;
4744 char *_kwnames
[] = { "self", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4760 wxPy_END_ALLOW_THREADS
;
4761 } _resultobj
= Py_BuildValue("i",_result
);
4765 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4766 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4769 wxPrintPreview
* _arg0
;
4770 PyObject
* _argo0
= 0;
4771 char *_kwnames
[] = { "self", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4787 wxPy_END_ALLOW_THREADS
;
4788 } _resultobj
= Py_BuildValue("i",_result
);
4792 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4793 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 wxPrintPreview
* _arg0
;
4798 PyObject
* _argo0
= 0;
4800 char *_kwnames
[] = { "self","prompt", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4812 _arg1
= (bool ) tempbool1
;
4814 wxPy_BEGIN_ALLOW_THREADS
;
4815 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4817 wxPy_END_ALLOW_THREADS
;
4818 } _resultobj
= Py_BuildValue("i",_result
);
4822 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4823 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxPrintPreview
* _arg0
;
4827 PyObject
* _argo0
= 0;
4828 PyObject
* _argo1
= 0;
4829 char *_kwnames
[] = { "self","window", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4859 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4861 wxPrintPreview
* _arg0
;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self","pageNum", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4877 wxPy_BEGIN_ALLOW_THREADS
;
4878 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4880 wxPy_END_ALLOW_THREADS
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4886 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4887 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4889 wxPrintPreview
* _arg0
;
4891 PyObject
* _argo0
= 0;
4892 PyObject
* _argo1
= 0;
4893 char *_kwnames
[] = { "self","frame", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4913 wxPy_BEGIN_ALLOW_THREADS
;
4914 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4916 wxPy_END_ALLOW_THREADS
;
4917 } Py_INCREF(Py_None
);
4918 _resultobj
= Py_None
;
4922 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4923 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
* _resultobj
;
4925 wxPrintPreview
* _arg0
;
4926 wxPyPrintout
* _arg1
;
4927 PyObject
* _argo0
= 0;
4928 PyObject
* _argo1
= 0;
4929 char *_kwnames
[] = { "self","printout", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4949 wxPy_BEGIN_ALLOW_THREADS
;
4950 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4952 wxPy_END_ALLOW_THREADS
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4958 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4959 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4961 wxPrintPreview
* _arg0
;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self","percent", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4977 wxPy_BEGIN_ALLOW_THREADS
;
4978 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4980 wxPy_END_ALLOW_THREADS
;
4981 } Py_INCREF(Py_None
);
4982 _resultobj
= Py_None
;
4986 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4987 wxPreviewFrame
*src
;
4989 src
= (wxPreviewFrame
*) ptr
;
4990 dest
= (wxFrame
*) src
;
4991 return (void *) dest
;
4994 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4995 wxPreviewFrame
*src
;
4997 src
= (wxPreviewFrame
*) ptr
;
4998 dest
= (wxWindow
*) src
;
4999 return (void *) dest
;
5002 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5003 wxPreviewFrame
*src
;
5005 src
= (wxPreviewFrame
*) ptr
;
5006 dest
= (wxEvtHandler
*) src
;
5007 return (void *) dest
;
5010 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5011 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 wxPreviewFrame
* _result
;
5014 wxPrintPreview
* _arg0
;
5017 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5018 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5019 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5020 char * _arg6
= (char *) "frame";
5021 PyObject
* _argo0
= 0;
5022 PyObject
* _argo1
= 0;
5023 PyObject
* _obj2
= 0;
5025 PyObject
* _obj3
= 0;
5027 PyObject
* _obj4
= 0;
5028 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5049 #if PYTHON_API_VERSION >= 1009
5050 char* tmpPtr
; int tmpSize
;
5051 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5052 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5055 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5057 _arg2
= new wxString(tmpPtr
, tmpSize
);
5059 if (!PyString_Check(_obj2
)) {
5060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5063 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5069 if (! wxPoint_helper(_obj3
, &_arg3
))
5075 if (! wxSize_helper(_obj4
, &_arg4
))
5079 wxPy_BEGIN_ALLOW_THREADS
;
5080 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5082 wxPy_END_ALLOW_THREADS
;
5084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5085 _resultobj
= Py_BuildValue("s",_ptemp
);
5088 _resultobj
= Py_None
;
5097 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5098 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5100 wxPreviewFrame
* _arg0
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxPreviewFrame_Initialize(_arg0
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5124 static PyMethodDef printfwcMethods
[] = {
5125 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5151 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5152 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5153 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5154 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5155 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5156 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5157 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5158 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5159 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5160 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5161 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5162 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5163 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5164 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5165 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5166 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5167 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5168 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5169 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5170 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5171 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5172 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5173 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5174 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5175 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5176 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5177 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5178 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5179 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5180 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5181 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5182 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5183 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5184 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5185 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5186 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5187 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5188 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5279 * This table is used by the pointer type-checker
5281 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5282 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5283 { "_wxEvent","_class_wxEvent",0},
5284 { "_class_wxActivateEvent","_wxActivateEvent",0},
5285 { "_signed_long","_long",0},
5286 { "_wxMenuEvent","_class_wxMenuEvent",0},
5287 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5288 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5289 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5290 { "_wxPrintQuality","_wxCoord",0},
5291 { "_wxPrintQuality","_int",0},
5292 { "_wxPrintQuality","_signed_int",0},
5293 { "_wxPrintQuality","_unsigned_int",0},
5294 { "_wxPrintQuality","_wxWindowID",0},
5295 { "_wxPrintQuality","_uint",0},
5296 { "_wxPrintQuality","_EBool",0},
5297 { "_wxPrintQuality","_size_t",0},
5298 { "_wxPrintQuality","_time_t",0},
5299 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5300 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
5301 { "_wxFontData","_class_wxFontData",0},
5302 { "_class_wxRegionIterator","_wxRegionIterator",0},
5303 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5304 { "_class_wxMenuBar","_wxMenuBar",0},
5305 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5306 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5307 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5308 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5309 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5310 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5311 { "_class_wxEvtHandler","_wxEvtHandler",0},
5312 { "_wxPaintEvent","_class_wxPaintEvent",0},
5313 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5314 { "_wxCursor","_class_wxCursor",0},
5315 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5316 { "_class_wxToolBarBase","_wxToolBarBase",0},
5317 { "_wxMask","_class_wxMask",0},
5318 { "_class_wxColourData","_wxColourData",0},
5319 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
5320 { "_wxPrinter","_class_wxPrinter",0},
5321 { "_wxPen","_class_wxPen",0},
5322 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5323 { "_byte","_unsigned_char",0},
5324 { "_wxDataObject","_class_wxDataObject",0},
5325 { "_wxStaticBox","_class_wxStaticBox",0},
5326 { "_wxColourDatabase","_class_wxColourDatabase",0},
5327 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5328 { "_wxPyDropSource","_class_wxPyDropSource",0},
5329 { "_wxChoice","_class_wxChoice",0},
5330 { "_wxSlider","_class_wxSlider",0},
5331 { "_wxPyPrintout","_class_wxPyPrintout",0},
5332 { "_long","_unsigned_long",0},
5333 { "_long","_signed_long",0},
5334 { "_wxImageList","_class_wxImageList",0},
5335 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5336 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5337 { "_wxBitmapButton","_class_wxBitmapButton",0},
5338 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
5339 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5340 { "_class_wxClipboard","_wxClipboard",0},
5341 { "_class_wxGauge","_wxGauge",0},
5342 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5343 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5344 { "_wxDC","_class_wxDC",0},
5345 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5346 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
5347 { "_wxProgressDialog","_class_wxProgressDialog",0},
5348 { "_wxPrintPreview","_class_wxPrintPreview",0},
5349 { "_wxSpinEvent","_class_wxSpinEvent",0},
5350 { "_size_t","_wxCoord",0},
5351 { "_size_t","_wxPrintQuality",0},
5352 { "_size_t","_time_t",0},
5353 { "_size_t","_unsigned_int",0},
5354 { "_size_t","_int",0},
5355 { "_size_t","_wxWindowID",0},
5356 { "_size_t","_uint",0},
5357 { "_class_wxRealPoint","_wxRealPoint",0},
5358 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5359 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5360 { "_wxPrinterDC","_class_wxPrinterDC",0},
5361 { "_class_wxMenuItem","_wxMenuItem",0},
5362 { "_class_wxPaintEvent","_wxPaintEvent",0},
5363 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5364 { "_class_wxStatusBar","_wxStatusBar",0},
5365 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5366 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5367 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5368 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5369 { "_wxPanel","_class_wxPanel",0},
5370 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5371 { "_wxCheckBox","_class_wxCheckBox",0},
5372 { "_wxPyEvent","_class_wxPyEvent",0},
5373 { "_wxTextCtrl","_class_wxTextCtrl",0},
5374 { "_class_wxMask","_wxMask",0},
5375 { "_wxTextDataObject","_class_wxTextDataObject",0},
5376 { "_class_wxKeyEvent","_wxKeyEvent",0},
5377 { "_wxColour","_class_wxColour",0},
5378 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5379 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5380 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5381 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5382 { "_class_wxDialog","_wxDialog",0},
5383 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
5384 { "_class_wxPrinter","_wxPrinter",0},
5385 { "_class_wxFileDataObject","_wxFileDataObject",0},
5386 { "_wxIdleEvent","_class_wxIdleEvent",0},
5387 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5388 { "_wxToolBar","_class_wxToolBar",0},
5389 { "_class_wxDataObject","_wxDataObject",0},
5390 { "_wxStaticLine","_class_wxStaticLine",0},
5391 { "_wxBrush","_class_wxBrush",0},
5392 { "_wxMiniFrame","_class_wxMiniFrame",0},
5393 { "_class_wxPyPrintout","_wxPyPrintout",0},
5394 { "_wxDataFormat","_class_wxDataFormat",0},
5395 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5396 { "_wxShowEvent","_class_wxShowEvent",0},
5397 { "_uint","_wxCoord",0},
5398 { "_uint","_wxPrintQuality",0},
5399 { "_uint","_time_t",0},
5400 { "_uint","_size_t",0},
5401 { "_uint","_unsigned_int",0},
5402 { "_uint","_int",0},
5403 { "_uint","_wxWindowID",0},
5404 { "_wxChar","_char",0},
5405 { "_wxPyValidator","_class_wxPyValidator",0},
5406 { "_class_wxEvent","_wxEvent",0},
5407 { "_wxCheckListBox","_class_wxCheckListBox",0},
5408 { "_wxRect","_class_wxRect",0},
5409 { "_wxCommandEvent","_class_wxCommandEvent",0},
5410 { "_wxSizeEvent","_class_wxSizeEvent",0},
5411 { "_wxPoint","_class_wxPoint",0},
5412 { "_class_wxButton","_wxButton",0},
5413 { "_wxRadioBox","_class_wxRadioBox",0},
5414 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
5415 { "_class_wxFontData","_wxFontData",0},
5416 { "_char","_wxChar",0},
5417 { "_wxBitmap","_class_wxBitmap",0},
5418 { "_wxPenList","_class_wxPenList",0},
5419 { "_wxPrintDialog","_class_wxPrintDialog",0},
5420 { "_wxWindowDC","_class_wxWindowDC",0},
5421 { "_wxTimerEvent","_class_wxTimerEvent",0},
5422 { "_wxScrollBar","_class_wxScrollBar",0},
5423 { "_wxSpinButton","_class_wxSpinButton",0},
5424 { "_wxColourDialog","_class_wxColourDialog",0},
5425 { "_wxPrintData","_class_wxPrintData",0},
5426 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5427 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5428 { "_wxMessageDialog","_class_wxMessageDialog",0},
5429 { "_class_wxValidator","_wxValidator",0},
5430 { "_class_wxPyEvent","_wxPyEvent",0},
5431 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
5432 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5433 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5434 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
5435 { "_class_wxToolBar","_wxToolBar",0},
5436 { "_wxDropTarget","_class_wxDropTarget",0},
5437 { "_class_wxStaticLine","_wxStaticLine",0},
5438 { "_class_wxColourDatabase","_wxColourDatabase",0},
5439 { "_wxScrollEvent","_class_wxScrollEvent",0},
5440 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
5441 { "_EBool","_wxCoord",0},
5442 { "_EBool","_wxPrintQuality",0},
5443 { "_EBool","_signed_int",0},
5444 { "_EBool","_int",0},
5445 { "_EBool","_wxWindowID",0},
5446 { "_class_wxRegion","_wxRegion",0},
5447 { "_class_wxDataFormat","_wxDataFormat",0},
5448 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5449 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5450 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
5451 { "_wxStaticText","_class_wxStaticText",0},
5452 { "_wxFont","_class_wxFont",0},
5453 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5454 { "_wxCloseEvent","_class_wxCloseEvent",0},
5455 { "_unsigned_long","_long",0},
5456 { "_class_wxRect","_wxRect",0},
5457 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5458 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5459 { "_class_wxDC","_wxDC",0},
5460 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5461 { "_class_wxProgressDialog","_wxProgressDialog",0},
5462 { "_class_wxBrushList","_wxBrushList",0},
5463 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5464 { "_class_wxPenList","_wxPenList",0},
5465 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5466 { "_class_wxDirDialog","_wxDirDialog",0},
5467 { "_wxFocusEvent","_class_wxFocusEvent",0},
5468 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5469 { "_class_wxTimerEvent","_wxTimerEvent",0},
5470 { "_class_wxSpinButton","_wxSpinButton",0},
5471 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5472 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5473 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5474 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5475 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5476 { "_class_wxPanel","_wxPanel",0},
5477 { "_class_wxCheckBox","_wxCheckBox",0},
5478 { "_wxComboBox","_class_wxComboBox",0},
5479 { "_wxRadioButton","_class_wxRadioButton",0},
5480 { "_class_wxMessageDialog","_wxMessageDialog",0},
5481 { "_signed_int","_wxCoord",0},
5482 { "_signed_int","_wxPrintQuality",0},
5483 { "_signed_int","_EBool",0},
5484 { "_signed_int","_wxWindowID",0},
5485 { "_signed_int","_int",0},
5486 { "_class_wxTextCtrl","_wxTextCtrl",0},
5487 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5488 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5489 { "_class_wxTextDataObject","_wxTextDataObject",0},
5490 { "_wxMenu","_class_wxMenu",0},
5491 { "_class_wxMoveEvent","_wxMoveEvent",0},
5492 { "_wxListBox","_class_wxListBox",0},
5493 { "_wxScreenDC","_class_wxScreenDC",0},
5494 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
5495 { "_WXTYPE","_short",0},
5496 { "_WXTYPE","_signed_short",0},
5497 { "_WXTYPE","_unsigned_short",0},
5498 { "_wxFileDialog","_class_wxFileDialog",0},
5499 { "_class_wxDropTarget","_wxDropTarget",0},
5500 { "_class_wxBrush","_wxBrush",0},
5501 { "_unsigned_short","_WXTYPE",0},
5502 { "_unsigned_short","_short",0},
5503 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5504 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5505 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5506 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5507 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5508 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5509 { "_class_wxWindow","_wxWindow",0},
5510 { "_class_wxStaticText","_wxStaticText",0},
5511 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
5512 { "_class_wxFont","_wxFont",0},
5513 { "_wxClipboard","_class_wxClipboard",0},
5514 { "_class_wxPyValidator","_wxPyValidator",0},
5515 { "_class_wxCloseEvent","_wxCloseEvent",0},
5516 { "_wxBusyInfo","_class_wxBusyInfo",0},
5517 { "_wxFontList","_class_wxFontList",0},
5518 { "_class_wxMenuEvent","_wxMenuEvent",0},
5519 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5520 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5521 { "_wxClientDC","_class_wxClientDC",0},
5522 { "_wxMouseEvent","_class_wxMouseEvent",0},
5523 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
5524 { "_class_wxPoint","_wxPoint",0},
5525 { "_wxRealPoint","_class_wxRealPoint",0},
5526 { "_class_wxRadioBox","_wxRadioBox",0},
5527 { "_signed_short","_WXTYPE",0},
5528 { "_signed_short","_short",0},
5529 { "_wxMemoryDC","_class_wxMemoryDC",0},
5530 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5531 { "_class_wxPrintDialog","_wxPrintDialog",0},
5532 { "_wxPaintDC","_class_wxPaintDC",0},
5533 { "_class_wxWindowDC","_wxWindowDC",0},
5534 { "_class_wxFocusEvent","_wxFocusEvent",0},
5535 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5536 { "_wxStatusBar","_class_wxStatusBar",0},
5537 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5538 { "_class_wxCursor","_wxCursor",0},
5539 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5540 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5541 { "_unsigned_char","_byte",0},
5542 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5543 { "_class_wxMenu","_wxMenu",0},
5544 { "_wxControl","_class_wxControl",0},
5545 { "_class_wxListBox","_wxListBox",0},
5546 { "_unsigned_int","_wxCoord",0},
5547 { "_unsigned_int","_wxPrintQuality",0},
5548 { "_unsigned_int","_time_t",0},
5549 { "_unsigned_int","_size_t",0},
5550 { "_unsigned_int","_uint",0},
5551 { "_unsigned_int","_wxWindowID",0},
5552 { "_unsigned_int","_int",0},
5553 { "_wxIcon","_class_wxIcon",0},
5554 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5555 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5556 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5557 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5558 { "_wxDialog","_class_wxDialog",0},
5559 { "_class_wxPen","_wxPen",0},
5560 { "_class_wxFileDialog","_wxFileDialog",0},
5561 { "_short","_WXTYPE",0},
5562 { "_short","_unsigned_short",0},
5563 { "_short","_signed_short",0},
5564 { "_class_wxStaticBox","_wxStaticBox",0},
5565 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5566 { "_class_wxPyDropSource","_wxPyDropSource",0},
5567 { "_class_wxScrollEvent","_wxScrollEvent",0},
5568 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5569 { "_class_wxChoice","_wxChoice",0},
5570 { "_class_wxSlider","_wxSlider",0},
5571 { "_class_wxImageList","_wxImageList",0},
5572 { "_class_wxBitmapButton","_wxBitmapButton",0},
5573 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5574 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5575 { "_wxFrame","_class_wxFrame",0},
5576 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5577 { "_wxWindowID","_wxCoord",0},
5578 { "_wxWindowID","_wxPrintQuality",0},
5579 { "_wxWindowID","_time_t",0},
5580 { "_wxWindowID","_size_t",0},
5581 { "_wxWindowID","_EBool",0},
5582 { "_wxWindowID","_uint",0},
5583 { "_wxWindowID","_int",0},
5584 { "_wxWindowID","_signed_int",0},
5585 { "_wxWindowID","_unsigned_int",0},
5586 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5587 { "_int","_wxCoord",0},
5588 { "_int","_wxPrintQuality",0},
5589 { "_int","_time_t",0},
5590 { "_int","_size_t",0},
5591 { "_int","_EBool",0},
5592 { "_int","_uint",0},
5593 { "_int","_wxWindowID",0},
5594 { "_int","_unsigned_int",0},
5595 { "_int","_signed_int",0},
5596 { "_class_wxMouseEvent","_wxMouseEvent",0},
5597 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5598 { "_class_wxPrintPreview","_wxPrintPreview",0},
5599 { "_class_wxSpinEvent","_wxSpinEvent",0},
5600 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5601 { "_time_t","_wxCoord",0},
5602 { "_time_t","_wxPrintQuality",0},
5603 { "_time_t","_unsigned_int",0},
5604 { "_time_t","_int",0},
5605 { "_time_t","_wxWindowID",0},
5606 { "_time_t","_uint",0},
5607 { "_time_t","_size_t",0},
5608 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5609 { "_wxButton","_class_wxButton",0},
5610 { "_wxSize","_class_wxSize",0},
5611 { "_wxRegionIterator","_class_wxRegionIterator",0},
5612 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5613 { "_class_wxPrinterDC","_wxPrinterDC",0},
5614 { "_class_wxPaintDC","_wxPaintDC",0},
5615 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5616 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5617 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5618 { "_class_wxComboBox","_wxComboBox",0},
5619 { "_class_wxRadioButton","_wxRadioButton",0},
5620 { "_wxValidator","_class_wxValidator",0},
5621 { "_wxToolBarBase","_class_wxToolBarBase",0},
5622 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5623 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5624 { "_class_wxControl","_wxControl",0},
5625 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5626 { "_class_wxIcon","_wxIcon",0},
5627 { "_class_wxColour","_wxColour",0},
5628 { "_class_wxScreenDC","_wxScreenDC",0},
5629 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
5630 { "_wxPalette","_class_wxPalette",0},
5631 { "_class_wxIdleEvent","_wxIdleEvent",0},
5632 { "_wxCoord","_int",0},
5633 { "_wxCoord","_signed_int",0},
5634 { "_wxCoord","_unsigned_int",0},
5635 { "_wxCoord","_wxWindowID",0},
5636 { "_wxCoord","_uint",0},
5637 { "_wxCoord","_EBool",0},
5638 { "_wxCoord","_size_t",0},
5639 { "_wxCoord","_time_t",0},
5640 { "_wxCoord","_wxPrintQuality",0},
5641 { "_wxEraseEvent","_class_wxEraseEvent",0},
5642 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5643 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5644 { "_class_wxMiniFrame","_wxMiniFrame",0},
5645 { "_wxFontDialog","_class_wxFontDialog",0},
5646 { "_wxRegion","_class_wxRegion",0},
5647 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
5648 { "_class_wxShowEvent","_wxShowEvent",0},
5649 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5650 { "_wxActivateEvent","_class_wxActivateEvent",0},
5651 { "_wxGauge","_class_wxGauge",0},
5652 { "_class_wxCheckListBox","_wxCheckListBox",0},
5653 { "_class_wxBusyInfo","_wxBusyInfo",0},
5654 { "_class_wxFontList","_wxFontList",0},
5655 { "_class_wxCommandEvent","_wxCommandEvent",0},
5656 { "_class_wxClientDC","_wxClientDC",0},
5657 { "_class_wxSizeEvent","_wxSizeEvent",0},
5658 { "_wxBrushList","_class_wxBrushList",0},
5659 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5660 { "_class_wxSize","_wxSize",0},
5661 { "_class_wxBitmap","_wxBitmap",0},
5662 { "_class_wxMemoryDC","_wxMemoryDC",0},
5663 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5664 { "_wxMenuBar","_class_wxMenuBar",0},
5665 { "_wxDirDialog","_class_wxDirDialog",0},
5666 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5667 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5668 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5669 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5670 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5671 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5672 { "_wxEvtHandler","_class_wxEvtHandler",0},
5673 { "_wxMenuItem","_class_wxMenuItem",0},
5674 { "_class_wxScrollBar","_wxScrollBar",0},
5675 { "_class_wxColourDialog","_wxColourDialog",0},
5676 { "_class_wxPrintData","_wxPrintData",0},
5677 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5678 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
5679 { "_wxKeyEvent","_class_wxKeyEvent",0},
5680 { "_wxMoveEvent","_class_wxMoveEvent",0},
5681 { "_wxColourData","_class_wxColourData",0},
5682 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
5683 { "_class_wxPalette","_wxPalette",0},
5684 { "_wxFileDataObject","_class_wxFileDataObject",0},
5685 { "_class_wxEraseEvent","_wxEraseEvent",0},
5686 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5687 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
5688 { "_class_wxFontDialog","_wxFontDialog",0},
5689 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5690 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5691 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5692 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5693 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5694 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5695 { "_wxWindow","_class_wxWindow",0},
5696 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5697 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5698 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5699 { "_class_wxFrame","_wxFrame",0},
5702 static PyObject
*SWIG_globals
;
5706 SWIGEXPORT(void) initprintfwc() {
5708 SWIG_globals
= SWIG_newvarlink();
5709 m
= Py_InitModule("printfwc", printfwcMethods
);
5710 d
= PyModule_GetDict(m
);
5713 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5714 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);