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>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
114 // Since this one would be tough and ugly to do with the Macros...
115 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
118 bool doSave
= wxPyRestoreThread();
119 if (m_myInst
.findCallback("GetPageInfo")) {
120 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
121 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
124 val
= PyTuple_GetItem(result
, 0);
125 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
128 val
= PyTuple_GetItem(result
, 1);
129 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 2);
133 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 3);
137 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
144 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
150 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
152 wxPySaveThread(doSave
);
155 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
156 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
160 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
163 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
164 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
165 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
166 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
172 #define new_wxPrintData() (new wxPrintData())
173 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxPrintData
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxPrintData
*)new_wxPrintData();
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
197 #define delete_wxPrintData(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
215 wxPy_BEGIN_ALLOW_THREADS
;
216 delete_wxPrintData(_arg0
);
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
225 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
252 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (bool )wxPrintData_GetCollate(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
279 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
297 wxPy_BEGIN_ALLOW_THREADS
;
298 _result
= (int )wxPrintData_GetOrientation(_arg0
);
300 wxPy_END_ALLOW_THREADS
;
301 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
306 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
326 _result
= (wxString
*) &_result_ref
;
328 wxPy_END_ALLOW_THREADS
;
330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 } _resultobj
= Py_BuildValue("i",_result
);
362 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
363 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxDuplexMode _result
;
367 PyObject
* _argo0
= 0;
368 char *_kwnames
[] = { "self", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
384 wxPy_END_ALLOW_THREADS
;
385 } _resultobj
= Py_BuildValue("i",_result
);
389 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
390 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
417 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
438 _result
= (wxSize
*) &_result_ref
;
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
451 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
452 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxPrintQuality _result
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
473 wxPy_END_ALLOW_THREADS
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
479 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self","v", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxPrintData_SetNoCopies(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
507 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self","flag", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
525 _arg1
= (bool ) tempbool1
;
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxPrintData_SetCollate(_arg0
,_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
537 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","orient", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxPrintData_SetOrientation(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
565 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 PyObject
* _obj1
= 0;
571 char *_kwnames
[] = { "self","name", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
584 #if PYTHON_API_VERSION >= 1009
585 char* tmpPtr
; int tmpSize
;
586 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
587 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
590 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
592 _arg1
= new wxString(tmpPtr
, tmpSize
);
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
602 wxPy_BEGIN_ALLOW_THREADS
;
603 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
605 wxPy_END_ALLOW_THREADS
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
615 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
616 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","colour", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
634 _arg1
= (bool ) tempbool1
;
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxPrintData_SetColour(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
646 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","duplex", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxPrintData_SetDuplex(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
674 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","sizeId", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxPrintData_SetPaperId(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
702 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
708 PyObject
* _obj1
= 0;
709 char *_kwnames
[] = { "self","sz", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
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_SetPaperSize. Expected _wxPrintData_p.");
723 if (! wxSize_helper(_obj1
, &_arg1
))
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
737 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxPrintQuality _arg1
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","quality", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxPrintData_SetQuality(_arg0
,_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
767 src
= (wxPrinterDC
*) ptr
;
769 return (void *) dest
;
772 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
773 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
775 wxPrinterDC
* _result
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "printData", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
795 wxPy_END_ALLOW_THREADS
;
797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
798 _resultobj
= Py_BuildValue("s",_ptemp
);
801 _resultobj
= Py_None
;
806 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
807 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
809 wxPrinterDC
* _result
;
813 bool _arg3
= (bool ) TRUE
;
814 int _arg4
= (int ) wxPORTRAIT
;
815 PyObject
* _obj0
= 0;
816 PyObject
* _obj1
= 0;
817 PyObject
* _obj2
= 0;
818 int tempbool3
= (int) TRUE
;
819 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
826 #if PYTHON_API_VERSION >= 1009
827 char* tmpPtr
; int tmpSize
;
828 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
829 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
832 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
834 _arg0
= new wxString(tmpPtr
, tmpSize
);
836 if (!PyString_Check(_obj0
)) {
837 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
840 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
844 #if PYTHON_API_VERSION >= 1009
845 char* tmpPtr
; int tmpSize
;
846 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
847 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
850 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
852 _arg1
= new wxString(tmpPtr
, tmpSize
);
854 if (!PyString_Check(_obj1
)) {
855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
858 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
862 #if PYTHON_API_VERSION >= 1009
863 char* tmpPtr
; int tmpSize
;
864 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
865 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
868 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
870 _arg2
= new wxString(tmpPtr
, tmpSize
);
872 if (!PyString_Check(_obj2
)) {
873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
876 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
879 _arg3
= (bool ) tempbool3
;
881 wxPy_BEGIN_ALLOW_THREADS
;
882 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
884 wxPy_END_ALLOW_THREADS
;
886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
887 _resultobj
= Py_BuildValue("s",_ptemp
);
890 _resultobj
= Py_None
;
907 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
908 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
910 wxPageSetupDialogData
* _result
;
911 char *_kwnames
[] = { NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
918 wxPy_BEGIN_ALLOW_THREADS
;
919 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
921 wxPy_END_ALLOW_THREADS
;
923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
924 _resultobj
= Py_BuildValue("s",_ptemp
);
927 _resultobj
= Py_None
;
932 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
933 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
935 wxPageSetupDialogData
* _arg0
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "self", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 delete_wxPageSetupDialogData(_arg0
);
953 wxPy_END_ALLOW_THREADS
;
954 } Py_INCREF(Py_None
);
955 _resultobj
= Py_None
;
959 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
960 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
962 wxPageSetupDialogData
* _arg0
;
964 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self","flag", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
978 _arg1
= (bool ) tempbool1
;
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
990 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
992 wxPageSetupDialogData
* _arg0
;
994 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self","flag", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1008 _arg1
= (bool ) tempbool1
;
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1020 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1022 wxPageSetupDialogData
* _arg0
;
1024 PyObject
* _argo0
= 0;
1026 char *_kwnames
[] = { "self","flag", NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1038 _arg1
= (bool ) tempbool1
;
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1043 wxPy_END_ALLOW_THREADS
;
1044 } Py_INCREF(Py_None
);
1045 _resultobj
= Py_None
;
1049 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1050 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1052 wxPageSetupDialogData
* _arg0
;
1054 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self","flag", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1068 _arg1
= (bool ) tempbool1
;
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1080 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1082 wxPageSetupDialogData
* _arg0
;
1084 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self","flag", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1098 _arg1
= (bool ) tempbool1
;
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1110 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 wxPageSetupDialogData
* _arg0
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("i",_result
);
1136 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1137 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1140 wxPageSetupDialogData
* _arg0
;
1141 PyObject
* _argo0
= 0;
1142 char *_kwnames
[] = { "self", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1158 wxPy_END_ALLOW_THREADS
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1164 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1167 wxPageSetupDialogData
* _arg0
;
1168 PyObject
* _argo0
= 0;
1169 char *_kwnames
[] = { "self", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1185 wxPy_END_ALLOW_THREADS
;
1186 } _resultobj
= Py_BuildValue("i",_result
);
1190 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1191 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1194 wxPageSetupDialogData
* _arg0
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } _resultobj
= Py_BuildValue("i",_result
);
1217 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1218 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1221 wxPageSetupDialogData
* _arg0
;
1222 PyObject
* _argo0
= 0;
1223 char *_kwnames
[] = { "self", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1239 wxPy_END_ALLOW_THREADS
;
1240 } _resultobj
= Py_BuildValue("i",_result
);
1244 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1245 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1248 wxPageSetupDialogData
* _arg0
;
1249 PyObject
* _argo0
= 0;
1250 char *_kwnames
[] = { "self", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } _resultobj
= Py_BuildValue("i",_result
);
1271 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1272 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1275 wxPageSetupDialogData
* _arg0
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "self", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } _resultobj
= Py_BuildValue("i",_result
);
1298 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1299 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1302 wxPageSetupDialogData
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1321 wxPy_END_ALLOW_THREADS
;
1322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1323 _resultobj
= Py_BuildValue("s",_ptemp
);
1327 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1328 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 wxPageSetupDialogData
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1350 wxPy_END_ALLOW_THREADS
;
1351 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1352 _resultobj
= Py_BuildValue("s",_ptemp
);
1356 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1357 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1360 wxPageSetupDialogData
* _arg0
;
1361 PyObject
* _argo0
= 0;
1362 char *_kwnames
[] = { "self", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1376 wxPy_BEGIN_ALLOW_THREADS
;
1377 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1379 wxPy_END_ALLOW_THREADS
;
1380 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1385 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1386 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxPageSetupDialogData
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1408 wxPy_END_ALLOW_THREADS
;
1409 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1410 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1415 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxPaperSize _result
;
1418 wxPageSetupDialogData
* _arg0
;
1419 PyObject
* _argo0
= 0;
1420 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1437 } _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1442 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxPageSetupDialogData
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1464 wxPy_END_ALLOW_THREADS
;
1465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1466 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1471 return new wxPrintData(self
->GetPrintData()); // force a copy
1473 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1475 wxPrintData
* _result
;
1476 wxPageSetupDialogData
* _arg0
;
1477 PyObject
* _argo0
= 0;
1478 char *_kwnames
[] = { "self", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1495 wxPy_END_ALLOW_THREADS
;
1497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 _resultobj
= Py_None
;
1506 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1507 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxPageSetupDialogData
* _arg0
;
1511 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self","flag", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1525 _arg1
= (bool ) tempbool1
;
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1536 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1537 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1539 wxPageSetupDialogData
* _arg0
;
1541 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self","flag", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1555 _arg1
= (bool ) tempbool1
;
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1560 wxPy_END_ALLOW_THREADS
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1567 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1569 wxPageSetupDialogData
* _arg0
;
1571 PyObject
* _argo0
= 0;
1573 PyObject
* _obj1
= 0;
1574 char *_kwnames
[] = { "self","pt", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1588 if (! wxPoint_helper(_obj1
, &_arg1
))
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1602 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1604 wxPageSetupDialogData
* _arg0
;
1606 PyObject
* _argo0
= 0;
1608 PyObject
* _obj1
= 0;
1609 char *_kwnames
[] = { "self","pt", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1623 if (! wxPoint_helper(_obj1
, &_arg1
))
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1637 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1639 wxPageSetupDialogData
* _arg0
;
1641 PyObject
* _argo0
= 0;
1643 PyObject
* _obj1
= 0;
1644 char *_kwnames
[] = { "self","pt", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1658 if (! wxPoint_helper(_obj1
, &_arg1
))
1662 wxPy_BEGIN_ALLOW_THREADS
;
1663 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1665 wxPy_END_ALLOW_THREADS
;
1666 } Py_INCREF(Py_None
);
1667 _resultobj
= Py_None
;
1671 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1672 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1674 wxPageSetupDialogData
* _arg0
;
1676 PyObject
* _argo0
= 0;
1678 PyObject
* _obj1
= 0;
1679 char *_kwnames
[] = { "self","pt", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1693 if (! wxPoint_helper(_obj1
, &_arg1
))
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1700 wxPy_END_ALLOW_THREADS
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1707 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxPageSetupDialogData
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self","id", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1735 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxPageSetupDialogData
* _arg0
;
1739 PyObject
* _argo0
= 0;
1741 PyObject
* _obj1
= 0;
1742 char *_kwnames
[] = { "self","size", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1756 if (! wxSize_helper(_obj1
, &_arg1
))
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } Py_INCREF(Py_None
);
1765 _resultobj
= Py_None
;
1769 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1770 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1772 wxPageSetupDialogData
* _arg0
;
1773 wxPrintData
* _arg1
;
1774 PyObject
* _argo0
= 0;
1775 PyObject
* _argo1
= 0;
1776 char *_kwnames
[] = { "self","printData", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1799 wxPy_END_ALLOW_THREADS
;
1800 } Py_INCREF(Py_None
);
1801 _resultobj
= Py_None
;
1805 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1806 wxPageSetupDialog
*src
;
1808 src
= (wxPageSetupDialog
*) ptr
;
1809 dest
= (wxDialog
*) src
;
1810 return (void *) dest
;
1813 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1814 wxPageSetupDialog
*src
;
1816 src
= (wxPageSetupDialog
*) ptr
;
1817 dest
= (wxPanel
*) src
;
1818 return (void *) dest
;
1821 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1822 wxPageSetupDialog
*src
;
1824 src
= (wxPageSetupDialog
*) ptr
;
1825 dest
= (wxWindow
*) src
;
1826 return (void *) dest
;
1829 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1830 wxPageSetupDialog
*src
;
1832 src
= (wxPageSetupDialog
*) ptr
;
1833 dest
= (wxEvtHandler
*) src
;
1834 return (void *) dest
;
1837 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1838 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 wxPageSetupDialog
* _result
;
1842 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _argo1
= 0;
1845 char *_kwnames
[] = { "parent","data", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1869 wxPy_END_ALLOW_THREADS
;
1871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1872 _resultobj
= Py_BuildValue("s",_ptemp
);
1875 _resultobj
= Py_None
;
1880 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1881 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 wxPageSetupDialogData
* _result
;
1884 wxPageSetupDialog
* _arg0
;
1885 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1902 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1904 wxPy_END_ALLOW_THREADS
;
1906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1907 _resultobj
= Py_BuildValue("s",_ptemp
);
1910 _resultobj
= Py_None
;
1915 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1916 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxPageSetupDialog
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } _resultobj
= Py_BuildValue("i",_result
);
1942 #define new_wxPrintDialogData() (new wxPrintDialogData())
1943 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1945 wxPrintDialogData
* _result
;
1946 char *_kwnames
[] = { NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1956 wxPy_END_ALLOW_THREADS
;
1958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1959 _resultobj
= Py_BuildValue("s",_ptemp
);
1962 _resultobj
= Py_None
;
1967 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1968 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1970 wxPrintDialogData
* _arg0
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 delete_wxPrintDialogData(_arg0
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1995 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1997 wxPrintDialogData
* _arg0
;
1999 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self","flag", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2013 _arg1
= (bool ) tempbool1
;
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } Py_INCREF(Py_None
);
2020 _resultobj
= Py_None
;
2024 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2025 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2027 wxPrintDialogData
* _arg0
;
2029 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self","flag", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2043 _arg1
= (bool ) tempbool1
;
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2055 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxPrintDialogData
* _arg0
;
2059 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self","flag", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2073 _arg1
= (bool ) tempbool1
;
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2084 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2085 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2087 wxPrintDialogData
* _arg0
;
2089 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self","flag", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2103 _arg1
= (bool ) tempbool1
;
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2115 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 wxPrintDialogData
* _arg0
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2136 wxPy_END_ALLOW_THREADS
;
2137 } _resultobj
= Py_BuildValue("i",_result
);
2141 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2142 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2145 wxPrintDialogData
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2164 } _resultobj
= Py_BuildValue("i",_result
);
2168 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2169 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2172 wxPrintDialogData
* _arg0
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } _resultobj
= Py_BuildValue("i",_result
);
2195 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2196 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2199 wxPrintDialogData
* _arg0
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2214 wxPy_BEGIN_ALLOW_THREADS
;
2215 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2217 wxPy_END_ALLOW_THREADS
;
2218 } _resultobj
= Py_BuildValue("i",_result
);
2222 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2223 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxPrintDialogData
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2250 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2253 wxPrintDialogData
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2277 return new wxPrintData(self
->GetPrintData()); // force a copy
2279 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2281 wxPrintData
* _result
;
2282 wxPrintDialogData
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2301 wxPy_END_ALLOW_THREADS
;
2303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2307 _resultobj
= Py_None
;
2312 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2313 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2316 wxPrintDialogData
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2334 wxPy_END_ALLOW_THREADS
;
2335 } _resultobj
= Py_BuildValue("i",_result
);
2339 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2340 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2343 wxPrintDialogData
* _arg0
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2367 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2369 wxPrintDialogData
* _arg0
;
2371 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self","flag", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2385 _arg1
= (bool ) tempbool1
;
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2390 wxPy_END_ALLOW_THREADS
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2396 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2397 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxPrintDialogData
* _arg0
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self","page", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2418 wxPy_END_ALLOW_THREADS
;
2419 } Py_INCREF(Py_None
);
2420 _resultobj
= Py_None
;
2424 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2425 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2427 wxPrintDialogData
* _arg0
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self","page", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2453 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2455 wxPrintDialogData
* _arg0
;
2457 PyObject
* _argo0
= 0;
2458 char *_kwnames
[] = { "self","page", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2480 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2481 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2483 wxPrintDialogData
* _arg0
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self","n", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } Py_INCREF(Py_None
);
2504 _resultobj
= Py_None
;
2508 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2509 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxPrintDialogData
* _arg0
;
2512 wxPrintData
* _arg1
;
2513 PyObject
* _argo0
= 0;
2514 PyObject
* _argo1
= 0;
2515 char *_kwnames
[] = { "self","printData", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } Py_INCREF(Py_None
);
2540 _resultobj
= Py_None
;
2544 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2545 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2547 wxPrintDialogData
* _arg0
;
2549 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self","flag", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2563 _arg1
= (bool ) tempbool1
;
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2575 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxPrintDialogData
* _arg0
;
2579 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self","flag", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2593 _arg1
= (bool ) tempbool1
;
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2605 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2607 wxPrintDialogData
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self","page", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } Py_INCREF(Py_None
);
2628 _resultobj
= Py_None
;
2632 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2635 src
= (wxPrintDialog
*) ptr
;
2636 dest
= (wxDialog
*) src
;
2637 return (void *) dest
;
2640 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2643 src
= (wxPrintDialog
*) ptr
;
2644 dest
= (wxPanel
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2651 src
= (wxPrintDialog
*) ptr
;
2652 dest
= (wxWindow
*) src
;
2653 return (void *) dest
;
2656 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2659 src
= (wxPrintDialog
*) ptr
;
2660 dest
= (wxEvtHandler
*) src
;
2661 return (void *) dest
;
2664 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2665 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxPrintDialog
* _result
;
2669 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2670 PyObject
* _argo0
= 0;
2671 PyObject
* _argo1
= 0;
2672 char *_kwnames
[] = { "parent","data", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2696 wxPy_END_ALLOW_THREADS
;
2698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2699 _resultobj
= Py_BuildValue("s",_ptemp
);
2702 _resultobj
= Py_None
;
2707 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2708 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2710 wxPrintDialogData
* _result
;
2711 wxPrintDialog
* _arg0
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2729 _result
= (wxPrintDialogData
*) &_result_ref
;
2731 wxPy_END_ALLOW_THREADS
;
2733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2734 _resultobj
= Py_BuildValue("s",_ptemp
);
2737 _resultobj
= Py_None
;
2742 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2743 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2746 wxPrintDialog
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2765 wxPy_END_ALLOW_THREADS
;
2767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2768 _resultobj
= Py_BuildValue("s",_ptemp
);
2771 _resultobj
= Py_None
;
2776 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2777 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2780 wxPrintDialog
* _arg0
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } _resultobj
= Py_BuildValue("i",_result
);
2803 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2804 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2806 wxPyPrintout
* _result
;
2807 char * _arg0
= (char *) "Printout";
2808 char *_kwnames
[] = { "title", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2818 wxPy_END_ALLOW_THREADS
;
2820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2821 _resultobj
= Py_BuildValue("s",_ptemp
);
2824 _resultobj
= Py_None
;
2829 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2830 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2832 wxPyPrintout
* _arg0
;
2835 PyObject
* _argo0
= 0;
2836 PyObject
* _obj1
= 0;
2837 PyObject
* _obj2
= 0;
2838 char *_kwnames
[] = { "self","self","_class", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2867 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2869 wxPyPrintout
* _arg0
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2884 wxPy_BEGIN_ALLOW_THREADS
;
2885 wxPyPrintout_Destroy(_arg0
);
2887 wxPy_END_ALLOW_THREADS
;
2888 } Py_INCREF(Py_None
);
2889 _resultobj
= Py_None
;
2893 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2894 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2897 wxPyPrintout
* _arg0
;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self", NULL
};
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2913 wxPy_BEGIN_ALLOW_THREADS
;
2914 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2916 wxPy_END_ALLOW_THREADS
;
2918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2919 _resultobj
= Py_BuildValue("s",_ptemp
);
2922 _resultobj
= Py_None
;
2927 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2928 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxPyPrintout
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } Py_INCREF(Py_None
);
2960 _resultobj
= Py_None
;
2963 o
= PyInt_FromLong((long) (*_arg1
));
2964 _resultobj
= t_output_helper(_resultobj
, o
);
2968 o
= PyInt_FromLong((long) (*_arg2
));
2969 _resultobj
= t_output_helper(_resultobj
, o
);
2974 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2975 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2977 wxPyPrintout
* _arg0
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } Py_INCREF(Py_None
);
3007 _resultobj
= Py_None
;
3010 o
= PyInt_FromLong((long) (*_arg1
));
3011 _resultobj
= t_output_helper(_resultobj
, o
);
3015 o
= PyInt_FromLong((long) (*_arg2
));
3016 _resultobj
= t_output_helper(_resultobj
, o
);
3021 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3022 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3024 wxPyPrintout
* _arg0
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3049 wxPy_BEGIN_ALLOW_THREADS
;
3050 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3052 wxPy_END_ALLOW_THREADS
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3057 o
= PyInt_FromLong((long) (*_arg1
));
3058 _resultobj
= t_output_helper(_resultobj
, o
);
3062 o
= PyInt_FromLong((long) (*_arg2
));
3063 _resultobj
= t_output_helper(_resultobj
, o
);
3068 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3069 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3071 wxPyPrintout
* _arg0
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3104 o
= PyInt_FromLong((long) (*_arg1
));
3105 _resultobj
= t_output_helper(_resultobj
, o
);
3109 o
= PyInt_FromLong((long) (*_arg2
));
3110 _resultobj
= t_output_helper(_resultobj
, o
);
3115 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3116 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3119 wxPyPrintout
* _arg0
;
3120 PyObject
* _argo0
= 0;
3121 char *_kwnames
[] = { "self", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3137 wxPy_END_ALLOW_THREADS
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3142 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3143 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3146 wxPyPrintout
* _arg0
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3166 wxPy_END_ALLOW_THREADS
;
3167 } _resultobj
= Py_BuildValue("i",_result
);
3171 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3172 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3174 wxPyPrintout
* _arg0
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxPrintout_base_OnEndDocument(_arg0
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3199 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3201 wxPyPrintout
* _arg0
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "self", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 wxPrintout_base_OnBeginPrinting(_arg0
);
3219 wxPy_END_ALLOW_THREADS
;
3220 } Py_INCREF(Py_None
);
3221 _resultobj
= Py_None
;
3225 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3226 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3228 wxPyPrintout
* _arg0
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxPrintout_base_OnEndPrinting(_arg0
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3253 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3255 wxPyPrintout
* _arg0
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 wxPrintout_base_OnPreparePrinting(_arg0
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3280 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxPyPrintout
* _arg0
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3325 o
= PyInt_FromLong((long) (*_arg1
));
3326 _resultobj
= t_output_helper(_resultobj
, o
);
3330 o
= PyInt_FromLong((long) (*_arg2
));
3331 _resultobj
= t_output_helper(_resultobj
, o
);
3335 o
= PyInt_FromLong((long) (*_arg3
));
3336 _resultobj
= t_output_helper(_resultobj
, o
);
3340 o
= PyInt_FromLong((long) (*_arg4
));
3341 _resultobj
= t_output_helper(_resultobj
, o
);
3346 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3347 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxPyPrintout
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self","page", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } _resultobj
= Py_BuildValue("i",_result
);
3374 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3375 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3377 wxPrinter
* _result
;
3378 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "data", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3394 wxPy_BEGIN_ALLOW_THREADS
;
3395 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3397 wxPy_END_ALLOW_THREADS
;
3399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3400 _resultobj
= Py_BuildValue("s",_ptemp
);
3403 _resultobj
= Py_None
;
3408 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3409 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3426 wxPy_BEGIN_ALLOW_THREADS
;
3427 delete_wxPrinter(_arg0
);
3429 wxPy_END_ALLOW_THREADS
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3435 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3436 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3440 wxPyPrintout
* _arg2
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo1
= 0;
3443 PyObject
* _argo2
= 0;
3444 char *_kwnames
[] = { "self","parent","printout", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3464 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3474 wxPy_END_ALLOW_THREADS
;
3475 } Py_INCREF(Py_None
);
3476 _resultobj
= Py_None
;
3480 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3481 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxPrintDialogData
* _result
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3502 _result
= (wxPrintDialogData
*) &_result_ref
;
3504 wxPy_END_ALLOW_THREADS
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 _resultobj
= Py_None
;
3515 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3516 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3521 wxPyPrintout
* _arg2
;
3522 int _arg3
= (int ) TRUE
;
3523 PyObject
* _argo0
= 0;
3524 PyObject
* _argo1
= 0;
3525 PyObject
* _argo2
= 0;
3526 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3546 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3553 wxPy_BEGIN_ALLOW_THREADS
;
3554 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3556 wxPy_END_ALLOW_THREADS
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3562 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3567 PyObject
* _argo0
= 0;
3568 PyObject
* _argo1
= 0;
3569 char *_kwnames
[] = { "self","parent", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3590 wxPy_BEGIN_ALLOW_THREADS
;
3591 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3593 wxPy_END_ALLOW_THREADS
;
3595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3599 _resultobj
= Py_None
;
3604 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3605 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3609 wxPyPrintout
* _arg2
;
3611 PyObject
* _argo0
= 0;
3612 PyObject
* _argo1
= 0;
3613 PyObject
* _argo2
= 0;
3614 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3634 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3641 wxPy_BEGIN_ALLOW_THREADS
;
3642 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3644 wxPy_END_ALLOW_THREADS
;
3645 } Py_INCREF(Py_None
);
3646 _resultobj
= Py_None
;
3650 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3651 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3656 PyObject
* _argo0
= 0;
3657 PyObject
* _argo1
= 0;
3658 char *_kwnames
[] = { "self","parent", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } _resultobj
= Py_BuildValue("i",_result
);
3686 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3687 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxPrintPreview
* _result
;
3690 wxPyPrintout
* _arg0
;
3691 wxPyPrintout
* _arg1
;
3692 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3693 PyObject
* _argo0
= 0;
3694 PyObject
* _argo1
= 0;
3695 PyObject
* _argo2
= 0;
3696 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3717 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3724 wxPy_BEGIN_ALLOW_THREADS
;
3725 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3727 wxPy_END_ALLOW_THREADS
;
3729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3730 _resultobj
= Py_BuildValue("s",_ptemp
);
3733 _resultobj
= Py_None
;
3738 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3739 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3742 wxPrintPreview
* _arg0
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "self", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3761 wxPy_END_ALLOW_THREADS
;
3763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 _resultobj
= Py_None
;
3772 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3773 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3776 wxPrintPreview
* _arg0
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3791 wxPy_BEGIN_ALLOW_THREADS
;
3792 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3794 wxPy_END_ALLOW_THREADS
;
3795 } _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3800 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 wxPrintPreview
* _arg0
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3822 wxPy_END_ALLOW_THREADS
;
3824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3825 _resultobj
= Py_BuildValue("s",_ptemp
);
3828 _resultobj
= Py_None
;
3833 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3834 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3837 wxPrintPreview
* _arg0
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "self", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3852 wxPy_BEGIN_ALLOW_THREADS
;
3853 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3855 wxPy_END_ALLOW_THREADS
;
3856 } _resultobj
= Py_BuildValue("i",_result
);
3860 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3861 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxPrintPreview
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3879 wxPy_BEGIN_ALLOW_THREADS
;
3880 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3882 wxPy_END_ALLOW_THREADS
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3888 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3890 wxPrintDialogData
* _result
;
3891 wxPrintPreview
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3909 _result
= (wxPrintDialogData
*) &_result_ref
;
3911 wxPy_END_ALLOW_THREADS
;
3913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3914 _resultobj
= Py_BuildValue("s",_ptemp
);
3917 _resultobj
= Py_None
;
3922 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3923 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3925 wxPyPrintout
* _result
;
3926 wxPrintPreview
* _arg0
;
3927 PyObject
* _argo0
= 0;
3928 char *_kwnames
[] = { "self", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3945 wxPy_END_ALLOW_THREADS
;
3947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3948 _resultobj
= Py_BuildValue("s",_ptemp
);
3951 _resultobj
= Py_None
;
3956 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3957 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3959 wxPyPrintout
* _result
;
3960 wxPrintPreview
* _arg0
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3976 wxPy_BEGIN_ALLOW_THREADS
;
3977 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3979 wxPy_END_ALLOW_THREADS
;
3981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3982 _resultobj
= Py_BuildValue("s",_ptemp
);
3985 _resultobj
= Py_None
;
3990 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3991 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3994 wxPrintPreview
* _arg0
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4018 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4021 wxPrintPreview
* _arg0
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4039 wxPy_END_ALLOW_THREADS
;
4040 } _resultobj
= Py_BuildValue("i",_result
);
4044 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4045 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4048 wxPrintPreview
* _arg0
;
4050 PyObject
* _argo0
= 0;
4052 char *_kwnames
[] = { "self","prompt", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4064 _arg1
= (bool ) tempbool1
;
4066 wxPy_BEGIN_ALLOW_THREADS
;
4067 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4069 wxPy_END_ALLOW_THREADS
;
4070 } _resultobj
= Py_BuildValue("i",_result
);
4074 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4075 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4077 wxPrintPreview
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 PyObject
* _argo1
= 0;
4081 char *_kwnames
[] = { "self","window", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4111 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxPrintPreview
* _arg0
;
4115 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self","pageNum", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4132 wxPy_END_ALLOW_THREADS
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4139 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxPrintPreview
* _arg0
;
4143 PyObject
* _argo0
= 0;
4144 PyObject
* _argo1
= 0;
4145 char *_kwnames
[] = { "self","frame", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4165 wxPy_BEGIN_ALLOW_THREADS
;
4166 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4168 wxPy_END_ALLOW_THREADS
;
4169 } Py_INCREF(Py_None
);
4170 _resultobj
= Py_None
;
4174 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4175 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4177 wxPrintPreview
* _arg0
;
4178 wxPyPrintout
* _arg1
;
4179 PyObject
* _argo0
= 0;
4180 PyObject
* _argo1
= 0;
4181 char *_kwnames
[] = { "self","printout", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4194 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4204 wxPy_END_ALLOW_THREADS
;
4205 } Py_INCREF(Py_None
);
4206 _resultobj
= Py_None
;
4210 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4211 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4213 wxPrintPreview
* _arg0
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self","percent", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4232 wxPy_END_ALLOW_THREADS
;
4233 } Py_INCREF(Py_None
);
4234 _resultobj
= Py_None
;
4238 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4239 wxPreviewFrame
*src
;
4241 src
= (wxPreviewFrame
*) ptr
;
4242 dest
= (wxFrame
*) src
;
4243 return (void *) dest
;
4246 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4247 wxPreviewFrame
*src
;
4249 src
= (wxPreviewFrame
*) ptr
;
4250 dest
= (wxWindow
*) src
;
4251 return (void *) dest
;
4254 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4255 wxPreviewFrame
*src
;
4257 src
= (wxPreviewFrame
*) ptr
;
4258 dest
= (wxEvtHandler
*) src
;
4259 return (void *) dest
;
4262 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4263 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 wxPreviewFrame
* _result
;
4266 wxPrintPreview
* _arg0
;
4269 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4270 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4271 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4272 char * _arg6
= (char *) "frame";
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _argo1
= 0;
4275 PyObject
* _obj2
= 0;
4277 PyObject
* _obj3
= 0;
4279 PyObject
* _obj4
= 0;
4280 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4301 #if PYTHON_API_VERSION >= 1009
4302 char* tmpPtr
; int tmpSize
;
4303 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4304 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4307 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4309 _arg2
= new wxString(tmpPtr
, tmpSize
);
4311 if (!PyString_Check(_obj2
)) {
4312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4315 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4321 if (! wxPoint_helper(_obj3
, &_arg3
))
4327 if (! wxSize_helper(_obj4
, &_arg4
))
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4334 wxPy_END_ALLOW_THREADS
;
4336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4337 _resultobj
= Py_BuildValue("s",_ptemp
);
4340 _resultobj
= Py_None
;
4349 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4350 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4352 wxPreviewFrame
* _arg0
;
4353 PyObject
* _argo0
= 0;
4354 char *_kwnames
[] = { "self", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 wxPreviewFrame_Initialize(_arg0
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } Py_INCREF(Py_None
);
4372 _resultobj
= Py_None
;
4376 static PyMethodDef printfwcMethods
[] = {
4377 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4378 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4379 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4380 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4381 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4382 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4383 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4384 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4385 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4386 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4387 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4388 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4389 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4390 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4391 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4392 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4393 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4394 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4395 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4396 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4397 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4398 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4399 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4400 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4401 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4402 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4403 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4404 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4405 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4406 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4407 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4408 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4409 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4410 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4411 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4412 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4413 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4414 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4415 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4416 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4417 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4418 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4419 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4420 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4421 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4422 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4423 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4424 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4425 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4426 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4427 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4509 * This table is used by the pointer type-checker
4511 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4512 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4513 { "_wxEvent","_class_wxEvent",0},
4514 { "_class_wxActivateEvent","_wxActivateEvent",0},
4515 { "_signed_long","_long",0},
4516 { "_wxMenuEvent","_class_wxMenuEvent",0},
4517 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4518 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
4519 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4520 { "_wxPrintQuality","_wxCoord",0},
4521 { "_wxPrintQuality","_int",0},
4522 { "_wxPrintQuality","_signed_int",0},
4523 { "_wxPrintQuality","_unsigned_int",0},
4524 { "_wxPrintQuality","_wxWindowID",0},
4525 { "_wxPrintQuality","_uint",0},
4526 { "_wxPrintQuality","_EBool",0},
4527 { "_wxPrintQuality","_size_t",0},
4528 { "_wxPrintQuality","_time_t",0},
4529 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
4530 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
4531 { "_wxFontData","_class_wxFontData",0},
4532 { "_class_wxRegionIterator","_wxRegionIterator",0},
4533 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
4534 { "_class_wxMenuBar","_wxMenuBar",0},
4535 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4536 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4537 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4538 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4539 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4540 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4541 { "_class_wxEvtHandler","_wxEvtHandler",0},
4542 { "_wxPaintEvent","_class_wxPaintEvent",0},
4543 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4544 { "_wxCursor","_class_wxCursor",0},
4545 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4546 { "_class_wxToolBarBase","_wxToolBarBase",0},
4547 { "_wxMask","_class_wxMask",0},
4548 { "_class_wxColourData","_wxColourData",0},
4549 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4550 { "_wxPrinter","_class_wxPrinter",0},
4551 { "_wxPen","_class_wxPen",0},
4552 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4553 { "_byte","_unsigned_char",0},
4554 { "_wxDataObject","_class_wxDataObject",0},
4555 { "_wxStaticBox","_class_wxStaticBox",0},
4556 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4557 { "_wxPyDropSource","_class_wxPyDropSource",0},
4558 { "_wxChoice","_class_wxChoice",0},
4559 { "_wxSlider","_class_wxSlider",0},
4560 { "_wxPyPrintout","_class_wxPyPrintout",0},
4561 { "_long","_unsigned_long",0},
4562 { "_long","_signed_long",0},
4563 { "_wxImageList","_class_wxImageList",0},
4564 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
4565 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4566 { "_wxBitmapButton","_class_wxBitmapButton",0},
4567 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4568 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4569 { "_class_wxClipboard","_wxClipboard",0},
4570 { "_class_wxGauge","_wxGauge",0},
4571 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
4572 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
4573 { "_wxDC","_class_wxDC",0},
4574 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
4575 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4576 { "_wxProgressDialog","_class_wxProgressDialog",0},
4577 { "_wxPrintPreview","_class_wxPrintPreview",0},
4578 { "_wxSpinEvent","_class_wxSpinEvent",0},
4579 { "_size_t","_wxCoord",0},
4580 { "_size_t","_wxPrintQuality",0},
4581 { "_size_t","_time_t",0},
4582 { "_size_t","_unsigned_int",0},
4583 { "_size_t","_int",0},
4584 { "_size_t","_wxWindowID",0},
4585 { "_size_t","_uint",0},
4586 { "_class_wxRealPoint","_wxRealPoint",0},
4587 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4588 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
4589 { "_wxPrinterDC","_class_wxPrinterDC",0},
4590 { "_class_wxMenuItem","_wxMenuItem",0},
4591 { "_class_wxPaintEvent","_wxPaintEvent",0},
4592 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4593 { "_class_wxStatusBar","_wxStatusBar",0},
4594 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4595 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4596 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4597 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4598 { "_wxPanel","_class_wxPanel",0},
4599 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4600 { "_wxCheckBox","_class_wxCheckBox",0},
4601 { "_wxPyEvent","_class_wxPyEvent",0},
4602 { "_wxTextCtrl","_class_wxTextCtrl",0},
4603 { "_class_wxMask","_wxMask",0},
4604 { "_wxTextDataObject","_class_wxTextDataObject",0},
4605 { "_class_wxKeyEvent","_wxKeyEvent",0},
4606 { "_wxColour","_class_wxColour",0},
4607 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4608 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4609 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4610 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4611 { "_class_wxDialog","_wxDialog",0},
4612 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4613 { "_class_wxPrinter","_wxPrinter",0},
4614 { "_class_wxFileDataObject","_wxFileDataObject",0},
4615 { "_wxIdleEvent","_class_wxIdleEvent",0},
4616 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4617 { "_wxToolBar","_class_wxToolBar",0},
4618 { "_class_wxDataObject","_wxDataObject",0},
4619 { "_wxStaticLine","_class_wxStaticLine",0},
4620 { "_wxBrush","_class_wxBrush",0},
4621 { "_wxMiniFrame","_class_wxMiniFrame",0},
4622 { "_class_wxPyPrintout","_wxPyPrintout",0},
4623 { "_wxDataFormat","_class_wxDataFormat",0},
4624 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
4625 { "_wxShowEvent","_class_wxShowEvent",0},
4626 { "_uint","_wxCoord",0},
4627 { "_uint","_wxPrintQuality",0},
4628 { "_uint","_time_t",0},
4629 { "_uint","_size_t",0},
4630 { "_uint","_unsigned_int",0},
4631 { "_uint","_int",0},
4632 { "_uint","_wxWindowID",0},
4633 { "_wxChar","_char",0},
4634 { "_wxPyValidator","_class_wxPyValidator",0},
4635 { "_class_wxEvent","_wxEvent",0},
4636 { "_wxCheckListBox","_class_wxCheckListBox",0},
4637 { "_wxRect","_class_wxRect",0},
4638 { "_wxCommandEvent","_class_wxCommandEvent",0},
4639 { "_wxSizeEvent","_class_wxSizeEvent",0},
4640 { "_wxPoint","_class_wxPoint",0},
4641 { "_class_wxButton","_wxButton",0},
4642 { "_wxRadioBox","_class_wxRadioBox",0},
4643 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
4644 { "_class_wxFontData","_wxFontData",0},
4645 { "_char","_wxChar",0},
4646 { "_wxBitmap","_class_wxBitmap",0},
4647 { "_wxPrintDialog","_class_wxPrintDialog",0},
4648 { "_wxWindowDC","_class_wxWindowDC",0},
4649 { "_wxTimerEvent","_class_wxTimerEvent",0},
4650 { "_wxScrollBar","_class_wxScrollBar",0},
4651 { "_wxSpinButton","_class_wxSpinButton",0},
4652 { "_wxColourDialog","_class_wxColourDialog",0},
4653 { "_wxPrintData","_class_wxPrintData",0},
4654 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4655 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4656 { "_wxMessageDialog","_class_wxMessageDialog",0},
4657 { "_class_wxValidator","_wxValidator",0},
4658 { "_class_wxPyEvent","_wxPyEvent",0},
4659 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4660 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4661 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4662 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
4663 { "_class_wxToolBar","_wxToolBar",0},
4664 { "_wxDropTarget","_class_wxDropTarget",0},
4665 { "_class_wxStaticLine","_wxStaticLine",0},
4666 { "_wxScrollEvent","_class_wxScrollEvent",0},
4667 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4668 { "_EBool","_wxCoord",0},
4669 { "_EBool","_wxPrintQuality",0},
4670 { "_EBool","_signed_int",0},
4671 { "_EBool","_int",0},
4672 { "_EBool","_wxWindowID",0},
4673 { "_class_wxRegion","_wxRegion",0},
4674 { "_class_wxDataFormat","_wxDataFormat",0},
4675 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4676 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
4677 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4678 { "_wxStaticText","_class_wxStaticText",0},
4679 { "_wxFont","_class_wxFont",0},
4680 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
4681 { "_wxCloseEvent","_class_wxCloseEvent",0},
4682 { "_unsigned_long","_long",0},
4683 { "_class_wxRect","_wxRect",0},
4684 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
4685 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
4686 { "_class_wxDC","_wxDC",0},
4687 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4688 { "_class_wxProgressDialog","_wxProgressDialog",0},
4689 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4690 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
4691 { "_class_wxDirDialog","_wxDirDialog",0},
4692 { "_wxFocusEvent","_class_wxFocusEvent",0},
4693 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4694 { "_class_wxTimerEvent","_wxTimerEvent",0},
4695 { "_class_wxSpinButton","_wxSpinButton",0},
4696 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4697 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4698 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4699 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4700 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4701 { "_class_wxPanel","_wxPanel",0},
4702 { "_class_wxCheckBox","_wxCheckBox",0},
4703 { "_wxComboBox","_class_wxComboBox",0},
4704 { "_wxRadioButton","_class_wxRadioButton",0},
4705 { "_class_wxMessageDialog","_wxMessageDialog",0},
4706 { "_signed_int","_wxCoord",0},
4707 { "_signed_int","_wxPrintQuality",0},
4708 { "_signed_int","_EBool",0},
4709 { "_signed_int","_wxWindowID",0},
4710 { "_signed_int","_int",0},
4711 { "_class_wxTextCtrl","_wxTextCtrl",0},
4712 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4713 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
4714 { "_class_wxTextDataObject","_wxTextDataObject",0},
4715 { "_wxMenu","_class_wxMenu",0},
4716 { "_class_wxMoveEvent","_wxMoveEvent",0},
4717 { "_wxListBox","_class_wxListBox",0},
4718 { "_wxScreenDC","_class_wxScreenDC",0},
4719 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
4720 { "_WXTYPE","_short",0},
4721 { "_WXTYPE","_signed_short",0},
4722 { "_WXTYPE","_unsigned_short",0},
4723 { "_wxFileDialog","_class_wxFileDialog",0},
4724 { "_class_wxDropTarget","_wxDropTarget",0},
4725 { "_class_wxBrush","_wxBrush",0},
4726 { "_unsigned_short","_WXTYPE",0},
4727 { "_unsigned_short","_short",0},
4728 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4729 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4730 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4731 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4732 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4733 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4734 { "_class_wxWindow","_wxWindow",0},
4735 { "_class_wxStaticText","_wxStaticText",0},
4736 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4737 { "_class_wxFont","_wxFont",0},
4738 { "_wxClipboard","_class_wxClipboard",0},
4739 { "_class_wxPyValidator","_wxPyValidator",0},
4740 { "_class_wxCloseEvent","_wxCloseEvent",0},
4741 { "_wxBusyInfo","_class_wxBusyInfo",0},
4742 { "_wxFontList","_class_wxFontList",0},
4743 { "_class_wxMenuEvent","_wxMenuEvent",0},
4744 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4745 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
4746 { "_wxClientDC","_class_wxClientDC",0},
4747 { "_wxMouseEvent","_class_wxMouseEvent",0},
4748 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4749 { "_class_wxPoint","_wxPoint",0},
4750 { "_wxRealPoint","_class_wxRealPoint",0},
4751 { "_class_wxRadioBox","_wxRadioBox",0},
4752 { "_signed_short","_WXTYPE",0},
4753 { "_signed_short","_short",0},
4754 { "_wxMemoryDC","_class_wxMemoryDC",0},
4755 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
4756 { "_class_wxPrintDialog","_wxPrintDialog",0},
4757 { "_wxPaintDC","_class_wxPaintDC",0},
4758 { "_class_wxWindowDC","_wxWindowDC",0},
4759 { "_class_wxFocusEvent","_wxFocusEvent",0},
4760 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4761 { "_wxStatusBar","_class_wxStatusBar",0},
4762 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4763 { "_class_wxCursor","_wxCursor",0},
4764 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
4765 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4766 { "_unsigned_char","_byte",0},
4767 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
4768 { "_class_wxMenu","_wxMenu",0},
4769 { "_wxControl","_class_wxControl",0},
4770 { "_class_wxListBox","_wxListBox",0},
4771 { "_unsigned_int","_wxCoord",0},
4772 { "_unsigned_int","_wxPrintQuality",0},
4773 { "_unsigned_int","_time_t",0},
4774 { "_unsigned_int","_size_t",0},
4775 { "_unsigned_int","_uint",0},
4776 { "_unsigned_int","_wxWindowID",0},
4777 { "_unsigned_int","_int",0},
4778 { "_wxIcon","_class_wxIcon",0},
4779 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4780 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4781 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4782 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4783 { "_wxDialog","_class_wxDialog",0},
4784 { "_class_wxPen","_wxPen",0},
4785 { "_class_wxFileDialog","_wxFileDialog",0},
4786 { "_short","_WXTYPE",0},
4787 { "_short","_unsigned_short",0},
4788 { "_short","_signed_short",0},
4789 { "_class_wxStaticBox","_wxStaticBox",0},
4790 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4791 { "_class_wxPyDropSource","_wxPyDropSource",0},
4792 { "_class_wxScrollEvent","_wxScrollEvent",0},
4793 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4794 { "_class_wxChoice","_wxChoice",0},
4795 { "_class_wxSlider","_wxSlider",0},
4796 { "_class_wxImageList","_wxImageList",0},
4797 { "_class_wxBitmapButton","_wxBitmapButton",0},
4798 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4799 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4800 { "_wxFrame","_class_wxFrame",0},
4801 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4802 { "_wxWindowID","_wxCoord",0},
4803 { "_wxWindowID","_wxPrintQuality",0},
4804 { "_wxWindowID","_time_t",0},
4805 { "_wxWindowID","_size_t",0},
4806 { "_wxWindowID","_EBool",0},
4807 { "_wxWindowID","_uint",0},
4808 { "_wxWindowID","_int",0},
4809 { "_wxWindowID","_signed_int",0},
4810 { "_wxWindowID","_unsigned_int",0},
4811 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4812 { "_int","_wxCoord",0},
4813 { "_int","_wxPrintQuality",0},
4814 { "_int","_time_t",0},
4815 { "_int","_size_t",0},
4816 { "_int","_EBool",0},
4817 { "_int","_uint",0},
4818 { "_int","_wxWindowID",0},
4819 { "_int","_unsigned_int",0},
4820 { "_int","_signed_int",0},
4821 { "_class_wxMouseEvent","_wxMouseEvent",0},
4822 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4823 { "_class_wxPrintPreview","_wxPrintPreview",0},
4824 { "_class_wxSpinEvent","_wxSpinEvent",0},
4825 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
4826 { "_time_t","_wxCoord",0},
4827 { "_time_t","_wxPrintQuality",0},
4828 { "_time_t","_unsigned_int",0},
4829 { "_time_t","_int",0},
4830 { "_time_t","_wxWindowID",0},
4831 { "_time_t","_uint",0},
4832 { "_time_t","_size_t",0},
4833 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
4834 { "_wxButton","_class_wxButton",0},
4835 { "_wxSize","_class_wxSize",0},
4836 { "_wxRegionIterator","_class_wxRegionIterator",0},
4837 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
4838 { "_class_wxPrinterDC","_wxPrinterDC",0},
4839 { "_class_wxPaintDC","_wxPaintDC",0},
4840 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4841 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
4842 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4843 { "_class_wxComboBox","_wxComboBox",0},
4844 { "_class_wxRadioButton","_wxRadioButton",0},
4845 { "_wxValidator","_class_wxValidator",0},
4846 { "_wxToolBarBase","_class_wxToolBarBase",0},
4847 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4848 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4849 { "_class_wxControl","_wxControl",0},
4850 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4851 { "_class_wxIcon","_wxIcon",0},
4852 { "_class_wxColour","_wxColour",0},
4853 { "_class_wxScreenDC","_wxScreenDC",0},
4854 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4855 { "_wxPalette","_class_wxPalette",0},
4856 { "_class_wxIdleEvent","_wxIdleEvent",0},
4857 { "_wxCoord","_int",0},
4858 { "_wxCoord","_signed_int",0},
4859 { "_wxCoord","_unsigned_int",0},
4860 { "_wxCoord","_wxWindowID",0},
4861 { "_wxCoord","_uint",0},
4862 { "_wxCoord","_EBool",0},
4863 { "_wxCoord","_size_t",0},
4864 { "_wxCoord","_time_t",0},
4865 { "_wxCoord","_wxPrintQuality",0},
4866 { "_wxEraseEvent","_class_wxEraseEvent",0},
4867 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
4868 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4869 { "_class_wxMiniFrame","_wxMiniFrame",0},
4870 { "_wxFontDialog","_class_wxFontDialog",0},
4871 { "_wxRegion","_class_wxRegion",0},
4872 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4873 { "_class_wxShowEvent","_wxShowEvent",0},
4874 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
4875 { "_wxActivateEvent","_class_wxActivateEvent",0},
4876 { "_wxGauge","_class_wxGauge",0},
4877 { "_class_wxCheckListBox","_wxCheckListBox",0},
4878 { "_class_wxBusyInfo","_wxBusyInfo",0},
4879 { "_class_wxFontList","_wxFontList",0},
4880 { "_class_wxCommandEvent","_wxCommandEvent",0},
4881 { "_class_wxClientDC","_wxClientDC",0},
4882 { "_class_wxSizeEvent","_wxSizeEvent",0},
4883 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
4884 { "_class_wxSize","_wxSize",0},
4885 { "_class_wxBitmap","_wxBitmap",0},
4886 { "_class_wxMemoryDC","_wxMemoryDC",0},
4887 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
4888 { "_wxMenuBar","_class_wxMenuBar",0},
4889 { "_wxDirDialog","_class_wxDirDialog",0},
4890 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4891 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4892 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4893 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4894 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4895 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4896 { "_wxEvtHandler","_class_wxEvtHandler",0},
4897 { "_wxMenuItem","_class_wxMenuItem",0},
4898 { "_class_wxScrollBar","_wxScrollBar",0},
4899 { "_class_wxColourDialog","_wxColourDialog",0},
4900 { "_class_wxPrintData","_wxPrintData",0},
4901 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4902 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4903 { "_wxKeyEvent","_class_wxKeyEvent",0},
4904 { "_wxMoveEvent","_class_wxMoveEvent",0},
4905 { "_wxColourData","_class_wxColourData",0},
4906 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4907 { "_class_wxPalette","_wxPalette",0},
4908 { "_wxFileDataObject","_class_wxFileDataObject",0},
4909 { "_class_wxEraseEvent","_wxEraseEvent",0},
4910 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
4911 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
4912 { "_class_wxFontDialog","_wxFontDialog",0},
4913 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4914 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4915 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4916 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4917 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4918 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4919 { "_wxWindow","_class_wxWindow",0},
4920 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
4921 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4922 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4923 { "_class_wxFrame","_wxFrame",0},
4926 static PyObject
*SWIG_globals
;
4930 SWIGEXPORT(void) initprintfwc() {
4932 SWIG_globals
= SWIG_newvarlink();
4933 m
= Py_InitModule("printfwc", printfwcMethods
);
4934 d
= PyModule_GetDict(m
);
4937 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4938 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);