2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
65 // Put some wx default wxChar* values into wxStrings.
66 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
67 DECLARE_DEF_STRING(PrintoutTitleStr
);
69 DECLARE_DEF_STRING(FrameNameStr
);
72 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
78 } else if (target
== Py_None
) {
82 if (!PyTuple_Check(target
)) {
84 target
= PyTuple_New(1);
85 PyTuple_SetItem(target
, 0, o2
);
88 PyTuple_SetItem(o3
, 0, o
);
91 target
= PySequence_Concat(o2
, o3
);
100 // Since this one would be tough and ugly to do with the Macros...
101 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
105 wxPyBeginBlockThreads();
106 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
107 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
108 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
111 val
= PyTuple_GetItem(result
, 0);
112 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
115 val
= PyTuple_GetItem(result
, 1);
116 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 2);
120 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 3);
124 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
131 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
136 wxPyEndBlockThreads();
138 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
141 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
146 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
147 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
148 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
149 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
150 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
151 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
152 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
158 static void *SwigwxPrintDataTowxObject(void *ptr
) {
161 src
= (wxPrintData
*) ptr
;
162 dest
= (wxObject
*) src
;
163 return (void *) dest
;
166 #define new_wxPrintData() (new wxPrintData())
167 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxPrintData
* _result
;
170 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxPrintData
*)new_wxPrintData();
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 #define delete_wxPrintData(_swigobj) (delete _swigobj)
193 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 delete_wxPrintData(_arg0
);
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
221 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPyEndAllowThreads(__tstate
);
243 if (PyErr_Occurred()) return NULL
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 _result
= (bool )wxPrintData_GetCollate(_arg0
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
305 static PyObject
*_wrap_wxPrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 PyObject
* _argo0
= 0;
310 char *_kwnames
[] = { "self", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_Ok",_kwnames
,&_argo0
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_Ok. Expected _wxPrintData_p.");
323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 _result
= (bool )wxPrintData_Ok(_arg0
);
326 wxPyEndAllowThreads(__tstate
);
327 if (PyErr_Occurred()) return NULL
;
328 } _resultobj
= Py_BuildValue("i",_result
);
332 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
333 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 PyObject
* _argo0
= 0;
338 char *_kwnames
[] = { "self", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
352 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
353 _result
= (wxString
*) &_result_ref
;
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
359 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
367 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
368 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (bool )wxPrintData_GetColour(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
396 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxDuplexMode _result
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
424 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
452 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
473 _result
= (wxSize
*) &_result_ref
;
475 wxPyEndAllowThreads(__tstate
);
476 if (PyErr_Occurred()) return NULL
;
478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
479 _resultobj
= Py_BuildValue("s",_ptemp
);
482 _resultobj
= Py_None
;
487 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
488 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
490 wxPrintQuality _result
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
516 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
520 PyObject
* _argo0
= 0;
521 char *_kwnames
[] = { "self","v", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 wxPrintData_SetNoCopies(_arg0
,_arg1
);
537 wxPyEndAllowThreads(__tstate
);
538 if (PyErr_Occurred()) return NULL
;
539 } Py_INCREF(Py_None
);
540 _resultobj
= Py_None
;
544 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
545 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
549 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self","flag", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
563 _arg1
= (bool ) tempbool1
;
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 wxPrintData_SetCollate(_arg0
,_arg1
);
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
570 } Py_INCREF(Py_None
);
571 _resultobj
= Py_None
;
575 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
576 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
580 PyObject
* _argo0
= 0;
581 char *_kwnames
[] = { "self","orient", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 wxPrintData_SetOrientation(_arg0
,_arg1
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
605 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
609 PyObject
* _argo0
= 0;
610 PyObject
* _obj1
= 0;
611 char *_kwnames
[] = { "self","name", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
624 _arg1
= wxString_in_helper(_obj1
);
629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
630 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
632 wxPyEndAllowThreads(__tstate
);
633 if (PyErr_Occurred()) return NULL
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
643 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
644 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","colour", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
662 _arg1
= (bool ) tempbool1
;
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 wxPrintData_SetColour(_arg0
,_arg1
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
675 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
679 PyObject
* _argo0
= 0;
680 char *_kwnames
[] = { "self","duplex", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
694 wxPrintData_SetDuplex(_arg0
,_arg1
);
696 wxPyEndAllowThreads(__tstate
);
697 if (PyErr_Occurred()) return NULL
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
704 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
708 PyObject
* _argo0
= 0;
709 char *_kwnames
[] = { "self","sizeId", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
723 wxPrintData_SetPaperId(_arg0
,_arg1
);
725 wxPyEndAllowThreads(__tstate
);
726 if (PyErr_Occurred()) return NULL
;
727 } Py_INCREF(Py_None
);
728 _resultobj
= Py_None
;
732 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
733 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
737 PyObject
* _argo0
= 0;
739 PyObject
* _obj1
= 0;
740 char *_kwnames
[] = { "self","sz", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
754 if (! wxSize_helper(_obj1
, &_arg1
))
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) return NULL
;
763 } Py_INCREF(Py_None
);
764 _resultobj
= Py_None
;
768 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
769 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 wxPrintQuality _arg1
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self","quality", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 wxPrintData_SetQuality(_arg0
,_arg1
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } Py_INCREF(Py_None
);
793 _resultobj
= Py_None
;
797 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
798 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 char *_kwnames
[] = { "self", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
818 _result
= (wxString
*) &_result_ref
;
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
824 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
832 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
833 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
853 _result
= (wxString
*) &_result_ref
;
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
859 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
867 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
868 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
872 PyObject
* _argo0
= 0;
873 char *_kwnames
[] = { "self", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
887 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
888 _result
= (wxString
*) &_result_ref
;
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
894 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
902 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
903 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
923 _result
= (wxString
*) &_result_ref
;
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
929 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
931 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
937 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
938 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
958 _result
= (wxString
*) &_result_ref
;
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) return NULL
;
964 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
966 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
972 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
973 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("d",_result
);
1000 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1001 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 wxPrintData
* _arg0
;
1005 PyObject
* _argo0
= 0;
1006 char *_kwnames
[] = { "self", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } _resultobj
= Py_BuildValue("d",_result
);
1028 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1029 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 wxPrintData
* _arg0
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1048 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1050 wxPyEndAllowThreads(__tstate
);
1051 if (PyErr_Occurred()) return NULL
;
1052 } _resultobj
= Py_BuildValue("l",_result
);
1056 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1057 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxPrintData
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("l",_result
);
1084 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1085 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1087 wxPrintMode
* _result
;
1088 wxPrintData
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1110 _resultobj
= Py_BuildValue("s",_ptemp
);
1114 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1115 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1117 wxPrintData
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj1
= 0;
1121 char *_kwnames
[] = { "self","command", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1134 _arg1
= wxString_in_helper(_obj1
);
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1153 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1154 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxPrintData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _obj1
= 0;
1160 char *_kwnames
[] = { "self","options", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1173 _arg1
= wxString_in_helper(_obj1
);
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } Py_INCREF(Py_None
);
1184 _resultobj
= Py_None
;
1192 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1193 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1195 wxPrintData
* _arg0
;
1197 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","command", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1212 _arg1
= wxString_in_helper(_obj1
);
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1231 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1232 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxPrintData
* _arg0
;
1236 PyObject
* _argo0
= 0;
1237 PyObject
* _obj1
= 0;
1238 char *_kwnames
[] = { "self","filename", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1251 _arg1
= wxString_in_helper(_obj1
);
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 wxPrintData_SetFilename(_arg0
,*_arg1
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1261 } Py_INCREF(Py_None
);
1262 _resultobj
= Py_None
;
1270 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1271 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPrintData
* _arg0
;
1275 PyObject
* _argo0
= 0;
1276 PyObject
* _obj1
= 0;
1277 char *_kwnames
[] = { "self","path", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1290 _arg1
= wxString_in_helper(_obj1
);
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1309 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1310 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxPrintData
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self","x", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1339 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxPrintData
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self","y", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1368 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1370 wxPrintData
* _arg0
;
1373 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self","x","y", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) return NULL
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1397 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1398 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1400 wxPrintData
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self","x", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 } Py_INCREF(Py_None
);
1422 _resultobj
= Py_None
;
1426 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1427 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1429 wxPrintData
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self","y", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1455 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1456 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 wxPrintData
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self","x","y", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1486 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 wxPrintData
* _arg0
;
1489 wxPrintMode
* _arg1
;
1490 PyObject
* _argo0
= 0;
1491 PyObject
* _argo1
= 0;
1492 char *_kwnames
[] = { "self","printMode", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1525 src
= (wxPrinterDC
*) ptr
;
1526 dest
= (wxDC
*) src
;
1527 return (void *) dest
;
1530 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1533 src
= (wxPrinterDC
*) ptr
;
1534 dest
= (wxObject
*) src
;
1535 return (void *) dest
;
1538 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1539 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1541 wxPrinterDC
* _result
;
1542 wxPrintData
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "printData", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) return NULL
;
1564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1565 _resultobj
= Py_BuildValue("s",_ptemp
);
1568 _resultobj
= Py_None
;
1573 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1574 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1576 wxPrinterDC
* _result
;
1580 bool _arg3
= (bool ) TRUE
;
1581 int _arg4
= (int ) wxPORTRAIT
;
1582 PyObject
* _obj0
= 0;
1583 PyObject
* _obj1
= 0;
1584 PyObject
* _obj2
= 0;
1585 int tempbool3
= (int) TRUE
;
1586 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1593 _arg0
= wxString_in_helper(_obj0
);
1598 _arg1
= wxString_in_helper(_obj1
);
1603 _arg2
= wxString_in_helper(_obj2
);
1607 _arg3
= (bool ) tempbool3
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1636 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1637 wxPostScriptDC
*src
;
1639 src
= (wxPostScriptDC
*) ptr
;
1640 dest
= (wxDC
*) src
;
1641 return (void *) dest
;
1644 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1645 wxPostScriptDC
*src
;
1647 src
= (wxPostScriptDC
*) ptr
;
1648 dest
= (wxObject
*) src
;
1649 return (void *) dest
;
1652 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1653 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1655 wxPostScriptDC
* _result
;
1656 wxPrintData
* _arg0
;
1657 PyObject
* _argo0
= 0;
1658 char *_kwnames
[] = { "printData", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) return NULL
;
1678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1682 _resultobj
= Py_None
;
1687 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1688 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxPrintData
* _result
;
1691 wxPostScriptDC
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1709 _result
= (wxPrintData
*) &_result_ref
;
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1715 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 _resultobj
= Py_None
;
1723 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1724 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 wxPostScriptDC
* _arg0
;
1727 wxPrintData
* _arg1
;
1728 PyObject
* _argo0
= 0;
1729 PyObject
* _argo1
= 0;
1730 char *_kwnames
[] = { "self","data", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 char *_kwnames
[] = { "ppi", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 wxPostScriptDC::SetResolution(_arg0
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) return NULL
;
1774 } Py_INCREF(Py_None
);
1775 _resultobj
= Py_None
;
1779 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 char *_kwnames
[] = { NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (int )wxPostScriptDC::GetResolution();
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1798 wxPageSetupDialogData
*src
;
1800 src
= (wxPageSetupDialogData
*) ptr
;
1801 dest
= (wxObject
*) src
;
1802 return (void *) dest
;
1805 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1806 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1808 wxPageSetupDialogData
* _result
;
1809 char *_kwnames
[] = { NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) return NULL
;
1822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1823 _resultobj
= Py_BuildValue("s",_ptemp
);
1826 _resultobj
= Py_None
;
1831 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1832 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxPageSetupDialogData
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 delete_wxPageSetupDialogData(_arg0
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1860 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1862 wxPageSetupDialogData
* _arg0
;
1864 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self","flag", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1878 _arg1
= (bool ) tempbool1
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1890 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1891 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxPageSetupDialogData
* _arg0
;
1895 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self","flag", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1909 _arg1
= (bool ) tempbool1
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1922 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxPageSetupDialogData
* _arg0
;
1926 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self","flag", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1940 _arg1
= (bool ) tempbool1
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1947 } Py_INCREF(Py_None
);
1948 _resultobj
= Py_None
;
1952 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1953 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxPageSetupDialogData
* _arg0
;
1957 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","flag", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1971 _arg1
= (bool ) tempbool1
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) return NULL
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1984 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 wxPageSetupDialogData
* _arg0
;
1988 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self","flag", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2002 _arg1
= (bool ) tempbool1
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2014 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2015 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2018 wxPageSetupDialogData
* _arg0
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2043 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 wxPageSetupDialogData
* _arg0
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } _resultobj
= Py_BuildValue("i",_result
);
2070 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2071 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2074 wxPageSetupDialogData
* _arg0
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2099 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2102 wxPageSetupDialogData
* _arg0
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2127 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2130 wxPageSetupDialogData
* _arg0
;
2131 PyObject
* _argo0
= 0;
2132 char *_kwnames
[] = { "self", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } _resultobj
= Py_BuildValue("i",_result
);
2154 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2155 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2158 wxPageSetupDialogData
* _arg0
;
2159 PyObject
* _argo0
= 0;
2160 char *_kwnames
[] = { "self", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2178 } _resultobj
= Py_BuildValue("i",_result
);
2182 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2183 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2186 wxPageSetupDialogData
* _arg0
;
2187 PyObject
* _argo0
= 0;
2188 char *_kwnames
[] = { "self", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) return NULL
;
2206 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2211 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2214 wxPageSetupDialogData
* _arg0
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2236 _resultobj
= Py_BuildValue("s",_ptemp
);
2240 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2241 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 wxPageSetupDialogData
* _arg0
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) return NULL
;
2265 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2266 _resultobj
= Py_BuildValue("s",_ptemp
);
2270 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2271 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2274 wxPageSetupDialogData
* _arg0
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2301 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxPageSetupDialogData
* _arg0
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2331 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxPaperSize _result
;
2334 wxPageSetupDialogData
* _arg0
;
2335 PyObject
* _argo0
= 0;
2336 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2354 } _resultobj
= Py_BuildValue("i",_result
);
2358 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2359 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2362 wxPageSetupDialogData
* _arg0
;
2363 PyObject
* _argo0
= 0;
2364 char *_kwnames
[] = { "self", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2389 return new wxPrintData(self
->GetPrintData()); // force a copy
2391 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxPrintData
* _result
;
2394 wxPageSetupDialogData
* _arg0
;
2395 PyObject
* _argo0
= 0;
2396 char *_kwnames
[] = { "self", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) return NULL
;
2416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2417 _resultobj
= Py_BuildValue("s",_ptemp
);
2420 _resultobj
= Py_None
;
2425 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2426 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2429 wxPageSetupDialogData
* _arg0
;
2430 PyObject
* _argo0
= 0;
2431 char *_kwnames
[] = { "self", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2449 } _resultobj
= Py_BuildValue("i",_result
);
2453 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2454 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2456 wxPageSetupDialogData
* _arg0
;
2458 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self","flag", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2472 _arg1
= (bool ) tempbool1
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2484 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2485 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2487 wxPageSetupDialogData
* _arg0
;
2489 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self","flag", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2503 _arg1
= (bool ) tempbool1
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2515 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2516 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2518 wxPageSetupDialogData
* _arg0
;
2520 PyObject
* _argo0
= 0;
2522 PyObject
* _obj1
= 0;
2523 char *_kwnames
[] = { "self","pt", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2537 if (! wxPoint_helper(_obj1
, &_arg1
))
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2546 } Py_INCREF(Py_None
);
2547 _resultobj
= Py_None
;
2551 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2552 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxPageSetupDialogData
* _arg0
;
2556 PyObject
* _argo0
= 0;
2558 PyObject
* _obj1
= 0;
2559 char *_kwnames
[] = { "self","pt", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2573 if (! wxPoint_helper(_obj1
, &_arg1
))
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) return NULL
;
2582 } Py_INCREF(Py_None
);
2583 _resultobj
= Py_None
;
2587 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2588 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2590 wxPageSetupDialogData
* _arg0
;
2592 PyObject
* _argo0
= 0;
2594 PyObject
* _obj1
= 0;
2595 char *_kwnames
[] = { "self","pt", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2609 if (! wxPoint_helper(_obj1
, &_arg1
))
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) return NULL
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2624 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxPageSetupDialogData
* _arg0
;
2628 PyObject
* _argo0
= 0;
2630 PyObject
* _obj1
= 0;
2631 char *_kwnames
[] = { "self","pt", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_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_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2645 if (! wxPoint_helper(_obj1
, &_arg1
))
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2660 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxPageSetupDialogData
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","id", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2689 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2691 wxPageSetupDialogData
* _arg0
;
2693 PyObject
* _argo0
= 0;
2695 PyObject
* _obj1
= 0;
2696 char *_kwnames
[] = { "self","size", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2710 if (! wxSize_helper(_obj1
, &_arg1
))
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) return NULL
;
2719 } Py_INCREF(Py_None
);
2720 _resultobj
= Py_None
;
2724 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2725 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2727 wxPageSetupDialogData
* _arg0
;
2728 wxPrintData
* _arg1
;
2729 PyObject
* _argo0
= 0;
2730 PyObject
* _argo1
= 0;
2731 char *_kwnames
[] = { "self","printData", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2762 wxPageSetupDialog
*src
;
2764 src
= (wxPageSetupDialog
*) ptr
;
2765 dest
= (wxDialog
*) src
;
2766 return (void *) dest
;
2769 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2770 wxPageSetupDialog
*src
;
2771 wxTopLevelWindow
*dest
;
2772 src
= (wxPageSetupDialog
*) ptr
;
2773 dest
= (wxTopLevelWindow
*) src
;
2774 return (void *) dest
;
2777 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2778 wxPageSetupDialog
*src
;
2780 src
= (wxPageSetupDialog
*) ptr
;
2781 dest
= (wxWindow
*) src
;
2782 return (void *) dest
;
2785 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2786 wxPageSetupDialog
*src
;
2788 src
= (wxPageSetupDialog
*) ptr
;
2789 dest
= (wxEvtHandler
*) src
;
2790 return (void *) dest
;
2793 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2794 wxPageSetupDialog
*src
;
2796 src
= (wxPageSetupDialog
*) ptr
;
2797 dest
= (wxObject
*) src
;
2798 return (void *) dest
;
2801 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2802 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2804 wxPageSetupDialog
* _result
;
2806 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2807 PyObject
* _argo0
= 0;
2808 PyObject
* _argo1
= 0;
2809 char *_kwnames
[] = { "parent","data", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) return NULL
;
2836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 _resultobj
= Py_None
;
2845 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2846 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxPageSetupDialogData
* _result
;
2849 wxPageSetupDialog
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2867 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2882 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2885 wxPageSetupDialog
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) return NULL
;
2905 } _resultobj
= Py_BuildValue("i",_result
);
2909 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2910 wxPrintDialogData
*src
;
2912 src
= (wxPrintDialogData
*) ptr
;
2913 dest
= (wxObject
*) src
;
2914 return (void *) dest
;
2917 #define new_wxPrintDialogData() (new wxPrintDialogData())
2918 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPrintDialogData
* _result
;
2921 char *_kwnames
[] = { NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) return NULL
;
2934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2935 _resultobj
= Py_BuildValue("s",_ptemp
);
2938 _resultobj
= Py_None
;
2943 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2944 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxPrintDialogData
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 delete_wxPrintDialogData(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2972 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxPrintDialogData
* _arg0
;
2976 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","flag", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2990 _arg1
= (bool ) tempbool1
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2997 } Py_INCREF(Py_None
);
2998 _resultobj
= Py_None
;
3002 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3003 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3005 wxPrintDialogData
* _arg0
;
3007 PyObject
* _argo0
= 0;
3009 char *_kwnames
[] = { "self","flag", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3021 _arg1
= (bool ) tempbool1
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) return NULL
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3034 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3036 wxPrintDialogData
* _arg0
;
3038 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self","flag", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3052 _arg1
= (bool ) tempbool1
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3065 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3067 wxPrintDialogData
* _arg0
;
3069 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self","flag", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3083 _arg1
= (bool ) tempbool1
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3095 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3096 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3099 wxPrintDialogData
* _arg0
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } _resultobj
= Py_BuildValue("i",_result
);
3123 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3124 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3127 wxPrintDialogData
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } _resultobj
= Py_BuildValue("i",_result
);
3151 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3152 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 wxPrintDialogData
* _arg0
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3175 } _resultobj
= Py_BuildValue("i",_result
);
3179 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3180 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3183 wxPrintDialogData
* _arg0
;
3184 PyObject
* _argo0
= 0;
3185 char *_kwnames
[] = { "self", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3203 } _resultobj
= Py_BuildValue("i",_result
);
3207 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3208 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3211 wxPrintDialogData
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3236 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(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_GetNoCopies",_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_GetNoCopies. Expected _wxPrintDialogData_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } _resultobj
= Py_BuildValue("i",_result
);
3263 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3264 return new wxPrintData(self
->GetPrintData()); // force a copy
3266 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxPrintData
* _result
;
3269 wxPrintDialogData
* _arg0
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3292 _resultobj
= Py_BuildValue("s",_ptemp
);
3295 _resultobj
= Py_None
;
3300 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3301 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3304 wxPrintDialogData
* _arg0
;
3305 PyObject
* _argo0
= 0;
3306 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } _resultobj
= Py_BuildValue("i",_result
);
3328 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3329 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3332 wxPrintDialogData
* _arg0
;
3333 PyObject
* _argo0
= 0;
3334 char *_kwnames
[] = { "self", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) return NULL
;
3352 } _resultobj
= Py_BuildValue("i",_result
);
3356 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3357 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3360 wxPrintDialogData
* _arg0
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) return NULL
;
3380 } _resultobj
= Py_BuildValue("i",_result
);
3384 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3385 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3387 wxPrintDialogData
* _arg0
;
3389 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self","flag", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3403 _arg1
= (bool ) tempbool1
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) return NULL
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3416 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxPrintDialogData
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self","page", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3445 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxPrintDialogData
* _arg0
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self","page", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3474 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3476 wxPrintDialogData
* _arg0
;
3478 PyObject
* _argo0
= 0;
3479 char *_kwnames
[] = { "self","page", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } Py_INCREF(Py_None
);
3498 _resultobj
= Py_None
;
3502 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3503 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3505 wxPrintDialogData
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self","n", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3532 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3534 wxPrintDialogData
* _arg0
;
3535 wxPrintData
* _arg1
;
3536 PyObject
* _argo0
= 0;
3537 PyObject
* _argo1
= 0;
3538 char *_kwnames
[] = { "self","printData", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) return NULL
;
3563 } Py_INCREF(Py_None
);
3564 _resultobj
= Py_None
;
3568 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3569 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxPrintDialogData
* _arg0
;
3573 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self","flag", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3587 _arg1
= (bool ) tempbool1
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } Py_INCREF(Py_None
);
3595 _resultobj
= Py_None
;
3599 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3600 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3602 wxPrintDialogData
* _arg0
;
3604 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self","flag", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3618 _arg1
= (bool ) tempbool1
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } Py_INCREF(Py_None
);
3626 _resultobj
= Py_None
;
3630 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3631 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxPrintDialogData
* _arg0
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self","page", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) return NULL
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3659 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3662 src
= (wxPrintDialog
*) ptr
;
3663 dest
= (wxDialog
*) src
;
3664 return (void *) dest
;
3667 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3669 wxTopLevelWindow
*dest
;
3670 src
= (wxPrintDialog
*) ptr
;
3671 dest
= (wxTopLevelWindow
*) src
;
3672 return (void *) dest
;
3675 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3678 src
= (wxPrintDialog
*) ptr
;
3679 dest
= (wxWindow
*) src
;
3680 return (void *) dest
;
3683 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3686 src
= (wxPrintDialog
*) ptr
;
3687 dest
= (wxEvtHandler
*) src
;
3688 return (void *) dest
;
3691 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3694 src
= (wxPrintDialog
*) ptr
;
3695 dest
= (wxObject
*) src
;
3696 return (void *) dest
;
3699 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3700 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3702 wxPrintDialog
* _result
;
3704 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3705 PyObject
* _argo0
= 0;
3706 PyObject
* _argo1
= 0;
3707 char *_kwnames
[] = { "parent","data", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) return NULL
;
3734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3738 _resultobj
= Py_None
;
3743 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3744 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxPrintDialogData
* _result
;
3747 wxPrintDialog
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3765 _result
= (wxPrintDialogData
*) &_result_ref
;
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 _resultobj
= Py_None
;
3779 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3780 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3783 wxPrintDialog
* _arg0
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) return NULL
;
3803 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3807 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3808 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3811 wxPrintDialog
* _arg0
;
3812 PyObject
* _argo0
= 0;
3813 char *_kwnames
[] = { "self", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) return NULL
;
3831 } _resultobj
= Py_BuildValue("i",_result
);
3835 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3838 src
= (wxPyPrintout
*) ptr
;
3839 dest
= (wxObject
*) src
;
3840 return (void *) dest
;
3843 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3844 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3846 wxPyPrintout
* _result
;
3847 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
3848 PyObject
* _obj0
= 0;
3849 char *_kwnames
[] = { "title", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
3857 _arg0
= wxString_in_helper(_obj0
);
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) return NULL
;
3868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3869 _resultobj
= Py_BuildValue("s",_ptemp
);
3872 _resultobj
= Py_None
;
3881 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3882 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3884 wxPyPrintout
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 PyObject
* _obj1
= 0;
3889 PyObject
* _obj2
= 0;
3890 char *_kwnames
[] = { "self","self","_class", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) return NULL
;
3914 } Py_INCREF(Py_None
);
3915 _resultobj
= Py_None
;
3919 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3920 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3922 wxPyPrintout
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 wxPyPrintout_Destroy(_arg0
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } Py_INCREF(Py_None
);
3943 _resultobj
= Py_None
;
3947 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3948 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3951 wxPyPrintout
* _arg0
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3971 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3975 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3976 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3978 wxPyPrintout
* _arg0
;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) return NULL
;
4008 } Py_INCREF(Py_None
);
4009 _resultobj
= Py_None
;
4012 o
= PyInt_FromLong((long) (*_arg1
));
4013 _resultobj
= t_output_helper(_resultobj
, o
);
4017 o
= PyInt_FromLong((long) (*_arg2
));
4018 _resultobj
= t_output_helper(_resultobj
, o
);
4023 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4024 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4026 wxPyPrintout
* _arg0
;
4031 PyObject
* _argo0
= 0;
4032 char *_kwnames
[] = { "self", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) return NULL
;
4056 } Py_INCREF(Py_None
);
4057 _resultobj
= Py_None
;
4060 o
= PyInt_FromLong((long) (*_arg1
));
4061 _resultobj
= t_output_helper(_resultobj
, o
);
4065 o
= PyInt_FromLong((long) (*_arg2
));
4066 _resultobj
= t_output_helper(_resultobj
, o
);
4071 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4072 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxPyPrintout
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) return NULL
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4108 o
= PyInt_FromLong((long) (*_arg1
));
4109 _resultobj
= t_output_helper(_resultobj
, o
);
4113 o
= PyInt_FromLong((long) (*_arg2
));
4114 _resultobj
= t_output_helper(_resultobj
, o
);
4119 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4120 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 wxPyPrintout
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) return NULL
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4156 o
= PyInt_FromLong((long) (*_arg1
));
4157 _resultobj
= t_output_helper(_resultobj
, o
);
4161 o
= PyInt_FromLong((long) (*_arg2
));
4162 _resultobj
= t_output_helper(_resultobj
, o
);
4167 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4168 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4171 wxPyPrintout
* _arg0
;
4172 PyObject
* _argo0
= 0;
4173 char *_kwnames
[] = { "self", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4191 } _resultobj
= Py_BuildValue("i",_result
);
4195 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4196 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4199 wxPyPrintout
* _arg0
;
4202 PyObject
* _argo0
= 0;
4203 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) return NULL
;
4221 } _resultobj
= Py_BuildValue("i",_result
);
4225 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4226 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4228 wxPyPrintout
* _arg0
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 wxPrintout_base_OnEndDocument(_arg0
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } Py_INCREF(Py_None
);
4249 _resultobj
= Py_None
;
4253 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4254 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4256 wxPyPrintout
* _arg0
;
4257 PyObject
* _argo0
= 0;
4258 char *_kwnames
[] = { "self", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 wxPrintout_base_OnBeginPrinting(_arg0
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) return NULL
;
4276 } Py_INCREF(Py_None
);
4277 _resultobj
= Py_None
;
4281 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4282 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4284 wxPyPrintout
* _arg0
;
4285 PyObject
* _argo0
= 0;
4286 char *_kwnames
[] = { "self", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPrintout_base_OnEndPrinting(_arg0
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) return NULL
;
4304 } Py_INCREF(Py_None
);
4305 _resultobj
= Py_None
;
4309 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4310 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4312 wxPyPrintout
* _arg0
;
4313 PyObject
* _argo0
= 0;
4314 char *_kwnames
[] = { "self", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 wxPrintout_base_OnPreparePrinting(_arg0
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) return NULL
;
4332 } Py_INCREF(Py_None
);
4333 _resultobj
= Py_None
;
4337 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4338 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4340 wxPyPrintout
* _arg0
;
4349 PyObject
* _argo0
= 0;
4350 char *_kwnames
[] = { "self", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4384 o
= PyInt_FromLong((long) (*_arg1
));
4385 _resultobj
= t_output_helper(_resultobj
, o
);
4389 o
= PyInt_FromLong((long) (*_arg2
));
4390 _resultobj
= t_output_helper(_resultobj
, o
);
4394 o
= PyInt_FromLong((long) (*_arg3
));
4395 _resultobj
= t_output_helper(_resultobj
, o
);
4399 o
= PyInt_FromLong((long) (*_arg4
));
4400 _resultobj
= t_output_helper(_resultobj
, o
);
4405 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4406 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4409 wxPyPrintout
* _arg0
;
4411 PyObject
* _argo0
= 0;
4412 char *_kwnames
[] = { "self","page", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) return NULL
;
4430 } _resultobj
= Py_BuildValue("i",_result
);
4434 static void *SwigwxPrinterTowxObject(void *ptr
) {
4437 src
= (wxPrinter
*) ptr
;
4438 dest
= (wxObject
*) src
;
4439 return (void *) dest
;
4442 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4443 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4445 wxPrinter
* _result
;
4446 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4447 PyObject
* _argo0
= 0;
4448 char *_kwnames
[] = { "data", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) return NULL
;
4468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4469 _resultobj
= Py_BuildValue("s",_ptemp
);
4472 _resultobj
= Py_None
;
4477 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4478 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4481 PyObject
* _argo0
= 0;
4482 char *_kwnames
[] = { "self", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 delete_wxPrinter(_arg0
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) return NULL
;
4500 } Py_INCREF(Py_None
);
4501 _resultobj
= Py_None
;
4505 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4506 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4510 wxPyPrintout
* _arg2
;
4511 PyObject
* _argo0
= 0;
4512 PyObject
* _argo1
= 0;
4513 PyObject
* _argo2
= 0;
4514 char *_kwnames
[] = { "self","parent","printout", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4534 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4552 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4554 wxPrintDialogData
* _result
;
4556 PyObject
* _argo0
= 0;
4557 char *_kwnames
[] = { "self", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4573 _result
= (wxPrintDialogData
*) &_result_ref
;
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4579 _resultobj
= Py_BuildValue("s",_ptemp
);
4582 _resultobj
= Py_None
;
4587 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4588 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4593 wxPyPrintout
* _arg2
;
4594 int _arg3
= (int ) TRUE
;
4595 PyObject
* _argo0
= 0;
4596 PyObject
* _argo1
= 0;
4597 PyObject
* _argo2
= 0;
4598 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4618 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) return NULL
;
4630 } _resultobj
= Py_BuildValue("i",_result
);
4634 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4635 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4640 PyObject
* _argo0
= 0;
4641 PyObject
* _argo1
= 0;
4642 char *_kwnames
[] = { "self","parent", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) return NULL
;
4667 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4671 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4672 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4676 wxPyPrintout
* _arg2
;
4678 PyObject
* _argo0
= 0;
4679 PyObject
* _argo1
= 0;
4680 PyObject
* _argo2
= 0;
4681 PyObject
* _obj3
= 0;
4682 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4702 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4709 _arg3
= wxString_in_helper(_obj3
);
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4728 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4729 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4734 PyObject
* _argo0
= 0;
4735 PyObject
* _argo1
= 0;
4736 char *_kwnames
[] = { "self","parent", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } _resultobj
= Py_BuildValue("i",_result
);
4765 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4766 wxPrintPreview
*src
;
4768 src
= (wxPrintPreview
*) ptr
;
4769 dest
= (wxObject
*) src
;
4770 return (void *) dest
;
4773 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxPrintPreview
* _result
;
4777 wxPyPrintout
* _arg0
;
4778 wxPyPrintout
* _arg1
;
4779 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4780 PyObject
* _argo0
= 0;
4781 PyObject
* _argo1
= 0;
4782 PyObject
* _argo2
= 0;
4783 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4804 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4818 _resultobj
= Py_BuildValue("s",_ptemp
);
4821 _resultobj
= Py_None
;
4826 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4827 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4830 wxPrintPreview
* _arg0
;
4831 PyObject
* _argo0
= 0;
4832 char *_kwnames
[] = { "self", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) return NULL
;
4850 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4854 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4855 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4858 wxPrintPreview
* _arg0
;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) return NULL
;
4878 } _resultobj
= Py_BuildValue("i",_result
);
4882 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4883 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4886 wxPrintPreview
* _arg0
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "self", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4910 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4911 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 wxPrintPreview
* _arg0
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } _resultobj
= Py_BuildValue("i",_result
);
4938 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4939 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4942 wxPrintPreview
* _arg0
;
4943 PyObject
* _argo0
= 0;
4944 char *_kwnames
[] = { "self", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) return NULL
;
4962 } _resultobj
= Py_BuildValue("i",_result
);
4966 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4967 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4969 wxPrintDialogData
* _result
;
4970 wxPrintPreview
* _arg0
;
4971 PyObject
* _argo0
= 0;
4972 char *_kwnames
[] = { "self", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4988 _result
= (wxPrintDialogData
*) &_result_ref
;
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) return NULL
;
4993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4994 _resultobj
= Py_BuildValue("s",_ptemp
);
4997 _resultobj
= Py_None
;
5002 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5003 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5005 wxPyPrintout
* _result
;
5006 wxPrintPreview
* _arg0
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5030 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5031 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxPyPrintout
* _result
;
5034 wxPrintPreview
* _arg0
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) return NULL
;
5054 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5058 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5059 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5062 wxPrintPreview
* _arg0
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) return NULL
;
5082 } _resultobj
= Py_BuildValue("i",_result
);
5086 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5087 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5090 wxPrintPreview
* _arg0
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) return NULL
;
5110 } _resultobj
= Py_BuildValue("i",_result
);
5114 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5115 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 wxPrintPreview
* _arg0
;
5120 PyObject
* _argo0
= 0;
5122 char *_kwnames
[] = { "self","prompt", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5134 _arg1
= (bool ) tempbool1
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5141 } _resultobj
= Py_BuildValue("i",_result
);
5145 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5146 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5148 wxPrintPreview
* _arg0
;
5150 PyObject
* _argo0
= 0;
5151 PyObject
* _argo1
= 0;
5152 char *_kwnames
[] = { "self","window", NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5177 } Py_INCREF(Py_None
);
5178 _resultobj
= Py_None
;
5182 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5183 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5185 wxPrintPreview
* _arg0
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","pageNum", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) return NULL
;
5206 } Py_INCREF(Py_None
);
5207 _resultobj
= Py_None
;
5211 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5212 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5214 wxPrintPreview
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 PyObject
* _argo1
= 0;
5218 char *_kwnames
[] = { "self","frame", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) return NULL
;
5243 } Py_INCREF(Py_None
);
5244 _resultobj
= Py_None
;
5248 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5249 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5251 wxPrintPreview
* _arg0
;
5252 wxPyPrintout
* _arg1
;
5253 PyObject
* _argo0
= 0;
5254 PyObject
* _argo1
= 0;
5255 char *_kwnames
[] = { "self","printout", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } Py_INCREF(Py_None
);
5281 _resultobj
= Py_None
;
5285 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5286 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5288 wxPrintPreview
* _arg0
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self","percent", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5309 } Py_INCREF(Py_None
);
5310 _resultobj
= Py_None
;
5314 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5315 wxPreviewFrame
*src
;
5317 src
= (wxPreviewFrame
*) ptr
;
5318 dest
= (wxFrame
*) src
;
5319 return (void *) dest
;
5322 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5323 wxPreviewFrame
*src
;
5324 wxTopLevelWindow
*dest
;
5325 src
= (wxPreviewFrame
*) ptr
;
5326 dest
= (wxTopLevelWindow
*) src
;
5327 return (void *) dest
;
5330 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5331 wxPreviewFrame
*src
;
5333 src
= (wxPreviewFrame
*) ptr
;
5334 dest
= (wxWindow
*) src
;
5335 return (void *) dest
;
5338 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5339 wxPreviewFrame
*src
;
5341 src
= (wxPreviewFrame
*) ptr
;
5342 dest
= (wxEvtHandler
*) src
;
5343 return (void *) dest
;
5346 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5347 wxPreviewFrame
*src
;
5349 src
= (wxPreviewFrame
*) ptr
;
5350 dest
= (wxObject
*) src
;
5351 return (void *) dest
;
5354 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5355 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5357 wxPreviewFrame
* _result
;
5358 wxPrintPreview
* _arg0
;
5361 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5362 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5363 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5364 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5365 PyObject
* _argo0
= 0;
5366 PyObject
* _argo1
= 0;
5367 PyObject
* _obj2
= 0;
5369 PyObject
* _obj3
= 0;
5371 PyObject
* _obj4
= 0;
5372 PyObject
* _obj6
= 0;
5373 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5394 _arg2
= wxString_in_helper(_obj2
);
5401 if (! wxPoint_helper(_obj3
, &_arg3
))
5407 if (! wxSize_helper(_obj4
, &_arg4
))
5412 _arg6
= wxString_in_helper(_obj6
);
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5424 _resultobj
= Py_BuildValue("s",_ptemp
);
5427 _resultobj
= Py_None
;
5440 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5441 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5443 wxPreviewFrame
* _arg0
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 wxPreviewFrame_Initialize(_arg0
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) return NULL
;
5463 } Py_INCREF(Py_None
);
5464 _resultobj
= Py_None
;
5468 static PyMethodDef printfwcMethods
[] = {
5469 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5631 * This table is used by the pointer type-checker
5633 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5634 { "_signed_long","_long",0},
5635 { "_wxPrintQuality","_wxCoord",0},
5636 { "_wxPrintQuality","_int",0},
5637 { "_wxPrintQuality","_signed_int",0},
5638 { "_wxPrintQuality","_unsigned_int",0},
5639 { "_wxPrintQuality","_wxWindowID",0},
5640 { "_wxPrintQuality","_uint",0},
5641 { "_wxPrintQuality","_EBool",0},
5642 { "_wxPrintQuality","_size_t",0},
5643 { "_wxPrintQuality","_time_t",0},
5644 { "_byte","_unsigned_char",0},
5645 { "_long","_unsigned_long",0},
5646 { "_long","_signed_long",0},
5647 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
5648 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5649 { "_size_t","_wxCoord",0},
5650 { "_size_t","_wxPrintQuality",0},
5651 { "_size_t","_time_t",0},
5652 { "_size_t","_unsigned_int",0},
5653 { "_size_t","_int",0},
5654 { "_size_t","_wxWindowID",0},
5655 { "_size_t","_uint",0},
5656 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
5657 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
5658 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
5659 { "_uint","_wxCoord",0},
5660 { "_uint","_wxPrintQuality",0},
5661 { "_uint","_time_t",0},
5662 { "_uint","_size_t",0},
5663 { "_uint","_unsigned_int",0},
5664 { "_uint","_int",0},
5665 { "_uint","_wxWindowID",0},
5666 { "_wxChar","_char",0},
5667 { "_char","_wxChar",0},
5668 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5669 { "_EBool","_wxCoord",0},
5670 { "_EBool","_wxPrintQuality",0},
5671 { "_EBool","_signed_int",0},
5672 { "_EBool","_int",0},
5673 { "_EBool","_wxWindowID",0},
5674 { "_unsigned_long","_long",0},
5675 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5676 { "_signed_int","_wxCoord",0},
5677 { "_signed_int","_wxPrintQuality",0},
5678 { "_signed_int","_EBool",0},
5679 { "_signed_int","_wxWindowID",0},
5680 { "_signed_int","_int",0},
5681 { "_WXTYPE","_short",0},
5682 { "_WXTYPE","_signed_short",0},
5683 { "_WXTYPE","_unsigned_short",0},
5684 { "_unsigned_short","_WXTYPE",0},
5685 { "_unsigned_short","_short",0},
5686 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5687 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5688 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5689 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5690 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5691 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5692 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5693 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5694 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
5695 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5696 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5697 { "_signed_short","_WXTYPE",0},
5698 { "_signed_short","_short",0},
5699 { "_unsigned_char","_byte",0},
5700 { "_unsigned_int","_wxCoord",0},
5701 { "_unsigned_int","_wxPrintQuality",0},
5702 { "_unsigned_int","_time_t",0},
5703 { "_unsigned_int","_size_t",0},
5704 { "_unsigned_int","_uint",0},
5705 { "_unsigned_int","_wxWindowID",0},
5706 { "_unsigned_int","_int",0},
5707 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5708 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5709 { "_short","_WXTYPE",0},
5710 { "_short","_unsigned_short",0},
5711 { "_short","_signed_short",0},
5712 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5713 { "_wxWindowID","_wxCoord",0},
5714 { "_wxWindowID","_wxPrintQuality",0},
5715 { "_wxWindowID","_time_t",0},
5716 { "_wxWindowID","_size_t",0},
5717 { "_wxWindowID","_EBool",0},
5718 { "_wxWindowID","_uint",0},
5719 { "_wxWindowID","_int",0},
5720 { "_wxWindowID","_signed_int",0},
5721 { "_wxWindowID","_unsigned_int",0},
5722 { "_int","_wxCoord",0},
5723 { "_int","_wxPrintQuality",0},
5724 { "_int","_time_t",0},
5725 { "_int","_size_t",0},
5726 { "_int","_EBool",0},
5727 { "_int","_uint",0},
5728 { "_int","_wxWindowID",0},
5729 { "_int","_unsigned_int",0},
5730 { "_int","_signed_int",0},
5731 { "_time_t","_wxCoord",0},
5732 { "_time_t","_wxPrintQuality",0},
5733 { "_time_t","_unsigned_int",0},
5734 { "_time_t","_int",0},
5735 { "_time_t","_wxWindowID",0},
5736 { "_time_t","_uint",0},
5737 { "_time_t","_size_t",0},
5738 { "_wxCoord","_int",0},
5739 { "_wxCoord","_signed_int",0},
5740 { "_wxCoord","_unsigned_int",0},
5741 { "_wxCoord","_wxWindowID",0},
5742 { "_wxCoord","_uint",0},
5743 { "_wxCoord","_EBool",0},
5744 { "_wxCoord","_size_t",0},
5745 { "_wxCoord","_time_t",0},
5746 { "_wxCoord","_wxPrintQuality",0},
5747 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5748 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5749 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5750 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5751 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5752 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5755 static PyObject
*SWIG_globals
;
5759 SWIGEXPORT(void) initprintfwc() {
5761 SWIG_globals
= SWIG_newvarlink();
5762 m
= Py_InitModule("printfwc", printfwcMethods
);
5763 d
= PyModule_GetDict(m
);
5765 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5768 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5769 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);