2 * FILE : src/gtk/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>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
94 // Since this one would be tough and ugly to do with the Macros...
95 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
99 wxPyBeginBlockThreads();
100 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
101 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
102 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
105 val
= PyTuple_GetItem(result
, 0);
106 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
109 val
= PyTuple_GetItem(result
, 1);
110 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
113 val
= PyTuple_GetItem(result
, 2);
114 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
117 val
= PyTuple_GetItem(result
, 3);
118 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
125 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
130 wxPyEndBlockThreads();
132 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
135 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
136 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
140 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
141 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
142 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
143 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
144 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
145 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
146 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
152 static void *SwigwxPrintDataTowxObject(void *ptr
) {
155 src
= (wxPrintData
*) ptr
;
156 dest
= (wxObject
*) src
;
157 return (void *) dest
;
160 #define new_wxPrintData() (new wxPrintData())
161 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
162 PyObject
* _resultobj
;
163 wxPrintData
* _result
;
164 char *_kwnames
[] = { NULL
};
168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
172 _result
= (wxPrintData
*)new_wxPrintData();
174 wxPyEndAllowThreads(__tstate
);
175 if (PyErr_Occurred()) return NULL
;
177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
178 _resultobj
= Py_BuildValue("s",_ptemp
);
181 _resultobj
= Py_None
;
186 #define delete_wxPrintData(_swigobj) (delete _swigobj)
187 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
190 PyObject
* _argo0
= 0;
191 char *_kwnames
[] = { "self", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
205 delete_wxPrintData(_arg0
);
207 wxPyEndAllowThreads(__tstate
);
208 if (PyErr_Occurred()) return NULL
;
209 } Py_INCREF(Py_None
);
210 _resultobj
= Py_None
;
214 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
215 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
219 PyObject
* _argo0
= 0;
220 char *_kwnames
[] = { "self", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
236 wxPyEndAllowThreads(__tstate
);
237 if (PyErr_Occurred()) return NULL
;
238 } _resultobj
= Py_BuildValue("i",_result
);
242 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
243 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
247 PyObject
* _argo0
= 0;
248 char *_kwnames
[] = { "self", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
262 _result
= (bool )wxPrintData_GetCollate(_arg0
);
264 wxPyEndAllowThreads(__tstate
);
265 if (PyErr_Occurred()) return NULL
;
266 } _resultobj
= Py_BuildValue("i",_result
);
270 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
271 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
275 PyObject
* _argo0
= 0;
276 char *_kwnames
[] = { "self", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 _result
= (int )wxPrintData_GetOrientation(_arg0
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
294 } _resultobj
= Py_BuildValue("i",_result
);
298 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
299 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
303 PyObject
* _argo0
= 0;
304 char *_kwnames
[] = { "self", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
318 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
319 _result
= (wxString
*) &_result_ref
;
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
325 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
327 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
333 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
334 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (bool )wxPrintData_GetColour(_arg0
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
357 } _resultobj
= Py_BuildValue("i",_result
);
361 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
362 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
364 wxDuplexMode _result
;
366 PyObject
* _argo0
= 0;
367 char *_kwnames
[] = { "self", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
381 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
383 wxPyEndAllowThreads(__tstate
);
384 if (PyErr_Occurred()) return NULL
;
385 } _resultobj
= Py_BuildValue("i",_result
);
389 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
390 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
409 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
411 wxPyEndAllowThreads(__tstate
);
412 if (PyErr_Occurred()) return NULL
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
418 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
438 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
439 _result
= (wxSize
*) &_result_ref
;
441 wxPyEndAllowThreads(__tstate
);
442 if (PyErr_Occurred()) return NULL
;
444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
445 _resultobj
= Py_BuildValue("s",_ptemp
);
448 _resultobj
= Py_None
;
453 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
454 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxPrintQuality _result
;
458 PyObject
* _argo0
= 0;
459 char *_kwnames
[] = { "self", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
473 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
475 wxPyEndAllowThreads(__tstate
);
476 if (PyErr_Occurred()) return NULL
;
477 } _resultobj
= Py_BuildValue("i",_result
);
481 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
482 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self","v", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 wxPrintData_SetNoCopies(_arg0
,_arg1
);
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 } Py_INCREF(Py_None
);
506 _resultobj
= Py_None
;
510 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
511 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
515 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self","flag", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
529 _arg1
= (bool ) tempbool1
;
531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
532 wxPrintData_SetCollate(_arg0
,_arg1
);
534 wxPyEndAllowThreads(__tstate
);
535 if (PyErr_Occurred()) return NULL
;
536 } Py_INCREF(Py_None
);
537 _resultobj
= Py_None
;
541 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
542 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
546 PyObject
* _argo0
= 0;
547 char *_kwnames
[] = { "self","orient", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 wxPrintData_SetOrientation(_arg0
,_arg1
);
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) return NULL
;
565 } Py_INCREF(Py_None
);
566 _resultobj
= Py_None
;
570 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
571 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
575 PyObject
* _argo0
= 0;
576 PyObject
* _obj1
= 0;
577 char *_kwnames
[] = { "self","name", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
590 _arg1
= wxString_in_helper(_obj1
);
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
600 } Py_INCREF(Py_None
);
601 _resultobj
= Py_None
;
609 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
610 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
614 PyObject
* _argo0
= 0;
616 char *_kwnames
[] = { "self","colour", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
628 _arg1
= (bool ) tempbool1
;
630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
631 wxPrintData_SetColour(_arg0
,_arg1
);
633 wxPyEndAllowThreads(__tstate
);
634 if (PyErr_Occurred()) return NULL
;
635 } Py_INCREF(Py_None
);
636 _resultobj
= Py_None
;
640 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
641 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
645 PyObject
* _argo0
= 0;
646 char *_kwnames
[] = { "self","duplex", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
660 wxPrintData_SetDuplex(_arg0
,_arg1
);
662 wxPyEndAllowThreads(__tstate
);
663 if (PyErr_Occurred()) return NULL
;
664 } Py_INCREF(Py_None
);
665 _resultobj
= Py_None
;
669 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
670 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self","sizeId", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
689 wxPrintData_SetPaperId(_arg0
,_arg1
);
691 wxPyEndAllowThreads(__tstate
);
692 if (PyErr_Occurred()) return NULL
;
693 } Py_INCREF(Py_None
);
694 _resultobj
= Py_None
;
698 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
699 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
703 PyObject
* _argo0
= 0;
705 PyObject
* _obj1
= 0;
706 char *_kwnames
[] = { "self","sz", NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
720 if (! wxSize_helper(_obj1
, &_arg1
))
724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
725 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
727 wxPyEndAllowThreads(__tstate
);
728 if (PyErr_Occurred()) return NULL
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
735 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxPrintQuality _arg1
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","quality", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 wxPrintData_SetQuality(_arg0
,_arg1
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
764 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
784 _result
= (wxString
*) &_result_ref
;
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) return NULL
;
790 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
798 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
799 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
819 _result
= (wxString
*) &_result_ref
;
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) return NULL
;
825 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
833 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
834 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
854 _result
= (wxString
*) &_result_ref
;
856 wxPyEndAllowThreads(__tstate
);
857 if (PyErr_Occurred()) return NULL
;
860 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
862 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
868 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
869 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
873 PyObject
* _argo0
= 0;
874 char *_kwnames
[] = { "self", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
889 _result
= (wxString
*) &_result_ref
;
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) return NULL
;
895 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
897 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
903 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
904 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
924 _result
= (wxString
*) &_result_ref
;
926 wxPyEndAllowThreads(__tstate
);
927 if (PyErr_Occurred()) return NULL
;
930 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
932 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
938 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
939 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
943 PyObject
* _argo0
= 0;
944 char *_kwnames
[] = { "self", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
958 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) return NULL
;
962 } _resultobj
= Py_BuildValue("d",_result
);
966 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
967 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } _resultobj
= Py_BuildValue("d",_result
);
994 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
995 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
999 PyObject
* _argo0
= 0;
1000 char *_kwnames
[] = { "self", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) return NULL
;
1018 } _resultobj
= Py_BuildValue("l",_result
);
1022 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1023 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 wxPrintData
* _arg0
;
1027 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) return NULL
;
1046 } _resultobj
= Py_BuildValue("l",_result
);
1050 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1051 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1053 wxPrintMode
* _result
;
1054 wxPrintData
* _arg0
;
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1076 _resultobj
= Py_BuildValue("s",_ptemp
);
1080 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1081 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxPrintData
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 PyObject
* _obj1
= 0;
1087 char *_kwnames
[] = { "self","command", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1100 _arg1
= wxString_in_helper(_obj1
);
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) return NULL
;
1110 } Py_INCREF(Py_None
);
1111 _resultobj
= Py_None
;
1119 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1120 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1122 wxPrintData
* _arg0
;
1124 PyObject
* _argo0
= 0;
1125 PyObject
* _obj1
= 0;
1126 char *_kwnames
[] = { "self","options", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1139 _arg1
= wxString_in_helper(_obj1
);
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) return NULL
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1158 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1159 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxPrintData
* _arg0
;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _obj1
= 0;
1165 char *_kwnames
[] = { "self","command", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1178 _arg1
= wxString_in_helper(_obj1
);
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } Py_INCREF(Py_None
);
1189 _resultobj
= Py_None
;
1197 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1198 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1200 wxPrintData
* _arg0
;
1202 PyObject
* _argo0
= 0;
1203 PyObject
* _obj1
= 0;
1204 char *_kwnames
[] = { "self","filename", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1217 _arg1
= wxString_in_helper(_obj1
);
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 wxPrintData_SetFilename(_arg0
,*_arg1
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } Py_INCREF(Py_None
);
1228 _resultobj
= Py_None
;
1236 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1237 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1239 wxPrintData
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 PyObject
* _obj1
= 0;
1243 char *_kwnames
[] = { "self","path", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1256 _arg1
= wxString_in_helper(_obj1
);
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } Py_INCREF(Py_None
);
1267 _resultobj
= Py_None
;
1275 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1276 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1278 wxPrintData
* _arg0
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self","x", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1305 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1307 wxPrintData
* _arg0
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "self","y", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } Py_INCREF(Py_None
);
1329 _resultobj
= Py_None
;
1333 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1334 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1336 wxPrintData
* _arg0
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self","x","y", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetPrinterScaling. Expected _wxPrintData_p.");
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) return NULL
;
1358 } Py_INCREF(Py_None
);
1359 _resultobj
= Py_None
;
1363 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1364 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPrintData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","x", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_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_SetPrinterTranslateX. Expected _wxPrintData_p.");
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1383 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) return NULL
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1392 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1393 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxPrintData
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self","y", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1421 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1422 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxPrintData
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self","x","y", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetPrinterTranslation. Expected _wxPrintData_p.");
1441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1442 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1444 wxPyEndAllowThreads(__tstate
);
1445 if (PyErr_Occurred()) return NULL
;
1446 } Py_INCREF(Py_None
);
1447 _resultobj
= Py_None
;
1451 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1452 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxPrintData
* _arg0
;
1455 wxPrintMode
* _arg1
;
1456 PyObject
* _argo0
= 0;
1457 PyObject
* _argo1
= 0;
1458 char *_kwnames
[] = { "self","printMode", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) return NULL
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1488 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1489 wxPostScriptDC
*src
;
1491 src
= (wxPostScriptDC
*) ptr
;
1492 dest
= (wxDC
*) src
;
1493 return (void *) dest
;
1496 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1497 wxPostScriptDC
*src
;
1499 src
= (wxPostScriptDC
*) ptr
;
1500 dest
= (wxObject
*) src
;
1501 return (void *) dest
;
1504 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1505 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxPostScriptDC
* _result
;
1508 wxPrintData
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "printData", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1531 _resultobj
= Py_BuildValue("s",_ptemp
);
1534 _resultobj
= Py_None
;
1539 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1540 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1542 wxPostScriptDC
* _result
;
1544 bool _arg1
= (bool ) TRUE
;
1545 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1546 PyObject
* _obj0
= 0;
1547 int tempbool1
= (int) TRUE
;
1548 PyObject
* _argo2
= 0;
1549 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1556 _arg0
= wxString_in_helper(_obj0
);
1560 _arg1
= (bool ) tempbool1
;
1562 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) return NULL
;
1575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1576 _resultobj
= Py_BuildValue("s",_ptemp
);
1579 _resultobj
= Py_None
;
1588 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1589 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1591 wxPrintData
* _result
;
1592 wxPostScriptDC
* _arg0
;
1593 PyObject
* _argo0
= 0;
1594 char *_kwnames
[] = { "self", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1610 _result
= (wxPrintData
*) &_result_ref
;
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1624 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1625 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1627 wxPostScriptDC
* _arg0
;
1628 wxPrintData
* _arg1
;
1629 PyObject
* _argo0
= 0;
1630 PyObject
* _argo1
= 0;
1631 char *_kwnames
[] = { "self","data", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } Py_INCREF(Py_None
);
1657 _resultobj
= Py_None
;
1661 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 char *_kwnames
[] = { "ppi", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 wxPostScriptDC::SetResolution(_arg0
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1683 char *_kwnames
[] = { NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= (int )wxPostScriptDC::GetResolution();
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 } _resultobj
= Py_BuildValue("i",_result
);
1698 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1699 wxPageSetupDialogData
*src
;
1701 src
= (wxPageSetupDialogData
*) ptr
;
1702 dest
= (wxObject
*) src
;
1703 return (void *) dest
;
1706 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1707 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxPageSetupDialogData
* _result
;
1710 char *_kwnames
[] = { NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) return NULL
;
1723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 _resultobj
= Py_None
;
1732 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1733 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxPageSetupDialogData
* _arg0
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 delete_wxPageSetupDialogData(_arg0
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1761 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1763 wxPageSetupDialogData
* _arg0
;
1765 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self","flag", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1779 _arg1
= (bool ) tempbool1
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1786 } Py_INCREF(Py_None
);
1787 _resultobj
= Py_None
;
1791 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1792 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxPageSetupDialogData
* _arg0
;
1796 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","flag", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1810 _arg1
= (bool ) tempbool1
;
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1823 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 wxPageSetupDialogData
* _arg0
;
1827 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self","flag", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1841 _arg1
= (bool ) tempbool1
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1854 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1856 wxPageSetupDialogData
* _arg0
;
1858 PyObject
* _argo0
= 0;
1860 char *_kwnames
[] = { "self","flag", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1872 _arg1
= (bool ) tempbool1
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) return NULL
;
1879 } Py_INCREF(Py_None
);
1880 _resultobj
= Py_None
;
1884 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1885 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1887 wxPageSetupDialogData
* _arg0
;
1889 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self","flag", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1903 _arg1
= (bool ) tempbool1
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1916 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxPageSetupDialogData
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1944 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxPageSetupDialogData
* _arg0
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) return NULL
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1972 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 wxPageSetupDialogData
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } _resultobj
= Py_BuildValue("i",_result
);
1999 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2000 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 wxPageSetupDialogData
* _arg0
;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) return NULL
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2028 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxPageSetupDialogData
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2056 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2059 wxPageSetupDialogData
* _arg0
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2084 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2087 wxPageSetupDialogData
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } _resultobj
= Py_BuildValue("i",_result
);
2111 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2112 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 wxPageSetupDialogData
* _arg0
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) return NULL
;
2136 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2137 _resultobj
= Py_BuildValue("s",_ptemp
);
2141 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2142 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2145 wxPageSetupDialogData
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2167 _resultobj
= Py_BuildValue("s",_ptemp
);
2171 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2172 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2175 wxPageSetupDialogData
* _arg0
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) return NULL
;
2196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2197 _resultobj
= Py_BuildValue("s",_ptemp
);
2201 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2202 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2205 wxPageSetupDialogData
* _arg0
;
2206 PyObject
* _argo0
= 0;
2207 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2227 _resultobj
= Py_BuildValue("s",_ptemp
);
2231 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2232 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2234 wxPaperSize _result
;
2235 wxPageSetupDialogData
* _arg0
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2260 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2263 wxPageSetupDialogData
* _arg0
;
2264 PyObject
* _argo0
= 0;
2265 char *_kwnames
[] = { "self", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) return NULL
;
2284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2285 _resultobj
= Py_BuildValue("s",_ptemp
);
2289 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2290 return new wxPrintData(self
->GetPrintData()); // force a copy
2292 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2294 wxPrintData
* _result
;
2295 wxPageSetupDialogData
* _arg0
;
2296 PyObject
* _argo0
= 0;
2297 char *_kwnames
[] = { "self", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2318 _resultobj
= Py_BuildValue("s",_ptemp
);
2321 _resultobj
= Py_None
;
2326 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2327 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2329 wxPageSetupDialogData
* _arg0
;
2331 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self","flag", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2345 _arg1
= (bool ) tempbool1
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } Py_INCREF(Py_None
);
2353 _resultobj
= Py_None
;
2357 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2358 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2360 wxPageSetupDialogData
* _arg0
;
2362 PyObject
* _argo0
= 0;
2364 char *_kwnames
[] = { "self","flag", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2376 _arg1
= (bool ) tempbool1
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2389 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxPageSetupDialogData
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 PyObject
* _obj1
= 0;
2396 char *_kwnames
[] = { "self","pt", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2410 if (! wxPoint_helper(_obj1
, &_arg1
))
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } Py_INCREF(Py_None
);
2420 _resultobj
= Py_None
;
2424 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2425 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2427 wxPageSetupDialogData
* _arg0
;
2429 PyObject
* _argo0
= 0;
2431 PyObject
* _obj1
= 0;
2432 char *_kwnames
[] = { "self","pt", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2446 if (! wxPoint_helper(_obj1
, &_arg1
))
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2461 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2463 wxPageSetupDialogData
* _arg0
;
2465 PyObject
* _argo0
= 0;
2467 PyObject
* _obj1
= 0;
2468 char *_kwnames
[] = { "self","pt", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2482 if (! wxPoint_helper(_obj1
, &_arg1
))
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) return NULL
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2497 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2499 wxPageSetupDialogData
* _arg0
;
2501 PyObject
* _argo0
= 0;
2503 PyObject
* _obj1
= 0;
2504 char *_kwnames
[] = { "self","pt", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2518 if (! wxPoint_helper(_obj1
, &_arg1
))
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2533 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxPageSetupDialogData
* _arg0
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "self","id", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } Py_INCREF(Py_None
);
2557 _resultobj
= Py_None
;
2561 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2562 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2564 wxPageSetupDialogData
* _arg0
;
2566 PyObject
* _argo0
= 0;
2568 PyObject
* _obj1
= 0;
2569 char *_kwnames
[] = { "self","size", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2583 if (! wxSize_helper(_obj1
, &_arg1
))
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2598 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2600 wxPageSetupDialogData
* _arg0
;
2601 wxPrintData
* _arg1
;
2602 PyObject
* _argo0
= 0;
2603 PyObject
* _argo1
= 0;
2604 char *_kwnames
[] = { "self","printData", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2635 wxPageSetupDialog
*src
;
2637 src
= (wxPageSetupDialog
*) ptr
;
2638 dest
= (wxDialog
*) src
;
2639 return (void *) dest
;
2642 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2643 wxPageSetupDialog
*src
;
2644 wxTopLevelWindow
*dest
;
2645 src
= (wxPageSetupDialog
*) ptr
;
2646 dest
= (wxTopLevelWindow
*) src
;
2647 return (void *) dest
;
2650 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2651 wxPageSetupDialog
*src
;
2653 src
= (wxPageSetupDialog
*) ptr
;
2654 dest
= (wxWindow
*) src
;
2655 return (void *) dest
;
2658 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2659 wxPageSetupDialog
*src
;
2661 src
= (wxPageSetupDialog
*) ptr
;
2662 dest
= (wxEvtHandler
*) src
;
2663 return (void *) dest
;
2666 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2667 wxPageSetupDialog
*src
;
2669 src
= (wxPageSetupDialog
*) ptr
;
2670 dest
= (wxObject
*) src
;
2671 return (void *) dest
;
2674 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2677 wxPageSetupDialog
* _result
;
2679 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2680 PyObject
* _argo0
= 0;
2681 PyObject
* _argo1
= 0;
2682 char *_kwnames
[] = { "parent","data", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) return NULL
;
2709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2710 _resultobj
= Py_BuildValue("s",_ptemp
);
2713 _resultobj
= Py_None
;
2718 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2719 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2721 wxPageSetupDialogData
* _result
;
2722 wxPageSetupDialog
* _arg0
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2740 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) return NULL
;
2745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2746 _resultobj
= Py_BuildValue("s",_ptemp
);
2749 _resultobj
= Py_None
;
2754 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2755 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2758 wxPageSetupDialog
* _arg0
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) return NULL
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2783 wxPrintDialogData
*src
;
2785 src
= (wxPrintDialogData
*) ptr
;
2786 dest
= (wxObject
*) src
;
2787 return (void *) dest
;
2790 #define new_wxPrintDialogData() (new wxPrintDialogData())
2791 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxPrintDialogData
* _result
;
2794 char *_kwnames
[] = { NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2808 _resultobj
= Py_BuildValue("s",_ptemp
);
2811 _resultobj
= Py_None
;
2816 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2817 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxPrintDialogData
* _arg0
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 delete_wxPrintDialogData(_arg0
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2839 } Py_INCREF(Py_None
);
2840 _resultobj
= Py_None
;
2844 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2845 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxPrintDialogData
* _arg0
;
2849 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","flag", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2863 _arg1
= (bool ) tempbool1
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2870 } Py_INCREF(Py_None
);
2871 _resultobj
= Py_None
;
2875 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2876 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2878 wxPrintDialogData
* _arg0
;
2880 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","flag", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2894 _arg1
= (bool ) tempbool1
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2907 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxPrintDialogData
* _arg0
;
2911 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self","flag", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2925 _arg1
= (bool ) tempbool1
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2938 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2940 wxPrintDialogData
* _arg0
;
2942 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self","flag", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2956 _arg1
= (bool ) tempbool1
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2969 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2972 wxPrintDialogData
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) return NULL
;
2992 } _resultobj
= Py_BuildValue("i",_result
);
2996 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2997 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3000 wxPrintDialogData
* _arg0
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) return NULL
;
3020 } _resultobj
= Py_BuildValue("i",_result
);
3024 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3025 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3028 wxPrintDialogData
* _arg0
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3053 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3056 wxPrintDialogData
* _arg0
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3081 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 wxPrintDialogData
* _arg0
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) return NULL
;
3104 } _resultobj
= Py_BuildValue("i",_result
);
3108 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3109 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 wxPrintDialogData
* _arg0
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } _resultobj
= Py_BuildValue("i",_result
);
3136 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3137 return new wxPrintData(self
->GetPrintData()); // force a copy
3139 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxPrintData
* _result
;
3142 wxPrintDialogData
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3165 _resultobj
= Py_BuildValue("s",_ptemp
);
3168 _resultobj
= Py_None
;
3173 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3174 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3177 wxPrintDialogData
* _arg0
;
3178 PyObject
* _argo0
= 0;
3179 char *_kwnames
[] = { "self", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) return NULL
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3202 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 wxPrintDialogData
* _arg0
;
3206 PyObject
* _argo0
= 0;
3207 char *_kwnames
[] = { "self", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) return NULL
;
3225 } _resultobj
= Py_BuildValue("i",_result
);
3229 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3230 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxPrintDialogData
* _arg0
;
3234 PyObject
* _argo0
= 0;
3236 char *_kwnames
[] = { "self","flag", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3248 _arg1
= (bool ) tempbool1
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3261 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3263 wxPrintDialogData
* _arg0
;
3265 PyObject
* _argo0
= 0;
3266 char *_kwnames
[] = { "self","page", NULL
};
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) return NULL
;
3284 } Py_INCREF(Py_None
);
3285 _resultobj
= Py_None
;
3289 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3290 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxPrintDialogData
* _arg0
;
3294 PyObject
* _argo0
= 0;
3295 char *_kwnames
[] = { "self","page", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } Py_INCREF(Py_None
);
3314 _resultobj
= Py_None
;
3318 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3319 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3321 wxPrintDialogData
* _arg0
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self","page", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } Py_INCREF(Py_None
);
3343 _resultobj
= Py_None
;
3347 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3348 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3350 wxPrintDialogData
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self","n", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 } Py_INCREF(Py_None
);
3372 _resultobj
= Py_None
;
3376 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3377 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3379 wxPrintDialogData
* _arg0
;
3380 wxPrintData
* _arg1
;
3381 PyObject
* _argo0
= 0;
3382 PyObject
* _argo1
= 0;
3383 char *_kwnames
[] = { "self","printData", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) return NULL
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3414 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3416 wxPrintDialogData
* _arg0
;
3418 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self","flag", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3432 _arg1
= (bool ) tempbool1
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3445 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxPrintDialogData
* _arg0
;
3449 PyObject
* _argo0
= 0;
3451 char *_kwnames
[] = { "self","flag", NULL
};
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3463 _arg1
= (bool ) tempbool1
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3470 } Py_INCREF(Py_None
);
3471 _resultobj
= Py_None
;
3475 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3476 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3478 wxPrintDialogData
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self","page", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } Py_INCREF(Py_None
);
3500 _resultobj
= Py_None
;
3504 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3507 src
= (wxPrintDialog
*) ptr
;
3508 dest
= (wxDialog
*) src
;
3509 return (void *) dest
;
3512 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3514 wxTopLevelWindow
*dest
;
3515 src
= (wxPrintDialog
*) ptr
;
3516 dest
= (wxTopLevelWindow
*) src
;
3517 return (void *) dest
;
3520 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3523 src
= (wxPrintDialog
*) ptr
;
3524 dest
= (wxWindow
*) src
;
3525 return (void *) dest
;
3528 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3531 src
= (wxPrintDialog
*) ptr
;
3532 dest
= (wxEvtHandler
*) src
;
3533 return (void *) dest
;
3536 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3539 src
= (wxPrintDialog
*) ptr
;
3540 dest
= (wxObject
*) src
;
3541 return (void *) dest
;
3544 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3545 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3547 wxPrintDialog
* _result
;
3549 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3550 PyObject
* _argo0
= 0;
3551 PyObject
* _argo1
= 0;
3552 char *_kwnames
[] = { "parent","data", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) return NULL
;
3579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3580 _resultobj
= Py_BuildValue("s",_ptemp
);
3583 _resultobj
= Py_None
;
3588 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3589 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3591 wxPrintDialogData
* _result
;
3592 wxPrintDialog
* _arg0
;
3593 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3610 _result
= (wxPrintDialogData
*) &_result_ref
;
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3616 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 _resultobj
= Py_None
;
3624 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3625 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3628 wxPrintDialog
* _arg0
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) return NULL
;
3648 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3652 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3653 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3656 wxPrintDialog
* _arg0
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) return NULL
;
3676 } _resultobj
= Py_BuildValue("i",_result
);
3680 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3683 src
= (wxPyPrintout
*) ptr
;
3684 dest
= (wxObject
*) src
;
3685 return (void *) dest
;
3688 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3689 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3691 wxPyPrintout
* _result
;
3692 char * _arg0
= (char *) "Printout";
3693 char *_kwnames
[] = { "title", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) return NULL
;
3706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3707 _resultobj
= Py_BuildValue("s",_ptemp
);
3710 _resultobj
= Py_None
;
3715 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3716 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3718 wxPyPrintout
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _obj1
= 0;
3723 PyObject
* _obj2
= 0;
3724 char *_kwnames
[] = { "self","self","_class", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3754 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxPyPrintout
* _arg0
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxPyPrintout_Destroy(_arg0
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) return NULL
;
3776 } Py_INCREF(Py_None
);
3777 _resultobj
= Py_None
;
3781 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3782 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3785 wxPyPrintout
* _arg0
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) return NULL
;
3805 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3809 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3810 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3812 wxPyPrintout
* _arg0
;
3817 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3846 o
= PyInt_FromLong((long) (*_arg1
));
3847 _resultobj
= t_output_helper(_resultobj
, o
);
3851 o
= PyInt_FromLong((long) (*_arg2
));
3852 _resultobj
= t_output_helper(_resultobj
, o
);
3857 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3858 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 wxPyPrintout
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3894 o
= PyInt_FromLong((long) (*_arg1
));
3895 _resultobj
= t_output_helper(_resultobj
, o
);
3899 o
= PyInt_FromLong((long) (*_arg2
));
3900 _resultobj
= t_output_helper(_resultobj
, o
);
3905 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3906 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3908 wxPyPrintout
* _arg0
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) return NULL
;
3938 } Py_INCREF(Py_None
);
3939 _resultobj
= Py_None
;
3942 o
= PyInt_FromLong((long) (*_arg1
));
3943 _resultobj
= t_output_helper(_resultobj
, o
);
3947 o
= PyInt_FromLong((long) (*_arg2
));
3948 _resultobj
= t_output_helper(_resultobj
, o
);
3953 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3954 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3956 wxPyPrintout
* _arg0
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self", NULL
};
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) return NULL
;
3986 } Py_INCREF(Py_None
);
3987 _resultobj
= Py_None
;
3990 o
= PyInt_FromLong((long) (*_arg1
));
3991 _resultobj
= t_output_helper(_resultobj
, o
);
3995 o
= PyInt_FromLong((long) (*_arg2
));
3996 _resultobj
= t_output_helper(_resultobj
, o
);
4001 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4002 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4005 wxPyPrintout
* _arg0
;
4006 PyObject
* _argo0
= 0;
4007 char *_kwnames
[] = { "self", NULL
};
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) return NULL
;
4025 } _resultobj
= Py_BuildValue("i",_result
);
4029 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4030 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4033 wxPyPrintout
* _arg0
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4060 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4062 wxPyPrintout
* _arg0
;
4063 PyObject
* _argo0
= 0;
4064 char *_kwnames
[] = { "self", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 wxPrintout_base_OnEndDocument(_arg0
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) return NULL
;
4082 } Py_INCREF(Py_None
);
4083 _resultobj
= Py_None
;
4087 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4088 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4090 wxPyPrintout
* _arg0
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "self", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 wxPrintout_base_OnBeginPrinting(_arg0
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) return NULL
;
4110 } Py_INCREF(Py_None
);
4111 _resultobj
= Py_None
;
4115 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4116 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4118 wxPyPrintout
* _arg0
;
4119 PyObject
* _argo0
= 0;
4120 char *_kwnames
[] = { "self", NULL
};
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 wxPrintout_base_OnEndPrinting(_arg0
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) return NULL
;
4138 } Py_INCREF(Py_None
);
4139 _resultobj
= Py_None
;
4143 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4144 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4146 wxPyPrintout
* _arg0
;
4147 PyObject
* _argo0
= 0;
4148 char *_kwnames
[] = { "self", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxPrintout_base_OnPreparePrinting(_arg0
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) return NULL
;
4166 } Py_INCREF(Py_None
);
4167 _resultobj
= Py_None
;
4171 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4172 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4174 wxPyPrintout
* _arg0
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4214 } Py_INCREF(Py_None
);
4215 _resultobj
= Py_None
;
4218 o
= PyInt_FromLong((long) (*_arg1
));
4219 _resultobj
= t_output_helper(_resultobj
, o
);
4223 o
= PyInt_FromLong((long) (*_arg2
));
4224 _resultobj
= t_output_helper(_resultobj
, o
);
4228 o
= PyInt_FromLong((long) (*_arg3
));
4229 _resultobj
= t_output_helper(_resultobj
, o
);
4233 o
= PyInt_FromLong((long) (*_arg4
));
4234 _resultobj
= t_output_helper(_resultobj
, o
);
4239 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4240 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4243 wxPyPrintout
* _arg0
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self","page", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } _resultobj
= Py_BuildValue("i",_result
);
4268 static void *SwigwxPrinterTowxObject(void *ptr
) {
4271 src
= (wxPrinter
*) ptr
;
4272 dest
= (wxObject
*) src
;
4273 return (void *) dest
;
4276 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4277 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4279 wxPrinter
* _result
;
4280 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "data", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4303 _resultobj
= Py_BuildValue("s",_ptemp
);
4306 _resultobj
= Py_None
;
4311 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4312 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 delete_wxPrinter(_arg0
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) return NULL
;
4334 } Py_INCREF(Py_None
);
4335 _resultobj
= Py_None
;
4339 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4340 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 wxPyPrintout
* _arg2
;
4345 PyObject
* _argo0
= 0;
4346 PyObject
* _argo1
= 0;
4347 PyObject
* _argo2
= 0;
4348 char *_kwnames
[] = { "self","parent","printout", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4368 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4386 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxPrintDialogData
* _result
;
4390 PyObject
* _argo0
= 0;
4391 char *_kwnames
[] = { "self", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4407 _result
= (wxPrintDialogData
*) &_result_ref
;
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) return NULL
;
4412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4413 _resultobj
= Py_BuildValue("s",_ptemp
);
4416 _resultobj
= Py_None
;
4421 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4422 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4427 wxPyPrintout
* _arg2
;
4428 int _arg3
= (int ) TRUE
;
4429 PyObject
* _argo0
= 0;
4430 PyObject
* _argo1
= 0;
4431 PyObject
* _argo2
= 0;
4432 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4452 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) return NULL
;
4464 } _resultobj
= Py_BuildValue("i",_result
);
4468 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4469 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4474 PyObject
* _argo0
= 0;
4475 PyObject
* _argo1
= 0;
4476 char *_kwnames
[] = { "self","parent", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) return NULL
;
4501 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4505 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4506 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4510 wxPyPrintout
* _arg2
;
4512 PyObject
* _argo0
= 0;
4513 PyObject
* _argo1
= 0;
4514 PyObject
* _argo2
= 0;
4515 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4535 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4547 } Py_INCREF(Py_None
);
4548 _resultobj
= Py_None
;
4552 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4553 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4560 char *_kwnames
[] = { "self","parent", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } _resultobj
= Py_BuildValue("i",_result
);
4589 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4590 wxPrintPreview
*src
;
4592 src
= (wxPrintPreview
*) ptr
;
4593 dest
= (wxObject
*) src
;
4594 return (void *) dest
;
4597 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4598 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4600 wxPrintPreview
* _result
;
4601 wxPyPrintout
* _arg0
;
4602 wxPyPrintout
* _arg1
;
4603 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4604 PyObject
* _argo0
= 0;
4605 PyObject
* _argo1
= 0;
4606 PyObject
* _argo2
= 0;
4607 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4628 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) return NULL
;
4641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4642 _resultobj
= Py_BuildValue("s",_ptemp
);
4645 _resultobj
= Py_None
;
4650 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4651 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4654 wxPrintPreview
* _arg0
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) return NULL
;
4674 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4678 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4679 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4682 wxPrintPreview
* _arg0
;
4683 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) return NULL
;
4702 } _resultobj
= Py_BuildValue("i",_result
);
4706 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4707 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4710 wxPrintPreview
* _arg0
;
4711 PyObject
* _argo0
= 0;
4712 char *_kwnames
[] = { "self", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) return NULL
;
4730 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4734 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4735 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4738 wxPrintPreview
* _arg0
;
4739 PyObject
* _argo0
= 0;
4740 char *_kwnames
[] = { "self", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } _resultobj
= Py_BuildValue("i",_result
);
4762 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4763 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4766 wxPrintPreview
* _arg0
;
4767 PyObject
* _argo0
= 0;
4768 char *_kwnames
[] = { "self", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } _resultobj
= Py_BuildValue("i",_result
);
4790 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4791 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4793 wxPrintDialogData
* _result
;
4794 wxPrintPreview
* _arg0
;
4795 PyObject
* _argo0
= 0;
4796 char *_kwnames
[] = { "self", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4812 _result
= (wxPrintDialogData
*) &_result_ref
;
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4818 _resultobj
= Py_BuildValue("s",_ptemp
);
4821 _resultobj
= Py_None
;
4826 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4827 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4829 wxPyPrintout
* _result
;
4830 wxPrintPreview
* _arg0
;
4831 PyObject
* _argo0
= 0;
4832 char *_kwnames
[] = { "self", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) return NULL
;
4850 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4854 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4855 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4857 wxPyPrintout
* _result
;
4858 wxPrintPreview
* _arg0
;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) return NULL
;
4878 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4882 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4883 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4886 wxPrintPreview
* _arg0
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "self", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } _resultobj
= Py_BuildValue("i",_result
);
4910 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4911 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 wxPrintPreview
* _arg0
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } _resultobj
= Py_BuildValue("i",_result
);
4938 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4939 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4942 wxPrintPreview
* _arg0
;
4944 PyObject
* _argo0
= 0;
4946 char *_kwnames
[] = { "self","prompt", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4958 _arg1
= (bool ) tempbool1
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) return NULL
;
4965 } _resultobj
= Py_BuildValue("i",_result
);
4969 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4970 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4972 wxPrintPreview
* _arg0
;
4974 PyObject
* _argo0
= 0;
4975 PyObject
* _argo1
= 0;
4976 char *_kwnames
[] = { "self","window", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5006 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5007 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5009 wxPrintPreview
* _arg0
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self","pageNum", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) return NULL
;
5030 } Py_INCREF(Py_None
);
5031 _resultobj
= Py_None
;
5035 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5036 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5038 wxPrintPreview
* _arg0
;
5040 PyObject
* _argo0
= 0;
5041 PyObject
* _argo1
= 0;
5042 char *_kwnames
[] = { "self","frame", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) return NULL
;
5067 } Py_INCREF(Py_None
);
5068 _resultobj
= Py_None
;
5072 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5073 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 wxPrintPreview
* _arg0
;
5076 wxPyPrintout
* _arg1
;
5077 PyObject
* _argo0
= 0;
5078 PyObject
* _argo1
= 0;
5079 char *_kwnames
[] = { "self","printout", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5104 } Py_INCREF(Py_None
);
5105 _resultobj
= Py_None
;
5109 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5110 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5112 wxPrintPreview
* _arg0
;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self","percent", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5139 wxPreviewFrame
*src
;
5141 src
= (wxPreviewFrame
*) ptr
;
5142 dest
= (wxFrame
*) src
;
5143 return (void *) dest
;
5146 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5147 wxPreviewFrame
*src
;
5148 wxTopLevelWindow
*dest
;
5149 src
= (wxPreviewFrame
*) ptr
;
5150 dest
= (wxTopLevelWindow
*) src
;
5151 return (void *) dest
;
5154 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5155 wxPreviewFrame
*src
;
5157 src
= (wxPreviewFrame
*) ptr
;
5158 dest
= (wxWindow
*) src
;
5159 return (void *) dest
;
5162 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5163 wxPreviewFrame
*src
;
5165 src
= (wxPreviewFrame
*) ptr
;
5166 dest
= (wxEvtHandler
*) src
;
5167 return (void *) dest
;
5170 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5171 wxPreviewFrame
*src
;
5173 src
= (wxPreviewFrame
*) ptr
;
5174 dest
= (wxObject
*) src
;
5175 return (void *) dest
;
5178 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5179 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
* _resultobj
;
5181 wxPreviewFrame
* _result
;
5182 wxPrintPreview
* _arg0
;
5185 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5186 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5187 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5188 char * _arg6
= (char *) "frame";
5189 PyObject
* _argo0
= 0;
5190 PyObject
* _argo1
= 0;
5191 PyObject
* _obj2
= 0;
5193 PyObject
* _obj3
= 0;
5195 PyObject
* _obj4
= 0;
5196 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5217 _arg2
= wxString_in_helper(_obj2
);
5224 if (! wxPoint_helper(_obj3
, &_arg3
))
5230 if (! wxSize_helper(_obj4
, &_arg4
))
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) return NULL
;
5240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5241 _resultobj
= Py_BuildValue("s",_ptemp
);
5244 _resultobj
= Py_None
;
5253 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5254 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5256 wxPreviewFrame
* _arg0
;
5257 PyObject
* _argo0
= 0;
5258 char *_kwnames
[] = { "self", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 wxPreviewFrame_Initialize(_arg0
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) return NULL
;
5276 } Py_INCREF(Py_None
);
5277 _resultobj
= Py_None
;
5281 static PyMethodDef printfwcMethods
[] = {
5282 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5440 * This table is used by the pointer type-checker
5442 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5443 { "_signed_long","_long",0},
5444 { "_wxPrintQuality","_wxCoord",0},
5445 { "_wxPrintQuality","_int",0},
5446 { "_wxPrintQuality","_signed_int",0},
5447 { "_wxPrintQuality","_unsigned_int",0},
5448 { "_wxPrintQuality","_wxWindowID",0},
5449 { "_wxPrintQuality","_uint",0},
5450 { "_wxPrintQuality","_EBool",0},
5451 { "_wxPrintQuality","_size_t",0},
5452 { "_wxPrintQuality","_time_t",0},
5453 { "_byte","_unsigned_char",0},
5454 { "_long","_unsigned_long",0},
5455 { "_long","_signed_long",0},
5456 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5457 { "_size_t","_wxCoord",0},
5458 { "_size_t","_wxPrintQuality",0},
5459 { "_size_t","_time_t",0},
5460 { "_size_t","_unsigned_int",0},
5461 { "_size_t","_int",0},
5462 { "_size_t","_wxWindowID",0},
5463 { "_size_t","_uint",0},
5464 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5465 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5466 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5467 { "_uint","_wxCoord",0},
5468 { "_uint","_wxPrintQuality",0},
5469 { "_uint","_time_t",0},
5470 { "_uint","_size_t",0},
5471 { "_uint","_unsigned_int",0},
5472 { "_uint","_int",0},
5473 { "_uint","_wxWindowID",0},
5474 { "_wxChar","_char",0},
5475 { "_char","_wxChar",0},
5476 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5477 { "_EBool","_wxCoord",0},
5478 { "_EBool","_wxPrintQuality",0},
5479 { "_EBool","_signed_int",0},
5480 { "_EBool","_int",0},
5481 { "_EBool","_wxWindowID",0},
5482 { "_unsigned_long","_long",0},
5483 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5484 { "_signed_int","_wxCoord",0},
5485 { "_signed_int","_wxPrintQuality",0},
5486 { "_signed_int","_EBool",0},
5487 { "_signed_int","_wxWindowID",0},
5488 { "_signed_int","_int",0},
5489 { "_WXTYPE","_short",0},
5490 { "_WXTYPE","_signed_short",0},
5491 { "_WXTYPE","_unsigned_short",0},
5492 { "_unsigned_short","_WXTYPE",0},
5493 { "_unsigned_short","_short",0},
5494 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5495 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5496 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5497 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5498 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5499 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5500 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5501 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5502 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5503 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5504 { "_signed_short","_WXTYPE",0},
5505 { "_signed_short","_short",0},
5506 { "_unsigned_char","_byte",0},
5507 { "_unsigned_int","_wxCoord",0},
5508 { "_unsigned_int","_wxPrintQuality",0},
5509 { "_unsigned_int","_time_t",0},
5510 { "_unsigned_int","_size_t",0},
5511 { "_unsigned_int","_uint",0},
5512 { "_unsigned_int","_wxWindowID",0},
5513 { "_unsigned_int","_int",0},
5514 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5515 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5516 { "_short","_WXTYPE",0},
5517 { "_short","_unsigned_short",0},
5518 { "_short","_signed_short",0},
5519 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5520 { "_wxWindowID","_wxCoord",0},
5521 { "_wxWindowID","_wxPrintQuality",0},
5522 { "_wxWindowID","_time_t",0},
5523 { "_wxWindowID","_size_t",0},
5524 { "_wxWindowID","_EBool",0},
5525 { "_wxWindowID","_uint",0},
5526 { "_wxWindowID","_int",0},
5527 { "_wxWindowID","_signed_int",0},
5528 { "_wxWindowID","_unsigned_int",0},
5529 { "_int","_wxCoord",0},
5530 { "_int","_wxPrintQuality",0},
5531 { "_int","_time_t",0},
5532 { "_int","_size_t",0},
5533 { "_int","_EBool",0},
5534 { "_int","_uint",0},
5535 { "_int","_wxWindowID",0},
5536 { "_int","_unsigned_int",0},
5537 { "_int","_signed_int",0},
5538 { "_time_t","_wxCoord",0},
5539 { "_time_t","_wxPrintQuality",0},
5540 { "_time_t","_unsigned_int",0},
5541 { "_time_t","_int",0},
5542 { "_time_t","_wxWindowID",0},
5543 { "_time_t","_uint",0},
5544 { "_time_t","_size_t",0},
5545 { "_wxCoord","_int",0},
5546 { "_wxCoord","_signed_int",0},
5547 { "_wxCoord","_unsigned_int",0},
5548 { "_wxCoord","_wxWindowID",0},
5549 { "_wxCoord","_uint",0},
5550 { "_wxCoord","_EBool",0},
5551 { "_wxCoord","_size_t",0},
5552 { "_wxCoord","_time_t",0},
5553 { "_wxCoord","_wxPrintQuality",0},
5554 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5555 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5556 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5557 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5558 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5559 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5562 static PyObject
*SWIG_globals
;
5566 SWIGEXPORT(void) initprintfwc() {
5568 SWIG_globals
= SWIG_newvarlink();
5569 m
= Py_InitModule("printfwc", printfwcMethods
);
5570 d
= PyModule_GetDict(m
);
5572 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5575 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5576 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);