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>
65 // Put some wx default wxChar* values into wxStrings.
66 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
67 DECLARE_DEF_STRING(PrintoutTitleStr
);
69 DECLARE_DEF_STRING(FrameNameStr
);
72 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
78 } else if (target
== Py_None
) {
82 if (!PyTuple_Check(target
)) {
84 target
= PyTuple_New(1);
85 PyTuple_SetItem(target
, 0, o2
);
88 PyTuple_SetItem(o3
, 0, o
);
91 target
= PySequence_Concat(o2
, o3
);
100 // Since this one would be tough and ugly to do with the Macros...
101 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
105 wxPyBeginBlockThreads();
106 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
107 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
108 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
111 val
= PyTuple_GetItem(result
, 0);
112 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
115 val
= PyTuple_GetItem(result
, 1);
116 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 2);
120 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 3);
124 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
131 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
136 wxPyEndBlockThreads();
138 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
141 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
150 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
158 static void *SwigwxPrintDataTowxObject(void *ptr
) {
161 src
= (wxPrintData
*) ptr
;
162 dest
= (wxObject
*) src
;
163 return (void *) dest
;
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxPrintData
* _result
;
170 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 delete_wxPrintData(_arg0
);
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPyEndAllowThreads(__tstate
);
243 if (PyErr_Occurred()) return NULL
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
305 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 PyObject
* _argo0
= 0;
310 char *_kwnames
[] = { "self", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
325 _result
= (wxString
*) &_result_ref
;
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
331 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
333 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
339 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
340 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= (bool )wxPrintData_GetColour(_arg0
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
363 } _resultobj
= Py_BuildValue("i",_result
);
367 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
368 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
370 wxDuplexMode _result
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
396 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
424 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
445 _result
= (wxSize
*) &_result_ref
;
447 wxPyEndAllowThreads(__tstate
);
448 if (PyErr_Occurred()) return NULL
;
450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
451 _resultobj
= Py_BuildValue("s",_ptemp
);
454 _resultobj
= Py_None
;
459 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
460 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
462 wxPrintQuality _result
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) return NULL
;
483 } _resultobj
= Py_BuildValue("i",_result
);
487 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
488 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self","v", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 wxPrintData_SetNoCopies(_arg0
,_arg1
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
517 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","flag", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
535 _arg1
= (bool ) tempbool1
;
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 wxPrintData_SetCollate(_arg0
,_arg1
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
548 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self","orient", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 wxPrintData_SetOrientation(_arg0
,_arg1
);
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) return NULL
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
576 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
577 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 PyObject
* _obj1
= 0;
583 char *_kwnames
[] = { "self","name", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
596 _arg1
= wxString_in_helper(_obj1
);
601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
602 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
604 wxPyEndAllowThreads(__tstate
);
605 if (PyErr_Occurred()) return NULL
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
615 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
616 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","colour", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
634 _arg1
= (bool ) tempbool1
;
636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
637 wxPrintData_SetColour(_arg0
,_arg1
);
639 wxPyEndAllowThreads(__tstate
);
640 if (PyErr_Occurred()) return NULL
;
641 } Py_INCREF(Py_None
);
642 _resultobj
= Py_None
;
646 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
647 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
651 PyObject
* _argo0
= 0;
652 char *_kwnames
[] = { "self","duplex", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
666 wxPrintData_SetDuplex(_arg0
,_arg1
);
668 wxPyEndAllowThreads(__tstate
);
669 if (PyErr_Occurred()) return NULL
;
670 } Py_INCREF(Py_None
);
671 _resultobj
= Py_None
;
675 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
676 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self","sizeId", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 wxPrintData_SetPaperId(_arg0
,_arg1
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } Py_INCREF(Py_None
);
700 _resultobj
= Py_None
;
704 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
705 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
711 PyObject
* _obj1
= 0;
712 char *_kwnames
[] = { "self","sz", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
726 if (! wxSize_helper(_obj1
, &_arg1
))
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
741 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 wxPrintQuality _arg1
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","quality", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 wxPrintData_SetQuality(_arg0
,_arg1
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
764 } Py_INCREF(Py_None
);
765 _resultobj
= Py_None
;
769 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
770 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
790 _result
= (wxString
*) &_result_ref
;
792 wxPyEndAllowThreads(__tstate
);
793 if (PyErr_Occurred()) return NULL
;
796 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
804 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
805 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
809 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
825 _result
= (wxString
*) &_result_ref
;
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
831 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
833 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
839 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
840 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
860 _result
= (wxString
*) &_result_ref
;
862 wxPyEndAllowThreads(__tstate
);
863 if (PyErr_Occurred()) return NULL
;
866 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
868 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
874 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
875 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
895 _result
= (wxString
*) &_result_ref
;
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
901 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
903 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
909 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
910 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
914 PyObject
* _argo0
= 0;
915 char *_kwnames
[] = { "self", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
930 _result
= (wxString
*) &_result_ref
;
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) return NULL
;
936 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
944 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
945 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "self", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) return NULL
;
968 } _resultobj
= Py_BuildValue("d",_result
);
972 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
973 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("d",_result
);
1000 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1001 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 wxPrintData
* _arg0
;
1005 PyObject
* _argo0
= 0;
1006 char *_kwnames
[] = { "self", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } _resultobj
= Py_BuildValue("l",_result
);
1028 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1029 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 wxPrintData
* _arg0
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1048 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1050 wxPyEndAllowThreads(__tstate
);
1051 if (PyErr_Occurred()) return NULL
;
1052 } _resultobj
= Py_BuildValue("l",_result
);
1056 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1057 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1059 wxPrintMode
* _result
;
1060 wxPrintData
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1077 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1079 wxPyEndAllowThreads(__tstate
);
1080 if (PyErr_Occurred()) return NULL
;
1081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1082 _resultobj
= Py_BuildValue("s",_ptemp
);
1086 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1087 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1089 wxPrintData
* _arg0
;
1091 PyObject
* _argo0
= 0;
1092 PyObject
* _obj1
= 0;
1093 char *_kwnames
[] = { "self","command", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1106 _arg1
= wxString_in_helper(_obj1
);
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1125 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1126 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1128 wxPrintData
* _arg0
;
1130 PyObject
* _argo0
= 0;
1131 PyObject
* _obj1
= 0;
1132 char *_kwnames
[] = { "self","options", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1145 _arg1
= wxString_in_helper(_obj1
);
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) return NULL
;
1155 } Py_INCREF(Py_None
);
1156 _resultobj
= Py_None
;
1164 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1165 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxPrintData
* _arg0
;
1169 PyObject
* _argo0
= 0;
1170 PyObject
* _obj1
= 0;
1171 char *_kwnames
[] = { "self","command", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1184 _arg1
= wxString_in_helper(_obj1
);
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1203 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1204 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxPrintData
* _arg0
;
1208 PyObject
* _argo0
= 0;
1209 PyObject
* _obj1
= 0;
1210 char *_kwnames
[] = { "self","filename", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1223 _arg1
= wxString_in_helper(_obj1
);
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 wxPrintData_SetFilename(_arg0
,*_arg1
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) return NULL
;
1233 } Py_INCREF(Py_None
);
1234 _resultobj
= Py_None
;
1242 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1243 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxPrintData
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 PyObject
* _obj1
= 0;
1249 char *_kwnames
[] = { "self","path", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1262 _arg1
= wxString_in_helper(_obj1
);
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) return NULL
;
1272 } Py_INCREF(Py_None
);
1273 _resultobj
= Py_None
;
1281 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1282 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxPrintData
* _arg0
;
1286 PyObject
* _argo0
= 0;
1287 char *_kwnames
[] = { "self","x", NULL
};
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) return NULL
;
1305 } Py_INCREF(Py_None
);
1306 _resultobj
= Py_None
;
1310 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1311 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1313 wxPrintData
* _arg0
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self","y", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1340 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxPrintData
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self","x","y", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1370 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1372 wxPrintData
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self","x", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) return NULL
;
1393 } Py_INCREF(Py_None
);
1394 _resultobj
= Py_None
;
1398 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1399 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxPrintData
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self","y", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) return NULL
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1428 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxPrintData
* _arg0
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self","x","y", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1452 } Py_INCREF(Py_None
);
1453 _resultobj
= Py_None
;
1457 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1458 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1460 wxPrintData
* _arg0
;
1461 wxPrintMode
* _arg1
;
1462 PyObject
* _argo0
= 0;
1463 PyObject
* _argo1
= 0;
1464 char *_kwnames
[] = { "self","printMode", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) return NULL
;
1489 } Py_INCREF(Py_None
);
1490 _resultobj
= Py_None
;
1494 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1495 wxPostScriptDC
*src
;
1497 src
= (wxPostScriptDC
*) ptr
;
1498 dest
= (wxDC
*) src
;
1499 return (void *) dest
;
1502 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1503 wxPostScriptDC
*src
;
1505 src
= (wxPostScriptDC
*) ptr
;
1506 dest
= (wxObject
*) src
;
1507 return (void *) dest
;
1510 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1511 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1513 wxPostScriptDC
* _result
;
1514 wxPrintData
* _arg0
;
1515 PyObject
* _argo0
= 0;
1516 char *_kwnames
[] = { "printData", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) return NULL
;
1536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1537 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 _resultobj
= Py_None
;
1545 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1546 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxPostScriptDC
* _result
;
1550 bool _arg1
= (bool ) TRUE
;
1551 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1552 PyObject
* _obj0
= 0;
1553 int tempbool1
= (int) TRUE
;
1554 PyObject
* _argo2
= 0;
1555 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1562 _arg0
= wxString_in_helper(_obj0
);
1566 _arg1
= (bool ) tempbool1
;
1568 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) return NULL
;
1581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1582 _resultobj
= Py_BuildValue("s",_ptemp
);
1585 _resultobj
= Py_None
;
1594 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1595 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxPrintData
* _result
;
1598 wxPostScriptDC
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1616 _result
= (wxPrintData
*) &_result_ref
;
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 _resultobj
= Py_None
;
1630 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1631 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxPostScriptDC
* _arg0
;
1634 wxPrintData
* _arg1
;
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo1
= 0;
1637 char *_kwnames
[] = { "self","data", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) return NULL
;
1662 } Py_INCREF(Py_None
);
1663 _resultobj
= Py_None
;
1667 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1670 char *_kwnames
[] = { "ppi", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 wxPostScriptDC::SetResolution(_arg0
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) return NULL
;
1681 } Py_INCREF(Py_None
);
1682 _resultobj
= Py_None
;
1686 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1689 char *_kwnames
[] = { NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (int )wxPostScriptDC::GetResolution();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1700 } _resultobj
= Py_BuildValue("i",_result
);
1704 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1705 wxPageSetupDialogData
*src
;
1707 src
= (wxPageSetupDialogData
*) ptr
;
1708 dest
= (wxObject
*) src
;
1709 return (void *) dest
;
1712 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1713 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxPageSetupDialogData
* _result
;
1716 char *_kwnames
[] = { NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1730 _resultobj
= Py_BuildValue("s",_ptemp
);
1733 _resultobj
= Py_None
;
1738 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1739 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxPageSetupDialogData
* _arg0
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 delete_wxPageSetupDialogData(_arg0
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1767 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxPageSetupDialogData
* _arg0
;
1771 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self","flag", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1785 _arg1
= (bool ) tempbool1
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1798 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxPageSetupDialogData
* _arg0
;
1802 PyObject
* _argo0
= 0;
1804 char *_kwnames
[] = { "self","flag", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1816 _arg1
= (bool ) tempbool1
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1829 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1831 wxPageSetupDialogData
* _arg0
;
1833 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self","flag", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1847 _arg1
= (bool ) tempbool1
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1860 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1862 wxPageSetupDialogData
* _arg0
;
1864 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self","flag", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1878 _arg1
= (bool ) tempbool1
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1890 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1891 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxPageSetupDialogData
* _arg0
;
1895 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self","flag", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1909 _arg1
= (bool ) tempbool1
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1922 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1925 wxPageSetupDialogData
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } _resultobj
= Py_BuildValue("i",_result
);
1949 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1950 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1953 wxPageSetupDialogData
* _arg0
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1977 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1978 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 wxPageSetupDialogData
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2006 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxPageSetupDialogData
* _arg0
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) return NULL
;
2029 } _resultobj
= Py_BuildValue("i",_result
);
2033 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2034 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2037 wxPageSetupDialogData
* _arg0
;
2038 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2061 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2062 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 wxPageSetupDialogData
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) return NULL
;
2085 } _resultobj
= Py_BuildValue("i",_result
);
2089 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2090 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2093 wxPageSetupDialogData
* _arg0
;
2094 PyObject
* _argo0
= 0;
2095 char *_kwnames
[] = { "self", NULL
};
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } _resultobj
= Py_BuildValue("i",_result
);
2117 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2118 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2121 wxPageSetupDialogData
* _arg0
;
2122 PyObject
* _argo0
= 0;
2123 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2143 _resultobj
= Py_BuildValue("s",_ptemp
);
2147 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2148 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 wxPageSetupDialogData
* _arg0
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) return NULL
;
2172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2173 _resultobj
= Py_BuildValue("s",_ptemp
);
2177 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2178 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2181 wxPageSetupDialogData
* _arg0
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2203 _resultobj
= Py_BuildValue("s",_ptemp
);
2207 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2208 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2211 wxPageSetupDialogData
* _arg0
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) return NULL
;
2232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2233 _resultobj
= Py_BuildValue("s",_ptemp
);
2237 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2238 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2240 wxPaperSize _result
;
2241 wxPageSetupDialogData
* _arg0
;
2242 PyObject
* _argo0
= 0;
2243 char *_kwnames
[] = { "self", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } _resultobj
= Py_BuildValue("i",_result
);
2265 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2266 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 wxPageSetupDialogData
* _arg0
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2291 _resultobj
= Py_BuildValue("s",_ptemp
);
2295 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2296 return new wxPrintData(self
->GetPrintData()); // force a copy
2298 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2300 wxPrintData
* _result
;
2301 wxPageSetupDialogData
* _arg0
;
2302 PyObject
* _argo0
= 0;
2303 char *_kwnames
[] = { "self", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) return NULL
;
2323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2324 _resultobj
= Py_BuildValue("s",_ptemp
);
2327 _resultobj
= Py_None
;
2332 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2333 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2335 wxPageSetupDialogData
* _arg0
;
2337 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","flag", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2351 _arg1
= (bool ) tempbool1
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } Py_INCREF(Py_None
);
2359 _resultobj
= Py_None
;
2363 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2364 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 wxPageSetupDialogData
* _arg0
;
2368 PyObject
* _argo0
= 0;
2370 char *_kwnames
[] = { "self","flag", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2382 _arg1
= (bool ) tempbool1
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2395 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxPageSetupDialogData
* _arg0
;
2399 PyObject
* _argo0
= 0;
2401 PyObject
* _obj1
= 0;
2402 char *_kwnames
[] = { "self","pt", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2416 if (! wxPoint_helper(_obj1
, &_arg1
))
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) return NULL
;
2425 } Py_INCREF(Py_None
);
2426 _resultobj
= Py_None
;
2430 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2431 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPageSetupDialogData
* _arg0
;
2435 PyObject
* _argo0
= 0;
2437 PyObject
* _obj1
= 0;
2438 char *_kwnames
[] = { "self","pt", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2452 if (! wxPoint_helper(_obj1
, &_arg1
))
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2467 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2469 wxPageSetupDialogData
* _arg0
;
2471 PyObject
* _argo0
= 0;
2473 PyObject
* _obj1
= 0;
2474 char *_kwnames
[] = { "self","pt", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2488 if (! wxPoint_helper(_obj1
, &_arg1
))
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2502 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2503 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2505 wxPageSetupDialogData
* _arg0
;
2507 PyObject
* _argo0
= 0;
2509 PyObject
* _obj1
= 0;
2510 char *_kwnames
[] = { "self","pt", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2524 if (! wxPoint_helper(_obj1
, &_arg1
))
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) return NULL
;
2533 } Py_INCREF(Py_None
);
2534 _resultobj
= Py_None
;
2538 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2539 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2541 wxPageSetupDialogData
* _arg0
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self","id", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) return NULL
;
2562 } Py_INCREF(Py_None
);
2563 _resultobj
= Py_None
;
2567 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2568 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2570 wxPageSetupDialogData
* _arg0
;
2572 PyObject
* _argo0
= 0;
2574 PyObject
* _obj1
= 0;
2575 char *_kwnames
[] = { "self","size", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2589 if (! wxSize_helper(_obj1
, &_arg1
))
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2603 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2604 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2606 wxPageSetupDialogData
* _arg0
;
2607 wxPrintData
* _arg1
;
2608 PyObject
* _argo0
= 0;
2609 PyObject
* _argo1
= 0;
2610 char *_kwnames
[] = { "self","printData", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2641 wxPageSetupDialog
*src
;
2643 src
= (wxPageSetupDialog
*) ptr
;
2644 dest
= (wxDialog
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2649 wxPageSetupDialog
*src
;
2650 wxTopLevelWindow
*dest
;
2651 src
= (wxPageSetupDialog
*) ptr
;
2652 dest
= (wxTopLevelWindow
*) src
;
2653 return (void *) dest
;
2656 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2657 wxPageSetupDialog
*src
;
2659 src
= (wxPageSetupDialog
*) ptr
;
2660 dest
= (wxWindow
*) src
;
2661 return (void *) dest
;
2664 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2665 wxPageSetupDialog
*src
;
2667 src
= (wxPageSetupDialog
*) ptr
;
2668 dest
= (wxEvtHandler
*) src
;
2669 return (void *) dest
;
2672 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2673 wxPageSetupDialog
*src
;
2675 src
= (wxPageSetupDialog
*) ptr
;
2676 dest
= (wxObject
*) src
;
2677 return (void *) dest
;
2680 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2681 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxPageSetupDialog
* _result
;
2685 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2686 PyObject
* _argo0
= 0;
2687 PyObject
* _argo1
= 0;
2688 char *_kwnames
[] = { "parent","data", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) return NULL
;
2715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2716 _resultobj
= Py_BuildValue("s",_ptemp
);
2719 _resultobj
= Py_None
;
2724 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2725 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2727 wxPageSetupDialogData
* _result
;
2728 wxPageSetupDialog
* _arg0
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2746 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) return NULL
;
2751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2752 _resultobj
= Py_BuildValue("s",_ptemp
);
2755 _resultobj
= Py_None
;
2760 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2761 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2764 wxPageSetupDialog
* _arg0
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) return NULL
;
2784 } _resultobj
= Py_BuildValue("i",_result
);
2788 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2789 wxPrintDialogData
*src
;
2791 src
= (wxPrintDialogData
*) ptr
;
2792 dest
= (wxObject
*) src
;
2793 return (void *) dest
;
2796 #define new_wxPrintDialogData() (new wxPrintDialogData())
2797 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2799 wxPrintDialogData
* _result
;
2800 char *_kwnames
[] = { NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) return NULL
;
2813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2814 _resultobj
= Py_BuildValue("s",_ptemp
);
2817 _resultobj
= Py_None
;
2822 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2823 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2825 wxPrintDialogData
* _arg0
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 delete_wxPrintDialogData(_arg0
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) return NULL
;
2845 } Py_INCREF(Py_None
);
2846 _resultobj
= Py_None
;
2850 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2851 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2853 wxPrintDialogData
* _arg0
;
2855 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self","flag", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2869 _arg1
= (bool ) tempbool1
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } Py_INCREF(Py_None
);
2877 _resultobj
= Py_None
;
2881 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2882 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2884 wxPrintDialogData
* _arg0
;
2886 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","flag", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2900 _arg1
= (bool ) tempbool1
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2912 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2913 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2915 wxPrintDialogData
* _arg0
;
2917 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","flag", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2931 _arg1
= (bool ) tempbool1
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2944 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxPrintDialogData
* _arg0
;
2948 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self","flag", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2962 _arg1
= (bool ) tempbool1
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) return NULL
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2975 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 wxPrintDialogData
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2998 } _resultobj
= Py_BuildValue("i",_result
);
3002 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3003 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3006 wxPrintDialogData
* _arg0
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3026 } _resultobj
= Py_BuildValue("i",_result
);
3030 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3031 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3034 wxPrintDialogData
* _arg0
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 } _resultobj
= Py_BuildValue("i",_result
);
3058 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3059 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3062 wxPrintDialogData
* _arg0
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) return NULL
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3087 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxPrintDialogData
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) return NULL
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3115 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 wxPrintDialogData
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) return NULL
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3142 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3143 return new wxPrintData(self
->GetPrintData()); // force a copy
3145 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxPrintData
* _result
;
3148 wxPrintDialogData
* _arg0
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3171 _resultobj
= Py_BuildValue("s",_ptemp
);
3174 _resultobj
= Py_None
;
3179 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3180 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3183 wxPrintDialogData
* _arg0
;
3184 PyObject
* _argo0
= 0;
3185 char *_kwnames
[] = { "self", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3203 } _resultobj
= Py_BuildValue("i",_result
);
3207 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3208 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3211 wxPrintDialogData
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3236 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxPrintDialogData
* _arg0
;
3240 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self","flag", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3254 _arg1
= (bool ) tempbool1
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 } Py_INCREF(Py_None
);
3262 _resultobj
= Py_None
;
3266 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3267 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3269 wxPrintDialogData
* _arg0
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self","page", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3296 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3298 wxPrintDialogData
* _arg0
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self","page", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) return NULL
;
3319 } Py_INCREF(Py_None
);
3320 _resultobj
= Py_None
;
3324 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3325 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3327 wxPrintDialogData
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self","page", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) return NULL
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3354 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 wxPrintDialogData
* _arg0
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self","n", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3383 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3385 wxPrintDialogData
* _arg0
;
3386 wxPrintData
* _arg1
;
3387 PyObject
* _argo0
= 0;
3388 PyObject
* _argo1
= 0;
3389 char *_kwnames
[] = { "self","printData", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) return NULL
;
3414 } Py_INCREF(Py_None
);
3415 _resultobj
= Py_None
;
3419 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3420 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxPrintDialogData
* _arg0
;
3424 PyObject
* _argo0
= 0;
3426 char *_kwnames
[] = { "self","flag", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3438 _arg1
= (bool ) tempbool1
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) return NULL
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3451 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxPrintDialogData
* _arg0
;
3455 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","flag", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3469 _arg1
= (bool ) tempbool1
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) return NULL
;
3476 } Py_INCREF(Py_None
);
3477 _resultobj
= Py_None
;
3481 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3482 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3484 wxPrintDialogData
* _arg0
;
3486 PyObject
* _argo0
= 0;
3487 char *_kwnames
[] = { "self","page", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) return NULL
;
3505 } Py_INCREF(Py_None
);
3506 _resultobj
= Py_None
;
3510 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3513 src
= (wxPrintDialog
*) ptr
;
3514 dest
= (wxDialog
*) src
;
3515 return (void *) dest
;
3518 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3520 wxTopLevelWindow
*dest
;
3521 src
= (wxPrintDialog
*) ptr
;
3522 dest
= (wxTopLevelWindow
*) src
;
3523 return (void *) dest
;
3526 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3529 src
= (wxPrintDialog
*) ptr
;
3530 dest
= (wxWindow
*) src
;
3531 return (void *) dest
;
3534 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3537 src
= (wxPrintDialog
*) ptr
;
3538 dest
= (wxEvtHandler
*) src
;
3539 return (void *) dest
;
3542 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3545 src
= (wxPrintDialog
*) ptr
;
3546 dest
= (wxObject
*) src
;
3547 return (void *) dest
;
3550 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3551 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3553 wxPrintDialog
* _result
;
3555 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _argo1
= 0;
3558 char *_kwnames
[] = { "parent","data", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) return NULL
;
3585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3586 _resultobj
= Py_BuildValue("s",_ptemp
);
3589 _resultobj
= Py_None
;
3594 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3595 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3597 wxPrintDialogData
* _result
;
3598 wxPrintDialog
* _arg0
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3616 _result
= (wxPrintDialogData
*) &_result_ref
;
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) return NULL
;
3621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3622 _resultobj
= Py_BuildValue("s",_ptemp
);
3625 _resultobj
= Py_None
;
3630 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3631 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3634 wxPrintDialog
* _arg0
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) return NULL
;
3654 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3658 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3659 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3662 wxPrintDialog
* _arg0
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) return NULL
;
3682 } _resultobj
= Py_BuildValue("i",_result
);
3686 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3689 src
= (wxPyPrintout
*) ptr
;
3690 dest
= (wxObject
*) src
;
3691 return (void *) dest
;
3694 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3695 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3697 wxPyPrintout
* _result
;
3698 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
3699 PyObject
* _obj0
= 0;
3700 char *_kwnames
[] = { "title", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
3708 _arg0
= wxString_in_helper(_obj0
);
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) return NULL
;
3719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3720 _resultobj
= Py_BuildValue("s",_ptemp
);
3723 _resultobj
= Py_None
;
3732 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3733 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxPyPrintout
* _arg0
;
3738 PyObject
* _argo0
= 0;
3739 PyObject
* _obj1
= 0;
3740 PyObject
* _obj2
= 0;
3741 char *_kwnames
[] = { "self","self","_class", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) return NULL
;
3765 } Py_INCREF(Py_None
);
3766 _resultobj
= Py_None
;
3770 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3771 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3773 wxPyPrintout
* _arg0
;
3774 PyObject
* _argo0
= 0;
3775 char *_kwnames
[] = { "self", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 wxPyPrintout_Destroy(_arg0
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) return NULL
;
3793 } Py_INCREF(Py_None
);
3794 _resultobj
= Py_None
;
3798 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3799 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3802 wxPyPrintout
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3822 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3826 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3827 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3829 wxPyPrintout
* _arg0
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) return NULL
;
3859 } Py_INCREF(Py_None
);
3860 _resultobj
= Py_None
;
3863 o
= PyInt_FromLong((long) (*_arg1
));
3864 _resultobj
= t_output_helper(_resultobj
, o
);
3868 o
= PyInt_FromLong((long) (*_arg2
));
3869 _resultobj
= t_output_helper(_resultobj
, o
);
3874 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3875 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3877 wxPyPrintout
* _arg0
;
3882 PyObject
* _argo0
= 0;
3883 char *_kwnames
[] = { "self", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } Py_INCREF(Py_None
);
3908 _resultobj
= Py_None
;
3911 o
= PyInt_FromLong((long) (*_arg1
));
3912 _resultobj
= t_output_helper(_resultobj
, o
);
3916 o
= PyInt_FromLong((long) (*_arg2
));
3917 _resultobj
= t_output_helper(_resultobj
, o
);
3922 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3923 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3925 wxPyPrintout
* _arg0
;
3930 PyObject
* _argo0
= 0;
3931 char *_kwnames
[] = { "self", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) return NULL
;
3955 } Py_INCREF(Py_None
);
3956 _resultobj
= Py_None
;
3959 o
= PyInt_FromLong((long) (*_arg1
));
3960 _resultobj
= t_output_helper(_resultobj
, o
);
3964 o
= PyInt_FromLong((long) (*_arg2
));
3965 _resultobj
= t_output_helper(_resultobj
, o
);
3970 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3971 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3973 wxPyPrintout
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } Py_INCREF(Py_None
);
4004 _resultobj
= Py_None
;
4007 o
= PyInt_FromLong((long) (*_arg1
));
4008 _resultobj
= t_output_helper(_resultobj
, o
);
4012 o
= PyInt_FromLong((long) (*_arg2
));
4013 _resultobj
= t_output_helper(_resultobj
, o
);
4018 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4019 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4022 wxPyPrintout
* _arg0
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4042 } _resultobj
= Py_BuildValue("i",_result
);
4046 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4047 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4050 wxPyPrintout
* _arg0
;
4053 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) return NULL
;
4072 } _resultobj
= Py_BuildValue("i",_result
);
4076 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4077 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4079 wxPyPrintout
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 wxPrintout_base_OnEndDocument(_arg0
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } Py_INCREF(Py_None
);
4100 _resultobj
= Py_None
;
4104 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4105 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4107 wxPyPrintout
* _arg0
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxPrintout_base_OnBeginPrinting(_arg0
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4133 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4135 wxPyPrintout
* _arg0
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxPrintout_base_OnEndPrinting(_arg0
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4161 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4163 wxPyPrintout
* _arg0
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPrintout_base_OnPreparePrinting(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4189 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4191 wxPyPrintout
* _arg0
;
4200 PyObject
* _argo0
= 0;
4201 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4231 } Py_INCREF(Py_None
);
4232 _resultobj
= Py_None
;
4235 o
= PyInt_FromLong((long) (*_arg1
));
4236 _resultobj
= t_output_helper(_resultobj
, o
);
4240 o
= PyInt_FromLong((long) (*_arg2
));
4241 _resultobj
= t_output_helper(_resultobj
, o
);
4245 o
= PyInt_FromLong((long) (*_arg3
));
4246 _resultobj
= t_output_helper(_resultobj
, o
);
4250 o
= PyInt_FromLong((long) (*_arg4
));
4251 _resultobj
= t_output_helper(_resultobj
, o
);
4256 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4257 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4260 wxPyPrintout
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self","page", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4285 static void *SwigwxPrinterTowxObject(void *ptr
) {
4288 src
= (wxPrinter
*) ptr
;
4289 dest
= (wxObject
*) src
;
4290 return (void *) dest
;
4293 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4294 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxPrinter
* _result
;
4297 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4298 PyObject
* _argo0
= 0;
4299 char *_kwnames
[] = { "data", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) return NULL
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4328 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4329 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 delete_wxPrinter(_arg0
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } Py_INCREF(Py_None
);
4352 _resultobj
= Py_None
;
4356 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4357 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4361 wxPyPrintout
* _arg2
;
4362 PyObject
* _argo0
= 0;
4363 PyObject
* _argo1
= 0;
4364 PyObject
* _argo2
= 0;
4365 char *_kwnames
[] = { "self","parent","printout", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4385 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4403 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4405 wxPrintDialogData
* _result
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4424 _result
= (wxPrintDialogData
*) &_result_ref
;
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) return NULL
;
4429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4430 _resultobj
= Py_BuildValue("s",_ptemp
);
4433 _resultobj
= Py_None
;
4438 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4439 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4444 wxPyPrintout
* _arg2
;
4445 int _arg3
= (int ) TRUE
;
4446 PyObject
* _argo0
= 0;
4447 PyObject
* _argo1
= 0;
4448 PyObject
* _argo2
= 0;
4449 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4469 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } _resultobj
= Py_BuildValue("i",_result
);
4485 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4486 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 PyObject
* _argo1
= 0;
4493 char *_kwnames
[] = { "self","parent", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) return NULL
;
4518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4522 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4523 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4527 wxPyPrintout
* _arg2
;
4529 PyObject
* _argo0
= 0;
4530 PyObject
* _argo1
= 0;
4531 PyObject
* _argo2
= 0;
4532 PyObject
* _obj3
= 0;
4533 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4553 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4560 _arg3
= wxString_in_helper(_obj3
);
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) return NULL
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4579 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4580 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4586 PyObject
* _argo1
= 0;
4587 char *_kwnames
[] = { "self","parent", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) return NULL
;
4612 } _resultobj
= Py_BuildValue("i",_result
);
4616 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4617 wxPrintPreview
*src
;
4619 src
= (wxPrintPreview
*) ptr
;
4620 dest
= (wxObject
*) src
;
4621 return (void *) dest
;
4624 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4625 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 wxPrintPreview
* _result
;
4628 wxPyPrintout
* _arg0
;
4629 wxPyPrintout
* _arg1
;
4630 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4631 PyObject
* _argo0
= 0;
4632 PyObject
* _argo1
= 0;
4633 PyObject
* _argo2
= 0;
4634 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) return NULL
;
4668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4669 _resultobj
= Py_BuildValue("s",_ptemp
);
4672 _resultobj
= Py_None
;
4677 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4678 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4681 wxPrintPreview
* _arg0
;
4682 PyObject
* _argo0
= 0;
4683 char *_kwnames
[] = { "self", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) return NULL
;
4701 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4705 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4706 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4709 wxPrintPreview
* _arg0
;
4710 PyObject
* _argo0
= 0;
4711 char *_kwnames
[] = { "self", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) return NULL
;
4729 } _resultobj
= Py_BuildValue("i",_result
);
4733 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4734 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4737 wxPrintPreview
* _arg0
;
4738 PyObject
* _argo0
= 0;
4739 char *_kwnames
[] = { "self", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4761 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4762 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4765 wxPrintPreview
* _arg0
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4785 } _resultobj
= Py_BuildValue("i",_result
);
4789 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4790 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4793 wxPrintPreview
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "self", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4813 } _resultobj
= Py_BuildValue("i",_result
);
4817 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4818 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4820 wxPrintDialogData
* _result
;
4821 wxPrintPreview
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4839 _result
= (wxPrintDialogData
*) &_result_ref
;
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) return NULL
;
4844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4845 _resultobj
= Py_BuildValue("s",_ptemp
);
4848 _resultobj
= Py_None
;
4853 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4854 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4856 wxPyPrintout
* _result
;
4857 wxPrintPreview
* _arg0
;
4858 PyObject
* _argo0
= 0;
4859 char *_kwnames
[] = { "self", NULL
};
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) return NULL
;
4877 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4881 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4882 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4884 wxPyPrintout
* _result
;
4885 wxPrintPreview
* _arg0
;
4886 PyObject
* _argo0
= 0;
4887 char *_kwnames
[] = { "self", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) return NULL
;
4905 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4909 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4910 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4913 wxPrintPreview
* _arg0
;
4914 PyObject
* _argo0
= 0;
4915 char *_kwnames
[] = { "self", NULL
};
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) return NULL
;
4933 } _resultobj
= Py_BuildValue("i",_result
);
4937 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4938 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4941 wxPrintPreview
* _arg0
;
4942 PyObject
* _argo0
= 0;
4943 char *_kwnames
[] = { "self", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 } _resultobj
= Py_BuildValue("i",_result
);
4965 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4966 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4969 wxPrintPreview
* _arg0
;
4971 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self","prompt", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4985 _arg1
= (bool ) tempbool1
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) return NULL
;
4992 } _resultobj
= Py_BuildValue("i",_result
);
4996 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4997 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
4999 wxPrintPreview
* _arg0
;
5001 PyObject
* _argo0
= 0;
5002 PyObject
* _argo1
= 0;
5003 char *_kwnames
[] = { "self","window", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5028 } Py_INCREF(Py_None
);
5029 _resultobj
= Py_None
;
5033 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5034 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5036 wxPrintPreview
* _arg0
;
5038 PyObject
* _argo0
= 0;
5039 char *_kwnames
[] = { "self","pageNum", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) return NULL
;
5057 } Py_INCREF(Py_None
);
5058 _resultobj
= Py_None
;
5062 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5063 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5065 wxPrintPreview
* _arg0
;
5067 PyObject
* _argo0
= 0;
5068 PyObject
* _argo1
= 0;
5069 char *_kwnames
[] = { "self","frame", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) return NULL
;
5094 } Py_INCREF(Py_None
);
5095 _resultobj
= Py_None
;
5099 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5100 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
* _resultobj
;
5102 wxPrintPreview
* _arg0
;
5103 wxPyPrintout
* _arg1
;
5104 PyObject
* _argo0
= 0;
5105 PyObject
* _argo1
= 0;
5106 char *_kwnames
[] = { "self","printout", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } Py_INCREF(Py_None
);
5132 _resultobj
= Py_None
;
5136 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5137 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
* _resultobj
;
5139 wxPrintPreview
* _arg0
;
5141 PyObject
* _argo0
= 0;
5142 char *_kwnames
[] = { "self","percent", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5160 } Py_INCREF(Py_None
);
5161 _resultobj
= Py_None
;
5165 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5166 wxPreviewFrame
*src
;
5168 src
= (wxPreviewFrame
*) ptr
;
5169 dest
= (wxFrame
*) src
;
5170 return (void *) dest
;
5173 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5174 wxPreviewFrame
*src
;
5175 wxTopLevelWindow
*dest
;
5176 src
= (wxPreviewFrame
*) ptr
;
5177 dest
= (wxTopLevelWindow
*) src
;
5178 return (void *) dest
;
5181 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5182 wxPreviewFrame
*src
;
5184 src
= (wxPreviewFrame
*) ptr
;
5185 dest
= (wxWindow
*) src
;
5186 return (void *) dest
;
5189 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5190 wxPreviewFrame
*src
;
5192 src
= (wxPreviewFrame
*) ptr
;
5193 dest
= (wxEvtHandler
*) src
;
5194 return (void *) dest
;
5197 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5198 wxPreviewFrame
*src
;
5200 src
= (wxPreviewFrame
*) ptr
;
5201 dest
= (wxObject
*) src
;
5202 return (void *) dest
;
5205 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5206 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5208 wxPreviewFrame
* _result
;
5209 wxPrintPreview
* _arg0
;
5212 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5213 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5214 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5215 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5216 PyObject
* _argo0
= 0;
5217 PyObject
* _argo1
= 0;
5218 PyObject
* _obj2
= 0;
5220 PyObject
* _obj3
= 0;
5222 PyObject
* _obj4
= 0;
5223 PyObject
* _obj6
= 0;
5224 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5245 _arg2
= wxString_in_helper(_obj2
);
5252 if (! wxPoint_helper(_obj3
, &_arg3
))
5258 if (! wxSize_helper(_obj4
, &_arg4
))
5263 _arg6
= wxString_in_helper(_obj6
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) return NULL
;
5274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5275 _resultobj
= Py_BuildValue("s",_ptemp
);
5278 _resultobj
= Py_None
;
5291 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5292 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5294 wxPreviewFrame
* _arg0
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 wxPreviewFrame_Initialize(_arg0
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) return NULL
;
5314 } Py_INCREF(Py_None
);
5315 _resultobj
= Py_None
;
5319 static PyMethodDef printfwcMethods
[] = {
5320 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5478 * This table is used by the pointer type-checker
5480 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5481 { "_signed_long","_long",0},
5482 { "_wxPrintQuality","_wxCoord",0},
5483 { "_wxPrintQuality","_int",0},
5484 { "_wxPrintQuality","_signed_int",0},
5485 { "_wxPrintQuality","_unsigned_int",0},
5486 { "_wxPrintQuality","_wxWindowID",0},
5487 { "_wxPrintQuality","_uint",0},
5488 { "_wxPrintQuality","_EBool",0},
5489 { "_wxPrintQuality","_size_t",0},
5490 { "_wxPrintQuality","_time_t",0},
5491 { "_byte","_unsigned_char",0},
5492 { "_long","_unsigned_long",0},
5493 { "_long","_signed_long",0},
5494 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5495 { "_size_t","_wxCoord",0},
5496 { "_size_t","_wxPrintQuality",0},
5497 { "_size_t","_time_t",0},
5498 { "_size_t","_unsigned_int",0},
5499 { "_size_t","_int",0},
5500 { "_size_t","_wxWindowID",0},
5501 { "_size_t","_uint",0},
5502 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5503 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5504 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5505 { "_uint","_wxCoord",0},
5506 { "_uint","_wxPrintQuality",0},
5507 { "_uint","_time_t",0},
5508 { "_uint","_size_t",0},
5509 { "_uint","_unsigned_int",0},
5510 { "_uint","_int",0},
5511 { "_uint","_wxWindowID",0},
5512 { "_wxChar","_char",0},
5513 { "_char","_wxChar",0},
5514 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5515 { "_EBool","_wxCoord",0},
5516 { "_EBool","_wxPrintQuality",0},
5517 { "_EBool","_signed_int",0},
5518 { "_EBool","_int",0},
5519 { "_EBool","_wxWindowID",0},
5520 { "_unsigned_long","_long",0},
5521 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5522 { "_signed_int","_wxCoord",0},
5523 { "_signed_int","_wxPrintQuality",0},
5524 { "_signed_int","_EBool",0},
5525 { "_signed_int","_wxWindowID",0},
5526 { "_signed_int","_int",0},
5527 { "_WXTYPE","_short",0},
5528 { "_WXTYPE","_signed_short",0},
5529 { "_WXTYPE","_unsigned_short",0},
5530 { "_unsigned_short","_WXTYPE",0},
5531 { "_unsigned_short","_short",0},
5532 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5533 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5534 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5535 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5536 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5537 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5538 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5539 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5540 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5541 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5542 { "_signed_short","_WXTYPE",0},
5543 { "_signed_short","_short",0},
5544 { "_unsigned_char","_byte",0},
5545 { "_unsigned_int","_wxCoord",0},
5546 { "_unsigned_int","_wxPrintQuality",0},
5547 { "_unsigned_int","_time_t",0},
5548 { "_unsigned_int","_size_t",0},
5549 { "_unsigned_int","_uint",0},
5550 { "_unsigned_int","_wxWindowID",0},
5551 { "_unsigned_int","_int",0},
5552 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5553 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5554 { "_short","_WXTYPE",0},
5555 { "_short","_unsigned_short",0},
5556 { "_short","_signed_short",0},
5557 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5558 { "_wxWindowID","_wxCoord",0},
5559 { "_wxWindowID","_wxPrintQuality",0},
5560 { "_wxWindowID","_time_t",0},
5561 { "_wxWindowID","_size_t",0},
5562 { "_wxWindowID","_EBool",0},
5563 { "_wxWindowID","_uint",0},
5564 { "_wxWindowID","_int",0},
5565 { "_wxWindowID","_signed_int",0},
5566 { "_wxWindowID","_unsigned_int",0},
5567 { "_int","_wxCoord",0},
5568 { "_int","_wxPrintQuality",0},
5569 { "_int","_time_t",0},
5570 { "_int","_size_t",0},
5571 { "_int","_EBool",0},
5572 { "_int","_uint",0},
5573 { "_int","_wxWindowID",0},
5574 { "_int","_unsigned_int",0},
5575 { "_int","_signed_int",0},
5576 { "_time_t","_wxCoord",0},
5577 { "_time_t","_wxPrintQuality",0},
5578 { "_time_t","_unsigned_int",0},
5579 { "_time_t","_int",0},
5580 { "_time_t","_wxWindowID",0},
5581 { "_time_t","_uint",0},
5582 { "_time_t","_size_t",0},
5583 { "_wxCoord","_int",0},
5584 { "_wxCoord","_signed_int",0},
5585 { "_wxCoord","_unsigned_int",0},
5586 { "_wxCoord","_wxWindowID",0},
5587 { "_wxCoord","_uint",0},
5588 { "_wxCoord","_EBool",0},
5589 { "_wxCoord","_size_t",0},
5590 { "_wxCoord","_time_t",0},
5591 { "_wxCoord","_wxPrintQuality",0},
5592 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5593 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5594 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5595 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5596 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5597 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5600 static PyObject
*SWIG_globals
;
5604 SWIGEXPORT(void) initprintfwc() {
5606 SWIG_globals
= SWIG_newvarlink();
5607 m
= Py_InitModule("printfwc", printfwcMethods
);
5608 d
= PyModule_GetDict(m
);
5610 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5613 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5614 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);