2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
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 wxPyBeginBlockThreads();
106 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
107 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
108 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
111 val
= PyTuple_GetItem(result
, 0);
112 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
115 val
= PyTuple_GetItem(result
, 1);
116 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 2);
120 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 3);
124 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
131 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
136 wxPyEndBlockThreads();
138 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
141 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
150 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
158 static void *SwigwxPrintDataTowxObject(void *ptr
) {
161 src
= (wxPrintData
*) ptr
;
162 dest
= (wxObject
*) src
;
163 return (void *) dest
;
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxPrintData
* _result
;
170 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 delete_wxPrintData(_arg0
);
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPyEndAllowThreads(__tstate
);
243 if (PyErr_Occurred()) return NULL
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
305 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 PyObject
* _argo0
= 0;
310 char *_kwnames
[] = { "self", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
325 _result
= (wxString
*) &_result_ref
;
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
385 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
411 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
413 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
441 _result
= (wxSize
*) &_result_ref
;
443 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
477 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 wxPrintData_SetNoCopies(_arg0
,_arg1
);
505 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
534 wxPrintData_SetCollate(_arg0
,_arg1
);
536 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 wxPrintData_SetOrientation(_arg0
,_arg1
);
565 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
613 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 wxPrintData_SetColour(_arg0
,_arg1
);
648 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 wxPrintData_SetDuplex(_arg0
,_arg1
);
677 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 wxPrintData_SetPaperId(_arg0
,_arg1
);
706 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
742 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 wxPrintData_SetQuality(_arg0
,_arg1
);
771 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
798 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
799 _result
= (wxString
*) &_result_ref
;
801 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
830 _result
= (wxString
*) &_result_ref
;
832 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
860 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
861 _result
= (wxString
*) &_result_ref
;
863 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
892 _result
= (wxString
*) &_result_ref
;
894 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
923 _result
= (wxString
*) &_result_ref
;
925 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
953 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
955 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
983 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1011 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1039 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1068 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1116 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1168 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 wxPrintData_SetFilename(_arg0
,*_arg1
);
1272 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1324 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1357 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1386 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1416 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1445 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1474 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1504 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) return NULL
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1551 src
= (wxPrinterDC
*) ptr
;
1552 dest
= (wxDC
*) src
;
1553 return (void *) dest
;
1556 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1559 src
= (wxPrinterDC
*) ptr
;
1560 dest
= (wxObject
*) src
;
1561 return (void *) dest
;
1564 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1565 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxPrinterDC
* _result
;
1568 wxPrintData
* _arg0
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "printData", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_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_wxPrinterDC. Expected _wxPrintData_p.");
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) return NULL
;
1590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1591 _resultobj
= Py_BuildValue("s",_ptemp
);
1594 _resultobj
= Py_None
;
1599 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1600 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxPrinterDC
* _result
;
1606 bool _arg3
= (bool ) TRUE
;
1607 int _arg4
= (int ) wxPORTRAIT
;
1608 PyObject
* _obj0
= 0;
1609 PyObject
* _obj1
= 0;
1610 PyObject
* _obj2
= 0;
1611 int tempbool3
= (int) TRUE
;
1612 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1619 #if PYTHON_API_VERSION >= 1009
1620 char* tmpPtr
; int tmpSize
;
1621 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1625 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1627 _arg0
= new wxString(tmpPtr
, tmpSize
);
1629 if (!PyString_Check(_obj0
)) {
1630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1633 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1637 #if PYTHON_API_VERSION >= 1009
1638 char* tmpPtr
; int tmpSize
;
1639 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1643 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1645 _arg1
= new wxString(tmpPtr
, tmpSize
);
1647 if (!PyString_Check(_obj1
)) {
1648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1651 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1655 #if PYTHON_API_VERSION >= 1009
1656 char* tmpPtr
; int tmpSize
;
1657 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1658 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1661 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1663 _arg2
= new wxString(tmpPtr
, tmpSize
);
1665 if (!PyString_Check(_obj2
)) {
1666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1669 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1672 _arg3
= (bool ) tempbool3
;
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1684 _resultobj
= Py_None
;
1701 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1702 wxPostScriptDC
*src
;
1704 src
= (wxPostScriptDC
*) ptr
;
1705 dest
= (wxDC
*) src
;
1706 return (void *) dest
;
1709 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1710 wxPostScriptDC
*src
;
1712 src
= (wxPostScriptDC
*) ptr
;
1713 dest
= (wxObject
*) src
;
1714 return (void *) dest
;
1717 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1718 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxPostScriptDC
* _result
;
1721 wxPrintData
* _arg0
;
1722 PyObject
* _argo0
= 0;
1723 char *_kwnames
[] = { "printData", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1744 _resultobj
= Py_BuildValue("s",_ptemp
);
1747 _resultobj
= Py_None
;
1752 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1753 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1755 wxPostScriptDC
* _result
;
1757 bool _arg1
= (bool ) TRUE
;
1758 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1759 PyObject
* _obj0
= 0;
1760 int tempbool1
= (int) TRUE
;
1761 PyObject
* _argo2
= 0;
1762 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1769 #if PYTHON_API_VERSION >= 1009
1770 char* tmpPtr
; int tmpSize
;
1771 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1775 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1777 _arg0
= new wxString(tmpPtr
, tmpSize
);
1779 if (!PyString_Check(_obj0
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1786 _arg1
= (bool ) tempbool1
;
1788 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) return NULL
;
1801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1802 _resultobj
= Py_BuildValue("s",_ptemp
);
1805 _resultobj
= Py_None
;
1814 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1815 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1817 wxPrintData
* _result
;
1818 wxPostScriptDC
* _arg0
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1836 _result
= (wxPrintData
*) &_result_ref
;
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1842 _resultobj
= Py_BuildValue("s",_ptemp
);
1845 _resultobj
= Py_None
;
1850 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1851 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxPostScriptDC
* _arg0
;
1854 wxPrintData
* _arg1
;
1855 PyObject
* _argo0
= 0;
1856 PyObject
* _argo1
= 0;
1857 char *_kwnames
[] = { "self","data", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1887 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1890 char *_kwnames
[] = { "ppi", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 wxPostScriptDC::SetResolution(_arg0
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1906 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 char *_kwnames
[] = { NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 _result
= (int )wxPostScriptDC::GetResolution();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) return NULL
;
1920 } _resultobj
= Py_BuildValue("i",_result
);
1924 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1925 wxPageSetupDialogData
*src
;
1927 src
= (wxPageSetupDialogData
*) ptr
;
1928 dest
= (wxObject
*) src
;
1929 return (void *) dest
;
1932 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1933 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1935 wxPageSetupDialogData
* _result
;
1936 char *_kwnames
[] = { NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) return NULL
;
1949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1950 _resultobj
= Py_BuildValue("s",_ptemp
);
1953 _resultobj
= Py_None
;
1958 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1959 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxPageSetupDialogData
* _arg0
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 delete_wxPageSetupDialogData(_arg0
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } Py_INCREF(Py_None
);
1982 _resultobj
= Py_None
;
1986 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1987 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1989 wxPageSetupDialogData
* _arg0
;
1991 PyObject
* _argo0
= 0;
1993 char *_kwnames
[] = { "self","flag", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
2005 _arg1
= (bool ) tempbool1
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
2018 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2020 wxPageSetupDialogData
* _arg0
;
2022 PyObject
* _argo0
= 0;
2024 char *_kwnames
[] = { "self","flag", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
2030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
2036 _arg1
= (bool ) tempbool1
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) return NULL
;
2043 } Py_INCREF(Py_None
);
2044 _resultobj
= Py_None
;
2048 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
2049 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2051 wxPageSetupDialogData
* _arg0
;
2053 PyObject
* _argo0
= 0;
2055 char *_kwnames
[] = { "self","flag", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
2061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
2067 _arg1
= (bool ) tempbool1
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
2080 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxPageSetupDialogData
* _arg0
;
2084 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self","flag", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
2098 _arg1
= (bool ) tempbool1
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } Py_INCREF(Py_None
);
2106 _resultobj
= Py_None
;
2110 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
2111 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2113 wxPageSetupDialogData
* _arg0
;
2115 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self","flag", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2129 _arg1
= (bool ) tempbool1
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) return NULL
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2142 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2145 wxPageSetupDialogData
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) return NULL
;
2165 } _resultobj
= Py_BuildValue("i",_result
);
2169 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2170 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxPageSetupDialogData
* _arg0
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } _resultobj
= Py_BuildValue("i",_result
);
2197 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2198 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2201 wxPageSetupDialogData
* _arg0
;
2202 PyObject
* _argo0
= 0;
2203 char *_kwnames
[] = { "self", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) return NULL
;
2221 } _resultobj
= Py_BuildValue("i",_result
);
2225 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2226 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2229 wxPageSetupDialogData
* _arg0
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) return NULL
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2254 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2257 wxPageSetupDialogData
* _arg0
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) return NULL
;
2277 } _resultobj
= Py_BuildValue("i",_result
);
2281 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2282 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2285 wxPageSetupDialogData
* _arg0
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2305 } _resultobj
= Py_BuildValue("i",_result
);
2309 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2310 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2313 wxPageSetupDialogData
* _arg0
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) return NULL
;
2333 } _resultobj
= Py_BuildValue("i",_result
);
2337 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2338 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2341 wxPageSetupDialogData
* _arg0
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2363 _resultobj
= Py_BuildValue("s",_ptemp
);
2367 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2368 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2371 wxPageSetupDialogData
* _arg0
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2393 _resultobj
= Py_BuildValue("s",_ptemp
);
2397 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2398 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxPageSetupDialogData
* _arg0
;
2402 PyObject
* _argo0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) return NULL
;
2422 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2423 _resultobj
= Py_BuildValue("s",_ptemp
);
2427 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2428 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2431 wxPageSetupDialogData
* _arg0
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2453 _resultobj
= Py_BuildValue("s",_ptemp
);
2457 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2458 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxPaperSize _result
;
2461 wxPageSetupDialogData
* _arg0
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2481 } _resultobj
= Py_BuildValue("i",_result
);
2485 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2486 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2489 wxPageSetupDialogData
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2511 _resultobj
= Py_BuildValue("s",_ptemp
);
2515 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2516 return new wxPrintData(self
->GetPrintData()); // force a copy
2518 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2520 wxPrintData
* _result
;
2521 wxPageSetupDialogData
* _arg0
;
2522 PyObject
* _argo0
= 0;
2523 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2544 _resultobj
= Py_BuildValue("s",_ptemp
);
2547 _resultobj
= Py_None
;
2552 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2553 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2555 wxPageSetupDialogData
* _arg0
;
2557 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self","flag", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2571 _arg1
= (bool ) tempbool1
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2584 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxPageSetupDialogData
* _arg0
;
2588 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self","flag", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2602 _arg1
= (bool ) tempbool1
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2615 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2617 wxPageSetupDialogData
* _arg0
;
2619 PyObject
* _argo0
= 0;
2621 PyObject
* _obj1
= 0;
2622 char *_kwnames
[] = { "self","pt", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2636 if (! wxPoint_helper(_obj1
, &_arg1
))
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) return NULL
;
2645 } Py_INCREF(Py_None
);
2646 _resultobj
= Py_None
;
2650 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2651 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2653 wxPageSetupDialogData
* _arg0
;
2655 PyObject
* _argo0
= 0;
2657 PyObject
* _obj1
= 0;
2658 char *_kwnames
[] = { "self","pt", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2672 if (! wxPoint_helper(_obj1
, &_arg1
))
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) return NULL
;
2681 } Py_INCREF(Py_None
);
2682 _resultobj
= Py_None
;
2686 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2687 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxPageSetupDialogData
* _arg0
;
2691 PyObject
* _argo0
= 0;
2693 PyObject
* _obj1
= 0;
2694 char *_kwnames
[] = { "self","pt", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2708 if (! wxPoint_helper(_obj1
, &_arg1
))
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2723 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2725 wxPageSetupDialogData
* _arg0
;
2727 PyObject
* _argo0
= 0;
2729 PyObject
* _obj1
= 0;
2730 char *_kwnames
[] = { "self","pt", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2744 if (! wxPoint_helper(_obj1
, &_arg1
))
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2753 } Py_INCREF(Py_None
);
2754 _resultobj
= Py_None
;
2758 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2759 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2761 wxPageSetupDialogData
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self","id", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) return NULL
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2787 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2788 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2790 wxPageSetupDialogData
* _arg0
;
2792 PyObject
* _argo0
= 0;
2794 PyObject
* _obj1
= 0;
2795 char *_kwnames
[] = { "self","size", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2809 if (! wxSize_helper(_obj1
, &_arg1
))
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2824 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2826 wxPageSetupDialogData
* _arg0
;
2827 wxPrintData
* _arg1
;
2828 PyObject
* _argo0
= 0;
2829 PyObject
* _argo1
= 0;
2830 char *_kwnames
[] = { "self","printData", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) return NULL
;
2855 } Py_INCREF(Py_None
);
2856 _resultobj
= Py_None
;
2860 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2861 wxPageSetupDialog
*src
;
2863 src
= (wxPageSetupDialog
*) ptr
;
2864 dest
= (wxDialog
*) src
;
2865 return (void *) dest
;
2868 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2869 wxPageSetupDialog
*src
;
2870 wxTopLevelWindow
*dest
;
2871 src
= (wxPageSetupDialog
*) ptr
;
2872 dest
= (wxTopLevelWindow
*) src
;
2873 return (void *) dest
;
2876 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2877 wxPageSetupDialog
*src
;
2879 src
= (wxPageSetupDialog
*) ptr
;
2880 dest
= (wxWindow
*) src
;
2881 return (void *) dest
;
2884 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2885 wxPageSetupDialog
*src
;
2887 src
= (wxPageSetupDialog
*) ptr
;
2888 dest
= (wxEvtHandler
*) src
;
2889 return (void *) dest
;
2892 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2893 wxPageSetupDialog
*src
;
2895 src
= (wxPageSetupDialog
*) ptr
;
2896 dest
= (wxObject
*) src
;
2897 return (void *) dest
;
2900 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2901 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxPageSetupDialog
* _result
;
2905 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2906 PyObject
* _argo0
= 0;
2907 PyObject
* _argo1
= 0;
2908 char *_kwnames
[] = { "parent","data", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2936 _resultobj
= Py_BuildValue("s",_ptemp
);
2939 _resultobj
= Py_None
;
2944 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2945 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2947 wxPageSetupDialogData
* _result
;
2948 wxPageSetupDialog
* _arg0
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2966 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) return NULL
;
2971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2972 _resultobj
= Py_BuildValue("s",_ptemp
);
2975 _resultobj
= Py_None
;
2980 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2981 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2984 wxPageSetupDialog
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) return NULL
;
3004 } _resultobj
= Py_BuildValue("i",_result
);
3008 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
3009 wxPrintDialogData
*src
;
3011 src
= (wxPrintDialogData
*) ptr
;
3012 dest
= (wxObject
*) src
;
3013 return (void *) dest
;
3016 #define new_wxPrintDialogData() (new wxPrintDialogData())
3017 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3019 wxPrintDialogData
* _result
;
3020 char *_kwnames
[] = { NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3034 _resultobj
= Py_BuildValue("s",_ptemp
);
3037 _resultobj
= Py_None
;
3042 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
3043 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3045 wxPrintDialogData
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_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 delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 delete_wxPrintDialogData(_arg0
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3070 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3071 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxPrintDialogData
* _arg0
;
3075 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self","flag", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
3089 _arg1
= (bool ) tempbool1
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) return NULL
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3102 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3104 wxPrintDialogData
* _arg0
;
3106 PyObject
* _argo0
= 0;
3108 char *_kwnames
[] = { "self","flag", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3120 _arg1
= (bool ) tempbool1
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) return NULL
;
3127 } Py_INCREF(Py_None
);
3128 _resultobj
= Py_None
;
3132 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3133 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxPrintDialogData
* _arg0
;
3137 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self","flag", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3151 _arg1
= (bool ) tempbool1
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) return NULL
;
3158 } Py_INCREF(Py_None
);
3159 _resultobj
= Py_None
;
3163 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3164 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3166 wxPrintDialogData
* _arg0
;
3168 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self","flag", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3182 _arg1
= (bool ) tempbool1
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3195 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3198 wxPrintDialogData
* _arg0
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) return NULL
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3223 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxPrintDialogData
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3251 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3254 wxPrintDialogData
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3279 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxPrintDialogData
* _arg0
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3307 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxPrintDialogData
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3330 } _resultobj
= Py_BuildValue("i",_result
);
3334 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3335 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3338 wxPrintDialogData
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3363 return new wxPrintData(self
->GetPrintData()); // force a copy
3365 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3367 wxPrintData
* _result
;
3368 wxPrintDialogData
* _arg0
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3391 _resultobj
= Py_BuildValue("s",_ptemp
);
3394 _resultobj
= Py_None
;
3399 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3400 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
* _resultobj
;
3403 wxPrintDialogData
* _arg0
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3423 } _resultobj
= Py_BuildValue("i",_result
);
3427 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3428 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3431 wxPrintDialogData
* _arg0
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) return NULL
;
3451 } _resultobj
= Py_BuildValue("i",_result
);
3455 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3456 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxPrintDialogData
* _arg0
;
3460 PyObject
* _argo0
= 0;
3462 char *_kwnames
[] = { "self","flag", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3474 _arg1
= (bool ) tempbool1
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3487 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxPrintDialogData
* _arg0
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self","page", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } Py_INCREF(Py_None
);
3511 _resultobj
= Py_None
;
3515 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3516 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxPrintDialogData
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self","page", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) return NULL
;
3539 } Py_INCREF(Py_None
);
3540 _resultobj
= Py_None
;
3544 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3545 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3547 wxPrintDialogData
* _arg0
;
3549 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self","page", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3574 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 wxPrintDialogData
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self","n", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3603 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxPrintDialogData
* _arg0
;
3606 wxPrintData
* _arg1
;
3607 PyObject
* _argo0
= 0;
3608 PyObject
* _argo1
= 0;
3609 char *_kwnames
[] = { "self","printData", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) return NULL
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3640 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3642 wxPrintDialogData
* _arg0
;
3644 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self","flag", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3658 _arg1
= (bool ) tempbool1
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } Py_INCREF(Py_None
);
3666 _resultobj
= Py_None
;
3670 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3671 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3673 wxPrintDialogData
* _arg0
;
3675 PyObject
* _argo0
= 0;
3677 char *_kwnames
[] = { "self","flag", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3689 _arg1
= (bool ) tempbool1
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3702 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxPrintDialogData
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self","page", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3733 src
= (wxPrintDialog
*) ptr
;
3734 dest
= (wxDialog
*) src
;
3735 return (void *) dest
;
3738 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3740 wxTopLevelWindow
*dest
;
3741 src
= (wxPrintDialog
*) ptr
;
3742 dest
= (wxTopLevelWindow
*) src
;
3743 return (void *) dest
;
3746 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3749 src
= (wxPrintDialog
*) ptr
;
3750 dest
= (wxWindow
*) src
;
3751 return (void *) dest
;
3754 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3757 src
= (wxPrintDialog
*) ptr
;
3758 dest
= (wxEvtHandler
*) src
;
3759 return (void *) dest
;
3762 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3765 src
= (wxPrintDialog
*) ptr
;
3766 dest
= (wxObject
*) src
;
3767 return (void *) dest
;
3770 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3771 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3773 wxPrintDialog
* _result
;
3775 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3776 PyObject
* _argo0
= 0;
3777 PyObject
* _argo1
= 0;
3778 char *_kwnames
[] = { "parent","data", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3806 _resultobj
= Py_BuildValue("s",_ptemp
);
3809 _resultobj
= Py_None
;
3814 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3815 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3817 wxPrintDialogData
* _result
;
3818 wxPrintDialog
* _arg0
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3836 _result
= (wxPrintDialogData
*) &_result_ref
;
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3842 _resultobj
= Py_BuildValue("s",_ptemp
);
3845 _resultobj
= Py_None
;
3850 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3851 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3854 wxPrintDialog
* _arg0
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) return NULL
;
3874 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3878 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3879 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxPrintDialog
* _arg0
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) return NULL
;
3902 } _resultobj
= Py_BuildValue("i",_result
);
3906 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3909 src
= (wxPyPrintout
*) ptr
;
3910 dest
= (wxObject
*) src
;
3911 return (void *) dest
;
3914 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3915 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3917 wxPyPrintout
* _result
;
3918 char * _arg0
= (char *) "Printout";
3919 char *_kwnames
[] = { "title", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) return NULL
;
3932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3933 _resultobj
= Py_BuildValue("s",_ptemp
);
3936 _resultobj
= Py_None
;
3941 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3942 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxPyPrintout
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 PyObject
* _obj1
= 0;
3949 PyObject
* _obj2
= 0;
3950 char *_kwnames
[] = { "self","self","_class", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3974 } Py_INCREF(Py_None
);
3975 _resultobj
= Py_None
;
3979 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3980 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxPyPrintout
* _arg0
;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 wxPyPrintout_Destroy(_arg0
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4002 } Py_INCREF(Py_None
);
4003 _resultobj
= Py_None
;
4007 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
4008 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4011 wxPyPrintout
* _arg0
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4035 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4036 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4038 wxPyPrintout
* _arg0
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4068 } Py_INCREF(Py_None
);
4069 _resultobj
= Py_None
;
4072 o
= PyInt_FromLong((long) (*_arg1
));
4073 _resultobj
= t_output_helper(_resultobj
, o
);
4077 o
= PyInt_FromLong((long) (*_arg2
));
4078 _resultobj
= t_output_helper(_resultobj
, o
);
4083 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4084 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
* _resultobj
;
4086 wxPyPrintout
* _arg0
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "self", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) return NULL
;
4116 } Py_INCREF(Py_None
);
4117 _resultobj
= Py_None
;
4120 o
= PyInt_FromLong((long) (*_arg1
));
4121 _resultobj
= t_output_helper(_resultobj
, o
);
4125 o
= PyInt_FromLong((long) (*_arg2
));
4126 _resultobj
= t_output_helper(_resultobj
, o
);
4131 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4132 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxPyPrintout
* _arg0
;
4139 PyObject
* _argo0
= 0;
4140 char *_kwnames
[] = { "self", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) return NULL
;
4164 } Py_INCREF(Py_None
);
4165 _resultobj
= Py_None
;
4168 o
= PyInt_FromLong((long) (*_arg1
));
4169 _resultobj
= t_output_helper(_resultobj
, o
);
4173 o
= PyInt_FromLong((long) (*_arg2
));
4174 _resultobj
= t_output_helper(_resultobj
, o
);
4179 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4180 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4182 wxPyPrintout
* _arg0
;
4187 PyObject
* _argo0
= 0;
4188 char *_kwnames
[] = { "self", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4216 o
= PyInt_FromLong((long) (*_arg1
));
4217 _resultobj
= t_output_helper(_resultobj
, o
);
4221 o
= PyInt_FromLong((long) (*_arg2
));
4222 _resultobj
= t_output_helper(_resultobj
, o
);
4227 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4228 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4231 wxPyPrintout
* _arg0
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) return NULL
;
4251 } _resultobj
= Py_BuildValue("i",_result
);
4255 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4256 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 wxPyPrintout
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4285 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4286 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4288 wxPyPrintout
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 wxPrintout_base_OnEndDocument(_arg0
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } Py_INCREF(Py_None
);
4309 _resultobj
= Py_None
;
4313 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4314 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4316 wxPyPrintout
* _arg0
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxPrintout_base_OnBeginPrinting(_arg0
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) return NULL
;
4336 } Py_INCREF(Py_None
);
4337 _resultobj
= Py_None
;
4341 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4342 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4344 wxPyPrintout
* _arg0
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 wxPrintout_base_OnEndPrinting(_arg0
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4369 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4370 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxPyPrintout
* _arg0
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 wxPrintout_base_OnPreparePrinting(_arg0
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4398 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4400 wxPyPrintout
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) return NULL
;
4440 } Py_INCREF(Py_None
);
4441 _resultobj
= Py_None
;
4444 o
= PyInt_FromLong((long) (*_arg1
));
4445 _resultobj
= t_output_helper(_resultobj
, o
);
4449 o
= PyInt_FromLong((long) (*_arg2
));
4450 _resultobj
= t_output_helper(_resultobj
, o
);
4454 o
= PyInt_FromLong((long) (*_arg3
));
4455 _resultobj
= t_output_helper(_resultobj
, o
);
4459 o
= PyInt_FromLong((long) (*_arg4
));
4460 _resultobj
= t_output_helper(_resultobj
, o
);
4465 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4466 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxPyPrintout
* _arg0
;
4471 PyObject
* _argo0
= 0;
4472 char *_kwnames
[] = { "self","page", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 static void *SwigwxPrinterTowxObject(void *ptr
) {
4497 src
= (wxPrinter
*) ptr
;
4498 dest
= (wxObject
*) src
;
4499 return (void *) dest
;
4502 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4503 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4505 wxPrinter
* _result
;
4506 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "data", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4529 _resultobj
= Py_BuildValue("s",_ptemp
);
4532 _resultobj
= Py_None
;
4537 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4538 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4541 PyObject
* _argo0
= 0;
4542 char *_kwnames
[] = { "self", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 delete_wxPrinter(_arg0
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) return NULL
;
4560 } Py_INCREF(Py_None
);
4561 _resultobj
= Py_None
;
4565 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4566 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4570 wxPyPrintout
* _arg2
;
4571 PyObject
* _argo0
= 0;
4572 PyObject
* _argo1
= 0;
4573 PyObject
* _argo2
= 0;
4574 char *_kwnames
[] = { "self","parent","printout", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4594 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4606 } Py_INCREF(Py_None
);
4607 _resultobj
= Py_None
;
4611 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4612 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4614 wxPrintDialogData
* _result
;
4616 PyObject
* _argo0
= 0;
4617 char *_kwnames
[] = { "self", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4633 _result
= (wxPrintDialogData
*) &_result_ref
;
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) return NULL
;
4638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4639 _resultobj
= Py_BuildValue("s",_ptemp
);
4642 _resultobj
= Py_None
;
4647 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4648 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4653 wxPyPrintout
* _arg2
;
4654 int _arg3
= (int ) TRUE
;
4655 PyObject
* _argo0
= 0;
4656 PyObject
* _argo1
= 0;
4657 PyObject
* _argo2
= 0;
4658 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4678 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4690 } _resultobj
= Py_BuildValue("i",_result
);
4694 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4695 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 PyObject
* _argo1
= 0;
4702 char *_kwnames
[] = { "self","parent", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) return NULL
;
4727 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4731 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4732 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4736 wxPyPrintout
* _arg2
;
4738 PyObject
* _argo0
= 0;
4739 PyObject
* _argo1
= 0;
4740 PyObject
* _argo2
= 0;
4741 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) return NULL
;
4773 } Py_INCREF(Py_None
);
4774 _resultobj
= Py_None
;
4778 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4779 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 PyObject
* _argo1
= 0;
4786 char *_kwnames
[] = { "self","parent", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4811 } _resultobj
= Py_BuildValue("i",_result
);
4815 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4816 wxPrintPreview
*src
;
4818 src
= (wxPrintPreview
*) ptr
;
4819 dest
= (wxObject
*) src
;
4820 return (void *) dest
;
4823 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4824 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4826 wxPrintPreview
* _result
;
4827 wxPyPrintout
* _arg0
;
4828 wxPyPrintout
* _arg1
;
4829 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4830 PyObject
* _argo0
= 0;
4831 PyObject
* _argo1
= 0;
4832 PyObject
* _argo2
= 0;
4833 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4854 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4868 _resultobj
= Py_BuildValue("s",_ptemp
);
4871 _resultobj
= Py_None
;
4876 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4877 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4880 wxPrintPreview
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 char *_kwnames
[] = { "self", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4904 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4905 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4908 wxPrintPreview
* _arg0
;
4909 PyObject
* _argo0
= 0;
4910 char *_kwnames
[] = { "self", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } _resultobj
= Py_BuildValue("i",_result
);
4932 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4933 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4936 wxPrintPreview
* _arg0
;
4937 PyObject
* _argo0
= 0;
4938 char *_kwnames
[] = { "self", NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) return NULL
;
4956 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4960 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4961 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
* _resultobj
;
4964 wxPrintPreview
* _arg0
;
4965 PyObject
* _argo0
= 0;
4966 char *_kwnames
[] = { "self", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } _resultobj
= Py_BuildValue("i",_result
);
4988 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4989 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4992 wxPrintPreview
* _arg0
;
4993 PyObject
* _argo0
= 0;
4994 char *_kwnames
[] = { "self", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) return NULL
;
5012 } _resultobj
= Py_BuildValue("i",_result
);
5016 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5017 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
* _resultobj
;
5019 wxPrintDialogData
* _result
;
5020 wxPrintPreview
* _arg0
;
5021 PyObject
* _argo0
= 0;
5022 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
5038 _result
= (wxPrintDialogData
*) &_result_ref
;
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) return NULL
;
5043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5047 _resultobj
= Py_None
;
5052 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5053 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5055 wxPyPrintout
* _result
;
5056 wxPrintPreview
* _arg0
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) return NULL
;
5076 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5080 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5081 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5083 wxPyPrintout
* _result
;
5084 wxPrintPreview
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self", NULL
};
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5104 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5108 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5109 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5112 wxPrintPreview
* _arg0
;
5113 PyObject
* _argo0
= 0;
5114 char *_kwnames
[] = { "self", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } _resultobj
= Py_BuildValue("i",_result
);
5136 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5137 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
* _resultobj
;
5140 wxPrintPreview
* _arg0
;
5141 PyObject
* _argo0
= 0;
5142 char *_kwnames
[] = { "self", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5160 } _resultobj
= Py_BuildValue("i",_result
);
5164 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5165 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
* _resultobj
;
5168 wxPrintPreview
* _arg0
;
5170 PyObject
* _argo0
= 0;
5172 char *_kwnames
[] = { "self","prompt", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5184 _arg1
= (bool ) tempbool1
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } _resultobj
= Py_BuildValue("i",_result
);
5195 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5196 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5198 wxPrintPreview
* _arg0
;
5200 PyObject
* _argo0
= 0;
5201 PyObject
* _argo1
= 0;
5202 char *_kwnames
[] = { "self","window", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) return NULL
;
5227 } Py_INCREF(Py_None
);
5228 _resultobj
= Py_None
;
5232 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5233 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5235 wxPrintPreview
* _arg0
;
5237 PyObject
* _argo0
= 0;
5238 char *_kwnames
[] = { "self","pageNum", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) return NULL
;
5256 } Py_INCREF(Py_None
);
5257 _resultobj
= Py_None
;
5261 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5262 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
* _resultobj
;
5264 wxPrintPreview
* _arg0
;
5266 PyObject
* _argo0
= 0;
5267 PyObject
* _argo1
= 0;
5268 char *_kwnames
[] = { "self","frame", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) return NULL
;
5293 } Py_INCREF(Py_None
);
5294 _resultobj
= Py_None
;
5298 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5299 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5301 wxPrintPreview
* _arg0
;
5302 wxPyPrintout
* _arg1
;
5303 PyObject
* _argo0
= 0;
5304 PyObject
* _argo1
= 0;
5305 char *_kwnames
[] = { "self","printout", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) return NULL
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5335 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5336 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxPrintPreview
* _arg0
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "self","percent", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) return NULL
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5365 wxPreviewFrame
*src
;
5367 src
= (wxPreviewFrame
*) ptr
;
5368 dest
= (wxFrame
*) src
;
5369 return (void *) dest
;
5372 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5373 wxPreviewFrame
*src
;
5374 wxTopLevelWindow
*dest
;
5375 src
= (wxPreviewFrame
*) ptr
;
5376 dest
= (wxTopLevelWindow
*) src
;
5377 return (void *) dest
;
5380 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5381 wxPreviewFrame
*src
;
5383 src
= (wxPreviewFrame
*) ptr
;
5384 dest
= (wxWindow
*) src
;
5385 return (void *) dest
;
5388 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5389 wxPreviewFrame
*src
;
5391 src
= (wxPreviewFrame
*) ptr
;
5392 dest
= (wxEvtHandler
*) src
;
5393 return (void *) dest
;
5396 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5397 wxPreviewFrame
*src
;
5399 src
= (wxPreviewFrame
*) ptr
;
5400 dest
= (wxObject
*) src
;
5401 return (void *) dest
;
5404 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5405 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5407 wxPreviewFrame
* _result
;
5408 wxPrintPreview
* _arg0
;
5411 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5412 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5413 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5414 char * _arg6
= (char *) "frame";
5415 PyObject
* _argo0
= 0;
5416 PyObject
* _argo1
= 0;
5417 PyObject
* _obj2
= 0;
5419 PyObject
* _obj3
= 0;
5421 PyObject
* _obj4
= 0;
5422 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5443 #if PYTHON_API_VERSION >= 1009
5444 char* tmpPtr
; int tmpSize
;
5445 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5449 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5451 _arg2
= new wxString(tmpPtr
, tmpSize
);
5453 if (!PyString_Check(_obj2
)) {
5454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5457 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5463 if (! wxPoint_helper(_obj3
, &_arg3
))
5469 if (! wxSize_helper(_obj4
, &_arg4
))
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5480 _resultobj
= Py_BuildValue("s",_ptemp
);
5483 _resultobj
= Py_None
;
5492 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5493 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5495 wxPreviewFrame
* _arg0
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 wxPreviewFrame_Initialize(_arg0
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 static PyMethodDef printfwcMethods
[] = {
5521 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5625 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5626 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5627 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5628 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5629 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5630 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5637 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5638 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5639 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5640 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5641 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5642 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5643 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5644 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5656 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5657 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5658 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5659 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5660 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5661 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5662 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5663 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5664 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5665 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5666 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5667 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5668 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5669 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5670 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5671 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5672 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5673 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5674 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5681 * This table is used by the pointer type-checker
5683 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5684 { "_signed_long","_long",0},
5685 { "_wxPrintQuality","_wxCoord",0},
5686 { "_wxPrintQuality","_int",0},
5687 { "_wxPrintQuality","_signed_int",0},
5688 { "_wxPrintQuality","_unsigned_int",0},
5689 { "_wxPrintQuality","_wxWindowID",0},
5690 { "_wxPrintQuality","_uint",0},
5691 { "_wxPrintQuality","_EBool",0},
5692 { "_wxPrintQuality","_size_t",0},
5693 { "_wxPrintQuality","_time_t",0},
5694 { "_byte","_unsigned_char",0},
5695 { "_long","_unsigned_long",0},
5696 { "_long","_signed_long",0},
5697 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5698 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5699 { "_size_t","_wxCoord",0},
5700 { "_size_t","_wxPrintQuality",0},
5701 { "_size_t","_time_t",0},
5702 { "_size_t","_unsigned_int",0},
5703 { "_size_t","_int",0},
5704 { "_size_t","_wxWindowID",0},
5705 { "_size_t","_uint",0},
5706 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5707 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5708 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5709 { "_uint","_wxCoord",0},
5710 { "_uint","_wxPrintQuality",0},
5711 { "_uint","_time_t",0},
5712 { "_uint","_size_t",0},
5713 { "_uint","_unsigned_int",0},
5714 { "_uint","_int",0},
5715 { "_uint","_wxWindowID",0},
5716 { "_wxChar","_char",0},
5717 { "_char","_wxChar",0},
5718 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5719 { "_EBool","_wxCoord",0},
5720 { "_EBool","_wxPrintQuality",0},
5721 { "_EBool","_signed_int",0},
5722 { "_EBool","_int",0},
5723 { "_EBool","_wxWindowID",0},
5724 { "_unsigned_long","_long",0},
5725 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5726 { "_signed_int","_wxCoord",0},
5727 { "_signed_int","_wxPrintQuality",0},
5728 { "_signed_int","_EBool",0},
5729 { "_signed_int","_wxWindowID",0},
5730 { "_signed_int","_int",0},
5731 { "_WXTYPE","_short",0},
5732 { "_WXTYPE","_signed_short",0},
5733 { "_WXTYPE","_unsigned_short",0},
5734 { "_unsigned_short","_WXTYPE",0},
5735 { "_unsigned_short","_short",0},
5736 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5737 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5738 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5739 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5740 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5741 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5742 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5743 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5744 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5745 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5746 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5747 { "_signed_short","_WXTYPE",0},
5748 { "_signed_short","_short",0},
5749 { "_unsigned_char","_byte",0},
5750 { "_unsigned_int","_wxCoord",0},
5751 { "_unsigned_int","_wxPrintQuality",0},
5752 { "_unsigned_int","_time_t",0},
5753 { "_unsigned_int","_size_t",0},
5754 { "_unsigned_int","_uint",0},
5755 { "_unsigned_int","_wxWindowID",0},
5756 { "_unsigned_int","_int",0},
5757 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5758 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5759 { "_short","_WXTYPE",0},
5760 { "_short","_unsigned_short",0},
5761 { "_short","_signed_short",0},
5762 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5763 { "_wxWindowID","_wxCoord",0},
5764 { "_wxWindowID","_wxPrintQuality",0},
5765 { "_wxWindowID","_time_t",0},
5766 { "_wxWindowID","_size_t",0},
5767 { "_wxWindowID","_EBool",0},
5768 { "_wxWindowID","_uint",0},
5769 { "_wxWindowID","_int",0},
5770 { "_wxWindowID","_signed_int",0},
5771 { "_wxWindowID","_unsigned_int",0},
5772 { "_int","_wxCoord",0},
5773 { "_int","_wxPrintQuality",0},
5774 { "_int","_time_t",0},
5775 { "_int","_size_t",0},
5776 { "_int","_EBool",0},
5777 { "_int","_uint",0},
5778 { "_int","_wxWindowID",0},
5779 { "_int","_unsigned_int",0},
5780 { "_int","_signed_int",0},
5781 { "_time_t","_wxCoord",0},
5782 { "_time_t","_wxPrintQuality",0},
5783 { "_time_t","_unsigned_int",0},
5784 { "_time_t","_int",0},
5785 { "_time_t","_wxWindowID",0},
5786 { "_time_t","_uint",0},
5787 { "_time_t","_size_t",0},
5788 { "_wxCoord","_int",0},
5789 { "_wxCoord","_signed_int",0},
5790 { "_wxCoord","_unsigned_int",0},
5791 { "_wxCoord","_wxWindowID",0},
5792 { "_wxCoord","_uint",0},
5793 { "_wxCoord","_EBool",0},
5794 { "_wxCoord","_size_t",0},
5795 { "_wxCoord","_time_t",0},
5796 { "_wxCoord","_wxPrintQuality",0},
5797 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5798 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5799 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5800 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5801 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5802 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5805 static PyObject
*SWIG_globals
;
5809 SWIGEXPORT(void) initprintfwc() {
5811 SWIG_globals
= SWIG_newvarlink();
5812 m
= Py_InitModule("printfwc", printfwcMethods
);
5813 d
= PyModule_GetDict(m
);
5815 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5818 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5819 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);