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>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 #if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg
= "String or Unicode type required";
94 static char* wxStringErrorMsg
= "String type required";
99 // Since this one would be tough and ugly to do with the Macros...
100 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
104 wxPyTState
* state
= wxPyBeginBlockThreads();
105 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
106 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
107 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
110 val
= PyTuple_GetItem(result
, 0);
111 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
114 val
= PyTuple_GetItem(result
, 1);
115 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
118 val
= PyTuple_GetItem(result
, 2);
119 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
122 val
= PyTuple_GetItem(result
, 3);
123 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
130 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
135 wxPyEndBlockThreads(state
);
137 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
140 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
141 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
145 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
146 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
150 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
151 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
157 static void *SwigwxPrintDataTowxObject(void *ptr
) {
160 src
= (wxPrintData
*) ptr
;
161 dest
= (wxObject
*) src
;
162 return (void *) dest
;
165 #define new_wxPrintData() (new wxPrintData())
166 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
168 wxPrintData
* _result
;
169 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
176 wxPy_BEGIN_ALLOW_THREADS
;
177 _result
= (wxPrintData
*)new_wxPrintData();
179 wxPy_END_ALLOW_THREADS
;
180 if (PyErr_Occurred()) return NULL
;
182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
183 _resultobj
= Py_BuildValue("s",_ptemp
);
186 _resultobj
= Py_None
;
191 #define delete_wxPrintData(_swigobj) (delete _swigobj)
192 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
209 wxPy_BEGIN_ALLOW_THREADS
;
210 delete_wxPrintData(_arg0
);
212 wxPy_END_ALLOW_THREADS
;
213 if (PyErr_Occurred()) return NULL
;
214 } Py_INCREF(Py_None
);
215 _resultobj
= Py_None
;
219 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
220 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
221 PyObject
* _resultobj
;
224 PyObject
* _argo0
= 0;
225 char *_kwnames
[] = { "self", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
238 wxPy_BEGIN_ALLOW_THREADS
;
239 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
241 wxPy_END_ALLOW_THREADS
;
242 if (PyErr_Occurred()) return NULL
;
243 } _resultobj
= Py_BuildValue("i",_result
);
247 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
248 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
252 PyObject
* _argo0
= 0;
253 char *_kwnames
[] = { "self", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
266 wxPy_BEGIN_ALLOW_THREADS
;
267 _result
= (bool )wxPrintData_GetCollate(_arg0
);
269 wxPy_END_ALLOW_THREADS
;
270 if (PyErr_Occurred()) return NULL
;
271 } _resultobj
= Py_BuildValue("i",_result
);
275 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
276 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
280 PyObject
* _argo0
= 0;
281 char *_kwnames
[] = { "self", NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
294 wxPy_BEGIN_ALLOW_THREADS
;
295 _result
= (int )wxPrintData_GetOrientation(_arg0
);
297 wxPy_END_ALLOW_THREADS
;
298 if (PyErr_Occurred()) return NULL
;
299 } _resultobj
= Py_BuildValue("i",_result
);
303 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
304 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 PyObject
* _argo0
= 0;
309 char *_kwnames
[] = { "self", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
322 wxPy_BEGIN_ALLOW_THREADS
;
323 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
324 _result
= (wxString
*) &_result_ref
;
326 wxPy_END_ALLOW_THREADS
;
327 if (PyErr_Occurred()) return NULL
;
329 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
334 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
335 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
339 PyObject
* _argo0
= 0;
340 char *_kwnames
[] = { "self", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (bool )wxPrintData_GetColour(_arg0
);
356 wxPy_END_ALLOW_THREADS
;
357 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
386 } _resultobj
= Py_BuildValue("i",_result
);
390 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
391 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
412 wxPy_END_ALLOW_THREADS
;
413 if (PyErr_Occurred()) return NULL
;
414 } _resultobj
= Py_BuildValue("i",_result
);
418 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
419 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
423 PyObject
* _argo0
= 0;
424 char *_kwnames
[] = { "self", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
438 wxPy_BEGIN_ALLOW_THREADS
;
439 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
440 _result
= (wxSize
*) &_result_ref
;
442 wxPy_END_ALLOW_THREADS
;
443 if (PyErr_Occurred()) return NULL
;
445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
446 _resultobj
= Py_BuildValue("s",_ptemp
);
449 _resultobj
= Py_None
;
454 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
455 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
457 wxPrintQuality _result
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
473 wxPy_BEGIN_ALLOW_THREADS
;
474 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
476 wxPy_END_ALLOW_THREADS
;
477 if (PyErr_Occurred()) return NULL
;
478 } _resultobj
= Py_BuildValue("i",_result
);
482 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
483 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self","v", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxPrintData_SetNoCopies(_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
512 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
516 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self","flag", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
530 _arg1
= (bool ) tempbool1
;
532 wxPy_BEGIN_ALLOW_THREADS
;
533 wxPrintData_SetCollate(_arg0
,_arg1
);
535 wxPy_END_ALLOW_THREADS
;
536 if (PyErr_Occurred()) return NULL
;
537 } Py_INCREF(Py_None
);
538 _resultobj
= Py_None
;
542 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
543 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
547 PyObject
* _argo0
= 0;
548 char *_kwnames
[] = { "self","orient", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
561 wxPy_BEGIN_ALLOW_THREADS
;
562 wxPrintData_SetOrientation(_arg0
,_arg1
);
564 wxPy_END_ALLOW_THREADS
;
565 if (PyErr_Occurred()) return NULL
;
566 } Py_INCREF(Py_None
);
567 _resultobj
= Py_None
;
571 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
572 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
577 PyObject
* _obj1
= 0;
578 char *_kwnames
[] = { "self","name", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
591 #if PYTHON_API_VERSION >= 1009
592 char* tmpPtr
; int tmpSize
;
593 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
597 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
599 _arg1
= new wxString(tmpPtr
, tmpSize
);
601 if (!PyString_Check(_obj1
)) {
602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
605 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
609 wxPy_BEGIN_ALLOW_THREADS
;
610 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
612 wxPy_END_ALLOW_THREADS
;
613 if (PyErr_Occurred()) return NULL
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
623 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
624 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
628 PyObject
* _argo0
= 0;
630 char *_kwnames
[] = { "self","colour", NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
642 _arg1
= (bool ) tempbool1
;
644 wxPy_BEGIN_ALLOW_THREADS
;
645 wxPrintData_SetColour(_arg0
,_arg1
);
647 wxPy_END_ALLOW_THREADS
;
648 if (PyErr_Occurred()) return NULL
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
655 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self","duplex", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
673 wxPy_BEGIN_ALLOW_THREADS
;
674 wxPrintData_SetDuplex(_arg0
,_arg1
);
676 wxPy_END_ALLOW_THREADS
;
677 if (PyErr_Occurred()) return NULL
;
678 } Py_INCREF(Py_None
);
679 _resultobj
= Py_None
;
683 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
684 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self","sizeId", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPrintData_SetPaperId(_arg0
,_arg1
);
705 wxPy_END_ALLOW_THREADS
;
706 if (PyErr_Occurred()) return NULL
;
707 } Py_INCREF(Py_None
);
708 _resultobj
= Py_None
;
712 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
713 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
717 PyObject
* _argo0
= 0;
719 PyObject
* _obj1
= 0;
720 char *_kwnames
[] = { "self","sz", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
734 if (! wxSize_helper(_obj1
, &_arg1
))
738 wxPy_BEGIN_ALLOW_THREADS
;
739 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
741 wxPy_END_ALLOW_THREADS
;
742 if (PyErr_Occurred()) return NULL
;
743 } Py_INCREF(Py_None
);
744 _resultobj
= Py_None
;
748 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
749 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxPrintQuality _arg1
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self","quality", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxPrintData_SetQuality(_arg0
,_arg1
);
770 wxPy_END_ALLOW_THREADS
;
771 if (PyErr_Occurred()) return NULL
;
772 } Py_INCREF(Py_None
);
773 _resultobj
= Py_None
;
777 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
778 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
798 _result
= (wxString
*) &_result_ref
;
800 wxPy_END_ALLOW_THREADS
;
801 if (PyErr_Occurred()) return NULL
;
803 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
808 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
809 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
813 PyObject
* _argo0
= 0;
814 char *_kwnames
[] = { "self", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
827 wxPy_BEGIN_ALLOW_THREADS
;
828 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
829 _result
= (wxString
*) &_result_ref
;
831 wxPy_END_ALLOW_THREADS
;
832 if (PyErr_Occurred()) return NULL
;
834 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
839 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
840 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
860 _result
= (wxString
*) &_result_ref
;
862 wxPy_END_ALLOW_THREADS
;
863 if (PyErr_Occurred()) return NULL
;
865 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
870 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
871 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
891 _result
= (wxString
*) &_result_ref
;
893 wxPy_END_ALLOW_THREADS
;
894 if (PyErr_Occurred()) return NULL
;
896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
901 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
902 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
906 PyObject
* _argo0
= 0;
907 char *_kwnames
[] = { "self", NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
922 _result
= (wxString
*) &_result_ref
;
924 wxPy_END_ALLOW_THREADS
;
925 if (PyErr_Occurred()) return NULL
;
927 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
932 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
933 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
954 wxPy_END_ALLOW_THREADS
;
955 if (PyErr_Occurred()) return NULL
;
956 } _resultobj
= Py_BuildValue("d",_result
);
960 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
961 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
982 wxPy_END_ALLOW_THREADS
;
983 if (PyErr_Occurred()) return NULL
;
984 } _resultobj
= Py_BuildValue("d",_result
);
988 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
989 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
993 PyObject
* _argo0
= 0;
994 char *_kwnames
[] = { "self", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1007 wxPy_BEGIN_ALLOW_THREADS
;
1008 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1010 wxPy_END_ALLOW_THREADS
;
1011 if (PyErr_Occurred()) return NULL
;
1012 } _resultobj
= Py_BuildValue("l",_result
);
1016 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1017 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1020 wxPrintData
* _arg0
;
1021 PyObject
* _argo0
= 0;
1022 char *_kwnames
[] = { "self", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1035 wxPy_BEGIN_ALLOW_THREADS
;
1036 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1038 wxPy_END_ALLOW_THREADS
;
1039 if (PyErr_Occurred()) return NULL
;
1040 } _resultobj
= Py_BuildValue("l",_result
);
1044 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1045 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxPrintMode
* _result
;
1048 wxPrintData
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1067 wxPy_END_ALLOW_THREADS
;
1068 if (PyErr_Occurred()) return NULL
;
1069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1075 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1077 wxPrintData
* _arg0
;
1079 PyObject
* _argo0
= 0;
1080 PyObject
* _obj1
= 0;
1081 char *_kwnames
[] = { "self","command", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1094 #if PYTHON_API_VERSION >= 1009
1095 char* tmpPtr
; int tmpSize
;
1096 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1100 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1102 _arg1
= new wxString(tmpPtr
, tmpSize
);
1104 if (!PyString_Check(_obj1
)) {
1105 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1108 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1115 wxPy_END_ALLOW_THREADS
;
1116 if (PyErr_Occurred()) return NULL
;
1117 } Py_INCREF(Py_None
);
1118 _resultobj
= Py_None
;
1126 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1127 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1129 wxPrintData
* _arg0
;
1131 PyObject
* _argo0
= 0;
1132 PyObject
* _obj1
= 0;
1133 char *_kwnames
[] = { "self","options", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1146 #if PYTHON_API_VERSION >= 1009
1147 char* tmpPtr
; int tmpSize
;
1148 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1152 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1154 _arg1
= new wxString(tmpPtr
, tmpSize
);
1156 if (!PyString_Check(_obj1
)) {
1157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1160 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1167 wxPy_END_ALLOW_THREADS
;
1168 if (PyErr_Occurred()) return NULL
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1178 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1179 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1181 wxPrintData
* _arg0
;
1183 PyObject
* _argo0
= 0;
1184 PyObject
* _obj1
= 0;
1185 char *_kwnames
[] = { "self","command", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1198 #if PYTHON_API_VERSION >= 1009
1199 char* tmpPtr
; int tmpSize
;
1200 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1204 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1206 _arg1
= new wxString(tmpPtr
, tmpSize
);
1208 if (!PyString_Check(_obj1
)) {
1209 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1212 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1219 wxPy_END_ALLOW_THREADS
;
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1230 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1231 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1233 wxPrintData
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1237 char *_kwnames
[] = { "self","filename", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1250 #if PYTHON_API_VERSION >= 1009
1251 char* tmpPtr
; int tmpSize
;
1252 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1256 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1258 _arg1
= new wxString(tmpPtr
, tmpSize
);
1260 if (!PyString_Check(_obj1
)) {
1261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1264 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 wxPrintData_SetFilename(_arg0
,*_arg1
);
1271 wxPy_END_ALLOW_THREADS
;
1272 if (PyErr_Occurred()) return NULL
;
1273 } Py_INCREF(Py_None
);
1274 _resultobj
= Py_None
;
1282 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1283 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1285 wxPrintData
* _arg0
;
1287 PyObject
* _argo0
= 0;
1288 PyObject
* _obj1
= 0;
1289 char *_kwnames
[] = { "self","path", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1302 #if PYTHON_API_VERSION >= 1009
1303 char* tmpPtr
; int tmpSize
;
1304 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1308 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1310 _arg1
= new wxString(tmpPtr
, tmpSize
);
1312 if (!PyString_Check(_obj1
)) {
1313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1316 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1323 wxPy_END_ALLOW_THREADS
;
1324 if (PyErr_Occurred()) return NULL
;
1325 } Py_INCREF(Py_None
);
1326 _resultobj
= Py_None
;
1334 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1335 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxPrintData
* _arg0
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self","x", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_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_SetPrinterScaleX. Expected _wxPrintData_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1356 wxPy_END_ALLOW_THREADS
;
1357 if (PyErr_Occurred()) return NULL
;
1358 } Py_INCREF(Py_None
);
1359 _resultobj
= Py_None
;
1363 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1364 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPrintData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","y", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
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_SetPrinterScaleY. Expected _wxPrintData_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1385 wxPy_END_ALLOW_THREADS
;
1386 if (PyErr_Occurred()) return NULL
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1392 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1393 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxPrintData
* _arg0
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self","x","y", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1415 wxPy_END_ALLOW_THREADS
;
1416 if (PyErr_Occurred()) return NULL
;
1417 } Py_INCREF(Py_None
);
1418 _resultobj
= Py_None
;
1422 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1423 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1425 wxPrintData
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self","x", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1444 wxPy_END_ALLOW_THREADS
;
1445 if (PyErr_Occurred()) return NULL
;
1446 } Py_INCREF(Py_None
);
1447 _resultobj
= Py_None
;
1451 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1452 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxPrintData
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self","y", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1473 wxPy_END_ALLOW_THREADS
;
1474 if (PyErr_Occurred()) return NULL
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1481 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxPrintData
* _arg0
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self","x","y", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1503 wxPy_END_ALLOW_THREADS
;
1504 if (PyErr_Occurred()) return NULL
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1511 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1513 wxPrintData
* _arg0
;
1514 wxPrintMode
* _arg1
;
1515 PyObject
* _argo0
= 0;
1516 PyObject
* _argo1
= 0;
1517 char *_kwnames
[] = { "self","printMode", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 if (PyErr_Occurred()) return NULL
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1550 src
= (wxPrinterDC
*) ptr
;
1551 dest
= (wxDC
*) src
;
1552 return (void *) dest
;
1555 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1558 src
= (wxPrinterDC
*) ptr
;
1559 dest
= (wxObject
*) src
;
1560 return (void *) dest
;
1563 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1564 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxPrinterDC
* _result
;
1567 wxPrintData
* _arg0
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "printData", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1587 if (PyErr_Occurred()) return NULL
;
1589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1590 _resultobj
= Py_BuildValue("s",_ptemp
);
1593 _resultobj
= Py_None
;
1598 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1599 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxPrinterDC
* _result
;
1605 bool _arg3
= (bool ) TRUE
;
1606 int _arg4
= (int ) wxPORTRAIT
;
1607 PyObject
* _obj0
= 0;
1608 PyObject
* _obj1
= 0;
1609 PyObject
* _obj2
= 0;
1610 int tempbool3
= (int) TRUE
;
1611 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1618 #if PYTHON_API_VERSION >= 1009
1619 char* tmpPtr
; int tmpSize
;
1620 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1624 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1626 _arg0
= new wxString(tmpPtr
, tmpSize
);
1628 if (!PyString_Check(_obj0
)) {
1629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1632 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1636 #if PYTHON_API_VERSION >= 1009
1637 char* tmpPtr
; int tmpSize
;
1638 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1642 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1644 _arg1
= new wxString(tmpPtr
, tmpSize
);
1646 if (!PyString_Check(_obj1
)) {
1647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1650 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1654 #if PYTHON_API_VERSION >= 1009
1655 char* tmpPtr
; int tmpSize
;
1656 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1660 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1662 _arg2
= new wxString(tmpPtr
, tmpSize
);
1664 if (!PyString_Check(_obj2
)) {
1665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1668 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1671 _arg3
= (bool ) tempbool3
;
1673 wxPy_BEGIN_ALLOW_THREADS
;
1674 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1676 wxPy_END_ALLOW_THREADS
;
1677 if (PyErr_Occurred()) return NULL
;
1679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1680 _resultobj
= Py_BuildValue("s",_ptemp
);
1683 _resultobj
= Py_None
;
1700 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1701 wxPageSetupDialogData
*src
;
1703 src
= (wxPageSetupDialogData
*) ptr
;
1704 dest
= (wxObject
*) src
;
1705 return (void *) dest
;
1708 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1709 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxPageSetupDialogData
* _result
;
1712 char *_kwnames
[] = { NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1722 wxPy_END_ALLOW_THREADS
;
1723 if (PyErr_Occurred()) return NULL
;
1725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1726 _resultobj
= Py_BuildValue("s",_ptemp
);
1729 _resultobj
= Py_None
;
1734 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1735 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxPageSetupDialogData
* _arg0
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 delete_wxPageSetupDialogData(_arg0
);
1755 wxPy_END_ALLOW_THREADS
;
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1763 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 wxPageSetupDialogData
* _arg0
;
1767 PyObject
* _argo0
= 0;
1769 char *_kwnames
[] = { "self","flag", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1781 _arg1
= (bool ) tempbool1
;
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1786 wxPy_END_ALLOW_THREADS
;
1787 if (PyErr_Occurred()) return NULL
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1794 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1796 wxPageSetupDialogData
* _arg0
;
1798 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self","flag", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1812 _arg1
= (bool ) tempbool1
;
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1817 wxPy_END_ALLOW_THREADS
;
1818 if (PyErr_Occurred()) return NULL
;
1819 } Py_INCREF(Py_None
);
1820 _resultobj
= Py_None
;
1824 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1825 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 wxPageSetupDialogData
* _arg0
;
1829 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","flag", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1843 _arg1
= (bool ) tempbool1
;
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1848 wxPy_END_ALLOW_THREADS
;
1849 if (PyErr_Occurred()) return NULL
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1856 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1858 wxPageSetupDialogData
* _arg0
;
1860 PyObject
* _argo0
= 0;
1862 char *_kwnames
[] = { "self","flag", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1874 _arg1
= (bool ) tempbool1
;
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1879 wxPy_END_ALLOW_THREADS
;
1880 if (PyErr_Occurred()) return NULL
;
1881 } Py_INCREF(Py_None
);
1882 _resultobj
= Py_None
;
1886 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1887 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1889 wxPageSetupDialogData
* _arg0
;
1891 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self","flag", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1905 _arg1
= (bool ) tempbool1
;
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1910 wxPy_END_ALLOW_THREADS
;
1911 if (PyErr_Occurred()) return NULL
;
1912 } Py_INCREF(Py_None
);
1913 _resultobj
= Py_None
;
1917 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1918 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1921 wxPageSetupDialogData
* _arg0
;
1922 PyObject
* _argo0
= 0;
1923 char *_kwnames
[] = { "self", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1939 wxPy_END_ALLOW_THREADS
;
1940 if (PyErr_Occurred()) return NULL
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1946 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 wxPageSetupDialogData
* _arg0
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 if (PyErr_Occurred()) return NULL
;
1969 } _resultobj
= Py_BuildValue("i",_result
);
1973 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1974 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1977 wxPageSetupDialogData
* _arg0
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 if (PyErr_Occurred()) return NULL
;
1997 } _resultobj
= Py_BuildValue("i",_result
);
2001 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2002 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 wxPageSetupDialogData
* _arg0
;
2006 PyObject
* _argo0
= 0;
2007 char *_kwnames
[] = { "self", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2023 wxPy_END_ALLOW_THREADS
;
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2030 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 wxPageSetupDialogData
* _arg0
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2051 wxPy_END_ALLOW_THREADS
;
2052 if (PyErr_Occurred()) return NULL
;
2053 } _resultobj
= Py_BuildValue("i",_result
);
2057 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2058 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 wxPageSetupDialogData
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2079 wxPy_END_ALLOW_THREADS
;
2080 if (PyErr_Occurred()) return NULL
;
2081 } _resultobj
= Py_BuildValue("i",_result
);
2085 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2086 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 wxPageSetupDialogData
* _arg0
;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2107 wxPy_END_ALLOW_THREADS
;
2108 if (PyErr_Occurred()) return NULL
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2114 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2117 wxPageSetupDialogData
* _arg0
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2136 wxPy_END_ALLOW_THREADS
;
2137 if (PyErr_Occurred()) return NULL
;
2138 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2139 _resultobj
= Py_BuildValue("s",_ptemp
);
2143 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2144 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2147 wxPageSetupDialogData
* _arg0
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "self", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2166 wxPy_END_ALLOW_THREADS
;
2167 if (PyErr_Occurred()) return NULL
;
2168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2169 _resultobj
= Py_BuildValue("s",_ptemp
);
2173 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2174 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2177 wxPageSetupDialogData
* _arg0
;
2178 PyObject
* _argo0
= 0;
2179 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2196 wxPy_END_ALLOW_THREADS
;
2197 if (PyErr_Occurred()) return NULL
;
2198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2199 _resultobj
= Py_BuildValue("s",_ptemp
);
2203 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2204 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2207 wxPageSetupDialogData
* _arg0
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2226 wxPy_END_ALLOW_THREADS
;
2227 if (PyErr_Occurred()) return NULL
;
2228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2234 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2236 wxPaperSize _result
;
2237 wxPageSetupDialogData
* _arg0
;
2238 PyObject
* _argo0
= 0;
2239 char *_kwnames
[] = { "self", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2255 wxPy_END_ALLOW_THREADS
;
2256 if (PyErr_Occurred()) return NULL
;
2257 } _resultobj
= Py_BuildValue("i",_result
);
2261 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2262 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2265 wxPageSetupDialogData
* _arg0
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2284 wxPy_END_ALLOW_THREADS
;
2285 if (PyErr_Occurred()) return NULL
;
2286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2287 _resultobj
= Py_BuildValue("s",_ptemp
);
2291 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2292 return new wxPrintData(self
->GetPrintData()); // force a copy
2294 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2296 wxPrintData
* _result
;
2297 wxPageSetupDialogData
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 if (PyErr_Occurred()) return NULL
;
2319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2320 _resultobj
= Py_BuildValue("s",_ptemp
);
2323 _resultobj
= Py_None
;
2328 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2329 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2331 wxPageSetupDialogData
* _arg0
;
2333 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self","flag", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2347 _arg1
= (bool ) tempbool1
;
2349 wxPy_BEGIN_ALLOW_THREADS
;
2350 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2352 wxPy_END_ALLOW_THREADS
;
2353 if (PyErr_Occurred()) return NULL
;
2354 } Py_INCREF(Py_None
);
2355 _resultobj
= Py_None
;
2359 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2360 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2362 wxPageSetupDialogData
* _arg0
;
2364 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","flag", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2378 _arg1
= (bool ) tempbool1
;
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 if (PyErr_Occurred()) return NULL
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2391 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxPageSetupDialogData
* _arg0
;
2395 PyObject
* _argo0
= 0;
2397 PyObject
* _obj1
= 0;
2398 char *_kwnames
[] = { "self","pt", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2412 if (! wxPoint_helper(_obj1
, &_arg1
))
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2419 wxPy_END_ALLOW_THREADS
;
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2426 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2427 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2429 wxPageSetupDialogData
* _arg0
;
2431 PyObject
* _argo0
= 0;
2433 PyObject
* _obj1
= 0;
2434 char *_kwnames
[] = { "self","pt", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2448 if (! wxPoint_helper(_obj1
, &_arg1
))
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2455 wxPy_END_ALLOW_THREADS
;
2456 if (PyErr_Occurred()) return NULL
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2463 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2465 wxPageSetupDialogData
* _arg0
;
2467 PyObject
* _argo0
= 0;
2469 PyObject
* _obj1
= 0;
2470 char *_kwnames
[] = { "self","pt", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2484 if (! wxPoint_helper(_obj1
, &_arg1
))
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2491 wxPy_END_ALLOW_THREADS
;
2492 if (PyErr_Occurred()) return NULL
;
2493 } Py_INCREF(Py_None
);
2494 _resultobj
= Py_None
;
2498 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2499 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2501 wxPageSetupDialogData
* _arg0
;
2503 PyObject
* _argo0
= 0;
2505 PyObject
* _obj1
= 0;
2506 char *_kwnames
[] = { "self","pt", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2520 if (! wxPoint_helper(_obj1
, &_arg1
))
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2527 wxPy_END_ALLOW_THREADS
;
2528 if (PyErr_Occurred()) return NULL
;
2529 } Py_INCREF(Py_None
);
2530 _resultobj
= Py_None
;
2534 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2535 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2537 wxPageSetupDialogData
* _arg0
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self","id", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2556 wxPy_END_ALLOW_THREADS
;
2557 if (PyErr_Occurred()) return NULL
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2563 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2564 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2566 wxPageSetupDialogData
* _arg0
;
2568 PyObject
* _argo0
= 0;
2570 PyObject
* _obj1
= 0;
2571 char *_kwnames
[] = { "self","size", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2585 if (! wxSize_helper(_obj1
, &_arg1
))
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2592 wxPy_END_ALLOW_THREADS
;
2593 if (PyErr_Occurred()) return NULL
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2600 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2602 wxPageSetupDialogData
* _arg0
;
2603 wxPrintData
* _arg1
;
2604 PyObject
* _argo0
= 0;
2605 PyObject
* _argo1
= 0;
2606 char *_kwnames
[] = { "self","printData", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2629 wxPy_END_ALLOW_THREADS
;
2630 if (PyErr_Occurred()) return NULL
;
2631 } Py_INCREF(Py_None
);
2632 _resultobj
= Py_None
;
2636 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2637 wxPageSetupDialog
*src
;
2639 src
= (wxPageSetupDialog
*) ptr
;
2640 dest
= (wxDialog
*) src
;
2641 return (void *) dest
;
2644 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2645 wxPageSetupDialog
*src
;
2646 wxTopLevelWindow
*dest
;
2647 src
= (wxPageSetupDialog
*) ptr
;
2648 dest
= (wxTopLevelWindow
*) src
;
2649 return (void *) dest
;
2652 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2653 wxPageSetupDialog
*src
;
2655 src
= (wxPageSetupDialog
*) ptr
;
2656 dest
= (wxWindow
*) src
;
2657 return (void *) dest
;
2660 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2661 wxPageSetupDialog
*src
;
2663 src
= (wxPageSetupDialog
*) ptr
;
2664 dest
= (wxEvtHandler
*) src
;
2665 return (void *) dest
;
2668 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2669 wxPageSetupDialog
*src
;
2671 src
= (wxPageSetupDialog
*) ptr
;
2672 dest
= (wxObject
*) src
;
2673 return (void *) dest
;
2676 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2677 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxPageSetupDialog
* _result
;
2681 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2682 PyObject
* _argo0
= 0;
2683 PyObject
* _argo1
= 0;
2684 char *_kwnames
[] = { "parent","data", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2705 wxPy_BEGIN_ALLOW_THREADS
;
2706 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2708 wxPy_END_ALLOW_THREADS
;
2709 if (PyErr_Occurred()) return NULL
;
2711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2712 _resultobj
= Py_BuildValue("s",_ptemp
);
2715 _resultobj
= Py_None
;
2720 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2721 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2723 wxPageSetupDialogData
* _result
;
2724 wxPageSetupDialog
* _arg0
;
2725 PyObject
* _argo0
= 0;
2726 char *_kwnames
[] = { "self", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2740 wxPy_BEGIN_ALLOW_THREADS
;
2741 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2742 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2744 wxPy_END_ALLOW_THREADS
;
2745 if (PyErr_Occurred()) return NULL
;
2747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2748 _resultobj
= Py_BuildValue("s",_ptemp
);
2751 _resultobj
= Py_None
;
2756 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2757 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2760 wxPageSetupDialog
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2785 wxPrintDialogData
*src
;
2787 src
= (wxPrintDialogData
*) ptr
;
2788 dest
= (wxObject
*) src
;
2789 return (void *) dest
;
2792 #define new_wxPrintDialogData() (new wxPrintDialogData())
2793 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxPrintDialogData
* _result
;
2796 char *_kwnames
[] = { NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2806 wxPy_END_ALLOW_THREADS
;
2807 if (PyErr_Occurred()) return NULL
;
2809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2810 _resultobj
= Py_BuildValue("s",_ptemp
);
2813 _resultobj
= Py_None
;
2818 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2819 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2821 wxPrintDialogData
* _arg0
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 delete_wxPrintDialogData(_arg0
);
2839 wxPy_END_ALLOW_THREADS
;
2840 if (PyErr_Occurred()) return NULL
;
2841 } Py_INCREF(Py_None
);
2842 _resultobj
= Py_None
;
2846 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2847 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2849 wxPrintDialogData
* _arg0
;
2851 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self","flag", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2865 _arg1
= (bool ) tempbool1
;
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2870 wxPy_END_ALLOW_THREADS
;
2871 if (PyErr_Occurred()) return NULL
;
2872 } Py_INCREF(Py_None
);
2873 _resultobj
= Py_None
;
2877 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2878 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxPrintDialogData
* _arg0
;
2882 PyObject
* _argo0
= 0;
2884 char *_kwnames
[] = { "self","flag", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2896 _arg1
= (bool ) tempbool1
;
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2901 wxPy_END_ALLOW_THREADS
;
2902 if (PyErr_Occurred()) return NULL
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2908 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2909 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2911 wxPrintDialogData
* _arg0
;
2913 PyObject
* _argo0
= 0;
2915 char *_kwnames
[] = { "self","flag", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2927 _arg1
= (bool ) tempbool1
;
2929 wxPy_BEGIN_ALLOW_THREADS
;
2930 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2932 wxPy_END_ALLOW_THREADS
;
2933 if (PyErr_Occurred()) return NULL
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2939 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2940 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2942 wxPrintDialogData
* _arg0
;
2944 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self","flag", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2958 _arg1
= (bool ) tempbool1
;
2960 wxPy_BEGIN_ALLOW_THREADS
;
2961 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2963 wxPy_END_ALLOW_THREADS
;
2964 if (PyErr_Occurred()) return NULL
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2971 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(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_GetAllPages",_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_GetAllPages. Expected _wxPrintDialogData_p.");
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2992 wxPy_END_ALLOW_THREADS
;
2993 if (PyErr_Occurred()) return NULL
;
2994 } _resultobj
= Py_BuildValue("i",_result
);
2998 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2999 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 wxPrintDialogData
* _arg0
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3020 wxPy_END_ALLOW_THREADS
;
3021 if (PyErr_Occurred()) return NULL
;
3022 } _resultobj
= Py_BuildValue("i",_result
);
3026 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3027 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3030 wxPrintDialogData
* _arg0
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3048 wxPy_END_ALLOW_THREADS
;
3049 if (PyErr_Occurred()) return NULL
;
3050 } _resultobj
= Py_BuildValue("i",_result
);
3054 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3055 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3058 wxPrintDialogData
* _arg0
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 if (PyErr_Occurred()) return NULL
;
3078 } _resultobj
= Py_BuildValue("i",_result
);
3082 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3083 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3086 wxPrintDialogData
* _arg0
;
3087 PyObject
* _argo0
= 0;
3088 char *_kwnames
[] = { "self", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3101 wxPy_BEGIN_ALLOW_THREADS
;
3102 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3104 wxPy_END_ALLOW_THREADS
;
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3111 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxPrintDialogData
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3129 wxPy_BEGIN_ALLOW_THREADS
;
3130 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3132 wxPy_END_ALLOW_THREADS
;
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3138 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3139 return new wxPrintData(self
->GetPrintData()); // force a copy
3141 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3143 wxPrintData
* _result
;
3144 wxPrintDialogData
* _arg0
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3163 wxPy_END_ALLOW_THREADS
;
3164 if (PyErr_Occurred()) return NULL
;
3166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3167 _resultobj
= Py_BuildValue("s",_ptemp
);
3170 _resultobj
= Py_None
;
3175 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3176 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3179 wxPrintDialogData
* _arg0
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3198 if (PyErr_Occurred()) return NULL
;
3199 } _resultobj
= Py_BuildValue("i",_result
);
3203 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3204 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3207 wxPrintDialogData
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3225 wxPy_END_ALLOW_THREADS
;
3226 if (PyErr_Occurred()) return NULL
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3232 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxPrintDialogData
* _arg0
;
3236 PyObject
* _argo0
= 0;
3238 char *_kwnames
[] = { "self","flag", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3250 _arg1
= (bool ) tempbool1
;
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3255 wxPy_END_ALLOW_THREADS
;
3256 if (PyErr_Occurred()) return NULL
;
3257 } Py_INCREF(Py_None
);
3258 _resultobj
= Py_None
;
3262 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3263 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxPrintDialogData
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self","page", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3281 wxPy_BEGIN_ALLOW_THREADS
;
3282 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3284 wxPy_END_ALLOW_THREADS
;
3285 if (PyErr_Occurred()) return NULL
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3292 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3294 wxPrintDialogData
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self","page", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3313 wxPy_END_ALLOW_THREADS
;
3314 if (PyErr_Occurred()) return NULL
;
3315 } Py_INCREF(Py_None
);
3316 _resultobj
= Py_None
;
3320 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3321 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3323 wxPrintDialogData
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","page", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3342 wxPy_END_ALLOW_THREADS
;
3343 if (PyErr_Occurred()) return NULL
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3350 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3352 wxPrintDialogData
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self","n", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3368 wxPy_BEGIN_ALLOW_THREADS
;
3369 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3371 wxPy_END_ALLOW_THREADS
;
3372 if (PyErr_Occurred()) return NULL
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3379 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxPrintDialogData
* _arg0
;
3382 wxPrintData
* _arg1
;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "self","printData", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3408 wxPy_END_ALLOW_THREADS
;
3409 if (PyErr_Occurred()) return NULL
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3416 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxPrintDialogData
* _arg0
;
3420 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self","flag", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3434 _arg1
= (bool ) tempbool1
;
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3439 wxPy_END_ALLOW_THREADS
;
3440 if (PyErr_Occurred()) return NULL
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3446 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3447 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxPrintDialogData
* _arg0
;
3451 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self","flag", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3465 _arg1
= (bool ) tempbool1
;
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3470 wxPy_END_ALLOW_THREADS
;
3471 if (PyErr_Occurred()) return NULL
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3477 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3478 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3480 wxPrintDialogData
* _arg0
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self","page", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3499 wxPy_END_ALLOW_THREADS
;
3500 if (PyErr_Occurred()) return NULL
;
3501 } Py_INCREF(Py_None
);
3502 _resultobj
= Py_None
;
3506 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3509 src
= (wxPrintDialog
*) ptr
;
3510 dest
= (wxDialog
*) src
;
3511 return (void *) dest
;
3514 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3516 wxTopLevelWindow
*dest
;
3517 src
= (wxPrintDialog
*) ptr
;
3518 dest
= (wxTopLevelWindow
*) src
;
3519 return (void *) dest
;
3522 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3525 src
= (wxPrintDialog
*) ptr
;
3526 dest
= (wxWindow
*) src
;
3527 return (void *) dest
;
3530 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3533 src
= (wxPrintDialog
*) ptr
;
3534 dest
= (wxEvtHandler
*) src
;
3535 return (void *) dest
;
3538 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3541 src
= (wxPrintDialog
*) ptr
;
3542 dest
= (wxObject
*) src
;
3543 return (void *) dest
;
3546 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3547 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3549 wxPrintDialog
* _result
;
3551 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3552 PyObject
* _argo0
= 0;
3553 PyObject
* _argo1
= 0;
3554 char *_kwnames
[] = { "parent","data", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3578 wxPy_END_ALLOW_THREADS
;
3579 if (PyErr_Occurred()) return NULL
;
3581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3582 _resultobj
= Py_BuildValue("s",_ptemp
);
3585 _resultobj
= Py_None
;
3590 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3591 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3593 wxPrintDialogData
* _result
;
3594 wxPrintDialog
* _arg0
;
3595 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3612 _result
= (wxPrintDialogData
*) &_result_ref
;
3614 wxPy_END_ALLOW_THREADS
;
3615 if (PyErr_Occurred()) return NULL
;
3617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3618 _resultobj
= Py_BuildValue("s",_ptemp
);
3621 _resultobj
= Py_None
;
3626 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3627 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3630 wxPrintDialog
* _arg0
;
3631 PyObject
* _argo0
= 0;
3632 char *_kwnames
[] = { "self", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3648 wxPy_END_ALLOW_THREADS
;
3649 if (PyErr_Occurred()) return NULL
;
3650 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3654 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3655 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 wxPrintDialog
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3676 wxPy_END_ALLOW_THREADS
;
3677 if (PyErr_Occurred()) return NULL
;
3678 } _resultobj
= Py_BuildValue("i",_result
);
3682 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3685 src
= (wxPyPrintout
*) ptr
;
3686 dest
= (wxObject
*) src
;
3687 return (void *) dest
;
3690 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3691 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3693 wxPyPrintout
* _result
;
3694 char * _arg0
= (char *) "Printout";
3695 char *_kwnames
[] = { "title", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3705 wxPy_END_ALLOW_THREADS
;
3706 if (PyErr_Occurred()) return NULL
;
3708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 _resultobj
= Py_None
;
3717 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3718 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3720 wxPyPrintout
* _arg0
;
3723 PyObject
* _argo0
= 0;
3724 PyObject
* _obj1
= 0;
3725 PyObject
* _obj2
= 0;
3726 char *_kwnames
[] = { "self","self","_class", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3748 wxPy_END_ALLOW_THREADS
;
3749 if (PyErr_Occurred()) return NULL
;
3750 } Py_INCREF(Py_None
);
3751 _resultobj
= Py_None
;
3755 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3756 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3758 wxPyPrintout
* _arg0
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 wxPyPrintout_Destroy(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3784 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3787 wxPyPrintout
* _arg0
;
3788 PyObject
* _argo0
= 0;
3789 char *_kwnames
[] = { "self", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3805 wxPy_END_ALLOW_THREADS
;
3806 if (PyErr_Occurred()) return NULL
;
3807 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3811 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3812 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 wxPyPrintout
* _arg0
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3842 wxPy_END_ALLOW_THREADS
;
3843 if (PyErr_Occurred()) return NULL
;
3844 } Py_INCREF(Py_None
);
3845 _resultobj
= Py_None
;
3848 o
= PyInt_FromLong((long) (*_arg1
));
3849 _resultobj
= t_output_helper(_resultobj
, o
);
3853 o
= PyInt_FromLong((long) (*_arg2
));
3854 _resultobj
= t_output_helper(_resultobj
, o
);
3859 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3860 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3862 wxPyPrintout
* _arg0
;
3867 PyObject
* _argo0
= 0;
3868 char *_kwnames
[] = { "self", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3887 wxPy_BEGIN_ALLOW_THREADS
;
3888 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3890 wxPy_END_ALLOW_THREADS
;
3891 if (PyErr_Occurred()) return NULL
;
3892 } Py_INCREF(Py_None
);
3893 _resultobj
= Py_None
;
3896 o
= PyInt_FromLong((long) (*_arg1
));
3897 _resultobj
= t_output_helper(_resultobj
, o
);
3901 o
= PyInt_FromLong((long) (*_arg2
));
3902 _resultobj
= t_output_helper(_resultobj
, o
);
3907 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3908 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3910 wxPyPrintout
* _arg0
;
3915 PyObject
* _argo0
= 0;
3916 char *_kwnames
[] = { "self", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3938 wxPy_END_ALLOW_THREADS
;
3939 if (PyErr_Occurred()) return NULL
;
3940 } Py_INCREF(Py_None
);
3941 _resultobj
= Py_None
;
3944 o
= PyInt_FromLong((long) (*_arg1
));
3945 _resultobj
= t_output_helper(_resultobj
, o
);
3949 o
= PyInt_FromLong((long) (*_arg2
));
3950 _resultobj
= t_output_helper(_resultobj
, o
);
3955 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3956 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3958 wxPyPrintout
* _arg0
;
3963 PyObject
* _argo0
= 0;
3964 char *_kwnames
[] = { "self", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3986 wxPy_END_ALLOW_THREADS
;
3987 if (PyErr_Occurred()) return NULL
;
3988 } Py_INCREF(Py_None
);
3989 _resultobj
= Py_None
;
3992 o
= PyInt_FromLong((long) (*_arg1
));
3993 _resultobj
= t_output_helper(_resultobj
, o
);
3997 o
= PyInt_FromLong((long) (*_arg2
));
3998 _resultobj
= t_output_helper(_resultobj
, o
);
4003 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4004 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4007 wxPyPrintout
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4025 wxPy_END_ALLOW_THREADS
;
4026 if (PyErr_Occurred()) return NULL
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4031 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4032 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4035 wxPyPrintout
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4052 wxPy_BEGIN_ALLOW_THREADS
;
4053 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4055 wxPy_END_ALLOW_THREADS
;
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4062 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4064 wxPyPrintout
* _arg0
;
4065 PyObject
* _argo0
= 0;
4066 char *_kwnames
[] = { "self", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 wxPrintout_base_OnEndDocument(_arg0
);
4082 wxPy_END_ALLOW_THREADS
;
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4090 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxPyPrintout
* _arg0
;
4093 PyObject
* _argo0
= 0;
4094 char *_kwnames
[] = { "self", NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 wxPrintout_base_OnBeginPrinting(_arg0
);
4110 wxPy_END_ALLOW_THREADS
;
4111 if (PyErr_Occurred()) return NULL
;
4112 } Py_INCREF(Py_None
);
4113 _resultobj
= Py_None
;
4117 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4118 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4120 wxPyPrintout
* _arg0
;
4121 PyObject
* _argo0
= 0;
4122 char *_kwnames
[] = { "self", NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4135 wxPy_BEGIN_ALLOW_THREADS
;
4136 wxPrintout_base_OnEndPrinting(_arg0
);
4138 wxPy_END_ALLOW_THREADS
;
4139 if (PyErr_Occurred()) return NULL
;
4140 } Py_INCREF(Py_None
);
4141 _resultobj
= Py_None
;
4145 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4146 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4148 wxPyPrintout
* _arg0
;
4149 PyObject
* _argo0
= 0;
4150 char *_kwnames
[] = { "self", NULL
};
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4163 wxPy_BEGIN_ALLOW_THREADS
;
4164 wxPrintout_base_OnPreparePrinting(_arg0
);
4166 wxPy_END_ALLOW_THREADS
;
4167 if (PyErr_Occurred()) return NULL
;
4168 } Py_INCREF(Py_None
);
4169 _resultobj
= Py_None
;
4173 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4174 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4176 wxPyPrintout
* _arg0
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4211 wxPy_BEGIN_ALLOW_THREADS
;
4212 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4214 wxPy_END_ALLOW_THREADS
;
4215 if (PyErr_Occurred()) return NULL
;
4216 } Py_INCREF(Py_None
);
4217 _resultobj
= Py_None
;
4220 o
= PyInt_FromLong((long) (*_arg1
));
4221 _resultobj
= t_output_helper(_resultobj
, o
);
4225 o
= PyInt_FromLong((long) (*_arg2
));
4226 _resultobj
= t_output_helper(_resultobj
, o
);
4230 o
= PyInt_FromLong((long) (*_arg3
));
4231 _resultobj
= t_output_helper(_resultobj
, o
);
4235 o
= PyInt_FromLong((long) (*_arg4
));
4236 _resultobj
= t_output_helper(_resultobj
, o
);
4241 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4242 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4245 wxPyPrintout
* _arg0
;
4247 PyObject
* _argo0
= 0;
4248 char *_kwnames
[] = { "self","page", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4264 wxPy_END_ALLOW_THREADS
;
4265 if (PyErr_Occurred()) return NULL
;
4266 } _resultobj
= Py_BuildValue("i",_result
);
4270 static void *SwigwxPrinterTowxObject(void *ptr
) {
4273 src
= (wxPrinter
*) ptr
;
4274 dest
= (wxObject
*) src
;
4275 return (void *) dest
;
4278 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4279 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4281 wxPrinter
* _result
;
4282 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "data", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4298 wxPy_BEGIN_ALLOW_THREADS
;
4299 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4301 wxPy_END_ALLOW_THREADS
;
4302 if (PyErr_Occurred()) return NULL
;
4304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4305 _resultobj
= Py_BuildValue("s",_ptemp
);
4308 _resultobj
= Py_None
;
4313 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4314 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
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 delete_wxPrinter. Expected _wxPrinter_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 delete_wxPrinter(_arg0
);
4334 wxPy_END_ALLOW_THREADS
;
4335 if (PyErr_Occurred()) return NULL
;
4336 } Py_INCREF(Py_None
);
4337 _resultobj
= Py_None
;
4341 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4342 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4346 wxPyPrintout
* _arg2
;
4347 PyObject
* _argo0
= 0;
4348 PyObject
* _argo1
= 0;
4349 PyObject
* _argo2
= 0;
4350 char *_kwnames
[] = { "self","parent","printout", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4370 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4377 wxPy_BEGIN_ALLOW_THREADS
;
4378 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4380 wxPy_END_ALLOW_THREADS
;
4381 if (PyErr_Occurred()) return NULL
;
4382 } Py_INCREF(Py_None
);
4383 _resultobj
= Py_None
;
4387 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4388 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4390 wxPrintDialogData
* _result
;
4392 PyObject
* _argo0
= 0;
4393 char *_kwnames
[] = { "self", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4409 _result
= (wxPrintDialogData
*) &_result_ref
;
4411 wxPy_END_ALLOW_THREADS
;
4412 if (PyErr_Occurred()) return NULL
;
4414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4415 _resultobj
= Py_BuildValue("s",_ptemp
);
4418 _resultobj
= Py_None
;
4423 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4424 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
* _resultobj
;
4429 wxPyPrintout
* _arg2
;
4430 int _arg3
= (int ) TRUE
;
4431 PyObject
* _argo0
= 0;
4432 PyObject
* _argo1
= 0;
4433 PyObject
* _argo2
= 0;
4434 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4454 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4461 wxPy_BEGIN_ALLOW_THREADS
;
4462 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4464 wxPy_END_ALLOW_THREADS
;
4465 if (PyErr_Occurred()) return NULL
;
4466 } _resultobj
= Py_BuildValue("i",_result
);
4470 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4471 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4477 PyObject
* _argo1
= 0;
4478 char *_kwnames
[] = { "self","parent", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4498 wxPy_BEGIN_ALLOW_THREADS
;
4499 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4501 wxPy_END_ALLOW_THREADS
;
4502 if (PyErr_Occurred()) return NULL
;
4503 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4507 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4508 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4512 wxPyPrintout
* _arg2
;
4514 PyObject
* _argo0
= 0;
4515 PyObject
* _argo1
= 0;
4516 PyObject
* _argo2
= 0;
4517 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4537 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4547 wxPy_END_ALLOW_THREADS
;
4548 if (PyErr_Occurred()) return NULL
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4555 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","parent", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 if (PyErr_Occurred()) return NULL
;
4587 } _resultobj
= Py_BuildValue("i",_result
);
4591 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4592 wxPrintPreview
*src
;
4594 src
= (wxPrintPreview
*) ptr
;
4595 dest
= (wxObject
*) src
;
4596 return (void *) dest
;
4599 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4600 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4602 wxPrintPreview
* _result
;
4603 wxPyPrintout
* _arg0
;
4604 wxPyPrintout
* _arg1
;
4605 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4606 PyObject
* _argo0
= 0;
4607 PyObject
* _argo1
= 0;
4608 PyObject
* _argo2
= 0;
4609 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4630 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4637 wxPy_BEGIN_ALLOW_THREADS
;
4638 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4640 wxPy_END_ALLOW_THREADS
;
4641 if (PyErr_Occurred()) return NULL
;
4643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4644 _resultobj
= Py_BuildValue("s",_ptemp
);
4647 _resultobj
= Py_None
;
4652 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4653 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxPrintPreview
* _arg0
;
4657 PyObject
* _argo0
= 0;
4658 char *_kwnames
[] = { "self", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4674 wxPy_END_ALLOW_THREADS
;
4675 if (PyErr_Occurred()) return NULL
;
4676 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4680 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4681 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 wxPrintPreview
* _arg0
;
4685 PyObject
* _argo0
= 0;
4686 char *_kwnames
[] = { "self", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4699 wxPy_BEGIN_ALLOW_THREADS
;
4700 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4702 wxPy_END_ALLOW_THREADS
;
4703 if (PyErr_Occurred()) return NULL
;
4704 } _resultobj
= Py_BuildValue("i",_result
);
4708 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4709 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4712 wxPrintPreview
* _arg0
;
4713 PyObject
* _argo0
= 0;
4714 char *_kwnames
[] = { "self", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4727 wxPy_BEGIN_ALLOW_THREADS
;
4728 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4730 wxPy_END_ALLOW_THREADS
;
4731 if (PyErr_Occurred()) return NULL
;
4732 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4736 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4737 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4740 wxPrintPreview
* _arg0
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4758 wxPy_END_ALLOW_THREADS
;
4759 if (PyErr_Occurred()) return NULL
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4765 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4768 wxPrintPreview
* _arg0
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4783 wxPy_BEGIN_ALLOW_THREADS
;
4784 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4786 wxPy_END_ALLOW_THREADS
;
4787 if (PyErr_Occurred()) return NULL
;
4788 } _resultobj
= Py_BuildValue("i",_result
);
4792 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4793 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4795 wxPrintDialogData
* _result
;
4796 wxPrintPreview
* _arg0
;
4797 PyObject
* _argo0
= 0;
4798 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4814 _result
= (wxPrintDialogData
*) &_result_ref
;
4816 wxPy_END_ALLOW_THREADS
;
4817 if (PyErr_Occurred()) return NULL
;
4819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4820 _resultobj
= Py_BuildValue("s",_ptemp
);
4823 _resultobj
= Py_None
;
4828 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4829 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4831 wxPyPrintout
* _result
;
4832 wxPrintPreview
* _arg0
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4850 wxPy_END_ALLOW_THREADS
;
4851 if (PyErr_Occurred()) return NULL
;
4852 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4856 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4857 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 wxPyPrintout
* _result
;
4860 wxPrintPreview
* _arg0
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4879 if (PyErr_Occurred()) return NULL
;
4880 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4884 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4885 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 wxPrintPreview
* _arg0
;
4889 PyObject
* _argo0
= 0;
4890 char *_kwnames
[] = { "self", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4906 wxPy_END_ALLOW_THREADS
;
4907 if (PyErr_Occurred()) return NULL
;
4908 } _resultobj
= Py_BuildValue("i",_result
);
4912 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4913 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 wxPrintPreview
* _arg0
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4934 wxPy_END_ALLOW_THREADS
;
4935 if (PyErr_Occurred()) return NULL
;
4936 } _resultobj
= Py_BuildValue("i",_result
);
4940 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4941 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4944 wxPrintPreview
* _arg0
;
4946 PyObject
* _argo0
= 0;
4948 char *_kwnames
[] = { "self","prompt", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4960 _arg1
= (bool ) tempbool1
;
4962 wxPy_BEGIN_ALLOW_THREADS
;
4963 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4965 wxPy_END_ALLOW_THREADS
;
4966 if (PyErr_Occurred()) return NULL
;
4967 } _resultobj
= Py_BuildValue("i",_result
);
4971 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4972 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4974 wxPrintPreview
* _arg0
;
4976 PyObject
* _argo0
= 0;
4977 PyObject
* _argo1
= 0;
4978 char *_kwnames
[] = { "self","window", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4998 wxPy_BEGIN_ALLOW_THREADS
;
4999 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5001 wxPy_END_ALLOW_THREADS
;
5002 if (PyErr_Occurred()) return NULL
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5009 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5011 wxPrintPreview
* _arg0
;
5013 PyObject
* _argo0
= 0;
5014 char *_kwnames
[] = { "self","pageNum", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5027 wxPy_BEGIN_ALLOW_THREADS
;
5028 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5030 wxPy_END_ALLOW_THREADS
;
5031 if (PyErr_Occurred()) return NULL
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5037 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5038 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5040 wxPrintPreview
* _arg0
;
5042 PyObject
* _argo0
= 0;
5043 PyObject
* _argo1
= 0;
5044 char *_kwnames
[] = { "self","frame", NULL
};
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5067 wxPy_END_ALLOW_THREADS
;
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5075 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5077 wxPrintPreview
* _arg0
;
5078 wxPyPrintout
* _arg1
;
5079 PyObject
* _argo0
= 0;
5080 PyObject
* _argo1
= 0;
5081 char *_kwnames
[] = { "self","printout", NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5101 wxPy_BEGIN_ALLOW_THREADS
;
5102 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5104 wxPy_END_ALLOW_THREADS
;
5105 if (PyErr_Occurred()) return NULL
;
5106 } Py_INCREF(Py_None
);
5107 _resultobj
= Py_None
;
5111 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5112 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5114 wxPrintPreview
* _arg0
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self","percent", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5133 wxPy_END_ALLOW_THREADS
;
5134 if (PyErr_Occurred()) return NULL
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5141 wxPreviewFrame
*src
;
5143 src
= (wxPreviewFrame
*) ptr
;
5144 dest
= (wxFrame
*) src
;
5145 return (void *) dest
;
5148 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5149 wxPreviewFrame
*src
;
5150 wxTopLevelWindow
*dest
;
5151 src
= (wxPreviewFrame
*) ptr
;
5152 dest
= (wxTopLevelWindow
*) src
;
5153 return (void *) dest
;
5156 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5157 wxPreviewFrame
*src
;
5159 src
= (wxPreviewFrame
*) ptr
;
5160 dest
= (wxWindow
*) src
;
5161 return (void *) dest
;
5164 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5165 wxPreviewFrame
*src
;
5167 src
= (wxPreviewFrame
*) ptr
;
5168 dest
= (wxEvtHandler
*) src
;
5169 return (void *) dest
;
5172 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5173 wxPreviewFrame
*src
;
5175 src
= (wxPreviewFrame
*) ptr
;
5176 dest
= (wxObject
*) src
;
5177 return (void *) dest
;
5180 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5181 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
* _resultobj
;
5183 wxPreviewFrame
* _result
;
5184 wxPrintPreview
* _arg0
;
5187 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5188 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5189 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5190 char * _arg6
= (char *) "frame";
5191 PyObject
* _argo0
= 0;
5192 PyObject
* _argo1
= 0;
5193 PyObject
* _obj2
= 0;
5195 PyObject
* _obj3
= 0;
5197 PyObject
* _obj4
= 0;
5198 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5219 #if PYTHON_API_VERSION >= 1009
5220 char* tmpPtr
; int tmpSize
;
5221 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5225 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5227 _arg2
= new wxString(tmpPtr
, tmpSize
);
5229 if (!PyString_Check(_obj2
)) {
5230 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5233 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5239 if (! wxPoint_helper(_obj3
, &_arg3
))
5245 if (! wxSize_helper(_obj4
, &_arg4
))
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5252 wxPy_END_ALLOW_THREADS
;
5253 if (PyErr_Occurred()) return NULL
;
5255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5256 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 _resultobj
= Py_None
;
5268 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5269 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5271 wxPreviewFrame
* _arg0
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 wxPreviewFrame_Initialize(_arg0
);
5289 wxPy_END_ALLOW_THREADS
;
5290 if (PyErr_Occurred()) return NULL
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 static PyMethodDef printfwcMethods
[] = {
5297 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5451 * This table is used by the pointer type-checker
5453 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5454 { "_signed_long","_long",0},
5455 { "_wxPrintQuality","_wxCoord",0},
5456 { "_wxPrintQuality","_int",0},
5457 { "_wxPrintQuality","_signed_int",0},
5458 { "_wxPrintQuality","_unsigned_int",0},
5459 { "_wxPrintQuality","_wxWindowID",0},
5460 { "_wxPrintQuality","_uint",0},
5461 { "_wxPrintQuality","_EBool",0},
5462 { "_wxPrintQuality","_size_t",0},
5463 { "_wxPrintQuality","_time_t",0},
5464 { "_byte","_unsigned_char",0},
5465 { "_long","_unsigned_long",0},
5466 { "_long","_signed_long",0},
5467 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5468 { "_size_t","_wxCoord",0},
5469 { "_size_t","_wxPrintQuality",0},
5470 { "_size_t","_time_t",0},
5471 { "_size_t","_unsigned_int",0},
5472 { "_size_t","_int",0},
5473 { "_size_t","_wxWindowID",0},
5474 { "_size_t","_uint",0},
5475 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5476 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5477 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5478 { "_uint","_wxCoord",0},
5479 { "_uint","_wxPrintQuality",0},
5480 { "_uint","_time_t",0},
5481 { "_uint","_size_t",0},
5482 { "_uint","_unsigned_int",0},
5483 { "_uint","_int",0},
5484 { "_uint","_wxWindowID",0},
5485 { "_wxChar","_char",0},
5486 { "_char","_wxChar",0},
5487 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5488 { "_EBool","_wxCoord",0},
5489 { "_EBool","_wxPrintQuality",0},
5490 { "_EBool","_signed_int",0},
5491 { "_EBool","_int",0},
5492 { "_EBool","_wxWindowID",0},
5493 { "_unsigned_long","_long",0},
5494 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5495 { "_signed_int","_wxCoord",0},
5496 { "_signed_int","_wxPrintQuality",0},
5497 { "_signed_int","_EBool",0},
5498 { "_signed_int","_wxWindowID",0},
5499 { "_signed_int","_int",0},
5500 { "_WXTYPE","_short",0},
5501 { "_WXTYPE","_signed_short",0},
5502 { "_WXTYPE","_unsigned_short",0},
5503 { "_unsigned_short","_WXTYPE",0},
5504 { "_unsigned_short","_short",0},
5505 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5506 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5507 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5508 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5509 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5510 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5511 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5512 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5513 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5514 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5515 { "_signed_short","_WXTYPE",0},
5516 { "_signed_short","_short",0},
5517 { "_unsigned_char","_byte",0},
5518 { "_unsigned_int","_wxCoord",0},
5519 { "_unsigned_int","_wxPrintQuality",0},
5520 { "_unsigned_int","_time_t",0},
5521 { "_unsigned_int","_size_t",0},
5522 { "_unsigned_int","_uint",0},
5523 { "_unsigned_int","_wxWindowID",0},
5524 { "_unsigned_int","_int",0},
5525 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5526 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5527 { "_short","_WXTYPE",0},
5528 { "_short","_unsigned_short",0},
5529 { "_short","_signed_short",0},
5530 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5531 { "_wxWindowID","_wxCoord",0},
5532 { "_wxWindowID","_wxPrintQuality",0},
5533 { "_wxWindowID","_time_t",0},
5534 { "_wxWindowID","_size_t",0},
5535 { "_wxWindowID","_EBool",0},
5536 { "_wxWindowID","_uint",0},
5537 { "_wxWindowID","_int",0},
5538 { "_wxWindowID","_signed_int",0},
5539 { "_wxWindowID","_unsigned_int",0},
5540 { "_int","_wxCoord",0},
5541 { "_int","_wxPrintQuality",0},
5542 { "_int","_time_t",0},
5543 { "_int","_size_t",0},
5544 { "_int","_EBool",0},
5545 { "_int","_uint",0},
5546 { "_int","_wxWindowID",0},
5547 { "_int","_unsigned_int",0},
5548 { "_int","_signed_int",0},
5549 { "_time_t","_wxCoord",0},
5550 { "_time_t","_wxPrintQuality",0},
5551 { "_time_t","_unsigned_int",0},
5552 { "_time_t","_int",0},
5553 { "_time_t","_wxWindowID",0},
5554 { "_time_t","_uint",0},
5555 { "_time_t","_size_t",0},
5556 { "_wxCoord","_int",0},
5557 { "_wxCoord","_signed_int",0},
5558 { "_wxCoord","_unsigned_int",0},
5559 { "_wxCoord","_wxWindowID",0},
5560 { "_wxCoord","_uint",0},
5561 { "_wxCoord","_EBool",0},
5562 { "_wxCoord","_size_t",0},
5563 { "_wxCoord","_time_t",0},
5564 { "_wxCoord","_wxPrintQuality",0},
5565 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5566 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5567 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5568 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5569 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5570 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5573 static PyObject
*SWIG_globals
;
5577 SWIGEXPORT(void) initprintfwc() {
5579 SWIG_globals
= SWIG_newvarlink();
5580 m
= Py_InitModule("printfwc", printfwcMethods
);
5581 d
= PyModule_GetDict(m
);
5583 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5586 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5587 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);