2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
65 // Put some wx default wxChar* values into wxStrings.
66 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
67 DECLARE_DEF_STRING(PrintoutTitleStr
);
69 DECLARE_DEF_STRING(FrameNameStr
);
72 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
78 } else if (target
== Py_None
) {
82 if (!PyTuple_Check(target
)) {
84 target
= PyTuple_New(1);
85 PyTuple_SetItem(target
, 0, o2
);
88 PyTuple_SetItem(o3
, 0, o
);
91 target
= PySequence_Concat(o2
, o3
);
100 // Since this one would be tough and ugly to do with the Macros...
101 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
105 wxPyBeginBlockThreads();
106 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
107 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
108 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
111 val
= PyTuple_GetItem(result
, 0);
112 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
115 val
= PyTuple_GetItem(result
, 1);
116 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 2);
120 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 3);
124 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
131 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
136 wxPyEndBlockThreads();
138 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
141 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
150 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
158 static void *SwigwxPrintDataTowxObject(void *ptr
) {
161 src
= (wxPrintData
*) ptr
;
162 dest
= (wxObject
*) src
;
163 return (void *) dest
;
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxPrintData
* _result
;
170 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 delete_wxPrintData(_arg0
);
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPyEndAllowThreads(__tstate
);
243 if (PyErr_Occurred()) return NULL
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
305 static PyObject
*_wrap_wxPrintData_Ok(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_Ok",_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_Ok. Expected _wxPrintData_p.");
323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 _result
= (bool )wxPrintData_Ok(_arg0
);
326 wxPyEndAllowThreads(__tstate
);
327 if (PyErr_Occurred()) return NULL
;
328 } _resultobj
= Py_BuildValue("i",_result
);
332 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
333 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 PyObject
* _argo0
= 0;
338 char *_kwnames
[] = { "self", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
352 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
353 _result
= (wxString
*) &_result_ref
;
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
359 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
367 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
368 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (bool )wxPrintData_GetColour(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
396 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxDuplexMode _result
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
424 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
452 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
473 _result
= (wxSize
*) &_result_ref
;
475 wxPyEndAllowThreads(__tstate
);
476 if (PyErr_Occurred()) return NULL
;
478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
479 _resultobj
= Py_BuildValue("s",_ptemp
);
482 _resultobj
= Py_None
;
487 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
488 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
490 wxPrintQuality _result
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
516 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
520 PyObject
* _argo0
= 0;
521 char *_kwnames
[] = { "self","v", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 wxPrintData_SetNoCopies(_arg0
,_arg1
);
537 wxPyEndAllowThreads(__tstate
);
538 if (PyErr_Occurred()) return NULL
;
539 } Py_INCREF(Py_None
);
540 _resultobj
= Py_None
;
544 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
545 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
549 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self","flag", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
563 _arg1
= (bool ) tempbool1
;
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 wxPrintData_SetCollate(_arg0
,_arg1
);
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
570 } Py_INCREF(Py_None
);
571 _resultobj
= Py_None
;
575 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
576 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
580 PyObject
* _argo0
= 0;
581 char *_kwnames
[] = { "self","orient", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 wxPrintData_SetOrientation(_arg0
,_arg1
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
605 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
609 PyObject
* _argo0
= 0;
610 PyObject
* _obj1
= 0;
611 char *_kwnames
[] = { "self","name", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
624 _arg1
= wxString_in_helper(_obj1
);
629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
630 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
632 wxPyEndAllowThreads(__tstate
);
633 if (PyErr_Occurred()) return NULL
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
643 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
644 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","colour", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
662 _arg1
= (bool ) tempbool1
;
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 wxPrintData_SetColour(_arg0
,_arg1
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
675 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
679 PyObject
* _argo0
= 0;
680 char *_kwnames
[] = { "self","duplex", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
694 wxPrintData_SetDuplex(_arg0
,_arg1
);
696 wxPyEndAllowThreads(__tstate
);
697 if (PyErr_Occurred()) return NULL
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
704 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
708 PyObject
* _argo0
= 0;
709 char *_kwnames
[] = { "self","sizeId", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
723 wxPrintData_SetPaperId(_arg0
,_arg1
);
725 wxPyEndAllowThreads(__tstate
);
726 if (PyErr_Occurred()) return NULL
;
727 } Py_INCREF(Py_None
);
728 _resultobj
= Py_None
;
732 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
733 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
737 PyObject
* _argo0
= 0;
739 PyObject
* _obj1
= 0;
740 char *_kwnames
[] = { "self","sz", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
754 if (! wxSize_helper(_obj1
, &_arg1
))
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) return NULL
;
763 } Py_INCREF(Py_None
);
764 _resultobj
= Py_None
;
768 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
769 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 wxPrintQuality _arg1
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self","quality", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 wxPrintData_SetQuality(_arg0
,_arg1
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } Py_INCREF(Py_None
);
793 _resultobj
= Py_None
;
797 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
798 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 char *_kwnames
[] = { "self", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
818 _result
= (wxString
*) &_result_ref
;
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
824 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
832 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
833 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
853 _result
= (wxString
*) &_result_ref
;
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
859 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
867 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
868 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
872 PyObject
* _argo0
= 0;
873 char *_kwnames
[] = { "self", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
887 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
888 _result
= (wxString
*) &_result_ref
;
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
894 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
902 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
903 static PyObject
*_wrap_wxPrintData_GetFilename(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_GetFilename",_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_GetFilename. Expected _wxPrintData_p.");
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
923 _result
= (wxString
*) &_result_ref
;
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
929 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
931 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
937 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
938 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
958 _result
= (wxString
*) &_result_ref
;
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) return NULL
;
964 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
966 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
972 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
973 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("d",_result
);
1000 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1001 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 wxPrintData
* _arg0
;
1005 PyObject
* _argo0
= 0;
1006 char *_kwnames
[] = { "self", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } _resultobj
= Py_BuildValue("d",_result
);
1028 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1029 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 wxPrintData
* _arg0
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1048 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1050 wxPyEndAllowThreads(__tstate
);
1051 if (PyErr_Occurred()) return NULL
;
1052 } _resultobj
= Py_BuildValue("l",_result
);
1056 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1057 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxPrintData
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("l",_result
);
1084 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1085 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1087 wxPrintMode
* _result
;
1088 wxPrintData
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1110 _resultobj
= Py_BuildValue("s",_ptemp
);
1114 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1115 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1117 wxPrintData
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj1
= 0;
1121 char *_kwnames
[] = { "self","command", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1134 _arg1
= wxString_in_helper(_obj1
);
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1153 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1154 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxPrintData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _obj1
= 0;
1160 char *_kwnames
[] = { "self","options", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1173 _arg1
= wxString_in_helper(_obj1
);
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } Py_INCREF(Py_None
);
1184 _resultobj
= Py_None
;
1192 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1193 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1195 wxPrintData
* _arg0
;
1197 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","command", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1212 _arg1
= wxString_in_helper(_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 _arg1
= wxString_in_helper(_obj1
);
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 wxPrintData_SetFilename(_arg0
,*_arg1
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1261 } Py_INCREF(Py_None
);
1262 _resultobj
= Py_None
;
1270 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1271 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPrintData
* _arg0
;
1275 PyObject
* _argo0
= 0;
1276 PyObject
* _obj1
= 0;
1277 char *_kwnames
[] = { "self","path", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1290 _arg1
= wxString_in_helper(_obj1
);
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1309 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1310 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxPrintData
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self","x", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1339 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxPrintData
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self","y", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1368 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1370 wxPrintData
* _arg0
;
1373 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self","x","y", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) return NULL
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1397 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1398 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1400 wxPrintData
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self","x", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 } Py_INCREF(Py_None
);
1422 _resultobj
= Py_None
;
1426 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1427 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1429 wxPrintData
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self","y", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1455 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1456 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 wxPrintData
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self","x","y", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1486 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 wxPrintData
* _arg0
;
1489 wxPrintMode
* _arg1
;
1490 PyObject
* _argo0
= 0;
1491 PyObject
* _argo1
= 0;
1492 char *_kwnames
[] = { "self","printMode", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1525 src
= (wxPrinterDC
*) ptr
;
1526 dest
= (wxDC
*) src
;
1527 return (void *) dest
;
1530 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1533 src
= (wxPrinterDC
*) ptr
;
1534 dest
= (wxObject
*) src
;
1535 return (void *) dest
;
1538 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1539 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1541 wxPrinterDC
* _result
;
1542 wxPrintData
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "printData", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) return NULL
;
1564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1565 _resultobj
= Py_BuildValue("s",_ptemp
);
1568 _resultobj
= Py_None
;
1573 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1574 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1576 wxPrinterDC
* _result
;
1580 bool _arg3
= (bool ) TRUE
;
1581 int _arg4
= (int ) wxPORTRAIT
;
1582 PyObject
* _obj0
= 0;
1583 PyObject
* _obj1
= 0;
1584 PyObject
* _obj2
= 0;
1585 int tempbool3
= (int) TRUE
;
1586 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1593 _arg0
= wxString_in_helper(_obj0
);
1598 _arg1
= wxString_in_helper(_obj1
);
1603 _arg2
= wxString_in_helper(_obj2
);
1607 _arg3
= (bool ) tempbool3
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1636 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1637 wxPostScriptDC
*src
;
1639 src
= (wxPostScriptDC
*) ptr
;
1640 dest
= (wxDC
*) src
;
1641 return (void *) dest
;
1644 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1645 wxPostScriptDC
*src
;
1647 src
= (wxPostScriptDC
*) ptr
;
1648 dest
= (wxObject
*) src
;
1649 return (void *) dest
;
1652 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1653 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1655 wxPostScriptDC
* _result
;
1656 wxPrintData
* _arg0
;
1657 PyObject
* _argo0
= 0;
1658 char *_kwnames
[] = { "printData", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) return NULL
;
1678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1682 _resultobj
= Py_None
;
1687 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1688 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxPostScriptDC
* _result
;
1692 bool _arg1
= (bool ) TRUE
;
1693 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1694 PyObject
* _obj0
= 0;
1695 int tempbool1
= (int) TRUE
;
1696 PyObject
* _argo2
= 0;
1697 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1704 _arg0
= wxString_in_helper(_obj0
);
1708 _arg1
= (bool ) tempbool1
;
1710 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) return NULL
;
1723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 _resultobj
= Py_None
;
1736 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1737 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxPrintData
* _result
;
1740 wxPostScriptDC
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1758 _result
= (wxPrintData
*) &_result_ref
;
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1773 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1775 wxPostScriptDC
* _arg0
;
1776 wxPrintData
* _arg1
;
1777 PyObject
* _argo0
= 0;
1778 PyObject
* _argo1
= 0;
1779 char *_kwnames
[] = { "self","data", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1812 char *_kwnames
[] = { "ppi", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 wxPostScriptDC::SetResolution(_arg0
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1831 char *_kwnames
[] = { NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 _result
= (int )wxPostScriptDC::GetResolution();
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } _resultobj
= Py_BuildValue("i",_result
);
1846 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1847 wxPageSetupDialogData
*src
;
1849 src
= (wxPageSetupDialogData
*) ptr
;
1850 dest
= (wxObject
*) src
;
1851 return (void *) dest
;
1854 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1855 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1857 wxPageSetupDialogData
* _result
;
1858 char *_kwnames
[] = { NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1872 _resultobj
= Py_BuildValue("s",_ptemp
);
1875 _resultobj
= Py_None
;
1880 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1881 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 wxPageSetupDialogData
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 delete_wxPageSetupDialogData(_arg0
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } Py_INCREF(Py_None
);
1904 _resultobj
= Py_None
;
1908 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1909 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1911 wxPageSetupDialogData
* _arg0
;
1913 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self","flag", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1927 _arg1
= (bool ) tempbool1
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } Py_INCREF(Py_None
);
1935 _resultobj
= Py_None
;
1939 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1940 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxPageSetupDialogData
* _arg0
;
1944 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","flag", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1958 _arg1
= (bool ) tempbool1
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) return NULL
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1970 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1971 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1973 wxPageSetupDialogData
* _arg0
;
1975 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self","flag", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1989 _arg1
= (bool ) tempbool1
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
2002 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2004 wxPageSetupDialogData
* _arg0
;
2006 PyObject
* _argo0
= 0;
2008 char *_kwnames
[] = { "self","flag", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
2020 _arg1
= (bool ) tempbool1
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2032 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
2033 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2035 wxPageSetupDialogData
* _arg0
;
2037 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self","flag", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2051 _arg1
= (bool ) tempbool1
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2064 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2067 wxPageSetupDialogData
* _arg0
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) return NULL
;
2087 } _resultobj
= Py_BuildValue("i",_result
);
2091 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2092 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2095 wxPageSetupDialogData
* _arg0
;
2096 PyObject
* _argo0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2119 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2120 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2123 wxPageSetupDialogData
* _arg0
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) return NULL
;
2143 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2148 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 wxPageSetupDialogData
* _arg0
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } _resultobj
= Py_BuildValue("i",_result
);
2175 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2176 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2179 wxPageSetupDialogData
* _arg0
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) return NULL
;
2199 } _resultobj
= Py_BuildValue("i",_result
);
2203 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2204 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2207 wxPageSetupDialogData
* _arg0
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2227 } _resultobj
= Py_BuildValue("i",_result
);
2231 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2232 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2235 wxPageSetupDialogData
* _arg0
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2260 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2263 wxPageSetupDialogData
* _arg0
;
2264 PyObject
* _argo0
= 0;
2265 char *_kwnames
[] = { "self", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) return NULL
;
2284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2285 _resultobj
= Py_BuildValue("s",_ptemp
);
2289 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2290 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2293 wxPageSetupDialogData
* _arg0
;
2294 PyObject
* _argo0
= 0;
2295 char *_kwnames
[] = { "self", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) return NULL
;
2314 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2315 _resultobj
= Py_BuildValue("s",_ptemp
);
2319 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2320 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2323 wxPageSetupDialogData
* _arg0
;
2324 PyObject
* _argo0
= 0;
2325 char *_kwnames
[] = { "self", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2345 _resultobj
= Py_BuildValue("s",_ptemp
);
2349 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2350 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2353 wxPageSetupDialogData
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) return NULL
;
2374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2375 _resultobj
= Py_BuildValue("s",_ptemp
);
2379 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2380 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2382 wxPaperSize _result
;
2383 wxPageSetupDialogData
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } _resultobj
= Py_BuildValue("i",_result
);
2407 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2408 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2411 wxPageSetupDialogData
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) return NULL
;
2432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2433 _resultobj
= Py_BuildValue("s",_ptemp
);
2437 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2438 return new wxPrintData(self
->GetPrintData()); // force a copy
2440 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPrintData
* _result
;
2443 wxPageSetupDialogData
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2466 _resultobj
= Py_BuildValue("s",_ptemp
);
2469 _resultobj
= Py_None
;
2474 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2475 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2478 wxPageSetupDialogData
* _arg0
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2503 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2505 wxPageSetupDialogData
* _arg0
;
2507 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self","flag", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2521 _arg1
= (bool ) tempbool1
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2534 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxPageSetupDialogData
* _arg0
;
2538 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self","flag", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2552 _arg1
= (bool ) tempbool1
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2559 } Py_INCREF(Py_None
);
2560 _resultobj
= Py_None
;
2564 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2565 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2567 wxPageSetupDialogData
* _arg0
;
2569 PyObject
* _argo0
= 0;
2571 PyObject
* _obj1
= 0;
2572 char *_kwnames
[] = { "self","pt", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2586 if (! wxPoint_helper(_obj1
, &_arg1
))
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) return NULL
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2601 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2603 wxPageSetupDialogData
* _arg0
;
2605 PyObject
* _argo0
= 0;
2607 PyObject
* _obj1
= 0;
2608 char *_kwnames
[] = { "self","pt", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2622 if (! wxPoint_helper(_obj1
, &_arg1
))
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) return NULL
;
2631 } Py_INCREF(Py_None
);
2632 _resultobj
= Py_None
;
2636 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2637 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2639 wxPageSetupDialogData
* _arg0
;
2641 PyObject
* _argo0
= 0;
2643 PyObject
* _obj1
= 0;
2644 char *_kwnames
[] = { "self","pt", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2658 if (! wxPoint_helper(_obj1
, &_arg1
))
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2673 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxPageSetupDialogData
* _arg0
;
2677 PyObject
* _argo0
= 0;
2679 PyObject
* _obj1
= 0;
2680 char *_kwnames
[] = { "self","pt", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2694 if (! wxPoint_helper(_obj1
, &_arg1
))
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) return NULL
;
2703 } Py_INCREF(Py_None
);
2704 _resultobj
= Py_None
;
2708 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2709 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxPageSetupDialogData
* _arg0
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self","id", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2738 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxPageSetupDialogData
* _arg0
;
2742 PyObject
* _argo0
= 0;
2744 PyObject
* _obj1
= 0;
2745 char *_kwnames
[] = { "self","size", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2759 if (! wxSize_helper(_obj1
, &_arg1
))
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2774 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2776 wxPageSetupDialogData
* _arg0
;
2777 wxPrintData
* _arg1
;
2778 PyObject
* _argo0
= 0;
2779 PyObject
* _argo1
= 0;
2780 char *_kwnames
[] = { "self","printData", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2805 } Py_INCREF(Py_None
);
2806 _resultobj
= Py_None
;
2810 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2811 wxPageSetupDialog
*src
;
2813 src
= (wxPageSetupDialog
*) ptr
;
2814 dest
= (wxDialog
*) src
;
2815 return (void *) dest
;
2818 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2819 wxPageSetupDialog
*src
;
2820 wxTopLevelWindow
*dest
;
2821 src
= (wxPageSetupDialog
*) ptr
;
2822 dest
= (wxTopLevelWindow
*) src
;
2823 return (void *) dest
;
2826 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2827 wxPageSetupDialog
*src
;
2829 src
= (wxPageSetupDialog
*) ptr
;
2830 dest
= (wxWindow
*) src
;
2831 return (void *) dest
;
2834 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2835 wxPageSetupDialog
*src
;
2837 src
= (wxPageSetupDialog
*) ptr
;
2838 dest
= (wxEvtHandler
*) src
;
2839 return (void *) dest
;
2842 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2843 wxPageSetupDialog
*src
;
2845 src
= (wxPageSetupDialog
*) ptr
;
2846 dest
= (wxObject
*) src
;
2847 return (void *) dest
;
2850 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2851 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2853 wxPageSetupDialog
* _result
;
2855 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2856 PyObject
* _argo0
= 0;
2857 PyObject
* _argo1
= 0;
2858 char *_kwnames
[] = { "parent","data", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2886 _resultobj
= Py_BuildValue("s",_ptemp
);
2889 _resultobj
= Py_None
;
2894 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2895 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2897 wxPageSetupDialogData
* _result
;
2898 wxPageSetupDialog
* _arg0
;
2899 PyObject
* _argo0
= 0;
2900 char *_kwnames
[] = { "self", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2916 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) return NULL
;
2921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2922 _resultobj
= Py_BuildValue("s",_ptemp
);
2925 _resultobj
= Py_None
;
2930 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2931 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2934 wxPageSetupDialog
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) return NULL
;
2954 } _resultobj
= Py_BuildValue("i",_result
);
2958 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2959 wxPrintDialogData
*src
;
2961 src
= (wxPrintDialogData
*) ptr
;
2962 dest
= (wxObject
*) src
;
2963 return (void *) dest
;
2966 #define new_wxPrintDialogData() (new wxPrintDialogData())
2967 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2969 wxPrintDialogData
* _result
;
2970 char *_kwnames
[] = { NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2984 _resultobj
= Py_BuildValue("s",_ptemp
);
2987 _resultobj
= Py_None
;
2992 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2993 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 wxPrintDialogData
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 delete_wxPrintDialogData(_arg0
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3021 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3023 wxPrintDialogData
* _arg0
;
3025 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self","flag", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
3039 _arg1
= (bool ) tempbool1
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3052 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxPrintDialogData
* _arg0
;
3056 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self","flag", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3070 _arg1
= (bool ) tempbool1
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3077 } Py_INCREF(Py_None
);
3078 _resultobj
= Py_None
;
3082 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3083 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3085 wxPrintDialogData
* _arg0
;
3087 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self","flag", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3101 _arg1
= (bool ) tempbool1
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3114 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxPrintDialogData
* _arg0
;
3118 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self","flag", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3132 _arg1
= (bool ) tempbool1
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3145 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3148 wxPrintDialogData
* _arg0
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) return NULL
;
3168 } _resultobj
= Py_BuildValue("i",_result
);
3172 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3173 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3176 wxPrintDialogData
* _arg0
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) return NULL
;
3196 } _resultobj
= Py_BuildValue("i",_result
);
3200 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3201 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3204 wxPrintDialogData
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } _resultobj
= Py_BuildValue("i",_result
);
3228 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3229 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3232 wxPrintDialogData
* _arg0
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } _resultobj
= Py_BuildValue("i",_result
);
3256 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3257 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3260 wxPrintDialogData
* _arg0
;
3261 PyObject
* _argo0
= 0;
3262 char *_kwnames
[] = { "self", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) return NULL
;
3280 } _resultobj
= Py_BuildValue("i",_result
);
3284 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3285 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3288 wxPrintDialogData
* _arg0
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3313 return new wxPrintData(self
->GetPrintData()); // force a copy
3315 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxPrintData
* _result
;
3318 wxPrintDialogData
* _arg0
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) return NULL
;
3340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3341 _resultobj
= Py_BuildValue("s",_ptemp
);
3344 _resultobj
= Py_None
;
3349 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3350 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 wxPrintDialogData
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 } _resultobj
= Py_BuildValue("i",_result
);
3377 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3378 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 wxPrintDialogData
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) return NULL
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3406 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3409 wxPrintDialogData
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) return NULL
;
3429 } _resultobj
= Py_BuildValue("i",_result
);
3433 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3434 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3436 wxPrintDialogData
* _arg0
;
3438 PyObject
* _argo0
= 0;
3440 char *_kwnames
[] = { "self","flag", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3452 _arg1
= (bool ) tempbool1
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3464 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3465 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxPrintDialogData
* _arg0
;
3469 PyObject
* _argo0
= 0;
3470 char *_kwnames
[] = { "self","page", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3488 } Py_INCREF(Py_None
);
3489 _resultobj
= Py_None
;
3493 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3494 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3496 wxPrintDialogData
* _arg0
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self","page", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) return NULL
;
3517 } Py_INCREF(Py_None
);
3518 _resultobj
= Py_None
;
3522 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3523 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3525 wxPrintDialogData
* _arg0
;
3527 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self","page", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3552 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3554 wxPrintDialogData
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self","n", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3580 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3581 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxPrintDialogData
* _arg0
;
3584 wxPrintData
* _arg1
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _argo1
= 0;
3587 char *_kwnames
[] = { "self","printData", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3618 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxPrintDialogData
* _arg0
;
3622 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self","flag", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3636 _arg1
= (bool ) tempbool1
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3643 } Py_INCREF(Py_None
);
3644 _resultobj
= Py_None
;
3648 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3649 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxPrintDialogData
* _arg0
;
3653 PyObject
* _argo0
= 0;
3655 char *_kwnames
[] = { "self","flag", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3667 _arg1
= (bool ) tempbool1
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3680 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3682 wxPrintDialogData
* _arg0
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self","page", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) return NULL
;
3703 } Py_INCREF(Py_None
);
3704 _resultobj
= Py_None
;
3708 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3711 src
= (wxPrintDialog
*) ptr
;
3712 dest
= (wxDialog
*) src
;
3713 return (void *) dest
;
3716 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3718 wxTopLevelWindow
*dest
;
3719 src
= (wxPrintDialog
*) ptr
;
3720 dest
= (wxTopLevelWindow
*) src
;
3721 return (void *) dest
;
3724 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3727 src
= (wxPrintDialog
*) ptr
;
3728 dest
= (wxWindow
*) src
;
3729 return (void *) dest
;
3732 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3735 src
= (wxPrintDialog
*) ptr
;
3736 dest
= (wxEvtHandler
*) src
;
3737 return (void *) dest
;
3740 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3743 src
= (wxPrintDialog
*) ptr
;
3744 dest
= (wxObject
*) src
;
3745 return (void *) dest
;
3748 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3749 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3751 wxPrintDialog
* _result
;
3753 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3754 PyObject
* _argo0
= 0;
3755 PyObject
* _argo1
= 0;
3756 char *_kwnames
[] = { "parent","data", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) return NULL
;
3783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3784 _resultobj
= Py_BuildValue("s",_ptemp
);
3787 _resultobj
= Py_None
;
3792 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3793 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3795 wxPrintDialogData
* _result
;
3796 wxPrintDialog
* _arg0
;
3797 PyObject
* _argo0
= 0;
3798 char *_kwnames
[] = { "self", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3814 _result
= (wxPrintDialogData
*) &_result_ref
;
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3820 _resultobj
= Py_BuildValue("s",_ptemp
);
3823 _resultobj
= Py_None
;
3828 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3829 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3832 wxPrintDialog
* _arg0
;
3833 PyObject
* _argo0
= 0;
3834 char *_kwnames
[] = { "self", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3856 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3857 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3860 wxPrintDialog
* _arg0
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3887 src
= (wxPyPrintout
*) ptr
;
3888 dest
= (wxObject
*) src
;
3889 return (void *) dest
;
3892 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3893 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3895 wxPyPrintout
* _result
;
3896 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
3897 PyObject
* _obj0
= 0;
3898 char *_kwnames
[] = { "title", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
3906 _arg0
= wxString_in_helper(_obj0
);
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3918 _resultobj
= Py_BuildValue("s",_ptemp
);
3921 _resultobj
= Py_None
;
3930 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3931 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3933 wxPyPrintout
* _arg0
;
3936 PyObject
* _argo0
= 0;
3937 PyObject
* _obj1
= 0;
3938 PyObject
* _obj2
= 0;
3939 char *_kwnames
[] = { "self","self","_class", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) return NULL
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3969 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3971 wxPyPrintout
* _arg0
;
3972 PyObject
* _argo0
= 0;
3973 char *_kwnames
[] = { "self", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 wxPyPrintout_Destroy(_arg0
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3991 } Py_INCREF(Py_None
);
3992 _resultobj
= Py_None
;
3996 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3997 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4000 wxPyPrintout
* _arg0
;
4001 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) return NULL
;
4020 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4024 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4025 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxPyPrintout
* _arg0
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4061 o
= PyInt_FromLong((long) (*_arg1
));
4062 _resultobj
= t_output_helper(_resultobj
, o
);
4066 o
= PyInt_FromLong((long) (*_arg2
));
4067 _resultobj
= t_output_helper(_resultobj
, o
);
4072 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4073 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4075 wxPyPrintout
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4109 o
= PyInt_FromLong((long) (*_arg1
));
4110 _resultobj
= t_output_helper(_resultobj
, o
);
4114 o
= PyInt_FromLong((long) (*_arg2
));
4115 _resultobj
= t_output_helper(_resultobj
, o
);
4120 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4121 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxPyPrintout
* _arg0
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4157 o
= PyInt_FromLong((long) (*_arg1
));
4158 _resultobj
= t_output_helper(_resultobj
, o
);
4162 o
= PyInt_FromLong((long) (*_arg2
));
4163 _resultobj
= t_output_helper(_resultobj
, o
);
4168 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4169 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4171 wxPyPrintout
* _arg0
;
4176 PyObject
* _argo0
= 0;
4177 char *_kwnames
[] = { "self", NULL
};
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) return NULL
;
4201 } Py_INCREF(Py_None
);
4202 _resultobj
= Py_None
;
4205 o
= PyInt_FromLong((long) (*_arg1
));
4206 _resultobj
= t_output_helper(_resultobj
, o
);
4210 o
= PyInt_FromLong((long) (*_arg2
));
4211 _resultobj
= t_output_helper(_resultobj
, o
);
4216 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4217 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4220 wxPyPrintout
* _arg0
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4245 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 wxPyPrintout
* _arg0
;
4251 PyObject
* _argo0
= 0;
4252 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) return NULL
;
4270 } _resultobj
= Py_BuildValue("i",_result
);
4274 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4275 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4277 wxPyPrintout
* _arg0
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxPrintout_base_OnEndDocument(_arg0
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4303 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4305 wxPyPrintout
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 wxPrintout_base_OnBeginPrinting(_arg0
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } Py_INCREF(Py_None
);
4326 _resultobj
= Py_None
;
4330 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4331 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4333 wxPyPrintout
* _arg0
;
4334 PyObject
* _argo0
= 0;
4335 char *_kwnames
[] = { "self", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxPrintout_base_OnEndPrinting(_arg0
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) return NULL
;
4353 } Py_INCREF(Py_None
);
4354 _resultobj
= Py_None
;
4358 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4359 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4361 wxPyPrintout
* _arg0
;
4362 PyObject
* _argo0
= 0;
4363 char *_kwnames
[] = { "self", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxPrintout_base_OnPreparePrinting(_arg0
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4381 } Py_INCREF(Py_None
);
4382 _resultobj
= Py_None
;
4386 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4387 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4389 wxPyPrintout
* _arg0
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) return NULL
;
4429 } Py_INCREF(Py_None
);
4430 _resultobj
= Py_None
;
4433 o
= PyInt_FromLong((long) (*_arg1
));
4434 _resultobj
= t_output_helper(_resultobj
, o
);
4438 o
= PyInt_FromLong((long) (*_arg2
));
4439 _resultobj
= t_output_helper(_resultobj
, o
);
4443 o
= PyInt_FromLong((long) (*_arg3
));
4444 _resultobj
= t_output_helper(_resultobj
, o
);
4448 o
= PyInt_FromLong((long) (*_arg4
));
4449 _resultobj
= t_output_helper(_resultobj
, o
);
4454 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4455 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4458 wxPyPrintout
* _arg0
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self","page", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } _resultobj
= Py_BuildValue("i",_result
);
4483 static void *SwigwxPrinterTowxObject(void *ptr
) {
4486 src
= (wxPrinter
*) ptr
;
4487 dest
= (wxObject
*) src
;
4488 return (void *) dest
;
4491 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4492 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4494 wxPrinter
* _result
;
4495 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4496 PyObject
* _argo0
= 0;
4497 char *_kwnames
[] = { "data", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4518 _resultobj
= Py_BuildValue("s",_ptemp
);
4521 _resultobj
= Py_None
;
4526 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4527 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 delete_wxPrinter(_arg0
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) return NULL
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4555 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4559 wxPyPrintout
* _arg2
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 PyObject
* _argo2
= 0;
4563 char *_kwnames
[] = { "self","parent","printout", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4583 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) return NULL
;
4595 } Py_INCREF(Py_None
);
4596 _resultobj
= Py_None
;
4600 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4601 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4603 wxPrintDialogData
* _result
;
4605 PyObject
* _argo0
= 0;
4606 char *_kwnames
[] = { "self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4622 _result
= (wxPrintDialogData
*) &_result_ref
;
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4628 _resultobj
= Py_BuildValue("s",_ptemp
);
4631 _resultobj
= Py_None
;
4636 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4637 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4642 wxPyPrintout
* _arg2
;
4643 int _arg3
= (int ) TRUE
;
4644 PyObject
* _argo0
= 0;
4645 PyObject
* _argo1
= 0;
4646 PyObject
* _argo2
= 0;
4647 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4667 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } _resultobj
= Py_BuildValue("i",_result
);
4683 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4684 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 PyObject
* _argo1
= 0;
4691 char *_kwnames
[] = { "self","parent", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4720 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4721 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4725 wxPyPrintout
* _arg2
;
4727 PyObject
* _argo0
= 0;
4728 PyObject
* _argo1
= 0;
4729 PyObject
* _argo2
= 0;
4730 PyObject
* _obj3
= 0;
4731 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4751 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4758 _arg3
= wxString_in_helper(_obj3
);
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) return NULL
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4777 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4778 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4783 PyObject
* _argo0
= 0;
4784 PyObject
* _argo1
= 0;
4785 char *_kwnames
[] = { "self","parent", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) return NULL
;
4810 } _resultobj
= Py_BuildValue("i",_result
);
4814 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4815 wxPrintPreview
*src
;
4817 src
= (wxPrintPreview
*) ptr
;
4818 dest
= (wxObject
*) src
;
4819 return (void *) dest
;
4822 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4823 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxPrintPreview
* _result
;
4826 wxPyPrintout
* _arg0
;
4827 wxPyPrintout
* _arg1
;
4828 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4829 PyObject
* _argo0
= 0;
4830 PyObject
* _argo1
= 0;
4831 PyObject
* _argo2
= 0;
4832 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4853 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4867 _resultobj
= Py_BuildValue("s",_ptemp
);
4870 _resultobj
= Py_None
;
4875 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4876 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4879 wxPrintPreview
* _arg0
;
4880 PyObject
* _argo0
= 0;
4881 char *_kwnames
[] = { "self", NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) return NULL
;
4899 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4903 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4904 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
* _resultobj
;
4907 wxPrintPreview
* _arg0
;
4908 PyObject
* _argo0
= 0;
4909 char *_kwnames
[] = { "self", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) return NULL
;
4927 } _resultobj
= Py_BuildValue("i",_result
);
4931 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4932 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4935 wxPrintPreview
* _arg0
;
4936 PyObject
* _argo0
= 0;
4937 char *_kwnames
[] = { "self", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) return NULL
;
4955 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4959 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4960 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4963 wxPrintPreview
* _arg0
;
4964 PyObject
* _argo0
= 0;
4965 char *_kwnames
[] = { "self", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) return NULL
;
4983 } _resultobj
= Py_BuildValue("i",_result
);
4987 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4988 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4991 wxPrintPreview
* _arg0
;
4992 PyObject
* _argo0
= 0;
4993 char *_kwnames
[] = { "self", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) return NULL
;
5011 } _resultobj
= Py_BuildValue("i",_result
);
5015 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5016 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5018 wxPrintDialogData
* _result
;
5019 wxPrintPreview
* _arg0
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
5037 _result
= (wxPrintDialogData
*) &_result_ref
;
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) return NULL
;
5042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
5043 _resultobj
= Py_BuildValue("s",_ptemp
);
5046 _resultobj
= Py_None
;
5051 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5052 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxPyPrintout
* _result
;
5055 wxPrintPreview
* _arg0
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) return NULL
;
5075 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5079 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5080 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxPyPrintout
* _result
;
5083 wxPrintPreview
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5107 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5108 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5111 wxPrintPreview
* _arg0
;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } _resultobj
= Py_BuildValue("i",_result
);
5135 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5136 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5139 wxPrintPreview
* _arg0
;
5140 PyObject
* _argo0
= 0;
5141 char *_kwnames
[] = { "self", NULL
};
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5159 } _resultobj
= Py_BuildValue("i",_result
);
5163 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5164 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5167 wxPrintPreview
* _arg0
;
5169 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self","prompt", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5183 _arg1
= (bool ) tempbool1
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) return NULL
;
5190 } _resultobj
= Py_BuildValue("i",_result
);
5194 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5195 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5197 wxPrintPreview
* _arg0
;
5199 PyObject
* _argo0
= 0;
5200 PyObject
* _argo1
= 0;
5201 char *_kwnames
[] = { "self","window", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5226 } Py_INCREF(Py_None
);
5227 _resultobj
= Py_None
;
5231 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5232 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5234 wxPrintPreview
* _arg0
;
5236 PyObject
* _argo0
= 0;
5237 char *_kwnames
[] = { "self","pageNum", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5255 } Py_INCREF(Py_None
);
5256 _resultobj
= Py_None
;
5260 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5261 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5263 wxPrintPreview
* _arg0
;
5265 PyObject
* _argo0
= 0;
5266 PyObject
* _argo1
= 0;
5267 char *_kwnames
[] = { "self","frame", NULL
};
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) return NULL
;
5292 } Py_INCREF(Py_None
);
5293 _resultobj
= Py_None
;
5297 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5298 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5300 wxPrintPreview
* _arg0
;
5301 wxPyPrintout
* _arg1
;
5302 PyObject
* _argo0
= 0;
5303 PyObject
* _argo1
= 0;
5304 char *_kwnames
[] = { "self","printout", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) return NULL
;
5329 } Py_INCREF(Py_None
);
5330 _resultobj
= Py_None
;
5334 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5335 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5337 wxPrintPreview
* _arg0
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self","percent", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5364 wxPreviewFrame
*src
;
5366 src
= (wxPreviewFrame
*) ptr
;
5367 dest
= (wxFrame
*) src
;
5368 return (void *) dest
;
5371 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5372 wxPreviewFrame
*src
;
5373 wxTopLevelWindow
*dest
;
5374 src
= (wxPreviewFrame
*) ptr
;
5375 dest
= (wxTopLevelWindow
*) src
;
5376 return (void *) dest
;
5379 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5380 wxPreviewFrame
*src
;
5382 src
= (wxPreviewFrame
*) ptr
;
5383 dest
= (wxWindow
*) src
;
5384 return (void *) dest
;
5387 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5388 wxPreviewFrame
*src
;
5390 src
= (wxPreviewFrame
*) ptr
;
5391 dest
= (wxEvtHandler
*) src
;
5392 return (void *) dest
;
5395 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5396 wxPreviewFrame
*src
;
5398 src
= (wxPreviewFrame
*) ptr
;
5399 dest
= (wxObject
*) src
;
5400 return (void *) dest
;
5403 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5404 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5406 wxPreviewFrame
* _result
;
5407 wxPrintPreview
* _arg0
;
5410 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5411 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5412 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5413 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5414 PyObject
* _argo0
= 0;
5415 PyObject
* _argo1
= 0;
5416 PyObject
* _obj2
= 0;
5418 PyObject
* _obj3
= 0;
5420 PyObject
* _obj4
= 0;
5421 PyObject
* _obj6
= 0;
5422 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
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 _arg2
= wxString_in_helper(_obj2
);
5450 if (! wxPoint_helper(_obj3
, &_arg3
))
5456 if (! wxSize_helper(_obj4
, &_arg4
))
5461 _arg6
= wxString_in_helper(_obj6
);
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) return NULL
;
5472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5473 _resultobj
= Py_BuildValue("s",_ptemp
);
5476 _resultobj
= Py_None
;
5489 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5490 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxPreviewFrame
* _arg0
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 wxPreviewFrame_Initialize(_arg0
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) return NULL
;
5512 } Py_INCREF(Py_None
);
5513 _resultobj
= Py_None
;
5517 static PyMethodDef printfwcMethods
[] = {
5518 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5625 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5626 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5627 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5628 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5629 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5630 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5637 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5638 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5639 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5640 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5641 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5642 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5643 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5644 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5656 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5657 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5658 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5659 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5660 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5661 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5662 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5663 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5664 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5665 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5666 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5667 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5668 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5669 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, 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
);