2 * FILE : src/gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
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 wxPyTState
* state
= 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(state
);
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 wxPy_BEGIN_ALLOW_THREADS
;
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
211 delete_wxPrintData(_arg0
);
213 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
324 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
325 _result
= (wxString
*) &_result_ref
;
327 wxPy_END_ALLOW_THREADS
;
328 if (PyErr_Occurred()) return NULL
;
330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 if (PyErr_Occurred()) return NULL
;
359 } _resultobj
= Py_BuildValue("i",_result
);
363 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
364 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxDuplexMode _result
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
382 wxPy_BEGIN_ALLOW_THREADS
;
383 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
385 wxPy_END_ALLOW_THREADS
;
386 if (PyErr_Occurred()) return NULL
;
387 } _resultobj
= Py_BuildValue("i",_result
);
391 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
392 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
413 wxPy_END_ALLOW_THREADS
;
414 if (PyErr_Occurred()) return NULL
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
420 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
424 PyObject
* _argo0
= 0;
425 char *_kwnames
[] = { "self", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
439 wxPy_BEGIN_ALLOW_THREADS
;
440 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
441 _result
= (wxSize
*) &_result_ref
;
443 wxPy_END_ALLOW_THREADS
;
444 if (PyErr_Occurred()) return NULL
;
446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
447 _resultobj
= Py_BuildValue("s",_ptemp
);
450 _resultobj
= Py_None
;
455 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
456 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxPrintQuality _result
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
477 wxPy_END_ALLOW_THREADS
;
478 if (PyErr_Occurred()) return NULL
;
479 } _resultobj
= Py_BuildValue("i",_result
);
483 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
484 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self","v", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 wxPrintData_SetNoCopies(_arg0
,_arg1
);
505 wxPy_END_ALLOW_THREADS
;
506 if (PyErr_Occurred()) return NULL
;
507 } Py_INCREF(Py_None
);
508 _resultobj
= Py_None
;
512 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
513 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self","flag", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
531 _arg1
= (bool ) tempbool1
;
533 wxPy_BEGIN_ALLOW_THREADS
;
534 wxPrintData_SetCollate(_arg0
,_arg1
);
536 wxPy_END_ALLOW_THREADS
;
537 if (PyErr_Occurred()) return NULL
;
538 } Py_INCREF(Py_None
);
539 _resultobj
= Py_None
;
543 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
544 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
548 PyObject
* _argo0
= 0;
549 char *_kwnames
[] = { "self","orient", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
562 wxPy_BEGIN_ALLOW_THREADS
;
563 wxPrintData_SetOrientation(_arg0
,_arg1
);
565 wxPy_END_ALLOW_THREADS
;
566 if (PyErr_Occurred()) return NULL
;
567 } Py_INCREF(Py_None
);
568 _resultobj
= Py_None
;
572 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
573 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 PyObject
* _argo0
= 0;
578 PyObject
* _obj1
= 0;
579 char *_kwnames
[] = { "self","name", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
592 #if PYTHON_API_VERSION >= 1009
593 char* tmpPtr
; int tmpSize
;
594 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
600 _arg1
= new wxString(tmpPtr
, tmpSize
);
602 if (!PyString_Check(_obj1
)) {
603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
606 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
610 wxPy_BEGIN_ALLOW_THREADS
;
611 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
613 wxPy_END_ALLOW_THREADS
;
614 if (PyErr_Occurred()) return NULL
;
615 } Py_INCREF(Py_None
);
616 _resultobj
= Py_None
;
624 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
625 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
629 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self","colour", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
643 _arg1
= (bool ) tempbool1
;
645 wxPy_BEGIN_ALLOW_THREADS
;
646 wxPrintData_SetColour(_arg0
,_arg1
);
648 wxPy_END_ALLOW_THREADS
;
649 if (PyErr_Occurred()) return NULL
;
650 } Py_INCREF(Py_None
);
651 _resultobj
= Py_None
;
655 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
656 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self","duplex", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 wxPrintData_SetDuplex(_arg0
,_arg1
);
677 wxPy_END_ALLOW_THREADS
;
678 if (PyErr_Occurred()) return NULL
;
679 } Py_INCREF(Py_None
);
680 _resultobj
= Py_None
;
684 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
685 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self","sizeId", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 wxPrintData_SetPaperId(_arg0
,_arg1
);
706 wxPy_END_ALLOW_THREADS
;
707 if (PyErr_Occurred()) return NULL
;
708 } Py_INCREF(Py_None
);
709 _resultobj
= Py_None
;
713 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
714 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
718 PyObject
* _argo0
= 0;
720 PyObject
* _obj1
= 0;
721 char *_kwnames
[] = { "self","sz", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
735 if (! wxSize_helper(_obj1
, &_arg1
))
739 wxPy_BEGIN_ALLOW_THREADS
;
740 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
742 wxPy_END_ALLOW_THREADS
;
743 if (PyErr_Occurred()) return NULL
;
744 } Py_INCREF(Py_None
);
745 _resultobj
= Py_None
;
749 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
750 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
753 wxPrintQuality _arg1
;
754 PyObject
* _argo0
= 0;
755 char *_kwnames
[] = { "self","quality", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
768 wxPy_BEGIN_ALLOW_THREADS
;
769 wxPrintData_SetQuality(_arg0
,_arg1
);
771 wxPy_END_ALLOW_THREADS
;
772 if (PyErr_Occurred()) return NULL
;
773 } Py_INCREF(Py_None
);
774 _resultobj
= Py_None
;
778 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
779 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
783 PyObject
* _argo0
= 0;
784 char *_kwnames
[] = { "self", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
797 wxPy_BEGIN_ALLOW_THREADS
;
798 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
799 _result
= (wxString
*) &_result_ref
;
801 wxPy_END_ALLOW_THREADS
;
802 if (PyErr_Occurred()) return NULL
;
804 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
809 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
810 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
830 _result
= (wxString
*) &_result_ref
;
832 wxPy_END_ALLOW_THREADS
;
833 if (PyErr_Occurred()) return NULL
;
835 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
840 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
841 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
845 PyObject
* _argo0
= 0;
846 char *_kwnames
[] = { "self", NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
859 wxPy_BEGIN_ALLOW_THREADS
;
860 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
861 _result
= (wxString
*) &_result_ref
;
863 wxPy_END_ALLOW_THREADS
;
864 if (PyErr_Occurred()) return NULL
;
866 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
871 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
872 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
890 wxPy_BEGIN_ALLOW_THREADS
;
891 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
892 _result
= (wxString
*) &_result_ref
;
894 wxPy_END_ALLOW_THREADS
;
895 if (PyErr_Occurred()) return NULL
;
897 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
902 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
903 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
923 _result
= (wxString
*) &_result_ref
;
925 wxPy_END_ALLOW_THREADS
;
926 if (PyErr_Occurred()) return NULL
;
928 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
933 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
934 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
938 PyObject
* _argo0
= 0;
939 char *_kwnames
[] = { "self", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
952 wxPy_BEGIN_ALLOW_THREADS
;
953 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
955 wxPy_END_ALLOW_THREADS
;
956 if (PyErr_Occurred()) return NULL
;
957 } _resultobj
= Py_BuildValue("d",_result
);
961 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
962 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
980 wxPy_BEGIN_ALLOW_THREADS
;
981 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
983 wxPy_END_ALLOW_THREADS
;
984 if (PyErr_Occurred()) return NULL
;
985 } _resultobj
= Py_BuildValue("d",_result
);
989 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
990 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 if (PyErr_Occurred()) return NULL
;
1013 } _resultobj
= Py_BuildValue("l",_result
);
1017 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1018 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 wxPrintData
* _arg0
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 if (PyErr_Occurred()) return NULL
;
1041 } _resultobj
= Py_BuildValue("l",_result
);
1045 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1046 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1048 wxPrintMode
* _result
;
1049 wxPrintData
* _arg0
;
1050 PyObject
* _argo0
= 0;
1051 char *_kwnames
[] = { "self", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1068 wxPy_END_ALLOW_THREADS
;
1069 if (PyErr_Occurred()) return NULL
;
1070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1071 _resultobj
= Py_BuildValue("s",_ptemp
);
1075 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1076 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1078 wxPrintData
* _arg0
;
1080 PyObject
* _argo0
= 0;
1081 PyObject
* _obj1
= 0;
1082 char *_kwnames
[] = { "self","command", NULL
};
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1095 #if PYTHON_API_VERSION >= 1009
1096 char* tmpPtr
; int tmpSize
;
1097 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1101 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1103 _arg1
= new wxString(tmpPtr
, tmpSize
);
1105 if (!PyString_Check(_obj1
)) {
1106 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1109 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1116 wxPy_END_ALLOW_THREADS
;
1117 if (PyErr_Occurred()) return NULL
;
1118 } Py_INCREF(Py_None
);
1119 _resultobj
= Py_None
;
1127 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1128 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1130 wxPrintData
* _arg0
;
1132 PyObject
* _argo0
= 0;
1133 PyObject
* _obj1
= 0;
1134 char *_kwnames
[] = { "self","options", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1147 #if PYTHON_API_VERSION >= 1009
1148 char* tmpPtr
; int tmpSize
;
1149 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1153 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1155 _arg1
= new wxString(tmpPtr
, tmpSize
);
1157 if (!PyString_Check(_obj1
)) {
1158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1161 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1168 wxPy_END_ALLOW_THREADS
;
1169 if (PyErr_Occurred()) return NULL
;
1170 } Py_INCREF(Py_None
);
1171 _resultobj
= Py_None
;
1179 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1180 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1182 wxPrintData
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 PyObject
* _obj1
= 0;
1186 char *_kwnames
[] = { "self","command", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1199 #if PYTHON_API_VERSION >= 1009
1200 char* tmpPtr
; int tmpSize
;
1201 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1205 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1207 _arg1
= new wxString(tmpPtr
, tmpSize
);
1209 if (!PyString_Check(_obj1
)) {
1210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1213 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1231 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1232 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxPrintData
* _arg0
;
1236 PyObject
* _argo0
= 0;
1237 PyObject
* _obj1
= 0;
1238 char *_kwnames
[] = { "self","filename", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1251 #if PYTHON_API_VERSION >= 1009
1252 char* tmpPtr
; int tmpSize
;
1253 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1257 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1259 _arg1
= new wxString(tmpPtr
, tmpSize
);
1261 if (!PyString_Check(_obj1
)) {
1262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1265 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 wxPrintData_SetFilename(_arg0
,*_arg1
);
1272 wxPy_END_ALLOW_THREADS
;
1273 if (PyErr_Occurred()) return NULL
;
1274 } Py_INCREF(Py_None
);
1275 _resultobj
= Py_None
;
1283 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1284 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1286 wxPrintData
* _arg0
;
1288 PyObject
* _argo0
= 0;
1289 PyObject
* _obj1
= 0;
1290 char *_kwnames
[] = { "self","path", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1303 #if PYTHON_API_VERSION >= 1009
1304 char* tmpPtr
; int tmpSize
;
1305 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1309 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1311 _arg1
= new wxString(tmpPtr
, tmpSize
);
1313 if (!PyString_Check(_obj1
)) {
1314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1317 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 if (PyErr_Occurred()) return NULL
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1335 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1336 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1338 wxPrintData
* _arg0
;
1340 PyObject
* _argo0
= 0;
1341 char *_kwnames
[] = { "self","x", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1357 wxPy_END_ALLOW_THREADS
;
1358 if (PyErr_Occurred()) return NULL
;
1359 } Py_INCREF(Py_None
);
1360 _resultobj
= Py_None
;
1364 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1365 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxPrintData
* _arg0
;
1369 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self","y", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1386 wxPy_END_ALLOW_THREADS
;
1387 if (PyErr_Occurred()) return NULL
;
1388 } Py_INCREF(Py_None
);
1389 _resultobj
= Py_None
;
1393 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1394 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxPrintData
* _arg0
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self","x","y", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1416 wxPy_END_ALLOW_THREADS
;
1417 if (PyErr_Occurred()) return NULL
;
1418 } Py_INCREF(Py_None
);
1419 _resultobj
= Py_None
;
1423 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1424 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxPrintData
* _arg0
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "self","x", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1445 wxPy_END_ALLOW_THREADS
;
1446 if (PyErr_Occurred()) return NULL
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1453 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1455 wxPrintData
* _arg0
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self","y", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1474 wxPy_END_ALLOW_THREADS
;
1475 if (PyErr_Occurred()) return NULL
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1482 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 wxPrintData
* _arg0
;
1487 PyObject
* _argo0
= 0;
1488 char *_kwnames
[] = { "self","x","y", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1504 wxPy_END_ALLOW_THREADS
;
1505 if (PyErr_Occurred()) return NULL
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1512 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1514 wxPrintData
* _arg0
;
1515 wxPrintMode
* _arg1
;
1516 PyObject
* _argo0
= 0;
1517 PyObject
* _argo1
= 0;
1518 char *_kwnames
[] = { "self","printMode", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1541 wxPy_END_ALLOW_THREADS
;
1542 if (PyErr_Occurred()) return NULL
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1549 wxPostScriptDC
*src
;
1551 src
= (wxPostScriptDC
*) ptr
;
1552 dest
= (wxDC
*) src
;
1553 return (void *) dest
;
1556 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1557 wxPostScriptDC
*src
;
1559 src
= (wxPostScriptDC
*) ptr
;
1560 dest
= (wxObject
*) src
;
1561 return (void *) dest
;
1564 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1565 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxPostScriptDC
* _result
;
1568 wxPrintData
* _arg0
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "printData", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1587 wxPy_END_ALLOW_THREADS
;
1588 if (PyErr_Occurred()) return NULL
;
1590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1591 _resultobj
= Py_BuildValue("s",_ptemp
);
1594 _resultobj
= Py_None
;
1599 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1600 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxPostScriptDC
* _result
;
1604 bool _arg1
= (bool ) TRUE
;
1605 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1606 PyObject
* _obj0
= 0;
1607 int tempbool1
= (int) TRUE
;
1608 PyObject
* _argo2
= 0;
1609 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1616 #if PYTHON_API_VERSION >= 1009
1617 char* tmpPtr
; int tmpSize
;
1618 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1622 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1624 _arg0
= new wxString(tmpPtr
, tmpSize
);
1626 if (!PyString_Check(_obj0
)) {
1627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1630 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1633 _arg1
= (bool ) tempbool1
;
1635 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1645 wxPy_END_ALLOW_THREADS
;
1646 if (PyErr_Occurred()) return NULL
;
1648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1649 _resultobj
= Py_BuildValue("s",_ptemp
);
1652 _resultobj
= Py_None
;
1661 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1662 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxPrintData
* _result
;
1665 wxPostScriptDC
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1683 _result
= (wxPrintData
*) &_result_ref
;
1685 wxPy_END_ALLOW_THREADS
;
1686 if (PyErr_Occurred()) return NULL
;
1688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1689 _resultobj
= Py_BuildValue("s",_ptemp
);
1692 _resultobj
= Py_None
;
1697 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1698 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1700 wxPostScriptDC
* _arg0
;
1701 wxPrintData
* _arg1
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _argo1
= 0;
1704 char *_kwnames
[] = { "self","data", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1727 wxPy_END_ALLOW_THREADS
;
1728 if (PyErr_Occurred()) return NULL
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1737 char *_kwnames
[] = { "ppi", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 wxPostScriptDC::SetResolution(_arg0
);
1746 wxPy_END_ALLOW_THREADS
;
1747 if (PyErr_Occurred()) return NULL
;
1748 } Py_INCREF(Py_None
);
1749 _resultobj
= Py_None
;
1753 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1756 char *_kwnames
[] = { NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= (int )wxPostScriptDC::GetResolution();
1765 wxPy_END_ALLOW_THREADS
;
1766 if (PyErr_Occurred()) return NULL
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1771 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1772 wxPageSetupDialogData
*src
;
1774 src
= (wxPageSetupDialogData
*) ptr
;
1775 dest
= (wxObject
*) src
;
1776 return (void *) dest
;
1779 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1780 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1782 wxPageSetupDialogData
* _result
;
1783 char *_kwnames
[] = { NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1793 wxPy_END_ALLOW_THREADS
;
1794 if (PyErr_Occurred()) return NULL
;
1796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1797 _resultobj
= Py_BuildValue("s",_ptemp
);
1800 _resultobj
= Py_None
;
1805 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1806 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1808 wxPageSetupDialogData
* _arg0
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 delete_wxPageSetupDialogData(_arg0
);
1826 wxPy_END_ALLOW_THREADS
;
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1834 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxPageSetupDialogData
* _arg0
;
1838 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self","flag", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1852 _arg1
= (bool ) tempbool1
;
1854 wxPy_BEGIN_ALLOW_THREADS
;
1855 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1857 wxPy_END_ALLOW_THREADS
;
1858 if (PyErr_Occurred()) return NULL
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1865 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxPageSetupDialogData
* _arg0
;
1869 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self","flag", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1883 _arg1
= (bool ) tempbool1
;
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1888 wxPy_END_ALLOW_THREADS
;
1889 if (PyErr_Occurred()) return NULL
;
1890 } Py_INCREF(Py_None
);
1891 _resultobj
= Py_None
;
1895 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1896 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1898 wxPageSetupDialogData
* _arg0
;
1900 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self","flag", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1914 _arg1
= (bool ) tempbool1
;
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1919 wxPy_END_ALLOW_THREADS
;
1920 if (PyErr_Occurred()) return NULL
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1926 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1927 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1929 wxPageSetupDialogData
* _arg0
;
1931 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self","flag", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1945 _arg1
= (bool ) tempbool1
;
1947 wxPy_BEGIN_ALLOW_THREADS
;
1948 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1950 wxPy_END_ALLOW_THREADS
;
1951 if (PyErr_Occurred()) return NULL
;
1952 } Py_INCREF(Py_None
);
1953 _resultobj
= Py_None
;
1957 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1958 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1960 wxPageSetupDialogData
* _arg0
;
1962 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self","flag", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1976 _arg1
= (bool ) tempbool1
;
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1981 wxPy_END_ALLOW_THREADS
;
1982 if (PyErr_Occurred()) return NULL
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1989 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 wxPageSetupDialogData
* _arg0
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2007 wxPy_BEGIN_ALLOW_THREADS
;
2008 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2010 wxPy_END_ALLOW_THREADS
;
2011 if (PyErr_Occurred()) return NULL
;
2012 } _resultobj
= Py_BuildValue("i",_result
);
2016 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2017 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 wxPageSetupDialogData
* _arg0
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2045 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxPageSetupDialogData
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2066 wxPy_END_ALLOW_THREADS
;
2067 if (PyErr_Occurred()) return NULL
;
2068 } _resultobj
= Py_BuildValue("i",_result
);
2072 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2073 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2076 wxPageSetupDialogData
* _arg0
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2094 wxPy_END_ALLOW_THREADS
;
2095 if (PyErr_Occurred()) return NULL
;
2096 } _resultobj
= Py_BuildValue("i",_result
);
2100 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2101 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2104 wxPageSetupDialogData
* _arg0
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "self", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2122 wxPy_END_ALLOW_THREADS
;
2123 if (PyErr_Occurred()) return NULL
;
2124 } _resultobj
= Py_BuildValue("i",_result
);
2128 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2129 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2132 wxPageSetupDialogData
* _arg0
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2150 wxPy_END_ALLOW_THREADS
;
2151 if (PyErr_Occurred()) return NULL
;
2152 } _resultobj
= Py_BuildValue("i",_result
);
2156 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2157 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2160 wxPageSetupDialogData
* _arg0
;
2161 PyObject
* _argo0
= 0;
2162 char *_kwnames
[] = { "self", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2175 wxPy_BEGIN_ALLOW_THREADS
;
2176 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2178 wxPy_END_ALLOW_THREADS
;
2179 if (PyErr_Occurred()) return NULL
;
2180 } _resultobj
= Py_BuildValue("i",_result
);
2184 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2185 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2188 wxPageSetupDialogData
* _arg0
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2207 wxPy_END_ALLOW_THREADS
;
2208 if (PyErr_Occurred()) return NULL
;
2209 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2210 _resultobj
= Py_BuildValue("s",_ptemp
);
2214 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2215 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2218 wxPageSetupDialogData
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2237 wxPy_END_ALLOW_THREADS
;
2238 if (PyErr_Occurred()) return NULL
;
2239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2240 _resultobj
= Py_BuildValue("s",_ptemp
);
2244 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2245 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
* _resultobj
;
2248 wxPageSetupDialogData
* _arg0
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2264 wxPy_BEGIN_ALLOW_THREADS
;
2265 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2267 wxPy_END_ALLOW_THREADS
;
2268 if (PyErr_Occurred()) return NULL
;
2269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2270 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2275 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2278 wxPageSetupDialogData
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2297 wxPy_END_ALLOW_THREADS
;
2298 if (PyErr_Occurred()) return NULL
;
2299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2305 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2307 wxPaperSize _result
;
2308 wxPageSetupDialogData
* _arg0
;
2309 PyObject
* _argo0
= 0;
2310 char *_kwnames
[] = { "self", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2326 wxPy_END_ALLOW_THREADS
;
2327 if (PyErr_Occurred()) return NULL
;
2328 } _resultobj
= Py_BuildValue("i",_result
);
2332 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2333 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2336 wxPageSetupDialogData
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
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_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2355 wxPy_END_ALLOW_THREADS
;
2356 if (PyErr_Occurred()) return NULL
;
2357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2358 _resultobj
= Py_BuildValue("s",_ptemp
);
2362 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2363 return new wxPrintData(self
->GetPrintData()); // force a copy
2365 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxPrintData
* _result
;
2368 wxPageSetupDialogData
* _arg0
;
2369 PyObject
* _argo0
= 0;
2370 char *_kwnames
[] = { "self", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2387 wxPy_END_ALLOW_THREADS
;
2388 if (PyErr_Occurred()) return NULL
;
2390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2391 _resultobj
= Py_BuildValue("s",_ptemp
);
2394 _resultobj
= Py_None
;
2399 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2400 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2402 wxPageSetupDialogData
* _arg0
;
2404 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self","flag", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2418 _arg1
= (bool ) tempbool1
;
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 if (PyErr_Occurred()) return NULL
;
2425 } Py_INCREF(Py_None
);
2426 _resultobj
= Py_None
;
2430 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2431 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPageSetupDialogData
* _arg0
;
2435 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self","flag", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2449 _arg1
= (bool ) tempbool1
;
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2454 wxPy_END_ALLOW_THREADS
;
2455 if (PyErr_Occurred()) return NULL
;
2456 } Py_INCREF(Py_None
);
2457 _resultobj
= Py_None
;
2461 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2462 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2464 wxPageSetupDialogData
* _arg0
;
2466 PyObject
* _argo0
= 0;
2468 PyObject
* _obj1
= 0;
2469 char *_kwnames
[] = { "self","pt", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2483 if (! wxPoint_helper(_obj1
, &_arg1
))
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 if (PyErr_Occurred()) return NULL
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2498 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2500 wxPageSetupDialogData
* _arg0
;
2502 PyObject
* _argo0
= 0;
2504 PyObject
* _obj1
= 0;
2505 char *_kwnames
[] = { "self","pt", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2519 if (! wxPoint_helper(_obj1
, &_arg1
))
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2526 wxPy_END_ALLOW_THREADS
;
2527 if (PyErr_Occurred()) return NULL
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2534 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxPageSetupDialogData
* _arg0
;
2538 PyObject
* _argo0
= 0;
2540 PyObject
* _obj1
= 0;
2541 char *_kwnames
[] = { "self","pt", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2555 if (! wxPoint_helper(_obj1
, &_arg1
))
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2562 wxPy_END_ALLOW_THREADS
;
2563 if (PyErr_Occurred()) return NULL
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2569 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2570 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2572 wxPageSetupDialogData
* _arg0
;
2574 PyObject
* _argo0
= 0;
2576 PyObject
* _obj1
= 0;
2577 char *_kwnames
[] = { "self","pt", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2591 if (! wxPoint_helper(_obj1
, &_arg1
))
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2598 wxPy_END_ALLOW_THREADS
;
2599 if (PyErr_Occurred()) return NULL
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2606 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2608 wxPageSetupDialogData
* _arg0
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","id", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2627 wxPy_END_ALLOW_THREADS
;
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2635 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2637 wxPageSetupDialogData
* _arg0
;
2639 PyObject
* _argo0
= 0;
2641 PyObject
* _obj1
= 0;
2642 char *_kwnames
[] = { "self","size", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2656 if (! wxSize_helper(_obj1
, &_arg1
))
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2663 wxPy_END_ALLOW_THREADS
;
2664 if (PyErr_Occurred()) return NULL
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2670 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2671 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxPageSetupDialogData
* _arg0
;
2674 wxPrintData
* _arg1
;
2675 PyObject
* _argo0
= 0;
2676 PyObject
* _argo1
= 0;
2677 char *_kwnames
[] = { "self","printData", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2697 wxPy_BEGIN_ALLOW_THREADS
;
2698 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2700 wxPy_END_ALLOW_THREADS
;
2701 if (PyErr_Occurred()) return NULL
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2707 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2708 wxPageSetupDialog
*src
;
2710 src
= (wxPageSetupDialog
*) ptr
;
2711 dest
= (wxDialog
*) src
;
2712 return (void *) dest
;
2715 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2716 wxPageSetupDialog
*src
;
2717 wxTopLevelWindow
*dest
;
2718 src
= (wxPageSetupDialog
*) ptr
;
2719 dest
= (wxTopLevelWindow
*) src
;
2720 return (void *) dest
;
2723 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2724 wxPageSetupDialog
*src
;
2726 src
= (wxPageSetupDialog
*) ptr
;
2727 dest
= (wxWindow
*) src
;
2728 return (void *) dest
;
2731 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2732 wxPageSetupDialog
*src
;
2734 src
= (wxPageSetupDialog
*) ptr
;
2735 dest
= (wxEvtHandler
*) src
;
2736 return (void *) dest
;
2739 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2740 wxPageSetupDialog
*src
;
2742 src
= (wxPageSetupDialog
*) ptr
;
2743 dest
= (wxObject
*) src
;
2744 return (void *) dest
;
2747 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2748 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2750 wxPageSetupDialog
* _result
;
2752 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2753 PyObject
* _argo0
= 0;
2754 PyObject
* _argo1
= 0;
2755 char *_kwnames
[] = { "parent","data", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2779 wxPy_END_ALLOW_THREADS
;
2780 if (PyErr_Occurred()) return NULL
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2791 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2792 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2794 wxPageSetupDialogData
* _result
;
2795 wxPageSetupDialog
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2811 wxPy_BEGIN_ALLOW_THREADS
;
2812 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2813 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2815 wxPy_END_ALLOW_THREADS
;
2816 if (PyErr_Occurred()) return NULL
;
2818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2819 _resultobj
= Py_BuildValue("s",_ptemp
);
2822 _resultobj
= Py_None
;
2827 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2828 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2831 wxPageSetupDialog
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2849 wxPy_END_ALLOW_THREADS
;
2850 if (PyErr_Occurred()) return NULL
;
2851 } _resultobj
= Py_BuildValue("i",_result
);
2855 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2856 wxPrintDialogData
*src
;
2858 src
= (wxPrintDialogData
*) ptr
;
2859 dest
= (wxObject
*) src
;
2860 return (void *) dest
;
2863 #define new_wxPrintDialogData() (new wxPrintDialogData())
2864 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2866 wxPrintDialogData
* _result
;
2867 char *_kwnames
[] = { NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2874 wxPy_BEGIN_ALLOW_THREADS
;
2875 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2877 wxPy_END_ALLOW_THREADS
;
2878 if (PyErr_Occurred()) return NULL
;
2880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2881 _resultobj
= Py_BuildValue("s",_ptemp
);
2884 _resultobj
= Py_None
;
2889 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2890 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxPrintDialogData
* _arg0
;
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 delete_wxPrintDialogData(_arg0
);
2910 wxPy_END_ALLOW_THREADS
;
2911 if (PyErr_Occurred()) return NULL
;
2912 } Py_INCREF(Py_None
);
2913 _resultobj
= Py_None
;
2917 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2918 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPrintDialogData
* _arg0
;
2922 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self","flag", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2936 _arg1
= (bool ) tempbool1
;
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2941 wxPy_END_ALLOW_THREADS
;
2942 if (PyErr_Occurred()) return NULL
;
2943 } Py_INCREF(Py_None
);
2944 _resultobj
= Py_None
;
2948 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2949 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2951 wxPrintDialogData
* _arg0
;
2953 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self","flag", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2967 _arg1
= (bool ) tempbool1
;
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2972 wxPy_END_ALLOW_THREADS
;
2973 if (PyErr_Occurred()) return NULL
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2980 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2982 wxPrintDialogData
* _arg0
;
2984 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","flag", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2998 _arg1
= (bool ) tempbool1
;
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3003 wxPy_END_ALLOW_THREADS
;
3004 if (PyErr_Occurred()) return NULL
;
3005 } Py_INCREF(Py_None
);
3006 _resultobj
= Py_None
;
3010 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3011 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3013 wxPrintDialogData
* _arg0
;
3015 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","flag", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3029 _arg1
= (bool ) tempbool1
;
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3034 wxPy_END_ALLOW_THREADS
;
3035 if (PyErr_Occurred()) return NULL
;
3036 } Py_INCREF(Py_None
);
3037 _resultobj
= Py_None
;
3041 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3042 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3045 wxPrintDialogData
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3063 wxPy_END_ALLOW_THREADS
;
3064 if (PyErr_Occurred()) return NULL
;
3065 } _resultobj
= Py_BuildValue("i",_result
);
3069 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3070 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3073 wxPrintDialogData
* _arg0
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "self", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3091 wxPy_END_ALLOW_THREADS
;
3092 if (PyErr_Occurred()) return NULL
;
3093 } _resultobj
= Py_BuildValue("i",_result
);
3097 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3098 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3101 wxPrintDialogData
* _arg0
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3120 if (PyErr_Occurred()) return NULL
;
3121 } _resultobj
= Py_BuildValue("i",_result
);
3125 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3126 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3129 wxPrintDialogData
* _arg0
;
3130 PyObject
* _argo0
= 0;
3131 char *_kwnames
[] = { "self", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3147 wxPy_END_ALLOW_THREADS
;
3148 if (PyErr_Occurred()) return NULL
;
3149 } _resultobj
= Py_BuildValue("i",_result
);
3153 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3154 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3157 wxPrintDialogData
* _arg0
;
3158 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3172 wxPy_BEGIN_ALLOW_THREADS
;
3173 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3175 wxPy_END_ALLOW_THREADS
;
3176 if (PyErr_Occurred()) return NULL
;
3177 } _resultobj
= Py_BuildValue("i",_result
);
3181 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3182 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3185 wxPrintDialogData
* _arg0
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3203 wxPy_END_ALLOW_THREADS
;
3204 if (PyErr_Occurred()) return NULL
;
3205 } _resultobj
= Py_BuildValue("i",_result
);
3209 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3210 return new wxPrintData(self
->GetPrintData()); // force a copy
3212 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxPrintData
* _result
;
3215 wxPrintDialogData
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3234 wxPy_END_ALLOW_THREADS
;
3235 if (PyErr_Occurred()) return NULL
;
3237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3238 _resultobj
= Py_BuildValue("s",_ptemp
);
3241 _resultobj
= Py_None
;
3246 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3247 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxPrintDialogData
* _arg0
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3269 if (PyErr_Occurred()) return NULL
;
3270 } _resultobj
= Py_BuildValue("i",_result
);
3274 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3275 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3278 wxPrintDialogData
* _arg0
;
3279 PyObject
* _argo0
= 0;
3280 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3293 wxPy_BEGIN_ALLOW_THREADS
;
3294 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3296 wxPy_END_ALLOW_THREADS
;
3297 if (PyErr_Occurred()) return NULL
;
3298 } _resultobj
= Py_BuildValue("i",_result
);
3302 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3303 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3305 wxPrintDialogData
* _arg0
;
3307 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self","flag", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3321 _arg1
= (bool ) tempbool1
;
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3326 wxPy_END_ALLOW_THREADS
;
3327 if (PyErr_Occurred()) return NULL
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3334 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxPrintDialogData
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self","page", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3355 wxPy_END_ALLOW_THREADS
;
3356 if (PyErr_Occurred()) return NULL
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3363 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3365 wxPrintDialogData
* _arg0
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self","page", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3384 wxPy_END_ALLOW_THREADS
;
3385 if (PyErr_Occurred()) return NULL
;
3386 } Py_INCREF(Py_None
);
3387 _resultobj
= Py_None
;
3391 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3392 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3394 wxPrintDialogData
* _arg0
;
3396 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "self","page", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3410 wxPy_BEGIN_ALLOW_THREADS
;
3411 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3413 wxPy_END_ALLOW_THREADS
;
3414 if (PyErr_Occurred()) return NULL
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3420 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3421 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3423 wxPrintDialogData
* _arg0
;
3425 PyObject
* _argo0
= 0;
3426 char *_kwnames
[] = { "self","n", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
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_SetNoCopies. Expected _wxPrintDialogData_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3442 wxPy_END_ALLOW_THREADS
;
3443 if (PyErr_Occurred()) return NULL
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3450 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxPrintDialogData
* _arg0
;
3453 wxPrintData
* _arg1
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _argo1
= 0;
3456 char *_kwnames
[] = { "self","printData", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3479 wxPy_END_ALLOW_THREADS
;
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3487 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxPrintDialogData
* _arg0
;
3491 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self","flag", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3505 _arg1
= (bool ) tempbool1
;
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3510 wxPy_END_ALLOW_THREADS
;
3511 if (PyErr_Occurred()) return NULL
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3518 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxPrintDialogData
* _arg0
;
3522 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self","flag", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3536 _arg1
= (bool ) tempbool1
;
3538 wxPy_BEGIN_ALLOW_THREADS
;
3539 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3541 wxPy_END_ALLOW_THREADS
;
3542 if (PyErr_Occurred()) return NULL
;
3543 } Py_INCREF(Py_None
);
3544 _resultobj
= Py_None
;
3548 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3549 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3551 wxPrintDialogData
* _arg0
;
3553 PyObject
* _argo0
= 0;
3554 char *_kwnames
[] = { "self","page", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3570 wxPy_END_ALLOW_THREADS
;
3571 if (PyErr_Occurred()) return NULL
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3580 src
= (wxPrintDialog
*) ptr
;
3581 dest
= (wxDialog
*) src
;
3582 return (void *) dest
;
3585 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3587 wxTopLevelWindow
*dest
;
3588 src
= (wxPrintDialog
*) ptr
;
3589 dest
= (wxTopLevelWindow
*) src
;
3590 return (void *) dest
;
3593 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3596 src
= (wxPrintDialog
*) ptr
;
3597 dest
= (wxWindow
*) src
;
3598 return (void *) dest
;
3601 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3604 src
= (wxPrintDialog
*) ptr
;
3605 dest
= (wxEvtHandler
*) src
;
3606 return (void *) dest
;
3609 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3612 src
= (wxPrintDialog
*) ptr
;
3613 dest
= (wxObject
*) src
;
3614 return (void *) dest
;
3617 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3618 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxPrintDialog
* _result
;
3622 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3623 PyObject
* _argo0
= 0;
3624 PyObject
* _argo1
= 0;
3625 char *_kwnames
[] = { "parent","data", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3649 wxPy_END_ALLOW_THREADS
;
3650 if (PyErr_Occurred()) return NULL
;
3652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3653 _resultobj
= Py_BuildValue("s",_ptemp
);
3656 _resultobj
= Py_None
;
3661 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3662 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3664 wxPrintDialogData
* _result
;
3665 wxPrintDialog
* _arg0
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3683 _result
= (wxPrintDialogData
*) &_result_ref
;
3685 wxPy_END_ALLOW_THREADS
;
3686 if (PyErr_Occurred()) return NULL
;
3688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3692 _resultobj
= Py_None
;
3697 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3698 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3701 wxPrintDialog
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3719 wxPy_END_ALLOW_THREADS
;
3720 if (PyErr_Occurred()) return NULL
;
3721 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3725 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3726 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3729 wxPrintDialog
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3747 wxPy_END_ALLOW_THREADS
;
3748 if (PyErr_Occurred()) return NULL
;
3749 } _resultobj
= Py_BuildValue("i",_result
);
3753 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3756 src
= (wxPyPrintout
*) ptr
;
3757 dest
= (wxObject
*) src
;
3758 return (void *) dest
;
3761 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3762 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3764 wxPyPrintout
* _result
;
3765 char * _arg0
= (char *) "Printout";
3766 char *_kwnames
[] = { "title", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 if (PyErr_Occurred()) return NULL
;
3779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3780 _resultobj
= Py_BuildValue("s",_ptemp
);
3783 _resultobj
= Py_None
;
3788 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxPyPrintout
* _arg0
;
3794 PyObject
* _argo0
= 0;
3795 PyObject
* _obj1
= 0;
3796 PyObject
* _obj2
= 0;
3797 char *_kwnames
[] = { "self","self","_class", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3816 wxPy_BEGIN_ALLOW_THREADS
;
3817 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3819 wxPy_END_ALLOW_THREADS
;
3820 if (PyErr_Occurred()) return NULL
;
3821 } Py_INCREF(Py_None
);
3822 _resultobj
= Py_None
;
3826 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3827 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3829 wxPyPrintout
* _arg0
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3844 wxPy_BEGIN_ALLOW_THREADS
;
3845 wxPyPrintout_Destroy(_arg0
);
3847 wxPy_END_ALLOW_THREADS
;
3848 if (PyErr_Occurred()) return NULL
;
3849 } Py_INCREF(Py_None
);
3850 _resultobj
= Py_None
;
3854 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3855 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3858 wxPyPrintout
* _arg0
;
3859 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3873 wxPy_BEGIN_ALLOW_THREADS
;
3874 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3876 wxPy_END_ALLOW_THREADS
;
3877 if (PyErr_Occurred()) return NULL
;
3878 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3882 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3883 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3885 wxPyPrintout
* _arg0
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3910 wxPy_BEGIN_ALLOW_THREADS
;
3911 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3913 wxPy_END_ALLOW_THREADS
;
3914 if (PyErr_Occurred()) return NULL
;
3915 } Py_INCREF(Py_None
);
3916 _resultobj
= Py_None
;
3919 o
= PyInt_FromLong((long) (*_arg1
));
3920 _resultobj
= t_output_helper(_resultobj
, o
);
3924 o
= PyInt_FromLong((long) (*_arg2
));
3925 _resultobj
= t_output_helper(_resultobj
, o
);
3930 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3931 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3933 wxPyPrintout
* _arg0
;
3938 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3961 wxPy_END_ALLOW_THREADS
;
3962 if (PyErr_Occurred()) return NULL
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3967 o
= PyInt_FromLong((long) (*_arg1
));
3968 _resultobj
= t_output_helper(_resultobj
, o
);
3972 o
= PyInt_FromLong((long) (*_arg2
));
3973 _resultobj
= t_output_helper(_resultobj
, o
);
3978 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3979 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxPyPrintout
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4006 wxPy_BEGIN_ALLOW_THREADS
;
4007 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4009 wxPy_END_ALLOW_THREADS
;
4010 if (PyErr_Occurred()) return NULL
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4015 o
= PyInt_FromLong((long) (*_arg1
));
4016 _resultobj
= t_output_helper(_resultobj
, o
);
4020 o
= PyInt_FromLong((long) (*_arg2
));
4021 _resultobj
= t_output_helper(_resultobj
, o
);
4026 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4027 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4029 wxPyPrintout
* _arg0
;
4034 PyObject
* _argo0
= 0;
4035 char *_kwnames
[] = { "self", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4057 wxPy_END_ALLOW_THREADS
;
4058 if (PyErr_Occurred()) return NULL
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4063 o
= PyInt_FromLong((long) (*_arg1
));
4064 _resultobj
= t_output_helper(_resultobj
, o
);
4068 o
= PyInt_FromLong((long) (*_arg2
));
4069 _resultobj
= t_output_helper(_resultobj
, o
);
4074 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4075 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4078 wxPyPrintout
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4093 wxPy_BEGIN_ALLOW_THREADS
;
4094 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4096 wxPy_END_ALLOW_THREADS
;
4097 if (PyErr_Occurred()) return NULL
;
4098 } _resultobj
= Py_BuildValue("i",_result
);
4102 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4103 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 wxPyPrintout
* _arg0
;
4109 PyObject
* _argo0
= 0;
4110 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4123 wxPy_BEGIN_ALLOW_THREADS
;
4124 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4126 wxPy_END_ALLOW_THREADS
;
4127 if (PyErr_Occurred()) return NULL
;
4128 } _resultobj
= Py_BuildValue("i",_result
);
4132 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4133 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(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_OnEndDocument",_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_OnEndDocument. Expected _wxPyPrintout_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 wxPrintout_base_OnEndDocument(_arg0
);
4153 wxPy_END_ALLOW_THREADS
;
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4161 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(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_OnBeginPrinting",_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_OnBeginPrinting. Expected _wxPyPrintout_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxPrintout_base_OnBeginPrinting(_arg0
);
4181 wxPy_END_ALLOW_THREADS
;
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4189 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4191 wxPyPrintout
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4206 wxPy_BEGIN_ALLOW_THREADS
;
4207 wxPrintout_base_OnEndPrinting(_arg0
);
4209 wxPy_END_ALLOW_THREADS
;
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4217 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4219 wxPyPrintout
* _arg0
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4234 wxPy_BEGIN_ALLOW_THREADS
;
4235 wxPrintout_base_OnPreparePrinting(_arg0
);
4237 wxPy_END_ALLOW_THREADS
;
4238 if (PyErr_Occurred()) return NULL
;
4239 } Py_INCREF(Py_None
);
4240 _resultobj
= Py_None
;
4244 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4245 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4247 wxPyPrintout
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 char *_kwnames
[] = { "self", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4285 wxPy_END_ALLOW_THREADS
;
4286 if (PyErr_Occurred()) return NULL
;
4287 } Py_INCREF(Py_None
);
4288 _resultobj
= Py_None
;
4291 o
= PyInt_FromLong((long) (*_arg1
));
4292 _resultobj
= t_output_helper(_resultobj
, o
);
4296 o
= PyInt_FromLong((long) (*_arg2
));
4297 _resultobj
= t_output_helper(_resultobj
, o
);
4301 o
= PyInt_FromLong((long) (*_arg3
));
4302 _resultobj
= t_output_helper(_resultobj
, o
);
4306 o
= PyInt_FromLong((long) (*_arg4
));
4307 _resultobj
= t_output_helper(_resultobj
, o
);
4312 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4313 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4316 wxPyPrintout
* _arg0
;
4318 PyObject
* _argo0
= 0;
4319 char *_kwnames
[] = { "self","page", NULL
};
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4332 wxPy_BEGIN_ALLOW_THREADS
;
4333 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4335 wxPy_END_ALLOW_THREADS
;
4336 if (PyErr_Occurred()) return NULL
;
4337 } _resultobj
= Py_BuildValue("i",_result
);
4341 static void *SwigwxPrinterTowxObject(void *ptr
) {
4344 src
= (wxPrinter
*) ptr
;
4345 dest
= (wxObject
*) src
;
4346 return (void *) dest
;
4349 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4350 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4352 wxPrinter
* _result
;
4353 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4354 PyObject
* _argo0
= 0;
4355 char *_kwnames
[] = { "data", NULL
};
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4369 wxPy_BEGIN_ALLOW_THREADS
;
4370 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4372 wxPy_END_ALLOW_THREADS
;
4373 if (PyErr_Occurred()) return NULL
;
4375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4376 _resultobj
= Py_BuildValue("s",_ptemp
);
4379 _resultobj
= Py_None
;
4384 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4385 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4388 PyObject
* _argo0
= 0;
4389 char *_kwnames
[] = { "self", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 delete_wxPrinter(_arg0
);
4405 wxPy_END_ALLOW_THREADS
;
4406 if (PyErr_Occurred()) return NULL
;
4407 } Py_INCREF(Py_None
);
4408 _resultobj
= Py_None
;
4412 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4413 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4417 wxPyPrintout
* _arg2
;
4418 PyObject
* _argo0
= 0;
4419 PyObject
* _argo1
= 0;
4420 PyObject
* _argo2
= 0;
4421 char *_kwnames
[] = { "self","parent","printout", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4441 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4451 wxPy_END_ALLOW_THREADS
;
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4459 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 wxPrintDialogData
* _result
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4480 _result
= (wxPrintDialogData
*) &_result_ref
;
4482 wxPy_END_ALLOW_THREADS
;
4483 if (PyErr_Occurred()) return NULL
;
4485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4486 _resultobj
= Py_BuildValue("s",_ptemp
);
4489 _resultobj
= Py_None
;
4494 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4495 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4500 wxPyPrintout
* _arg2
;
4501 int _arg3
= (int ) TRUE
;
4502 PyObject
* _argo0
= 0;
4503 PyObject
* _argo1
= 0;
4504 PyObject
* _argo2
= 0;
4505 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4525 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4535 wxPy_END_ALLOW_THREADS
;
4536 if (PyErr_Occurred()) return NULL
;
4537 } _resultobj
= Py_BuildValue("i",_result
);
4541 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4542 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4547 PyObject
* _argo0
= 0;
4548 PyObject
* _argo1
= 0;
4549 char *_kwnames
[] = { "self","parent", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4569 wxPy_BEGIN_ALLOW_THREADS
;
4570 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4572 wxPy_END_ALLOW_THREADS
;
4573 if (PyErr_Occurred()) return NULL
;
4574 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4578 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4579 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4583 wxPyPrintout
* _arg2
;
4585 PyObject
* _argo0
= 0;
4586 PyObject
* _argo1
= 0;
4587 PyObject
* _argo2
= 0;
4588 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4608 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4618 wxPy_END_ALLOW_THREADS
;
4619 if (PyErr_Occurred()) return NULL
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4626 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4631 PyObject
* _argo0
= 0;
4632 PyObject
* _argo1
= 0;
4633 char *_kwnames
[] = { "self","parent", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4653 wxPy_BEGIN_ALLOW_THREADS
;
4654 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4656 wxPy_END_ALLOW_THREADS
;
4657 if (PyErr_Occurred()) return NULL
;
4658 } _resultobj
= Py_BuildValue("i",_result
);
4662 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4663 wxPrintPreview
*src
;
4665 src
= (wxPrintPreview
*) ptr
;
4666 dest
= (wxObject
*) src
;
4667 return (void *) dest
;
4670 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4671 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4673 wxPrintPreview
* _result
;
4674 wxPyPrintout
* _arg0
;
4675 wxPyPrintout
* _arg1
;
4676 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4677 PyObject
* _argo0
= 0;
4678 PyObject
* _argo1
= 0;
4679 PyObject
* _argo2
= 0;
4680 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4701 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4711 wxPy_END_ALLOW_THREADS
;
4712 if (PyErr_Occurred()) return NULL
;
4714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4715 _resultobj
= Py_BuildValue("s",_ptemp
);
4718 _resultobj
= Py_None
;
4723 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4724 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4727 wxPrintPreview
* _arg0
;
4728 PyObject
* _argo0
= 0;
4729 char *_kwnames
[] = { "self", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4742 wxPy_BEGIN_ALLOW_THREADS
;
4743 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4745 wxPy_END_ALLOW_THREADS
;
4746 if (PyErr_Occurred()) return NULL
;
4747 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4751 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4752 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4755 wxPrintPreview
* _arg0
;
4756 PyObject
* _argo0
= 0;
4757 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4773 wxPy_END_ALLOW_THREADS
;
4774 if (PyErr_Occurred()) return NULL
;
4775 } _resultobj
= Py_BuildValue("i",_result
);
4779 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4780 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4783 wxPrintPreview
* _arg0
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4798 wxPy_BEGIN_ALLOW_THREADS
;
4799 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4801 wxPy_END_ALLOW_THREADS
;
4802 if (PyErr_Occurred()) return NULL
;
4803 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4807 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4808 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
* _resultobj
;
4811 wxPrintPreview
* _arg0
;
4812 PyObject
* _argo0
= 0;
4813 char *_kwnames
[] = { "self", NULL
};
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4826 wxPy_BEGIN_ALLOW_THREADS
;
4827 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4829 wxPy_END_ALLOW_THREADS
;
4830 if (PyErr_Occurred()) return NULL
;
4831 } _resultobj
= Py_BuildValue("i",_result
);
4835 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4836 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4839 wxPrintPreview
* _arg0
;
4840 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4857 wxPy_END_ALLOW_THREADS
;
4858 if (PyErr_Occurred()) return NULL
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4864 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 wxPrintDialogData
* _result
;
4867 wxPrintPreview
* _arg0
;
4868 PyObject
* _argo0
= 0;
4869 char *_kwnames
[] = { "self", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4885 _result
= (wxPrintDialogData
*) &_result_ref
;
4887 wxPy_END_ALLOW_THREADS
;
4888 if (PyErr_Occurred()) return NULL
;
4890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4891 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 _resultobj
= Py_None
;
4899 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4900 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 wxPyPrintout
* _result
;
4903 wxPrintPreview
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4921 wxPy_END_ALLOW_THREADS
;
4922 if (PyErr_Occurred()) return NULL
;
4923 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4927 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4928 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4930 wxPyPrintout
* _result
;
4931 wxPrintPreview
* _arg0
;
4932 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4946 wxPy_BEGIN_ALLOW_THREADS
;
4947 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4949 wxPy_END_ALLOW_THREADS
;
4950 if (PyErr_Occurred()) return NULL
;
4951 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4955 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4956 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4959 wxPrintPreview
* _arg0
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4977 wxPy_END_ALLOW_THREADS
;
4978 if (PyErr_Occurred()) return NULL
;
4979 } _resultobj
= Py_BuildValue("i",_result
);
4983 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4984 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4987 wxPrintPreview
* _arg0
;
4988 PyObject
* _argo0
= 0;
4989 char *_kwnames
[] = { "self", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5005 wxPy_END_ALLOW_THREADS
;
5006 if (PyErr_Occurred()) return NULL
;
5007 } _resultobj
= Py_BuildValue("i",_result
);
5011 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5012 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5015 wxPrintPreview
* _arg0
;
5017 PyObject
* _argo0
= 0;
5019 char *_kwnames
[] = { "self","prompt", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5031 _arg1
= (bool ) tempbool1
;
5033 wxPy_BEGIN_ALLOW_THREADS
;
5034 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5036 wxPy_END_ALLOW_THREADS
;
5037 if (PyErr_Occurred()) return NULL
;
5038 } _resultobj
= Py_BuildValue("i",_result
);
5042 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5043 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5045 wxPrintPreview
* _arg0
;
5047 PyObject
* _argo0
= 0;
5048 PyObject
* _argo1
= 0;
5049 char *_kwnames
[] = { "self","window", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5072 wxPy_END_ALLOW_THREADS
;
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5079 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5080 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxPrintPreview
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self","pageNum", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5101 wxPy_END_ALLOW_THREADS
;
5102 if (PyErr_Occurred()) return NULL
;
5103 } Py_INCREF(Py_None
);
5104 _resultobj
= Py_None
;
5108 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5109 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5111 wxPrintPreview
* _arg0
;
5113 PyObject
* _argo0
= 0;
5114 PyObject
* _argo1
= 0;
5115 char *_kwnames
[] = { "self","frame", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5135 wxPy_BEGIN_ALLOW_THREADS
;
5136 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5138 wxPy_END_ALLOW_THREADS
;
5139 if (PyErr_Occurred()) return NULL
;
5140 } Py_INCREF(Py_None
);
5141 _resultobj
= Py_None
;
5145 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5146 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5148 wxPrintPreview
* _arg0
;
5149 wxPyPrintout
* _arg1
;
5150 PyObject
* _argo0
= 0;
5151 PyObject
* _argo1
= 0;
5152 char *_kwnames
[] = { "self","printout", NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5175 wxPy_END_ALLOW_THREADS
;
5176 if (PyErr_Occurred()) return NULL
;
5177 } Py_INCREF(Py_None
);
5178 _resultobj
= Py_None
;
5182 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5183 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5185 wxPrintPreview
* _arg0
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","percent", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5204 wxPy_END_ALLOW_THREADS
;
5205 if (PyErr_Occurred()) return NULL
;
5206 } Py_INCREF(Py_None
);
5207 _resultobj
= Py_None
;
5211 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5212 wxPreviewFrame
*src
;
5214 src
= (wxPreviewFrame
*) ptr
;
5215 dest
= (wxFrame
*) src
;
5216 return (void *) dest
;
5219 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5220 wxPreviewFrame
*src
;
5221 wxTopLevelWindow
*dest
;
5222 src
= (wxPreviewFrame
*) ptr
;
5223 dest
= (wxTopLevelWindow
*) src
;
5224 return (void *) dest
;
5227 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5228 wxPreviewFrame
*src
;
5230 src
= (wxPreviewFrame
*) ptr
;
5231 dest
= (wxWindow
*) src
;
5232 return (void *) dest
;
5235 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5236 wxPreviewFrame
*src
;
5238 src
= (wxPreviewFrame
*) ptr
;
5239 dest
= (wxEvtHandler
*) src
;
5240 return (void *) dest
;
5243 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5244 wxPreviewFrame
*src
;
5246 src
= (wxPreviewFrame
*) ptr
;
5247 dest
= (wxObject
*) src
;
5248 return (void *) dest
;
5251 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5252 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5254 wxPreviewFrame
* _result
;
5255 wxPrintPreview
* _arg0
;
5258 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5259 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5260 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5261 char * _arg6
= (char *) "frame";
5262 PyObject
* _argo0
= 0;
5263 PyObject
* _argo1
= 0;
5264 PyObject
* _obj2
= 0;
5266 PyObject
* _obj3
= 0;
5268 PyObject
* _obj4
= 0;
5269 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5290 #if PYTHON_API_VERSION >= 1009
5291 char* tmpPtr
; int tmpSize
;
5292 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5296 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5298 _arg2
= new wxString(tmpPtr
, tmpSize
);
5300 if (!PyString_Check(_obj2
)) {
5301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5304 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5310 if (! wxPoint_helper(_obj3
, &_arg3
))
5316 if (! wxSize_helper(_obj4
, &_arg4
))
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5323 wxPy_END_ALLOW_THREADS
;
5324 if (PyErr_Occurred()) return NULL
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5339 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5340 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxPreviewFrame
* _arg0
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5357 wxPy_BEGIN_ALLOW_THREADS
;
5358 wxPreviewFrame_Initialize(_arg0
);
5360 wxPy_END_ALLOW_THREADS
;
5361 if (PyErr_Occurred()) return NULL
;
5362 } Py_INCREF(Py_None
);
5363 _resultobj
= Py_None
;
5367 static PyMethodDef printfwcMethods
[] = {
5368 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5526 * This table is used by the pointer type-checker
5528 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5529 { "_signed_long","_long",0},
5530 { "_wxPrintQuality","_wxCoord",0},
5531 { "_wxPrintQuality","_int",0},
5532 { "_wxPrintQuality","_signed_int",0},
5533 { "_wxPrintQuality","_unsigned_int",0},
5534 { "_wxPrintQuality","_wxWindowID",0},
5535 { "_wxPrintQuality","_uint",0},
5536 { "_wxPrintQuality","_EBool",0},
5537 { "_wxPrintQuality","_size_t",0},
5538 { "_wxPrintQuality","_time_t",0},
5539 { "_byte","_unsigned_char",0},
5540 { "_long","_unsigned_long",0},
5541 { "_long","_signed_long",0},
5542 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5543 { "_size_t","_wxCoord",0},
5544 { "_size_t","_wxPrintQuality",0},
5545 { "_size_t","_time_t",0},
5546 { "_size_t","_unsigned_int",0},
5547 { "_size_t","_int",0},
5548 { "_size_t","_wxWindowID",0},
5549 { "_size_t","_uint",0},
5550 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5551 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5552 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5553 { "_uint","_wxCoord",0},
5554 { "_uint","_wxPrintQuality",0},
5555 { "_uint","_time_t",0},
5556 { "_uint","_size_t",0},
5557 { "_uint","_unsigned_int",0},
5558 { "_uint","_int",0},
5559 { "_uint","_wxWindowID",0},
5560 { "_wxChar","_char",0},
5561 { "_char","_wxChar",0},
5562 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5563 { "_EBool","_wxCoord",0},
5564 { "_EBool","_wxPrintQuality",0},
5565 { "_EBool","_signed_int",0},
5566 { "_EBool","_int",0},
5567 { "_EBool","_wxWindowID",0},
5568 { "_unsigned_long","_long",0},
5569 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5570 { "_signed_int","_wxCoord",0},
5571 { "_signed_int","_wxPrintQuality",0},
5572 { "_signed_int","_EBool",0},
5573 { "_signed_int","_wxWindowID",0},
5574 { "_signed_int","_int",0},
5575 { "_WXTYPE","_short",0},
5576 { "_WXTYPE","_signed_short",0},
5577 { "_WXTYPE","_unsigned_short",0},
5578 { "_unsigned_short","_WXTYPE",0},
5579 { "_unsigned_short","_short",0},
5580 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5581 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5582 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5583 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5584 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5585 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5586 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5587 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5588 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5589 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5590 { "_signed_short","_WXTYPE",0},
5591 { "_signed_short","_short",0},
5592 { "_unsigned_char","_byte",0},
5593 { "_unsigned_int","_wxCoord",0},
5594 { "_unsigned_int","_wxPrintQuality",0},
5595 { "_unsigned_int","_time_t",0},
5596 { "_unsigned_int","_size_t",0},
5597 { "_unsigned_int","_uint",0},
5598 { "_unsigned_int","_wxWindowID",0},
5599 { "_unsigned_int","_int",0},
5600 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5601 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5602 { "_short","_WXTYPE",0},
5603 { "_short","_unsigned_short",0},
5604 { "_short","_signed_short",0},
5605 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5606 { "_wxWindowID","_wxCoord",0},
5607 { "_wxWindowID","_wxPrintQuality",0},
5608 { "_wxWindowID","_time_t",0},
5609 { "_wxWindowID","_size_t",0},
5610 { "_wxWindowID","_EBool",0},
5611 { "_wxWindowID","_uint",0},
5612 { "_wxWindowID","_int",0},
5613 { "_wxWindowID","_signed_int",0},
5614 { "_wxWindowID","_unsigned_int",0},
5615 { "_int","_wxCoord",0},
5616 { "_int","_wxPrintQuality",0},
5617 { "_int","_time_t",0},
5618 { "_int","_size_t",0},
5619 { "_int","_EBool",0},
5620 { "_int","_uint",0},
5621 { "_int","_wxWindowID",0},
5622 { "_int","_unsigned_int",0},
5623 { "_int","_signed_int",0},
5624 { "_time_t","_wxCoord",0},
5625 { "_time_t","_wxPrintQuality",0},
5626 { "_time_t","_unsigned_int",0},
5627 { "_time_t","_int",0},
5628 { "_time_t","_wxWindowID",0},
5629 { "_time_t","_uint",0},
5630 { "_time_t","_size_t",0},
5631 { "_wxCoord","_int",0},
5632 { "_wxCoord","_signed_int",0},
5633 { "_wxCoord","_unsigned_int",0},
5634 { "_wxCoord","_wxWindowID",0},
5635 { "_wxCoord","_uint",0},
5636 { "_wxCoord","_EBool",0},
5637 { "_wxCoord","_size_t",0},
5638 { "_wxCoord","_time_t",0},
5639 { "_wxCoord","_wxPrintQuality",0},
5640 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5641 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5642 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5643 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5644 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5645 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5648 static PyObject
*SWIG_globals
;
5652 SWIGEXPORT(void) initprintfwc() {
5654 SWIG_globals
= SWIG_newvarlink();
5655 m
= Py_InitModule("printfwc", printfwcMethods
);
5656 d
= PyModule_GetDict(m
);
5658 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5661 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5662 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);