2 * FILE : src/gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
65 // Put some wx default wxChar* values into wxStrings.
66 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
67 DECLARE_DEF_STRING(PrintoutTitleStr
);
69 DECLARE_DEF_STRING(FrameNameStr
);
72 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
78 } else if (target
== Py_None
) {
82 if (!PyTuple_Check(target
)) {
84 target
= PyTuple_New(1);
85 PyTuple_SetItem(target
, 0, o2
);
88 PyTuple_SetItem(o3
, 0, o
);
91 target
= PySequence_Concat(o2
, o3
);
100 // Since this one would be tough and ugly to do with the Macros...
101 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
105 wxPyBeginBlockThreads();
106 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
107 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
108 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
111 val
= PyTuple_GetItem(result
, 0);
112 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
115 val
= PyTuple_GetItem(result
, 1);
116 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 2);
120 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 3);
124 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
131 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
136 wxPyEndBlockThreads();
138 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
141 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
150 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
158 static void *SwigwxPrintDataTowxObject(void *ptr
) {
161 src
= (wxPrintData
*) ptr
;
162 dest
= (wxObject
*) src
;
163 return (void *) dest
;
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxPrintData
* _result
;
170 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 delete_wxPrintData(_arg0
);
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPyEndAllowThreads(__tstate
);
243 if (PyErr_Occurred()) return NULL
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_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 *SwigwxPostScriptDCTowxDC(void *ptr
) {
1523 wxPostScriptDC
*src
;
1525 src
= (wxPostScriptDC
*) ptr
;
1526 dest
= (wxDC
*) src
;
1527 return (void *) dest
;
1530 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1531 wxPostScriptDC
*src
;
1533 src
= (wxPostScriptDC
*) ptr
;
1534 dest
= (wxObject
*) src
;
1535 return (void *) dest
;
1538 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1539 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1541 wxPostScriptDC
* _result
;
1542 wxPrintData
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "printData", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_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_wxPostScriptDC. Expected _wxPrintData_p.");
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) return NULL
;
1564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1565 _resultobj
= Py_BuildValue("s",_ptemp
);
1568 _resultobj
= Py_None
;
1573 #define new_wxPostScriptDC2(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
1574 static PyObject
*_wrap_new_wxPostScriptDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1576 wxPostScriptDC
* _result
;
1578 bool _arg1
= (bool ) TRUE
;
1579 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1580 PyObject
* _obj0
= 0;
1581 int tempbool1
= (int) TRUE
;
1582 PyObject
* _argo2
= 0;
1583 char *_kwnames
[] = { "output","interactive","parent", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC2",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
1590 _arg0
= wxString_in_helper(_obj0
);
1594 _arg1
= (bool ) tempbool1
;
1596 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC2. Expected _wxWindow_p.");
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 _result
= (wxPostScriptDC
*)new_wxPostScriptDC2(*_arg0
,_arg1
,_arg2
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) return NULL
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1622 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1623 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxPrintData
* _result
;
1626 wxPostScriptDC
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1644 _result
= (wxPrintData
*) &_result_ref
;
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) return NULL
;
1649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1650 _resultobj
= Py_BuildValue("s",_ptemp
);
1653 _resultobj
= Py_None
;
1658 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1659 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxPostScriptDC
* _arg0
;
1662 wxPrintData
* _arg1
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1665 char *_kwnames
[] = { "self","data", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) return NULL
;
1690 } Py_INCREF(Py_None
);
1691 _resultobj
= Py_None
;
1695 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1698 char *_kwnames
[] = { "ppi", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 wxPostScriptDC::SetResolution(_arg0
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) return NULL
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 char *_kwnames
[] = { NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= (int )wxPostScriptDC::GetResolution();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } _resultobj
= Py_BuildValue("i",_result
);
1732 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1733 wxPageSetupDialogData
*src
;
1735 src
= (wxPageSetupDialogData
*) ptr
;
1736 dest
= (wxObject
*) src
;
1737 return (void *) dest
;
1740 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1741 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1743 wxPageSetupDialogData
* _result
;
1744 char *_kwnames
[] = { NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1758 _resultobj
= Py_BuildValue("s",_ptemp
);
1761 _resultobj
= Py_None
;
1766 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1767 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxPageSetupDialogData
* _arg0
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 delete_wxPageSetupDialogData(_arg0
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } Py_INCREF(Py_None
);
1790 _resultobj
= Py_None
;
1794 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1795 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1797 wxPageSetupDialogData
* _arg0
;
1799 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self","flag", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1813 _arg1
= (bool ) tempbool1
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1826 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1828 wxPageSetupDialogData
* _arg0
;
1830 PyObject
* _argo0
= 0;
1832 char *_kwnames
[] = { "self","flag", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1844 _arg1
= (bool ) tempbool1
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1857 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1859 wxPageSetupDialogData
* _arg0
;
1861 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self","flag", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1875 _arg1
= (bool ) tempbool1
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1887 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1888 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxPageSetupDialogData
* _arg0
;
1892 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self","flag", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1906 _arg1
= (bool ) tempbool1
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1919 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxPageSetupDialogData
* _arg0
;
1923 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self","flag", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1937 _arg1
= (bool ) tempbool1
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) return NULL
;
1944 } Py_INCREF(Py_None
);
1945 _resultobj
= Py_None
;
1949 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1950 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1953 wxPageSetupDialogData
* _arg0
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1977 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1978 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 wxPageSetupDialogData
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2006 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxPageSetupDialogData
* _arg0
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) return NULL
;
2029 } _resultobj
= Py_BuildValue("i",_result
);
2033 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2034 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2037 wxPageSetupDialogData
* _arg0
;
2038 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2061 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2062 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 wxPageSetupDialogData
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) return NULL
;
2085 } _resultobj
= Py_BuildValue("i",_result
);
2089 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2090 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2093 wxPageSetupDialogData
* _arg0
;
2094 PyObject
* _argo0
= 0;
2095 char *_kwnames
[] = { "self", NULL
};
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } _resultobj
= Py_BuildValue("i",_result
);
2117 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2118 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2121 wxPageSetupDialogData
* _arg0
;
2122 PyObject
* _argo0
= 0;
2123 char *_kwnames
[] = { "self", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } _resultobj
= Py_BuildValue("i",_result
);
2145 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2146 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
* _resultobj
;
2149 wxPageSetupDialogData
* _arg0
;
2150 PyObject
* _argo0
= 0;
2151 char *_kwnames
[] = { "self", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) return NULL
;
2170 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2171 _resultobj
= Py_BuildValue("s",_ptemp
);
2175 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2176 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2179 wxPageSetupDialogData
* _arg0
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) return NULL
;
2200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2201 _resultobj
= Py_BuildValue("s",_ptemp
);
2205 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2206 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2209 wxPageSetupDialogData
* _arg0
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) return NULL
;
2230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2231 _resultobj
= Py_BuildValue("s",_ptemp
);
2235 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2236 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2239 wxPageSetupDialogData
* _arg0
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) return NULL
;
2260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2261 _resultobj
= Py_BuildValue("s",_ptemp
);
2265 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2266 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2268 wxPaperSize _result
;
2269 wxPageSetupDialogData
* _arg0
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2294 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxPageSetupDialogData
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2319 _resultobj
= Py_BuildValue("s",_ptemp
);
2323 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2324 return new wxPrintData(self
->GetPrintData()); // force a copy
2326 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2328 wxPrintData
* _result
;
2329 wxPageSetupDialogData
* _arg0
;
2330 PyObject
* _argo0
= 0;
2331 char *_kwnames
[] = { "self", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) return NULL
;
2351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2352 _resultobj
= Py_BuildValue("s",_ptemp
);
2355 _resultobj
= Py_None
;
2360 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2361 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2364 wxPageSetupDialogData
* _arg0
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2389 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxPageSetupDialogData
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","flag", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2407 _arg1
= (bool ) tempbool1
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2420 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2422 wxPageSetupDialogData
* _arg0
;
2424 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self","flag", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2438 _arg1
= (bool ) tempbool1
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2451 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxPageSetupDialogData
* _arg0
;
2455 PyObject
* _argo0
= 0;
2457 PyObject
* _obj1
= 0;
2458 char *_kwnames
[] = { "self","pt", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2472 if (! wxPoint_helper(_obj1
, &_arg1
))
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2487 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxPageSetupDialogData
* _arg0
;
2491 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 char *_kwnames
[] = { "self","pt", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2508 if (! wxPoint_helper(_obj1
, &_arg1
))
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } Py_INCREF(Py_None
);
2518 _resultobj
= Py_None
;
2522 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2523 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2525 wxPageSetupDialogData
* _arg0
;
2527 PyObject
* _argo0
= 0;
2529 PyObject
* _obj1
= 0;
2530 char *_kwnames
[] = { "self","pt", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2544 if (! wxPoint_helper(_obj1
, &_arg1
))
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) return NULL
;
2553 } Py_INCREF(Py_None
);
2554 _resultobj
= Py_None
;
2558 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2559 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2561 wxPageSetupDialogData
* _arg0
;
2563 PyObject
* _argo0
= 0;
2565 PyObject
* _obj1
= 0;
2566 char *_kwnames
[] = { "self","pt", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2580 if (! wxPoint_helper(_obj1
, &_arg1
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2595 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2597 wxPageSetupDialogData
* _arg0
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self","id", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) return NULL
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2624 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxPageSetupDialogData
* _arg0
;
2628 PyObject
* _argo0
= 0;
2630 PyObject
* _obj1
= 0;
2631 char *_kwnames
[] = { "self","size", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2645 if (! wxSize_helper(_obj1
, &_arg1
))
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2660 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxPageSetupDialogData
* _arg0
;
2663 wxPrintData
* _arg1
;
2664 PyObject
* _argo0
= 0;
2665 PyObject
* _argo1
= 0;
2666 char *_kwnames
[] = { "self","printData", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) return NULL
;
2691 } Py_INCREF(Py_None
);
2692 _resultobj
= Py_None
;
2696 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2697 wxPageSetupDialog
*src
;
2699 src
= (wxPageSetupDialog
*) ptr
;
2700 dest
= (wxDialog
*) src
;
2701 return (void *) dest
;
2704 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2705 wxPageSetupDialog
*src
;
2706 wxTopLevelWindow
*dest
;
2707 src
= (wxPageSetupDialog
*) ptr
;
2708 dest
= (wxTopLevelWindow
*) src
;
2709 return (void *) dest
;
2712 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2713 wxPageSetupDialog
*src
;
2715 src
= (wxPageSetupDialog
*) ptr
;
2716 dest
= (wxWindow
*) src
;
2717 return (void *) dest
;
2720 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2721 wxPageSetupDialog
*src
;
2723 src
= (wxPageSetupDialog
*) ptr
;
2724 dest
= (wxEvtHandler
*) src
;
2725 return (void *) dest
;
2728 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2729 wxPageSetupDialog
*src
;
2731 src
= (wxPageSetupDialog
*) ptr
;
2732 dest
= (wxObject
*) src
;
2733 return (void *) dest
;
2736 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2737 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2739 wxPageSetupDialog
* _result
;
2741 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2742 PyObject
* _argo0
= 0;
2743 PyObject
* _argo1
= 0;
2744 char *_kwnames
[] = { "parent","data", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) return NULL
;
2771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2772 _resultobj
= Py_BuildValue("s",_ptemp
);
2775 _resultobj
= Py_None
;
2780 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2781 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2783 wxPageSetupDialogData
* _result
;
2784 wxPageSetupDialog
* _arg0
;
2785 PyObject
* _argo0
= 0;
2786 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2802 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2808 _resultobj
= Py_BuildValue("s",_ptemp
);
2811 _resultobj
= Py_None
;
2816 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2817 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxPageSetupDialog
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } _resultobj
= Py_BuildValue("i",_result
);
2844 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2845 wxPrintDialogData
*src
;
2847 src
= (wxPrintDialogData
*) ptr
;
2848 dest
= (wxObject
*) src
;
2849 return (void *) dest
;
2852 #define new_wxPrintDialogData() (new wxPrintDialogData())
2853 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2855 wxPrintDialogData
* _result
;
2856 char *_kwnames
[] = { NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2870 _resultobj
= Py_BuildValue("s",_ptemp
);
2873 _resultobj
= Py_None
;
2878 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2879 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2881 wxPrintDialogData
* _arg0
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 delete_wxPrintDialogData(_arg0
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2907 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxPrintDialogData
* _arg0
;
2911 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self","flag", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2925 _arg1
= (bool ) tempbool1
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2938 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2940 wxPrintDialogData
* _arg0
;
2942 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self","flag", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2956 _arg1
= (bool ) tempbool1
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2969 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxPrintDialogData
* _arg0
;
2973 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self","flag", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2987 _arg1
= (bool ) tempbool1
;
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) return NULL
;
2994 } Py_INCREF(Py_None
);
2995 _resultobj
= Py_None
;
2999 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3000 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3002 wxPrintDialogData
* _arg0
;
3004 PyObject
* _argo0
= 0;
3006 char *_kwnames
[] = { "self","flag", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3018 _arg1
= (bool ) tempbool1
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3030 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3031 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3034 wxPrintDialogData
* _arg0
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 } _resultobj
= Py_BuildValue("i",_result
);
3058 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3059 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3062 wxPrintDialogData
* _arg0
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) return NULL
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3087 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxPrintDialogData
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) return NULL
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3115 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 wxPrintDialogData
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) return NULL
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3142 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3143 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3146 wxPrintDialogData
* _arg0
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } _resultobj
= Py_BuildValue("i",_result
);
3170 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3171 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3174 wxPrintDialogData
* _arg0
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) return NULL
;
3194 } _resultobj
= Py_BuildValue("i",_result
);
3198 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3199 return new wxPrintData(self
->GetPrintData()); // force a copy
3201 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3203 wxPrintData
* _result
;
3204 wxPrintDialogData
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) return NULL
;
3226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3227 _resultobj
= Py_BuildValue("s",_ptemp
);
3230 _resultobj
= Py_None
;
3235 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3236 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3239 wxPrintDialogData
* _arg0
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "self", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } _resultobj
= Py_BuildValue("i",_result
);
3263 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3264 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 wxPrintDialogData
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3292 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxPrintDialogData
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3320 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3322 wxPrintDialogData
* _arg0
;
3324 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","flag", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3338 _arg1
= (bool ) tempbool1
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) return NULL
;
3345 } Py_INCREF(Py_None
);
3346 _resultobj
= Py_None
;
3350 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3351 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3353 wxPrintDialogData
* _arg0
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self","page", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) return NULL
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3380 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3382 wxPrintDialogData
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self","page", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3403 } Py_INCREF(Py_None
);
3404 _resultobj
= Py_None
;
3408 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3409 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxPrintDialogData
* _arg0
;
3413 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self","page", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3432 } Py_INCREF(Py_None
);
3433 _resultobj
= Py_None
;
3437 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3438 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxPrintDialogData
* _arg0
;
3442 PyObject
* _argo0
= 0;
3443 char *_kwnames
[] = { "self","n", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) return NULL
;
3461 } Py_INCREF(Py_None
);
3462 _resultobj
= Py_None
;
3466 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3467 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3469 wxPrintDialogData
* _arg0
;
3470 wxPrintData
* _arg1
;
3471 PyObject
* _argo0
= 0;
3472 PyObject
* _argo1
= 0;
3473 char *_kwnames
[] = { "self","printData", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3498 } Py_INCREF(Py_None
);
3499 _resultobj
= Py_None
;
3503 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3504 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3506 wxPrintDialogData
* _arg0
;
3508 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self","flag", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3522 _arg1
= (bool ) tempbool1
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3529 } Py_INCREF(Py_None
);
3530 _resultobj
= Py_None
;
3534 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3535 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3537 wxPrintDialogData
* _arg0
;
3539 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self","flag", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3553 _arg1
= (bool ) tempbool1
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) return NULL
;
3560 } Py_INCREF(Py_None
);
3561 _resultobj
= Py_None
;
3565 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3566 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxPrintDialogData
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self","page", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3589 } Py_INCREF(Py_None
);
3590 _resultobj
= Py_None
;
3594 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3597 src
= (wxPrintDialog
*) ptr
;
3598 dest
= (wxDialog
*) src
;
3599 return (void *) dest
;
3602 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3604 wxTopLevelWindow
*dest
;
3605 src
= (wxPrintDialog
*) ptr
;
3606 dest
= (wxTopLevelWindow
*) src
;
3607 return (void *) dest
;
3610 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3613 src
= (wxPrintDialog
*) ptr
;
3614 dest
= (wxWindow
*) src
;
3615 return (void *) dest
;
3618 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3621 src
= (wxPrintDialog
*) ptr
;
3622 dest
= (wxEvtHandler
*) src
;
3623 return (void *) dest
;
3626 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3629 src
= (wxPrintDialog
*) ptr
;
3630 dest
= (wxObject
*) src
;
3631 return (void *) dest
;
3634 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3635 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3637 wxPrintDialog
* _result
;
3639 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3640 PyObject
* _argo0
= 0;
3641 PyObject
* _argo1
= 0;
3642 char *_kwnames
[] = { "parent","data", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) return NULL
;
3669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3670 _resultobj
= Py_BuildValue("s",_ptemp
);
3673 _resultobj
= Py_None
;
3678 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3679 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3681 wxPrintDialogData
* _result
;
3682 wxPrintDialog
* _arg0
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3700 _result
= (wxPrintDialogData
*) &_result_ref
;
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3706 _resultobj
= Py_BuildValue("s",_ptemp
);
3709 _resultobj
= Py_None
;
3714 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3715 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3718 wxPrintDialog
* _arg0
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3742 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3743 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3746 wxPrintDialog
* _arg0
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) return NULL
;
3766 } _resultobj
= Py_BuildValue("i",_result
);
3770 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3773 src
= (wxPyPrintout
*) ptr
;
3774 dest
= (wxObject
*) src
;
3775 return (void *) dest
;
3778 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3779 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3781 wxPyPrintout
* _result
;
3782 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
3783 PyObject
* _obj0
= 0;
3784 char *_kwnames
[] = { "title", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
3792 _arg0
= wxString_in_helper(_obj0
);
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) return NULL
;
3803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3804 _resultobj
= Py_BuildValue("s",_ptemp
);
3807 _resultobj
= Py_None
;
3816 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3817 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3819 wxPyPrintout
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 PyObject
* _obj1
= 0;
3824 PyObject
* _obj2
= 0;
3825 char *_kwnames
[] = { "self","self","_class", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) return NULL
;
3849 } Py_INCREF(Py_None
);
3850 _resultobj
= Py_None
;
3854 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3855 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3857 wxPyPrintout
* _arg0
;
3858 PyObject
* _argo0
= 0;
3859 char *_kwnames
[] = { "self", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 wxPyPrintout_Destroy(_arg0
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) return NULL
;
3877 } Py_INCREF(Py_None
);
3878 _resultobj
= Py_None
;
3882 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3883 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3886 wxPyPrintout
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3906 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3910 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3911 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3913 wxPyPrintout
* _arg0
;
3918 PyObject
* _argo0
= 0;
3919 char *_kwnames
[] = { "self", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } Py_INCREF(Py_None
);
3944 _resultobj
= Py_None
;
3947 o
= PyInt_FromLong((long) (*_arg1
));
3948 _resultobj
= t_output_helper(_resultobj
, o
);
3952 o
= PyInt_FromLong((long) (*_arg2
));
3953 _resultobj
= t_output_helper(_resultobj
, o
);
3958 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3961 wxPyPrintout
* _arg0
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_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_GetPageSizePixels. Expected _wxPyPrintout_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3991 } Py_INCREF(Py_None
);
3992 _resultobj
= Py_None
;
3995 o
= PyInt_FromLong((long) (*_arg1
));
3996 _resultobj
= t_output_helper(_resultobj
, o
);
4000 o
= PyInt_FromLong((long) (*_arg2
));
4001 _resultobj
= t_output_helper(_resultobj
, o
);
4006 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4007 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4009 wxPyPrintout
* _arg0
;
4014 PyObject
* _argo0
= 0;
4015 char *_kwnames
[] = { "self", NULL
};
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) return NULL
;
4039 } Py_INCREF(Py_None
);
4040 _resultobj
= Py_None
;
4043 o
= PyInt_FromLong((long) (*_arg1
));
4044 _resultobj
= t_output_helper(_resultobj
, o
);
4048 o
= PyInt_FromLong((long) (*_arg2
));
4049 _resultobj
= t_output_helper(_resultobj
, o
);
4054 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4055 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4057 wxPyPrintout
* _arg0
;
4062 PyObject
* _argo0
= 0;
4063 char *_kwnames
[] = { "self", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4087 } Py_INCREF(Py_None
);
4088 _resultobj
= Py_None
;
4091 o
= PyInt_FromLong((long) (*_arg1
));
4092 _resultobj
= t_output_helper(_resultobj
, o
);
4096 o
= PyInt_FromLong((long) (*_arg2
));
4097 _resultobj
= t_output_helper(_resultobj
, o
);
4102 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4103 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 wxPyPrintout
* _arg0
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } _resultobj
= Py_BuildValue("i",_result
);
4130 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4131 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4134 wxPyPrintout
* _arg0
;
4137 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) return NULL
;
4156 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4161 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4163 wxPyPrintout
* _arg0
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPrintout_base_OnEndDocument(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4189 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4191 wxPyPrintout
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxPrintout_base_OnBeginPrinting(_arg0
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4217 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4219 wxPyPrintout
* _arg0
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPrintout_base_OnEndPrinting(_arg0
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4239 } Py_INCREF(Py_None
);
4240 _resultobj
= Py_None
;
4244 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4245 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4247 wxPyPrintout
* _arg0
;
4248 PyObject
* _argo0
= 0;
4249 char *_kwnames
[] = { "self", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 wxPrintout_base_OnPreparePrinting(_arg0
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) return NULL
;
4267 } Py_INCREF(Py_None
);
4268 _resultobj
= Py_None
;
4272 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4273 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4275 wxPyPrintout
* _arg0
;
4284 PyObject
* _argo0
= 0;
4285 char *_kwnames
[] = { "self", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4315 } Py_INCREF(Py_None
);
4316 _resultobj
= Py_None
;
4319 o
= PyInt_FromLong((long) (*_arg1
));
4320 _resultobj
= t_output_helper(_resultobj
, o
);
4324 o
= PyInt_FromLong((long) (*_arg2
));
4325 _resultobj
= t_output_helper(_resultobj
, o
);
4329 o
= PyInt_FromLong((long) (*_arg3
));
4330 _resultobj
= t_output_helper(_resultobj
, o
);
4334 o
= PyInt_FromLong((long) (*_arg4
));
4335 _resultobj
= t_output_helper(_resultobj
, o
);
4340 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4341 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4344 wxPyPrintout
* _arg0
;
4346 PyObject
* _argo0
= 0;
4347 char *_kwnames
[] = { "self","page", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) return NULL
;
4365 } _resultobj
= Py_BuildValue("i",_result
);
4369 static void *SwigwxPrinterTowxObject(void *ptr
) {
4372 src
= (wxPrinter
*) ptr
;
4373 dest
= (wxObject
*) src
;
4374 return (void *) dest
;
4377 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4378 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4380 wxPrinter
* _result
;
4381 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4382 PyObject
* _argo0
= 0;
4383 char *_kwnames
[] = { "data", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) return NULL
;
4403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4404 _resultobj
= Py_BuildValue("s",_ptemp
);
4407 _resultobj
= Py_None
;
4412 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4413 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 PyObject
* _argo0
= 0;
4417 char *_kwnames
[] = { "self", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 delete_wxPrinter(_arg0
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) return NULL
;
4435 } Py_INCREF(Py_None
);
4436 _resultobj
= Py_None
;
4440 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4441 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4445 wxPyPrintout
* _arg2
;
4446 PyObject
* _argo0
= 0;
4447 PyObject
* _argo1
= 0;
4448 PyObject
* _argo2
= 0;
4449 char *_kwnames
[] = { "self","parent","printout", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4469 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4487 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxPrintDialogData
* _result
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4508 _result
= (wxPrintDialogData
*) &_result_ref
;
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4514 _resultobj
= Py_BuildValue("s",_ptemp
);
4517 _resultobj
= Py_None
;
4522 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4523 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4528 wxPyPrintout
* _arg2
;
4529 int _arg3
= (int ) TRUE
;
4530 PyObject
* _argo0
= 0;
4531 PyObject
* _argo1
= 0;
4532 PyObject
* _argo2
= 0;
4533 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4553 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } _resultobj
= Py_BuildValue("i",_result
);
4569 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4570 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
* _resultobj
;
4575 PyObject
* _argo0
= 0;
4576 PyObject
* _argo1
= 0;
4577 char *_kwnames
[] = { "self","parent", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4602 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4606 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4607 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4611 wxPyPrintout
* _arg2
;
4613 PyObject
* _argo0
= 0;
4614 PyObject
* _argo1
= 0;
4615 PyObject
* _argo2
= 0;
4616 PyObject
* _obj3
= 0;
4617 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4637 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4644 _arg3
= wxString_in_helper(_obj3
);
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4663 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4664 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4669 PyObject
* _argo0
= 0;
4670 PyObject
* _argo1
= 0;
4671 char *_kwnames
[] = { "self","parent", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } _resultobj
= Py_BuildValue("i",_result
);
4700 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4701 wxPrintPreview
*src
;
4703 src
= (wxPrintPreview
*) ptr
;
4704 dest
= (wxObject
*) src
;
4705 return (void *) dest
;
4708 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4709 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4711 wxPrintPreview
* _result
;
4712 wxPyPrintout
* _arg0
;
4713 wxPyPrintout
* _arg1
;
4714 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4715 PyObject
* _argo0
= 0;
4716 PyObject
* _argo1
= 0;
4717 PyObject
* _argo2
= 0;
4718 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4739 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4753 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 _resultobj
= Py_None
;
4761 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4762 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4765 wxPrintPreview
* _arg0
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4785 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4789 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4790 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4793 wxPrintPreview
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "self", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4813 } _resultobj
= Py_BuildValue("i",_result
);
4817 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4818 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4821 wxPrintPreview
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) return NULL
;
4841 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4845 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4846 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4849 wxPrintPreview
* _arg0
;
4850 PyObject
* _argo0
= 0;
4851 char *_kwnames
[] = { "self", NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) return NULL
;
4869 } _resultobj
= Py_BuildValue("i",_result
);
4873 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4874 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4877 wxPrintPreview
* _arg0
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } _resultobj
= Py_BuildValue("i",_result
);
4901 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4902 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 wxPrintDialogData
* _result
;
4905 wxPrintPreview
* _arg0
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4923 _result
= (wxPrintDialogData
*) &_result_ref
;
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) return NULL
;
4928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4929 _resultobj
= Py_BuildValue("s",_ptemp
);
4932 _resultobj
= Py_None
;
4937 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4938 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4940 wxPyPrintout
* _result
;
4941 wxPrintPreview
* _arg0
;
4942 PyObject
* _argo0
= 0;
4943 char *_kwnames
[] = { "self", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4965 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4966 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4968 wxPyPrintout
* _result
;
4969 wxPrintPreview
* _arg0
;
4970 PyObject
* _argo0
= 0;
4971 char *_kwnames
[] = { "self", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4993 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4994 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 wxPrintPreview
* _arg0
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } _resultobj
= Py_BuildValue("i",_result
);
5021 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5022 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxPrintPreview
* _arg0
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5049 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5050 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 wxPrintPreview
* _arg0
;
5055 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self","prompt", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
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_Print. Expected _wxPrintPreview_p.");
5069 _arg1
= (bool ) tempbool1
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) return NULL
;
5076 } _resultobj
= Py_BuildValue("i",_result
);
5080 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5081 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5083 wxPrintPreview
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 PyObject
* _argo1
= 0;
5087 char *_kwnames
[] = { "self","window", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } Py_INCREF(Py_None
);
5113 _resultobj
= Py_None
;
5117 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5118 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5120 wxPrintPreview
* _arg0
;
5122 PyObject
* _argo0
= 0;
5123 char *_kwnames
[] = { "self","pageNum", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5141 } Py_INCREF(Py_None
);
5142 _resultobj
= Py_None
;
5146 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5147 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5149 wxPrintPreview
* _arg0
;
5151 PyObject
* _argo0
= 0;
5152 PyObject
* _argo1
= 0;
5153 char *_kwnames
[] = { "self","frame", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5178 } Py_INCREF(Py_None
);
5179 _resultobj
= Py_None
;
5183 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5184 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5186 wxPrintPreview
* _arg0
;
5187 wxPyPrintout
* _arg1
;
5188 PyObject
* _argo0
= 0;
5189 PyObject
* _argo1
= 0;
5190 char *_kwnames
[] = { "self","printout", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) return NULL
;
5215 } Py_INCREF(Py_None
);
5216 _resultobj
= Py_None
;
5220 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5221 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxPrintPreview
* _arg0
;
5225 PyObject
* _argo0
= 0;
5226 char *_kwnames
[] = { "self","percent", NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) return NULL
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5250 wxPreviewFrame
*src
;
5252 src
= (wxPreviewFrame
*) ptr
;
5253 dest
= (wxFrame
*) src
;
5254 return (void *) dest
;
5257 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5258 wxPreviewFrame
*src
;
5259 wxTopLevelWindow
*dest
;
5260 src
= (wxPreviewFrame
*) ptr
;
5261 dest
= (wxTopLevelWindow
*) src
;
5262 return (void *) dest
;
5265 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5266 wxPreviewFrame
*src
;
5268 src
= (wxPreviewFrame
*) ptr
;
5269 dest
= (wxWindow
*) src
;
5270 return (void *) dest
;
5273 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5274 wxPreviewFrame
*src
;
5276 src
= (wxPreviewFrame
*) ptr
;
5277 dest
= (wxEvtHandler
*) src
;
5278 return (void *) dest
;
5281 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5282 wxPreviewFrame
*src
;
5284 src
= (wxPreviewFrame
*) ptr
;
5285 dest
= (wxObject
*) src
;
5286 return (void *) dest
;
5289 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5290 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5292 wxPreviewFrame
* _result
;
5293 wxPrintPreview
* _arg0
;
5296 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5297 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5298 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5299 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5300 PyObject
* _argo0
= 0;
5301 PyObject
* _argo1
= 0;
5302 PyObject
* _obj2
= 0;
5304 PyObject
* _obj3
= 0;
5306 PyObject
* _obj4
= 0;
5307 PyObject
* _obj6
= 0;
5308 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5329 _arg2
= wxString_in_helper(_obj2
);
5336 if (! wxPoint_helper(_obj3
, &_arg3
))
5342 if (! wxSize_helper(_obj4
, &_arg4
))
5347 _arg6
= wxString_in_helper(_obj6
);
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5375 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5376 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5378 wxPreviewFrame
* _arg0
;
5379 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxPreviewFrame_Initialize(_arg0
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5398 } Py_INCREF(Py_None
);
5399 _resultobj
= Py_None
;
5403 static PyMethodDef printfwcMethods
[] = {
5404 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "new_wxPostScriptDC2", (PyCFunction
) _wrap_new_wxPostScriptDC2
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5565 * This table is used by the pointer type-checker
5567 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5568 { "_signed_long","_long",0},
5569 { "_wxPrintQuality","_wxCoord",0},
5570 { "_wxPrintQuality","_int",0},
5571 { "_wxPrintQuality","_signed_int",0},
5572 { "_wxPrintQuality","_unsigned_int",0},
5573 { "_wxPrintQuality","_wxWindowID",0},
5574 { "_wxPrintQuality","_uint",0},
5575 { "_wxPrintQuality","_EBool",0},
5576 { "_wxPrintQuality","_size_t",0},
5577 { "_wxPrintQuality","_time_t",0},
5578 { "_byte","_unsigned_char",0},
5579 { "_long","_unsigned_long",0},
5580 { "_long","_signed_long",0},
5581 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5582 { "_size_t","_wxCoord",0},
5583 { "_size_t","_wxPrintQuality",0},
5584 { "_size_t","_time_t",0},
5585 { "_size_t","_unsigned_int",0},
5586 { "_size_t","_int",0},
5587 { "_size_t","_wxWindowID",0},
5588 { "_size_t","_uint",0},
5589 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5590 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5591 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5592 { "_uint","_wxCoord",0},
5593 { "_uint","_wxPrintQuality",0},
5594 { "_uint","_time_t",0},
5595 { "_uint","_size_t",0},
5596 { "_uint","_unsigned_int",0},
5597 { "_uint","_int",0},
5598 { "_uint","_wxWindowID",0},
5599 { "_wxChar","_char",0},
5600 { "_char","_wxChar",0},
5601 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5602 { "_EBool","_wxCoord",0},
5603 { "_EBool","_wxPrintQuality",0},
5604 { "_EBool","_signed_int",0},
5605 { "_EBool","_int",0},
5606 { "_EBool","_wxWindowID",0},
5607 { "_unsigned_long","_long",0},
5608 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5609 { "_signed_int","_wxCoord",0},
5610 { "_signed_int","_wxPrintQuality",0},
5611 { "_signed_int","_EBool",0},
5612 { "_signed_int","_wxWindowID",0},
5613 { "_signed_int","_int",0},
5614 { "_WXTYPE","_short",0},
5615 { "_WXTYPE","_signed_short",0},
5616 { "_WXTYPE","_unsigned_short",0},
5617 { "_unsigned_short","_WXTYPE",0},
5618 { "_unsigned_short","_short",0},
5619 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5620 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5621 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5622 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5623 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5624 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5625 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5626 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5627 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5628 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5629 { "_signed_short","_WXTYPE",0},
5630 { "_signed_short","_short",0},
5631 { "_unsigned_char","_byte",0},
5632 { "_unsigned_int","_wxCoord",0},
5633 { "_unsigned_int","_wxPrintQuality",0},
5634 { "_unsigned_int","_time_t",0},
5635 { "_unsigned_int","_size_t",0},
5636 { "_unsigned_int","_uint",0},
5637 { "_unsigned_int","_wxWindowID",0},
5638 { "_unsigned_int","_int",0},
5639 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5640 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5641 { "_short","_WXTYPE",0},
5642 { "_short","_unsigned_short",0},
5643 { "_short","_signed_short",0},
5644 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5645 { "_wxWindowID","_wxCoord",0},
5646 { "_wxWindowID","_wxPrintQuality",0},
5647 { "_wxWindowID","_time_t",0},
5648 { "_wxWindowID","_size_t",0},
5649 { "_wxWindowID","_EBool",0},
5650 { "_wxWindowID","_uint",0},
5651 { "_wxWindowID","_int",0},
5652 { "_wxWindowID","_signed_int",0},
5653 { "_wxWindowID","_unsigned_int",0},
5654 { "_int","_wxCoord",0},
5655 { "_int","_wxPrintQuality",0},
5656 { "_int","_time_t",0},
5657 { "_int","_size_t",0},
5658 { "_int","_EBool",0},
5659 { "_int","_uint",0},
5660 { "_int","_wxWindowID",0},
5661 { "_int","_unsigned_int",0},
5662 { "_int","_signed_int",0},
5663 { "_time_t","_wxCoord",0},
5664 { "_time_t","_wxPrintQuality",0},
5665 { "_time_t","_unsigned_int",0},
5666 { "_time_t","_int",0},
5667 { "_time_t","_wxWindowID",0},
5668 { "_time_t","_uint",0},
5669 { "_time_t","_size_t",0},
5670 { "_wxCoord","_int",0},
5671 { "_wxCoord","_signed_int",0},
5672 { "_wxCoord","_unsigned_int",0},
5673 { "_wxCoord","_wxWindowID",0},
5674 { "_wxCoord","_uint",0},
5675 { "_wxCoord","_EBool",0},
5676 { "_wxCoord","_size_t",0},
5677 { "_wxCoord","_time_t",0},
5678 { "_wxCoord","_wxPrintQuality",0},
5679 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5680 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5681 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5682 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5683 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5684 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5687 static PyObject
*SWIG_globals
;
5691 SWIGEXPORT(void) initprintfwc() {
5693 SWIG_globals
= SWIG_newvarlink();
5694 m
= Py_InitModule("printfwc", printfwcMethods
);
5695 d
= PyModule_GetDict(m
);
5697 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5700 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5701 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);